Recurly provides two exports to help you retrieve data related to invoices: Invoices - Summary and Invoices - Unused Numbers. These exports complement each other to provide details about different subsets of invoice numbers.

Version Change Log

Invoices- Accounts Receivable

Version 2 - 7/25/2023

  • Net term type column expanded to include new End of Month terms

Invoices- Summary

Version 4 - 7/25/2023

  • Net term type column expanded to include new End of Month terms

Invoices- (Deprecated)

7/25/2023

  • Net term type column expanded to include new End of Month terms

Invoices - Summary

The invoice summary export contains the invoice header information and the summary totals for each of your successfully-generated invoices.

Invoice Status Filter

All

Every invoice generated within your Recurly site, regardless of status.

Open

All invoices that have not received a payment attempt. This status has a value of 'pending' in the export and does not include invoices with a 'past_due' status. This status only exists for manual invoices. If you see this status for an automatically collected invoice, it may mean that the payment attempt had a transaction communication error.

Processing

All invoices that have an ACH bank payment in progress. This status will only exist for ACH bank payments. The status means the associated payment transaction has not settled. An ACH invoice with the Processing status that reaches the due date will not move to Past Due or Paid until the transaction has settled.

Closed

All successfully collected invoices. This status has a value of 'paid' in the export and does not include the 'failed' status. It is important to note that the associated credit card, PayPal, or Amazon transaction with a paid invoice may not be settled with the gateway. Allow at least 1 to 3 business days for transaction settlement with the gateway.

Past Due

All automatic invoices that attempted collection, but the payment failed, or manual invoices that have reached their due date. Payment for automatic invoices will be retried automatically through the dunning process.

Failed

All invoices that have either experienced 20 declines or have been through the dunning process without successful payment. These invoices will not be retried. It is important to note that failed invoices will clear the owed balance from the account and will not attempt any future collections, but the charge line items will still exist in the account history.

Voided

All credit invoices that have been voided. These invoices will not be retried. It is important to note that voided invoices will clear the owed balance from the account and will not attempt any future collections, but the credit line items will still exist in the account history.

Date Range Filters

Created

Shows invoices created during the selected time range. Uses the 'billed_date' column in the export.

Modified

Shows invoices last modified during the selected time range. An invoice is only modified when its 'status' changes. Uses the 'modified_at' column in the export.

Export Contents

Column NameExampleDescription
idb964b5439c2548a489b3a136e75aee9fUnique internal identifier for the invoice. This is also called the 'invoice_id' or 'uuid' for the invoice in the API.
invoice_number1291External invoice identifier.
billed_date2012-02-19 12:01:33 PSTCreation date of the invoice. Equivalent to date in the deprecated Invoices export. Used for Created date range filter.
due_on2012-02-19 12:01:33 PSTDate invoice is due. This is the date the net terms is reached.
closed_at2012-02-19 12:01:33 PSTDate invoice was closed (paid) or failed.
statuspending, processing, past_due, paid, failed, voidedCurrent status of the invoice. Equivalent to invoice_state in the Adjustments export. See filter notes above for details on what each status means.
net_termson-receipt, net-10, net-30, net-60Identifies the net_terms agreement associated with the invoice. All automatic collection invoices are due 'on-receipt'. Manual collection invoices can have terms of net-10, net-30, net-60, or a custom net day amount.
collection_methodautomatic or manualIdentifies whether the invoice fees are collected via manual or automatic invoicing. An automatic invoice means a corresponding transaction is run using the account's billing information at the same time the invoice is created. Manual invoices are created without a corresponding transaction.
account_code123122EAccount code being charged for this invoice.
account_nameJJ SmithFirst and last name from account associated with that invoice.
account_companyCompany, Inc.Company name from account. This field is from the Account Info and is displayed on the invoice if it exists.
account_line11 Main StreetAddress line 1 of the customer's address on the invoice. This will come from the Billing Address or the Account Address depending on your tax settings and the invoice collection method.
account_line2Suite 100Address line 2 of the customer's address on the invoice. This will come from the Billing Address or the Account Address depending on your tax settings and the invoice collection method.
account_citySan FranciscoCity of the customer's address on the invoice. This will come from the Billing Address or the Account Address depending on your tax settings and the invoice collection method.
account_stateCAState or province of the customer's address on the invoice. This will come from the Billing Address or the Account Address depending on your tax settings and the invoice collection method.
account_zip94107ZIP/postal code of the customer's address on the invoice. This will come from the Billing Address or the Account Address depending on your tax settings and the invoice collection method.
account_countryUSThe 2 letter country code for the country of the customer's address on the invoice. This will come from the Billing Address or the Account Address depending on your tax settings and the invoice collection method.
vat_numberIE124211145VAT registration number for the customer on the invoice. This will come from the VAT Number field in the Billing Info or the Account Info depending on your tax settings and the invoice collection method.
po_numberAE12523For manual invoicing, this identifies the Purchase Order number associated with the invoice. This value must be entered by the merchant at the time the invoice is created or it will not exist.
coupon_code50offThe code for the coupon associated with any discounts on the invoice. This value will only exist if a coupon was applied to the invoice.
currencyUSDThe currency of the amounts on the invoice. We do not allow mixed currency invoices.
invoice_total100The final total on the invoice. The summation of invoice charges, discounts, credits, and tax. Equivalent to the total in the deprecated Invoices export
invoice_subtotal50The Subtotal on the invoice. The summation of charges, discounts, and credits, before tax.
tax_amount15.00The total tax amount on the invoice.
tax_typeusst, vat, ca, au, nzProvides the tax type as "vat" for EU VAT, "usst" for U.S. Sales Tax, or the 2 letter country code for country level tax types like Canada, Australia, New Zealand, Israel, and all non-EU European countries.
tax_regionNY, FR, GST, VATProvides the tax region applied on an invoice. For U.S. Sales Tax, this will be the 2 letter state code. For EU VAT this will be the 2 letter country code. For all country level tax types, this will display the regional tax, like VAT, GST, or PST.
tax_rate0.1Tax rate applied on the invoice.
credit_to_account0Amount of credit applied back to the account. This amount is a charge with adjustment_origin of 'carryforward' on the invoice. This charge is what zeros out the invoice and should be filtered out of your reports. Credit to Account also maps to the uninvoiced credit that is created for the same amount and left on the account for payment of a future invoice. That credit will have an adjustment_origin that matches the original charge's origin.
recovery_reasonexp_date, retry, account_updater, prior_recovery, customer_updatesIf the initial transaction failed but a subsequent one succeeded, this field indicates why. See the details of what each reason means in our blog "Revenue Recovery: What Has Recurly Recovered for Me Lately?".
invoice_countryFRThis column is only visible if your site has European Union VAT or New Zealand GST Location Validation enabled. Column shows the EU or NZ country code of the customer's address on the invoice. The country refers to the evidence_matched.
evidence_matchedAccount Info Country, Billing Info Country, IP Address Country, Credit Card BIN CountryThis column is only visible if your site has European Union VAT or New Zealand GST Location Validation enabled. Column shows the two pieces of evidence that matched when the invoice was created. The corresponding country is the invoice_country.
modified_at2014-12-26 08:23:34 PSTThe date the invoice was last modified. An invoice is only modified if the status changes. Used for Modified date range filter.
invoice_typepurchase, refund, renewal, immediate_change, termination, credit, gift_card, write_off, external_refund, carryforward_credit, carryforward_gift_credit, usage_correction, importThis is the invoice origin. The original invoice will have a type of 'purchase'. Any refunds or voids will create a negative invoice to cancel out the original. This negative invoice will have a type of 'refund'.


All other invoice types are unlocked only when the Credit Invoices feature is enabled. See the full table of invoice origins for descriptions.
original_invoice_number1002If the row is a refund invoice, this value will exist and show the invoice number of the purchase invoice the refund was created from.
ship_address_nameJulie SmithThe first and last name associated with the shipping address
ship_address_line1ship_address_line1ship_address_line1
ship_address_line2Apt 1The second line of the street address for the shipping address
ship_address_cityWest BloomfieldThe city for the shipping address
ship_address_stateMIThe state for the shipping address
ship_address_zip48322The zip or postal code for the shipping address
ship_address_countryUSThe country for the shipping address
ship_address_phone248-555-1212The phone number associated with the shipping address
invoice_doc_typelegacy, charge, creditThis is the invoice document type. All invoices created before the Credit Invoices feature is enabled will have a type of ‘legacy’. Once Credit Invoices is enabled, new invoices will be either ‘charge’ or ‘credit’.
invoice_balance50.25The balance of the invoice.
This column will be null until Recurly's Credit Invoices feature is enabled on your Recurly site.
invoice_balance_modified_at2016-01-01 10:17:02 UTCThe datetime the invoice_balance last changed due to a transaction or credit payment.
This column will be null until Recurly's Credit Invoices feature is enabled on your Recurly site.
invoice_balance_modified_at10The total of all discounts on the invoice. This is the sum of each adjustment’s discount.
invoice_discount50.25The total of all adjustments on the invoice, before discounts and taxes.
invoice_subtotal_before_discounts50.25The refundable amount of the invoice, which is the invoice total, including discounts and tax, minus all credit invoices issued against it.
This column will be null until Recurly's Credit Invoices feature is enabled on your Recurly site.
business_entity_code123456789The Business Entity code is a unique string of letters and numbers you must create for each alternate business entity. This will be used to reference and assign/use business entity codes in the API, and is used to determine entities in exports.

Invoices - Unused Numbers

The unused invoice number export contains basic information for all invoice numbers that were not used on successfully-generated invoices. An unused invoice number could result from a failed sign-up, among other events.

This log of unused invoice numbers is especially useful for audit purposes. It complements the invoice numbers provided in the Invoices - Summary export to provide an explanation for each invoice number in your sequence.

All invoice numbers unsuccessfully attempted on or after July 1, 2019 will be shown in this export.

Export Contents

Column NameExampleDescription
invoice_number1291External invoice identifier.
invoice_typepurchase, refund, renewal, immediate_change, termination, credit, gift_card, write_off, external_refund, carryforward_credit, carryforward_gift_credit, usage_correction, importThis is the invoice origin. The original invoice will have a type of 'purchase'. Any refunds or voids will create a negative invoice to cancel out the original. This negative invoice will have a type of 'refund'.


All other invoice types are unlocked only when the Credit Invoices feature is enabled. See the full table of invoice origins for descriptions.
invoice_doc_typelegacy, charge, creditThis is the invoice document type. All invoices created before the Credit Invoices feature is enabled will have a type of ‘legacy’. Once Credit Invoices is enabled, new invoices will be either ‘charge’ or ‘credit’.
invoice_date2019-07-19 12:01:33 PSTAttempted creation date of the invoice.
The earliest invoice date possible is July 1, 2019, as this is the release date of this export.

Invoices (DEPRECATED)

The invoice export contains individual invoice line items including summary totals for invoices, so multiple items may be associated with the same invoice ID.

🚧

The Invoices export has been replaced by the "Invoices - Summary" export and the "Adjustments" export. This export will be removed when your site enables credit memo functionality.

Invoice Status Filter

All

Every invoice generated within your Recurly site, regardless of status.

Open

All invoices that have not received a payment attempt. Open is equivalent to 'pending' in the new invoice exports and does not include the 'past_due' status. This status only exists for manual invoices. If you see this status for an automatically collected invoice, it may mean that the payment attempt had a transaction communication error.

Processing

All invoices that have an ACH bank payment in process. This status will only exist for ACH bank payments. The status means the associated payment transaction has not settled. An ACH invoice with the Processing status that reaches the due date will not move to Past Due or Paid until the transaction has settled.

Closed

All successfully collected invoices. Closed is equivalent to 'paid' in the new invoice exports and does not include the 'failed' status. It is important to note that the associated credit card, PayPal, or Amazon transaction with a Closed invoice may not be settled with the gateway. Allow at least 1 to 3 business days for transaction settlement with the gateway.

Past Due

All automatic invoices that attempted collection, but payment failed, or manual invoices that have reached their due date. Payment for automatic invoices will be retried automatically through the dunning process.

Failed

All invoices that have either experienced 20 declines, or have been through the dunning process without successful payment. These invoices will not be retried. It is important to note that failed invoices will clear the owed balance from the account and will not attempt any future collections, but the charge line items will still exist in the account history.

Date Range Filter

Created

Shows invoices created during the selected time range. Uses the 'billed_date' column in the export.

Modified

Shows invoices last modified during the selected time range. An invoice is only modified when its 'status' changes. Uses the 'modified_at' column in the export.

Export Contents

Column NameExampleDescription
idb964b5439c2548a489b3a136e75aee9fUnique internal identifier for the invoice. This is also called the 'invoice_id' or 'uuid' for the invoice in the API.
account_code123122EAccount code being charged for this invoice.
account_nameJJ SmithFirst and last name from account,
invoice_number1291External invoice identifier.
subscription_id1fed8d153fcf4ea2a1d55ff2eebd51b7Subscription UUID associated with this line item on the invoice.
plan_codebasicThe plan code for the plan associated with the subscription. This value will exist for plan fee, setup fee, add-on fee and free trial line items. This value will not exist for custom charges, custom credits, or open amount refund credits.
coupon_code50offThe code for the coupon associated with any discounts on the invoice. This value will only exist if a coupon was applied to the invoice and will show for all line items on an invoice, even if the specific line item was not discounted by the coupon.
total100The final total on the invoice. The summation of invoice charges, discounts, credits, and tax. Equivalent to the invoice_total in the Invoices - Summary export
subtotal50Total charges on the invoice before discounts, credits, and tax.
tax_amount12.25The total tax amount on the invoice. This is not the tax amount for the specific line item.
currencyUSDThe currency of the amounts on the invoice. Every line item on an invoice will have the same currency. We do not allow mixed currency invoices.
date2012-02-19 12:01:33 PSTCreation date of the invoice. Equivalent to billed_date in the Invoices - Summary export. Used for Created date range filter.
statusopen, processing, past_due, closed, or failedCurrent status of the invoice. Equivalent to invoice_state in the Adjustments export and status in the Invoices - Summary export. See filter notes above for details on what each status means.
closed_at2012-01-18 11:47:13 PSTDate invoice was closed (paid) or failed.
purchase_countryIEThe 2 letter country code for the country of the customer on the invoice. This will come from the Billing Address or the Account Address depending on your tax settings and the invoice collection method. Equivalent to account_country in the Invoices - Summary export.
vat_numberIE124211145VAT registration number for the customer on the invoice. This will come from the VAT Number field in the Billing Info or the Account Info depending on your tax settings and the invoice collection method.
line_item_total500The total amount of the line item after discounts and taxes [(quantity x price) + discount + tax]. Equivalent to adjustment_total in the Adjustments export.
line_item_descriptionBasic Plan, one monthDescription for a specific invoice line item. This is automatically generated for all plan line items. This is custom for one-time custom charges and credits. Equivalent to adjustment_description in the Adjustments export.
line_item_originplan, plan_trial, setup_fee, add_on, debit, one_time, credit, carryforwardThe original source for a line item. A credit created from an original charge will have the value of the charge's origin. Equivalent to adjustment_origin in the Adjustments export. (plan = subscription fee, plan_trial = trial period 0 amount charge, setup_fee = subscription setup fee, add_on = subscription add-on fee, debit = custom charge through the UI or Adjustments API, one_time = custom charge through the Transactions API, credit = custom credit, carryforward = the charge that zeros out a negative invoice and should be ignored)
line_item_product_code0000yearlyPlan code for a specific invoice line item. This will only populate if the line item is for a subscription. The value will always be the plan_code, unless the line item is an add-on, which would then show the add-on code. Equivalent to adjustment_product_code in the Adjustments export.
line_item_accounting_code0000yearlyInternal accounting code for a specific invoice line item. This value will only populate if you define an accounting code for the line item. Accounting codes can be defined for all line items except free trials, which will inherit the plan's accounting code. Equivalent to adjustment_accounting_code in the Adjustments export.
line_item_start_date2012-01-19 11:03:23 PSTBill cycle start date for a specific invoice line item. Equivalent to adjustment_start_at in the Adjustments export.
line_item_end_date2012-02-19 11:03:23 PSTBill cycle end date for a specific invoice line item. This date will not exist for custom charges (one-time). Equivalent to adjustment_end_at in the Adjustments export.
net_termson-receipt, net-10, net-30, net-60Identifies the net_terms agreement associated with the invoice. All automatic collection invoices are due 'on-receipt'. Manual collection invoices can have terms of net-10, net-30, net-60, or a custom net day amount.
po_number213123For manual invoicing, this identifies the Purchase Order number associated with the invoice. This value must be entered by the merchant at the time the invoice is created or it will not exist.
collection_methodautomatic or manualIdentifies whether the invoice fees are collected via manual or automatic invoicing. An automatic invoice means a corresponding transaction is run using the account's billing information at the same time the invoice is created. Manual invoices are created without a corresponding transaction. The merchant must enter a manual payment transaction or have the customer pay the invoice with an automatic method, like credit card, PayPal, Amazon, or ACH bank payment.
line_item_uuid293f96f8c6fd1f8f622ec44306a3a92aProvides the unique internal identifier for each line item on an invoice. Equivalent to uuid in the Adjustments export.
tax_typeusst, vat, ca, au, nzProvides the tax type as "vat" for EU VAT, "usst" for U.S. Sales Tax, or the 2 letter country code for country level tax types like Canada, Australia, New Zealand, Israel, and all non-EU European countries.
tax_regionNY, FR, GST, VATProvides the tax region applied on an invoice. For U.S. Sales Tax, this will be the 2 letter state code. For EU VAT this will be the 2 letter country code. For all country level tax types, this will display the regional tax, like VAT, GST, or PST.
tax_rate0.1Tax rate applied on the invoice
discount-5Total discount amount applied on an invoice. This is not the discount for the specific line item.
original_adjustment_uuidb964b5439c2548a489b3a136e75aee9fValue is the uuid of the previous related line item (adjustment). Will only have a value if the line item is a credit created from a previous credit, or if the credit was created from a charge refund.
modified_at2014-12-26 08:23:34 PSTThe date the invoice was last modified. An invoice is only modified if the status changes. Used for Modified date range filter.
invoice_typepurchase, refundThe original invoice will have a type of 'purchase'. Any refunds or voids will create a negative invoice to cancel out the original. This negative invoice will have a type of 'refund'.
original_invoice_number1002If the row is a line item from a refund invoice, this value will exist and show the invoice number of the purchase invoice the refund was created from.