
Configuring IUGU as a Source
In the Sources tab, click on the “Add source” button located on the top right of your screen. Then, select the IUGU option from the list of connectors. Click Next and you’ll be prompted to add your access.1. Add account access
Connect using your IUGU API token. See IUGU authentication for where to create the token in your IUGU account. The following configurations are available:- API Token: Credential used to call the IUGU API on your behalf (stored securely).
- Start Date: The earliest point in time from which incremental streams sync records (based on each stream’s replication key).
2. Select streams
Choose which data streams you want to sync. For faster extractions, select only the streams that are relevant to your analysis. You can select entire groups of streams or pick specific ones.Tip: The stream can be found more easily by typing its name.Select the streams and click Next.
3. Configure data streams
Customize how you want your data to appear in your catalog. Select the desired layer where the data will be placed, a folder to organize it inside the layer, a name for each table (which will effectively contain the fetched data) and the type of sync.- Layer: choose between the existing layers on your catalog. This is where you will find your new extracted tables as the extraction runs successfully.
- Folder: a folder can be created inside the selected layer to group all tables being created from this new data source.
- Table name: we suggest a name, but feel free to customize it. You have the option to add a prefix to all tables at once and make this process faster!
- Sync Type: you can choose between INCREMENTAL and FULL_TABLE.
- Incremental: every time the extraction happens, we’ll get only the new data - which is good if, for example, you want to keep every record ever fetched.
- Full table: every time the extraction happens, we’ll get the current state of the data - which is good if, for example, you don’t want to have deleted data in your catalog.
updated_at as the replication key where applicable, so incremental syncs advance based on last update time.
Once you are done configuring, click Next.
4. Configure data source
Describe your data source for easy identification within your organization, not exceeding 140 characters. To define your Trigger, consider how often you want data to be extracted from this source. This decision usually depends on how frequently you need the new table data updated (every day, once a week, or only at specific times). Optionally, you can define some additional settings:- Configure Delta Log Retention and determine for how long we should store old states of this table as it gets updated. Read more about this resource here.
- Determine when to execute an Additional Full Sync. This will complement the incremental data extractions, ensuring that your data is completely synchronized with your source every once in a while.
5. Check your new source
You can view your new source on the Sources page. If needed, manually trigger the source extraction by clicking on the arrow button. Once executed, your data will appear in your Catalog.Streams and Fields
Below you’ll find all available data streams from IUGU and their corresponding fields:Customers
Customers
Stream for customer profiles, contact data, addresses, and saved payment methods.Key fields:
id- Unique customer identifieremail- Primary emailname- Customer namecpf_cnpj- Tax ID (CPF or CNPJ)notes- Internal notescreated_at,updated_at- Timestamps (replication usesupdated_at)
cc_emails- Additional emails copied on notificationsphone,phone_prefix- Phone number and prefix
zip_code,street,number,complement,district,city,state
payment_methods- Array of saved methods (id,description,item_type,customer_id,datawith card metadata such asbrand,holder_name,display_number,bin,last_digits,first_digits, expiration,fingerprint, etc.)default_payment_method_id- Default method idproxy_payments_from_customer_id- Customer id when payments are proxied from another customer
custom_variables- Array of{ name, value }
Invoices
Invoices
Stream for invoices (charges), including payer data, line items, Pix/boleto context, splits, and financial return schedule.Key fields:
id- Unique invoice identifierstatus- Invoice statuscurrency- Currency codedue_date- Due dateupdated_at- Last update (replication key)subscription_id- Related subscription when applicablecustomer_id,customer_name,customer_ref- Customer link and display fieldsorder_id,external_reference- External system references
total_cents,total_paid_cents,paid_cents,tax_cents,taxes_paid_cents,discount_cents,overpaid_cents,refunded_cents,remaining_captured_cents,commission_cents,advance_fee_cents, and formatted counterparts such astotal,total_paid,paid,commission,discount,interest, etc.
payer_name,payer_email,payer_cpf_cnpj,payer_phone,payer_phone_prefixpayer_address_*- Zip, street, district, city, state, number, complement, country
payable_with- Allowed payment methodspayment_method- Method used when paidnotification_url,return_url,secure_id,secure_url- Hosted pay link and callbacksignore_due_email,ignore_canceled_email- Email suppression flagsemail,cc_emails- Invoice notification emails
credit_card_brand,credit_card_bin,credit_card_last_4,credit_card_tid,credit_card_captured_at,credit_card_transaction,transaction_number
bank_slip,bank_slip_extra_due,bank_account_branch,bank_account_number,account_name,account_id
pix- Object withqrcode,qrcode_text,status, payer fields,end_to_end_id,end_to_end_refund_id,account_number_last_digits
- String and ISO variants:
created_at/created_at_iso,paid_at,authorized_at/authorized_at_iso,expired_at/expired_at_iso,refunded_at/refunded_at_iso,canceled_at/canceled_at_iso,protested_at/protested_at_iso,chargeback_at/chargeback_at_iso,financial_return_date,occurrence_date
late_payment_fine,late_payment_fine_cents,per_day_interest,per_day_interest_cents,max_installments_value,installments,early_payment_discount,split_id,external_payment_id,payment_booklet_id,user_id
variables- Template variables (variable,value)custom_variables- Custom metadata (name,value)items- Line items (id,description,price_cents,quantity,price, timestamps)financial_return_dates- Per-installment settlement rows (installment,return_date,amount_cents,status, fees,advanced, etc.)split_rules- Split configuration per recipient and payment method, including cents/percent fields for credit card (1x–18x), bank slip, and Pixlogs- Event or status log entries (array)
refundable,duplicated_invoice_id,double_payment_id,original_payment_id
Plans
Plans
Stream for subscription plan definitions, pricing per currency, features, and billing rules.Key fields:
id- Unique plan identifiername- Plan display nameidentifier- Stable plan string identifier (referenced by subscriptions)interval,interval_type- Billing interval length and unitcreated_at,updated_at- Timestamps (replication usesupdated_at)
prices- Array of{ id, currency, value_cents, created_at, updated_at }features- Array of plan features (id,name,identifier,value,important,position, timestamps)
payable_with- Allowed payment methodsmax_cycles- Maximum billing cyclesbilling_days- Day of month for due datesinvoice_max_installments- Max card installments on plan invoices
Subscriptions
Subscriptions
Stream for active and historical subscriptions, including plan reference, customer, add-ons, recent invoices, and audit logs.Key fields:
id- Unique subscription identifieractive- Whether the subscription is activesuspended- Whether billing is suspendedplan_identifier,plan_name,plan_ref- Plan link and labelscustomer_id,customer_name,customer_email,customer_ref- Customer linkprice_cents,currency- Price and currencycreated_at,updated_at,cycled_at,expires_at- Timestamps (replication usesupdated_at)
payable_with- Allowed payment methodsmax_cycles,cycles_count- Cycle limits and countignore_due_email- Due email suppressionsuspend_on_invoice_expired,two_step,in_trial- Workflow flags
credits_based,credits,credits_min,credits_cycle
features- Same shape as on plans (active on this subscription)subitems- Add-on lines (description,quantity,price_cents,recurrent,price,total)
recent_invoices- Recent invoices (id,due_date,status,total,secure_url)logs- Audit entries (description,notes,subscription_changes,created_at)
custom_variables- Array of{ name, value }
Data Model
The diagram below shows how the main IUGU streams relate. Join keys reflect typical analytics use;plan_identifier on subscriptions matches identifier on plans.
Use Cases for Data Analysis
Examples below assume default table names in the raw layer (iugu_customers, iugu_invoices, iugu_plans, iugu_subscriptions). Adjust schema and table names to match your catalog. Run queries in Explorer.
1. Invoice volume and totals by status
Summarize how much was billed and collected, grouped by invoice status. Business value:- Monitor cash position and outstanding receivables
- Compare paid vs. open or canceled invoices over a period
SQL query
SQL query
- AWS
- GCP
2. Active subscriptions with customer email
List active subscriptions joined to customers for outreach or churn analysis. Business value:- Segment subscribers by plan or contact
- Join subscription flags to customer master data
SQL query
SQL query
- AWS
- GCP
Implementation Notes
Amounts and types
- Monetary amounts are often exposed both as integer cents fields and as formatted strings from the API; prefer
_centscolumns for aggregations when available. - Some invoice timestamp fields exist as plain strings alongside
*_isodatetime fields; use the ISO fields when you need reliable temporal filtering.
Incremental sync
- Streams use
updated_atas the replication key; set Start Date to bound the initial backfill. - Use Additional Full Sync if you need periodic reconciliation with IUGU’s current state.
API and performance
- Selecting only the streams you need reduces extraction time and API load.
- Large nested arrays (for example
split_rules,items,payment_methods) can make rows wide; consider flattening in a downstream Query or Notebook if you model them as separate tables.
Skills for agents
Download IUGU skills file
IUGU connector documentation as plain markdown, for use in AI agent contexts.