Skip to content

Reports

Use a report when you need a whole period of activity as a file: a month of payments for your books, the balance transactions behind every payout in a quarter, or a year of tax collected by jurisdiction. Each report is a CSV for one report type, one currency, and one interval. Flint generates it in the background, so you create the report, wait for it to finish, and then download the file.

To look up one payout's contents or follow activity as it happens, read the API directly instead. GET /v1/balance-transactions?payout_id=... lists what one payout carried without generating anything; see What's in a payout and Reconciliation.

Generating and downloading a reportResponse
Your serverFlintPOST /v1/reports201 with status pendingreport.succeededGET download.url307 redirect to the file
  1. Your server sends POST /v1/reports to Flint
  2. Flint returns 201 with status pending to Your server
  3. Flint sends report.succeeded to Your server
  4. Your server sends GET download.url to Flint
  5. Flint returns 307 redirect to the file to Your server

Use tax_itemized_v1 and tax_summarized_v1 for external tax, and tax_transactions_itemized_v2 and tax_transactions_summarized_v2 for automatic tax in every supported country. Each export includes only orders in its own tax mode, so merchants using both modes can generate both exports for the same period without counting a sale twice. The automatic summary groups collected, refunded and payable tax by country, state or province and tax type. US rows are labeled as combined state and local tax: the provider does not supply separate local liabilities.

Before you start#

  • Call report routes with your API key. Creating a report needs the reports.write scope. Listing, reading, and downloading accept reports.read or reports.write. Partner apps can't call report routes or request report scopes, and Flint doesn't forward report events to their installed-merchant endpoints.
  • A report covers the environment of the key that created it. A sandbox key generates reports from that sandbox's activity, and only keys for the same environment can read or download them.
  • Each environment can have five reports pending at once.

Report types#

Pick the report by the row you need. The name ends in a column version, such as _v1, and an incompatible change to a report's columns ships as a new version, like orders_itemized_v2. A breaking change shipped into a supported API version, as API versions describes, can change report columns too.

Report typeOne row isThe interval matchesUse it for
orders_itemized_v1A closed orderpaid_at (Order.paid_at)Sales, discounts, charges, tax, and tips per order
orders_itemized_v2A closed orderpaid_at (Order.paid_at)The same, with gift card sales separated from merchandise
invoices_itemized_v1An issued invoiceissued_atInvoice totals, payments, credits, write-offs, and outstanding balances
payments_itemized_v1A succeeded paymentCapture timeGross payments and the fees charged on each
balance_transactions_itemized_v1A balance transactionWhen the transaction occurredEvery movement of your Flint balance
payouts_itemized_v1One balance transaction in a paid itemized payout, or one paid manual payout without itemizationThe payout's arrival dateTying bank deposits to the activity they paid out
merchant_billing_itemized_v1One change to what you owe Flint or the credit you holdWhen the change occurredBooking event fees, invoices, credits, and collections
tax_itemized_v1One tax breakdown on an orderpaid_at (Order.paid_at)External tax charged, line by line
tax_summarized_v1One jurisdiction and tax typeOrder.paid_at for sales, the refund part's succeeded_at for refunds, and fulfilled_at for cashless exchangesTaxable sales and tax owed to each jurisdiction
tax_transactions_itemized_v1One automatic tax calculation or refund reversalOrder.paid_at for sales, the refund part's succeeded_at for reversalsAutomatic tax, with the addresses and rates used
tax_transactions_itemized_v2One automatic tax collection or refund reversal, or one exempt saleCollection time for sales, the refund part's succeeded_at for reversalsThe same, with what each collection covered and any exemption
tax_transactions_summarized_v2One automatic tax jurisdiction and tax typeThe same as the v2 itemized reportCollected, refunded and payable automatic tax
receivables_aging_v1One invoice with an outstanding balanceAs of a calendar dateReceivables split into current and 30-day aging buckets
gift_card_liability_v1The whole interval, as one rowGift card posting timeOpening and closing gift card liability (USD only)

An order counts toward orders_itemized_v1, orders_itemized_v2, tax_itemized_v1, and the sales in tax_summarized_v1 and tax_transactions_itemized_v1 when its status is closed and its paid_at is at or after interval_start_at and before interval_end_at. A paid order that's still open is left out until it closes. Reports created after that include it in the period of its paid_at.

In tax_summarized_v1, tax_transactions_itemized_v1, tax_transactions_itemized_v2, and tax_transactions_summarized_v2, a refund reverses tax one part at a time. A part is the share of the refund drawn from one payment or one gift card, an entry in Refund.tender_allocations. A part that returned money to the original payment also appears in Refund.payment_refunds. A part counts when its status is succeeded and its succeeded_at, when it first succeeded, is at or after interval_start_at and before interval_end_at. Each part counts in its own period, so a refund through two payments can reverse tax in two periods, and a partially_succeeded refund reverses the tax of the parts that succeeded. A part that fails after it succeeded leaves reports created after that, and returns to its original period if it succeeds again.

Each report type selects rows by its own occurrence time, so two types over the same dates cover different activity. A payout that arrives on February 1 pays out balance transactions from January, so payouts_itemized_v1 and balance_transactions_itemized_v1 for February list different rows by design. Reconcile a payout through the rows it carried, not by date arithmetic.

Flint never assigns activity to a period by a last-updated timestamp. If a completed record lacks the occurrence time its report type selects on, the report fails with data_unavailable rather than guessing.

Create a report#

This request asks for September 2026 in New York time:

cURL
curl -X POST https://api.withflintpay.com/v1/reports \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: payments-2026-09" \
  -d '{
    "report_type": "payments_itemized_v1",
    "interval_start_at": "2026-09-01T00:00:00-04:00",
    "interval_end_at": "2026-10-01T00:00:00-04:00",
    "timezone": "America/New_York",
    "currency": "USD"
  }'
Response
{
  "data": {
    "report_id": "rep_01KB4R7Q2M8XN3B5V6T0R1C2DE",
    "report_type": "payments_itemized_v1",
    "status": "pending",
    "interval_start_at": "2026-09-01T04:00:00Z",
    "interval_end_at": "2026-10-01T04:00:00Z",
    "timezone": "America/New_York",
    "currency": "USD",
    "created_at": "2026-10-28T15:04:05Z"
  },
  "request_id": "req_01KB4R7Q2M8XN3B5V6T0R1C2DF"
}
FieldRequiredWhat to send
report_typeYesOne of the report types.
interval_start_atInterval reportsRFC 3339 instant where the interval starts, inclusive. Omit for receivables aging.
interval_end_atInterval reportsRFC 3339 instant where the interval ends, exclusive. It must be after interval_start_at and not in the future. Omit for receivables aging.
as_of_dateReceivables agingCalendar date in YYYY-MM-DD format, no later than today in timezone. Omit for interval reports. See the aging example.
timezoneNoIANA time zone name, such as America/New_York. Defaults to the merchant's timezone, or UTC when the merchant has none.
currencyYesThree-letter ISO 4217 code. A report covers one currency and never converts amounts. gift_card_liability_v1 accepts only USD.

Choose the interval#

Send the instants where your period starts and ends. Use the next period's start as interval_end_at: September is 2026-09-01T00:00:00-04:00 up to, but not including, 2026-10-01T00:00:00-04:00. Any RFC 3339 offset works. Flint stores both instants in UTC and drops fractional seconds, so 2026-09-01T00:00:00.123Z becomes 2026-09-01T00:00:00Z.

An interval can be at most 366 calendar days in the report's timezone: interval_end_at can be no later than the same local time 366 days after interval_start_at. A calendar quarter or a calendar year, including a leap year, fits in one report.

timezone sets how timestamp columns are written, and payouts_itemized_v1 uses it to place each payout's arrival_date in the interval. It doesn't move the interval: the instants you send are the interval.

Retry safely#

Idempotency-Key is optional. Without one, every request creates a new report. With one, sending the same key and body again returns the original report as a replay.

A replay is also a 201, but it returns the report as it is now, which may be succeeded or failed. Read status from the response instead of assuming pending. See Idempotency.

Wait for the report to finish#

Subscribe to report.succeeded and report.failed, or poll GET /v1/reports/{report_id}. Wait for the result rather than creating a duplicate.

How long a report stays pending depends on its type and how recently its interval ended:

  • Most types take seconds to minutes, depending on how many rows they have.
  • balance_transactions_itemized_v1, payouts_itemized_v1, and merchant_billing_itemized_v1 first wait for Flint to finish reconciling your processor's history past interval_end_at. For an interval that just ended, allow about 30 minutes after interval_end_at for reconciliation, even for a small report. Once the interval is covered, Flint can start generating the report.
  • Flint retries data that hasn't landed for about 75 minutes, then fails the report with data_unavailable. No report stays pending longer than six hours.
status on report
Final values do not change again
  • pending
    Flint is generating the file. The report has no download and no failure_reason yet.
  • succeededFinal
    The CSV is ready. download has report_download_id, url, and expires_at. The status stays succeeded after the download expires.
  • failedFinal
    No file was produced. failure_reason says why.
  • report.succeeded
    The report finished. data.object is the report, with its download. Download the file when you receive it: the link expires 24 hours after the report succeeds.
  • report.failed
    The report failed. data.object is the report, with its failure_reason.

When a report fails#

failure_reason on report
  • data_unavailable
    Flint can't show that the interval is complete, so it produced no file rather than one with gaps. Generate the report again later. The causes depend on the report type.
  • limit_exceeded
    The report crossed a generation limit. Split the interval into smaller reports, such as one per month.
  • generation_failed
    Generation failed for another reason, after Flint's retries. Create the report again. If it keeps failing, contact Flint support with the report_id.

failure_reason can gain values. Treat an unknown value like generation_failed.

Why a report is data_unavailable#

Flint checks the evidence behind every row before it writes the file. A report fails with data_unavailable when:

  • Your processor's balance or payout history hasn't reconciled through the end of the interval.
  • An itemized payout in the interval has allocations that haven't synced, or an allocation points at a balance transaction Flint can't find (payouts_itemized_v1).
  • A merchant billing collection is still waiting on its outcome or lacks its balance transaction, or billing records are inconsistent (balance_transactions_itemized_v1 and merchant_billing_itemized_v1).
  • An external-tax order lacks authority-level tax evidence or a refund lacks tax lineage. A completed external-tax assessment without jurisdiction evidence fails immediately. Automatic-tax orders are excluded from the external exports; use tax_transactions_itemized_v2 or tax_transactions_summarized_v2 for those sales.
  • A completed record lacks the occurrence time its report type selects on.

Limits#

Flint fails a report with limit_exceeded on the first attempt, without a partial file, when generation:

  • Produces or reads more than 100,000 rows.
  • Writes more than 500 MiB of uncompressed CSV.
  • Runs longer than 25 minutes.
  • Groups more than 10,000 tax authority and tax type combinations (tax_summarized_v1).
  • Runs a single database read that returns more than 100,000 rows or 64 MiB, or takes longer than 20 seconds.

A long interval on a busy account can reach these limits. Split it into smaller reports and combine the files.

Download the CSV#

download.url is a Flint API URL. Call it with the same API key and follow the redirect:

cURL
curl https://api.withflintpay.com/v1/report-downloads/rdl_01KB4R9W3N5P7Q8R2S4T6V8X0Y \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --location \
  --output payments-2026-09.csv

Flint checks your key and answers 307 with a redirect to a private file URL that lasts a few minutes. Your HTTP client must follow redirects, and it shouldn't send your API key to the file URL; curl drops the Authorization header when a redirect changes host. Don't store or share the file URL. Request download.url again each time you need the file.

The download link expires 24 hours after the report succeeds, at download.expires_at. After that, the route returns 409 ACTION_NOT_ALLOWED with details[0].reason terminal_status. The report keeps status: succeeded and its download object, so compare download.expires_at with the current time before you download.

For a fresh file, create the report again with a new Idempotency-Key, or without one. Replaying the original key returns the original report and its expired link.

List your reports#

cURL
curl "https://api.withflintpay.com/v1/reports?report_type=payments_itemized_v1&status=pending,succeeded&page_size=20" \
  -H "Authorization: Bearer YOUR_API_KEY"

Reports come newest first by created_at, then report_id, in the standard data and next_page_token envelope. See Pagination.

ParameterWhat it does
report_typeReturns reports of any of these types.
statusReturns reports in any of these statuses: pending, succeeded, or failed.
page_size1 to 100. Defaults to 20.
page_tokenThe next_page_token from the previous page.

report_type and status each accept repeated keys (status=pending&status=failed), one comma-separated value (status=pending,failed), or both. A report matches when it has one of the listed values for every filter you send. Empty or unknown values return 400 INVALID_REQUEST.

A page_token works only with the filters, page_size, and environment it was issued for. Changing any of them mid-pass returns 400 INVALID_REQUEST on page_token; start again without it.

Columns#

Every report follows the same conventions:

  • Money is two columns, an amount and a currency, like the Money object in the API. A column written below as captured_money.* is the pair captured_money.amount and captured_money.currency. Amounts are whole numbers in minor units with no decimal point, and negative amounts have a leading minus sign. See Money & currency.
  • Timestamps are RFC 3339 instants written in the report's timezone, such as 2026-09-14T09:30:00-04:00. gift_card_liability_v1 writes its period in UTC.
  • An empty cell means the row has no value for that column.
  • Rows come oldest first by the report's occurrence time, unless a report type says otherwise.

Text that looks like a formula#

Spreadsheet programs run a cell as a formula when it starts with =, +, -, or @. When a text value starts with one of those characters, after any leading spaces, tabs, or line breaks, Flint writes a single quote (') before the whole value, so =SUM(A1) becomes '=SUM(A1). The file contains the quote. If you import the file with code and need the original text, remove it.

Flint does this only in these columns:

  • invoice_number, customer_display_name, customer_email, recipient_email, reference, po_number, and external_reference_id on invoices_itemized_v1.
  • description on balance_transactions_itemized_v1 and payouts_itemized_v1.
  • jurisdiction.code, jurisdiction.country, jurisdiction.state, and jurisdiction.name on tax_itemized_v1 and tax_summarized_v1.
  • On tax_transactions_itemized_v1 and the columns tax_transactions_itemized_v2 shares with it: every seller_origin.* and buyer_destination.* column, product_description, product_reference, tax_category, taxable_percentage, primary_tax_name, primary_tax_rate, additional_tax_name, additional_tax_rate, additional_taxable_percentage, every jurisdiction.* column, and effective_settings_fingerprint.

IDs, timestamps, enum values, and money columns are never changed, so a negative amount keeps its minus sign. The description on merchant_billing_itemized_v1 is text Flint writes and is left as is.

Orders#

Text
orders_itemized_v1
order_id, paid_at, subtotal_money.*, discount_money.*,
charge_money.*, tax_money.*, additive_tax_money.*, inclusive_tax_money.*,
requested_tip_money.*, total_money.*

orders_itemized_v2
(every orders_itemized_v1 column), gift_card_consideration_money.*,
merchandise_subtotal_money.*, merchandise_net_money.*,
refunded_credit_adjustment_money.*

Each row is a closed order whose payment completed in the interval, ordered by paid_at. This timestamp is the order's public Order.paid_at: when payment_status first became paid, including a final capture that releases the remaining balance. It stays unchanged after refunds. Writing off a balance without making the order paid leaves Order.paid_at null. charge_money is the order's charges, such as delivery, service, or handling, not a processing fee; processing fees are on the payments and balance reports. tax_money is the order's total tax and equals additive_tax_money plus inclusive_tax_money.

The total adds up from the other columns. Inclusive tax is already inside the prices, so it isn't added again:

One orders_itemized_v1 row
  • Subtotalsubtotal_money.amount
    $48.00
  • Discountdiscount_money.amount
    Positive in the file; subtract it
    −$5.00
  • Delivery chargecharge_money.amount
    $6.00
  • Additive taxadditive_tax_money.amount
    $3.72
  • Tiprequested_tip_money.amount
    $5.00
  • Totaltotal_money.amount
    $57.72

orders_itemized_v2 separates gift card sales from merchandise. gift_card_consideration_money is what the buyer paid for gift cards on the order, merchandise_subtotal_money is subtotal_money minus that amount, and merchandise_net_money is merchandise_subtotal_money minus discount_money.

Invoices#

invoices_itemized_v1 has one row per invoice issued in the interval, in the requested currency. Drafts never appear. Rows are ordered by issued_at, then invoice_id. Values reflect the invoice when the report is generated, including payments and adjustments recorded after the interval ended. Each generation attempt reads one consistent snapshot; a retry or a later report can include changes recorded since the previous attempt.

ColumnMeaning
invoice_id, invoice_numberStable invoice ID and the invoice number.
status, collection_modeCurrent invoice status and collection mode, using the values on Invoice.
customer_idLinked customer, or empty.
customer_display_name, customer_emailCustomer name and email from the invoice snapshot, blank while customer deletion is processing or after erasure.
recipient_email, reference, po_numberInvoice recipient, reference, and purchase order number, or empty.
order_id, subscription_idLinked order and subscription. subscription_id is empty without a subscription.
issued_at, paid_at, voided_at, uncollectible_atInvoice lifecycle timestamps in the report's timezone. Unset timestamps are empty.
due_dateCalendar due date in the invoice's timezone, or empty.
is_overduetrue when a collectible unpaid amount is past its due date, including schedule entries; otherwise false.
subtotal_money, discount_money, tax_money, total_moneyIssued invoice amounts. total_money excludes late fees.
late_fee_moneyAssessed late fees less waived late fees.
paid_moneyApplied collections less reversed collections, never below zero.
refunded_moneyRefunded amount. Refunds do not increase the outstanding balance.
credited_moneyApplied credit notes less reversed credits. This is settlement_amounts.credited_money on Invoice.
written_off_moneyWrite-offs less reversed write-offs.
outstanding_moneymax(total_money + late_fee_money - paid_money - credited_money - written_off_money, 0), or zero for paid, credited, void, and uncollectible invoices.
external_reference_idYour external invoice reference, or empty.

Every money column above is an .amount and .currency pair. The formula text rule applies to invoice text columns.

Join other exports by stable IDs: order_id links the invoice to orders, payments, and balance transactions; customer_id links the customer. Do not add invoice totals to order sales or applied payments to payment receipts, since they describe the same activity. Export merchant billing separately to book fees and adjustments Flint charges your business. Flint does not automatically sync these exports to QuickBooks, Xero, or NetSuite; map the rows to your accounting system's accounts when importing them.

Payments#

Text
payments_itemized_v1
payment_intent_id, occurred_at, selected_payment_option, captured_money.*,
processing_fee_money.*, invoice_collection_fee_money.*,
subscription_collection_fee_money.*, automatic_tax_fee_money.*,
merchant_net_money.*, order_id, platform_fee_money.*, split_money.*, card_country,
processing_fee_details.base.*, processing_fee_details.international_card.*,
processing_fee_details.manual_entry.*, processing_fee_details.currency_conversion.*,
processing_fee_details.fixed.*, processing_fee_details.tap_to_pay.*

Each row is a payment that succeeded, with occurred_at set to when it was captured. processing_fee_money is Flint's processing fee. invoice_collection_fee_money, subscription_collection_fee_money, and automatic_tax_fee_money are the add-on fees on the payment, and each is 0 when it doesn't apply. platform_fee_money is the platform fee a partner app charged on the payment, or 0 when there was none. split_money is the amount committed to sellers, or 0 for a payment without splits. It excludes splits canceled before capture and amounts returned after a failed split transfer. Refunds and disputes don't reduce this amount. merchant_net_money is captured_money minus the fees and split_money. order_id is empty when the payment isn't attached to an order. See Processing fees.

card_country is the two-letter country code of the card issuer when available. Each processing fee component has an amount and currency. The populated components sum to processing_fee_money.amount. A component's columns are empty when it did not apply or Flint cannot verify the breakdown from the original pricing record. Generate a fresh report to get these columns for an earlier period.

Balance transactions and payouts#

Text
balance_transactions_itemized_v1
balance_transaction_id, type, status, occurred_at, available_at,
amount_money.*, fee_money.*, net_money.*, description, order_id, payout_id,
related_resource.resource_type, related_resource.resource_id,
related_balance_transaction_ids

payouts_itemized_v1
(every balance_transactions_itemized_v1 column), arrival_date

Balance transaction rows use the values returned by GET /v1/balance-transactions. Payout holds and internal fee records aren't included.

ColumnValue
balance_transaction_idThe balance transaction's ID, such as btxn_....
typeThe API's type, such as payment, refund, dispute, or payout.
statuspending or available.
occurred_atWhen the transaction occurred. The interval matches it.
available_atWhen the funds become available. Empty until the transaction has an availability date.
amount_money.*The signed amount moved. Payments are positive and refunds are negative.
fee_money.*The fee on the movement, including a processor dispute fee deducted from or returned to your balance. A charged fee is positive, a returned fee is negative, and a movement with no fee is 0.
net_money.*The signed effect on your balance: amount_money.amount minus fee_money.amount.
descriptionThe transaction's description, or empty. See text that looks like a formula.
order_idThe order the transaction belongs to, or empty.
payout_idThe payout that carried the transaction. Flint sets it once, when that payout's contents are prepared, and never changes it, even if the payout later fails or is reversed. Empty until then and on transactions no payout carries.
related_resource.resource_type, related_resource.resource_idThe object the transaction came from: payment_intent, refund, dispute, payout, payout_destination, or merchant_billing_invoice. A payout's own debit points at that payout. Both are empty when the transaction has no source with a Flint ID.
related_balance_transaction_idsA JSON array of related balance transaction IDs, such as ["btxn_..."] on a refund, pointing back at the payment it reverses. Empty when there are none.

The fee signs match GET /v1/balance-transactions in API version 2026-09-07 and later, whatever version your key uses. To find refunds, read related_resource.resource_id on rows where related_resource.resource_type is refund.

payouts_itemized_v1 has one row for each balance transaction in a paid itemized payout. It includes each paid manual payout without itemization as a single payout row. The last column is arrival_date, the payout's arrival as a YYYY-MM-DD date with no time or time zone. A payout belongs to the interval when midnight at the start of its arrival_date, in the report's timezone, falls inside the interval. Rows are ordered by arrival date, then payout, then transaction time.

For each payout, the net_money.amount values of its rows add up to the payout's amount_money.amount. The payout's own debit is excluded. On a manual payout's single row, balance_transaction_id is empty and occurred_at is when the payout was created. Both amount_money.amount and net_money.amount are the deposit amount, and fee_money.amount is 0 on that row. Use the payout record for its actual fee.

A payout's rows are fixed once its contents are prepared, so regenerating the report lists the same rows for that payout. A reversed payout stays succeeded and stays in the report. A payout that fails is no longer paid and leaves the report, but its transactions keep their payout_id in balance_transactions_itemized_v1. To reconcile the activity behind a manual payout, use the balance transactions report and match the payout debit.

Merchant billing#

Text
merchant_billing_itemized_v1
merchant_billing_entry_id, type, occurred_at, created_at,
outstanding_effect_money.*, available_credit_effect_money.*,
net_billing_effect_money.*, description, event_fee_type, payment_intent_id,
dispute_id, merchant_billing_invoice_id, balance_transaction_id,
related_merchant_billing_entry_id

Each row is one change to what you owe Flint or the account credit you hold. The 17 columns are the fields of the entries GET /v1/merchant-billing-entries returns, and merchant_billing_entry_id (prefix mbe_) is the same every time you generate the report. See List entries.

typeWhat the row is
event_feeA fee for one event on your account. event_fee_type is bank_verification, failed_ach_payment, ach_dispute, card_dispute, card_dispute_countered, or external_paid_order_overage, and is empty on other types. An external_paid_order_overage row is the previous New York month's excess orders paid outside Flint: its occurred_at is the month's end and its created_at is when Flint posted it, at least 48 hours later. card_dispute and card_dispute_countered apply only when Flint paid the corresponding processor fee. A dispute fee deducted directly from your balance is already in the balance transaction report's fee_money and carries no additional event fee for the same cost.
invoiceA merchant billing invoice Flint issued to you for a billing period.
custom_domainThe monthly charge for the custom domain add-on.
custom_domain_collectionFlint collected a custom domain charge.
correctionA finalized correction to a fee Flint already charged you.
credit_issuedFlint gave you account credit.
credit_appliedAccount credit was put toward what you owe.
credit_refundedAccount credit was refunded instead of applied.
collectionFlint collected what you owe from your Flint balance.
collection_reversalA collection came back, so the amount is owed again.
write_offFlint stopped collecting an amount you owed and cleared it.

occurred_at is when the change happened, and the interval matches it. created_at is when Flint recorded it. Rows are ordered by occurred_at, then type, then merchant_billing_entry_id: the list endpoint's order, reversed.

The effect columns are signed. A positive outstanding_effect_money increases what you owe, a positive available_credit_effect_money increases the credit you can use, and net_billing_effect_money is outstanding_effect_money minus available_credit_effect_money.

collection and collection_reversal rows carry the matching balance_transaction_id. related_merchant_billing_entry_id points at the earlier row that a credit application, collection, reversal, or write-off acts on, and merchant_billing_invoice_id names the invoice behind an invoice row and the rows that credit or collect it. Event fees and finalized fee corrections are here; a payment's original processing fee stays on the payment and in payments_itemized_v1. See Merchant billing.

A change can be recorded after changes that occurred later, such as a collection whose bank outcome arrives late. The report fails with data_unavailable until every change in the interval has its evidence. To follow new entries between reports, list them with created_after.

Tax#

Text
tax_itemized_v1
order_id, tax_breakdown_id, paid_at, location_id,
jurisdiction.code, jurisdiction.country, jurisdiction.state,
jurisdiction.level, jurisdiction.name, tax_type, calculation_type,
price_mode, percent, flat_money.*, taxable_money.*, tax_money.*

tax_summarized_v1
jurisdiction.code, jurisdiction.country, jurisdiction.state,
jurisdiction.level, jurisdiction.name, tax_type, taxable_sales_money.*,
nontaxable_sales_money.*, tax_collected_money.*, tax_refunded_money.*,
tax_payable_money.*, taxable_sales_refunded_money.*, net_taxable_sales_money.*

tax_transactions_itemized_v1
record_type, merchant_id, order_id, payment_intent_id, order_line_item_id,
order_charge_id, refund_id, applied_tax_calculation_id,
paid_at, refund_succeeded_at, origin_source,
origin_source_id, origin_revision, seller_origin.line1,
seller_origin.line2, seller_origin.city, seller_origin.state,
seller_origin.postal_code, seller_origin.country, buyer_destination.line1,
buyer_destination.line2, buyer_destination.city, buyer_destination.state,
buyer_destination.postal_code, buyer_destination.country,
product_description, product_reference, quantity, tax_category,
gross_money.*, discount_money.*, taxable_money.*, nontaxable_money.*,
tax_money.*, total_money.*, price_mode, status, taxable_percentage,
primary_tax_name, primary_tax_rate, additional_tax_name, additional_tax_rate,
additional_taxable_percentage, additional_tax_money.*, jurisdiction.country,
jurisdiction.state, jurisdiction.county, jurisdiction.city,
configuration_generation, effective_settings_fingerprint,
refund_reversed_tax_money.*

tax_transactions_itemized_v2
(every tax_transactions_itemized_v1 column, with collection_completed_at instead of paid_at),
collection_source.resource_type,
collection_source.resource_id, exemption.source, exemption.reason,
exemption.certificate_number, exemption.customer_tax_exemption_id,
post_tax_discount_money.*

Which tax report to use depends on how the tax was calculated.

For external tax, tax_itemized_v1 lists each tax breakdown on each order. Its paid_at column is the order's Order.paid_at. tax_summarized_v1 totals them by jurisdiction and tax type. Successful refunds increase tax_refunded_money and are netted into tax_payable_money, so use the summary for the amount owed to a jurisdiction. Pending and failed refunds change neither. Both reports need Flint's authority-level breakdowns and exclude automatic-tax orders. When an authorization is only partly captured, sales and tax include only the collected share. Released amounts and reversed manual payments are excluded. For a partial capture, jurisdiction totals reflect the successful refunds recorded by the end of the interval; a full refund of the capture leaves zero tax payable.

For each jurisdiction, use net_taxable_sales_money for taxable sales after refunds and tax_payable_money for tax after refunds. taxable_sales_money shows taxable sales before refunds, and taxable_sales_refunded_money shows the taxable sales reversed during the report interval. A refund for a sale from an earlier interval can make that jurisdiction's net taxable sales negative.

For automatic tax, tax_transactions_itemized_v1 has one row per tax calculation collected with an order (record_type collection) and one per successful refund reversal (record_type refund_reversal). It keeps the result with the addresses, product, rates, and configuration it was calculated from, for reconciliation or import into other systems.

tax_transactions_summarized_v2 uses the same collections and reversals as the v2 itemized report, with the columns from tax_summarized_v1 plus report_note. Canadian GST and provincial taxes remain separate tax types. US rows combine state and local tax under the resolved state; a combined rate cannot establish what is owed to each local authority. Exempt sales without a recorded jurisdiction use the unresolved group. A refund-only interval can have negative payable tax.

tax_transactions_itemized_v2 adds columns for the resource each collection came from, any exemption recorded on the sale, and post_tax_discount_money. It writes one collection row per collection and calculation instead of one per calculation, adds exempt_collection rows, and reverses refunds per original payment and tax calculation. See Rows in the v2 tax transactions report. Choose it for new imports, and keep tax_transactions_itemized_v1 for importers that expect its rows.

Both v2 exports include tax reversals for credit note refunds when Flint can match the credited amounts to the original collection. If Flint can't match a refund part, the CSV has a report_note row naming the credit note and refund. The row has no amounts, and the omitted reversal is excluded from the summary totals. Check the named credit note and refund when reconciling the export. If a later refund overlaps with a credit note you already exported, the later export names the earlier credit note for reconciliation.

tax_transactions_itemized_v2 keeps the collection_completed_at column name because its timestamps identify individual collections. The v1 report calls its order payment completion timestamp paid_at, matching Order.paid_at. The column descriptions that follow apply to both reports unless they name v2.

On tax_transactions_itemized_v1 and tax_transactions_itemized_v2, every money column is an amount and a currency, and there's no separate currency column.

ColumnsValue
seller_origin.*, buyer_destination.*The addresses the calculation used: line1, line2, city, state, postal_code, and country.
origin_source, origin_source_id, origin_revisionWhere the seller origin came from (legal_origin, fulfillment_location, pickup_location, or device_location), with that source's ID and revision number.
tax_categoryThe Flint tax category the calculation used.
price_modeadditive when tax is added to the price, or inclusive when the price includes it. For inclusive, gross_money is the price less the tax it includes, so on every row gross_money less discount_money, plus tax_money and additional_tax_money, is total_money. discount_money holds pre-tax discounts; a post-tax discount lowers what was collected below total_money and appears only in v2's post_tax_discount_money.
statusThe calculation result: taxable, non_taxable, not_registered, or reverse_charge.
taxable_percentage, primary_tax_name, primary_tax_rate, additional_tax_name, additional_tax_rate, additional_taxable_percentageThe rates, names, and taxable shares, as the calculation recorded them.
jurisdiction.country, jurisdiction.state, jurisdiction.county, jurisdiction.cityThe jurisdiction the calculation resolved.
quantity, configuration_generationWhole numbers.
refund_idOn a refund_reversal row, the Refund it reverses. Empty on collection rows and on v2 rows that reverse an invoice manual payment or move credit for an order edit.
refund_succeeded_atOn a refund_reversal row, when the refund's part for this row first succeeded. For a payment, it's succeeded_at on the Refund.tender_allocations entry with tender_type payment_intent and the row's payment_intent_id, including store credit (destination new_gift_card). When the part returned money to the original payment, the Refund.payment_refunds entry with that payment_intent_id has the same value. For a gift card (v2 only), it's succeeded_at on the Refund.tender_allocations entry whose gift_card_redemption_id matches collection_source.resource_id. On a v2 row that reverses an invoice manual payment, it's reversed_at on the InvoiceManualPayment named by collection_source.resource_id. On a v2 row that reverses credit moved by an order edit, it's the edit's created_at. Empty on collection rows.

Refund.succeeded_at is when the refund's last part first succeeded, so it equals refund_succeeded_at when the refund has one part. When it has several, earlier parts carry earlier times. Refund.succeeded_at is absent while the refund is partially_succeeded, though the rows for its succeeded parts remain.

Rows in the v2 tax transactions report#

record_type is collection, refund_reversal, exempt_collection, or report_note.

  • Collections. A collection row is one tax calculation applied to one collection of the order. Each row's tax_money is that collection's share of the calculation's tax. For a line item, the share is the tax stored on the collection's settlement allocation. For a charge, historical settlement rows include the tax in the charge amount, so Flint applies the frozen calculation's tax proportions to the persisted charge_amount. When one calculation spans several collections, or a collection pays part of the order, the order has several collection rows for the calculation, each holding its share, and Flint splits the calculation's other amounts across them by largest remainder, so the rows add up to the calculation to the minor unit. collection_completed_at is when that collection completed.
  • Refund reversals. A refund_reversal row reverses the tax of one original payment and tax calculation partition, so a refund can have several rows, such as one for each payment it returns money to and each calculation that payment covered. A line item reversal uses the tax recorded on the refund. A charge reversal uses the tax Flint derived for the original collection, as in the collections bullet, and keeps the refund's recorded total and discount, so a full reversal returns exactly what the collection row reported. It carries the collection_source.* of the collection it reverses. A full reversal of an invoice manual payment appears the same way: refund_reversal with refund_id empty and the original invoice_manual_payment collection source.
  • Order edit credit. When a paid-order edit uses removed value to pay for added items, a refund_reversal row reports the moved gross, discount, taxable amount, and tax as negatives on the source line or charge. It has an empty refund_id, keeps the source's calculation, jurisdiction, exemption, currency, and collection source, and uses the edit's created_at for refund_succeeded_at. The added line has a collection or exempt_collection row from its own committed calculation, with collection_completed_at equal to the same edit time. A later edit that moves credit from that added line reverses that line. Credit moving between lines doesn't increase the order's collected total. Exemption columns follow each line's calculation: an exempt source funding a taxed addition keeps its exemption on the negative row, while the taxed addition has empty exemption columns.
  • Exempt sales. An exempt_collection row is an automatic tax sale that recorded an exemption. Flint reads the exemption from the original collection's frozen assessment: the payment attempt's, or the owning issued invoice's for an invoice payment. It never reads the current order or customer, so changing or removing an exemption later doesn't change an earlier report. Its taxable_money and tax_money are zero and nontaxable_money is gross less pre-tax discounts. An exempt sale without a calculation leaves applied_tax_calculation_id and the rates empty. Its buyer destination and jurisdiction.* come from the location frozen for that line or charge at collection or invoice issue. Sales without a known frozen jurisdiction appear under Sales without jurisdiction in the summary. An added exempt line retains its committed exemption calculation and jurisdiction. A sale that recorded no exemption details leaves the exemption.* columns empty.

Explicitly non-taxable items also appear as collection rows with zero taxable amount and tax. Their frozen destinations select the same jurisdiction buckets as exempt sales.

payment_intent_id is empty on a row unless the collection was a payment intent. The v2 columns follow the v1 columns in the file, in the order listed above.

ColumnsValue
collection_source.resource_type, collection_source.resource_idWhat the collection came from: payment_intent, invoice_manual_payment, or gift_card_redemption, with that resource's ID.
exemption.source, exemption.reason, exemption.certificate_number, exemption.customer_tax_exemption_idThe exemption recorded on the order or invoice. Empty on rows with no exemption.
post_tax_discount_money.amount, post_tax_discount_money.currencyThe row's share of post-tax discounts on the line item, in the report's currency. They lower what the buyer paid, not the tax, so a collection received total_money less this amount. discount_money holds only pre-tax discounts. Negative on refund_reversal rows and 0 on charges. Exempt line items can carry post-tax discounts too.

External-tax rows in tax_itemized_v1 and tax_summarized_v1 preserve foreign jurisdiction countries and the vat, gst, hst, pst, and qst tax types. A national jurisdiction has level country; a first-level subdivision outside the US has level province. Money remains in USD.

The tax reports record what Flint calculated and collected. They aren't tax returns, nexus decisions, or filing instructions. See Sales tax.

Gift card liability#

Text
gift_card_liability_v1
period_start_at, period_end_at, snapshot_watermark, opening_money.*,
loads_money.*, imports_money.*, redemptions_money.*, refunds_money.*,
cash_outs_money.*, purchase_reversals_money.*,
purchase_refund_recoveries_money.*, adjustments_money.*, closing_money.*

The report is one USD row that rolls gift card liability forward across the interval, from opening_money to closing_money. Every currency column is USD, and the period timestamps are in UTC. snapshot_watermark fixes which gift card postings the row includes, so the totals don't change if generation is retried.

Amounts are face value, not what buyers paid for the cards. Frozen and reserved value stays in the liability; freezes, holds, recipient emails, and code changes don't move it. How to book the liability is your accountant's decision.

Reconcile fees and payouts#

To findUse
The fees on each paymentpayments_itemized_v1: the processing fee and each add-on fee on every succeeded payment, with merchant_net_money.
Every movement of your balancebalance_transactions_itemized_v1: the rows and fee signs of GET /v1/balance-transactions, with net_money = amount_money - fee_money.
What a period's deposits carriedpayouts_itemized_v1: each paid payout's balance transactions, which add up to its amount.
What one payout carried, right nowGET /v1/balance-transactions?payout_id=...: the same rows without a report, in any payout status once its contents are prepared. It needs the money_movement.balance_transactions.read scope. See What's in a payout for its 503 and 409 responses.

Revenue from orders#

If you compute revenue from the Orders API, use settlement_amounts.net_collected_money. It is paid_money - refunded_money - dispute_lost_money, which can be negative when refunds and lost disputes exceed payments. Principal of open disputes appears separately in disputed_money, and inquiries move no money. Dispute fees stay outside these amounts. Read the dispute balance transaction's fee_money, or the card_dispute event fee in merchant billing.

Annual payment totals#

For a calendar-year gross payment total, generate payments_itemized_v1 for the full year in your reporting time zone and add up captured_money.amount for each currency separately. Use balance_transactions_itemized_v1 to reconcile refunds and fees separately.

Form 1099-K#

Flint files Form 1099-K for its US merchants through Stripe when required. Stripe generates the forms and submits them to the IRS and applicable states on Flint's behalf.

For tax year 2026, the federal threshold for third-party network payments is more than $20,000 and more than 200 transactions. Payment card reporting has no federal minimum. Some states require a form at lower amounts, and Stripe applies those rules automatically.

Stripe emails you when your form is ready if you consent to paperless delivery. In Flint's live Dashboard, go to Settings > Verification > Tax forms and documents, then choose View documents to download it. If you haven't consented, Stripe mails a paper copy instead. You don't need a Stripe login. Forms are sent by January 31, or the next business day if it falls on a weekend or holiday. For tax year 2026, that date is February 1, 2027.

Flint collects your tax ID during verification. To correct it or update your other tax details or paperless delivery preference, go to Settings > Verification > Account management and choose Manage account. If a form you already received has incorrect information, contact Flint Help to request a correction. Don't post your tax ID in a support thread.

To reconcile the form, compare Box 1a to the gross captured amounts for reportable payments in payments_itemized_v1, not your payouts or net income. Don't subtract refunds, fees, credits, or discounts from the amounts paid. The report includes succeeded payments by capture time; its total is a starting point, not a substitute for the form. Contact Flint Help if you can't explain a difference.

To show forms in your app, create a merchant account session with tax_documents using the merchant's own credential and mount Stripe's documents component. Flint's API doesn't return form data or PDFs directly.

Receivables aging#

Use receivables_aging_v1 to export unpaid invoice balances in one currency as of a calendar date:

Response
{
  "report_type": "receivables_aging_v1",
  "as_of_date": "2026-11-01",
  "timezone": "America/New_York",
  "currency": "USD"
}

Send this body to POST /v1/reports. as_of_date is required, uses YYYY-MM-DD, and can't be later than today in timezone. The time zone defaults to the merchant's timezone, or UTC when the merchant has none. Omit interval_start_at and interval_end_at; sending either returns 400 INVALID_REQUEST with detail NOT_ALLOWED. Interval reports reject as_of_date the same way.

The balance cutoff is the earlier of the end of as_of_date in the report's timezone and the time the report was created. A report for today therefore includes activity up to its creation. The report resource includes as_of_date, sets interval_start_at to the start of that local date, and sets interval_end_at to the cutoff.

An invoice appears if it was issued before the cutoff, wasn't voided or marked uncollectible before it, and had a positive outstanding balance then. Payments, reversals, credit allocations, write-offs, and late fees take effect when their balance entries are recorded. A payment entered later with an older payment date doesn't reduce an earlier report. Customer names and email addresses come from the invoice snapshot and are blank after erasure.

Principal and installment due dates keep the calendar date the buyer saw on the invoice, using the invoice's timezone to read the stored date. The report timezone never changes those dates. Each unpaid installment ages from its own due date. Late fees age from their assessment date. Other unpaid amounts use the invoice due date. An allocated payment or credit reduces its assigned installment or fee; unallocated amounts reduce the oldest due amount first. Amounts without a due date, and amounts due today or later, are current. Days past due count calendar days from that invoice due date to as_of_date. A Tokyo invoice due November 1 is current in a UTC report as of November 1 and enters the 1 to 30 bucket on November 2. The report timezone governs the ledger cutoff and late-fee assessment dates.

Columns: receivables_aging_v1#

ColumnsMeaning
invoice_id, invoice_number, customer_idStable invoice and customer identifiers and the invoice number
customer_name, customer_emailCustomer name and email from the invoice snapshot
issued_atWhen the invoice was issued, in the report's timezone
due_date, days_past_dueEarliest unpaid due date, or blank if none, and its nonnegative calendar days past due
total_moneyIssued invoice total, before late fees
paid_moneyCollections less collection reversals as of the cutoff
credited_moneyCredit note allocations less reversals as of the cutoff
written_off_moneyWrite-offs less reversals as of the cutoff
late_fee_moneyAssessed late fees less waivers as of the cutoff
current_moneyUnpaid amounts due today, due later, or without a due date
past_due_1_30_moneyUnpaid amounts 1 through 30 calendar days past due
past_due_31_60_moneyUnpaid amounts 31 through 60 calendar days past due
past_due_61_90_moneyUnpaid amounts 61 through 90 calendar days past due
past_due_91_plus_moneyUnpaid amounts at least 91 calendar days past due
outstanding_moneySum of the five aging buckets

Each money field has .amount and .currency columns. Amounts are integer minor units. Rows sort by customer_id, then due_date, then invoice_id. Text cells use the same spreadsheet formula protection as the other reports.

Reconcile receivables#

For a report as of today, sum outstanding_money.amount and compare it with the outstanding amount for the same currency from invoice receivables. Group by customer_id to compare with each customer's receivables. Read those values before other activity changes the balances. The five buckets always sum to outstanding_money, which is the invoice total plus net late fees, less net collections, credit allocations, and write-offs, clamped at zero. Refunds alone don't reopen receivables. Unapplied customer credit is outside this report.

Each generation attempt reads one consistent database snapshot. A retry or a new report can include balance entries recorded since an earlier attempt when their effective time precedes the cutoff. The report is a reconstruction of the available records, not a permanently frozen accounting snapshot. The existing 100,000-row, file-size, and generation-time limits apply; a limit failure produces no partial CSV.

For accounting imports, join invoice and customer IDs to the invoicing API. Join cash movements through the invoice's order ID using payout reconciliation, and map merchant billing entries separately from payment processing fees. Flint doesn't provide automatic QuickBooks, Xero, or NetSuite sync.

Errors#

POST /v1/reports rejects an invalid request with 400 INVALID_REQUEST before it creates anything, and param names the field to fix:

Causeparam
No request bodybody
report_type isn't a supported typereport_type
An interval instant is missing or isn't RFC 3339interval_start_at or interval_end_at
interval_end_at isn't after interval_start_at, is in the future, or is more than 366 calendar days after the start in timezoneinterval_end_at
timezone isn't an IANA nametimezone
currency isn't a three-letter ISO 4217 code, or isn't USD for gift_card_liability_v1 (details[0].code NOT_ALLOWED)currency
Idempotency-Key is longer than 255 characters or contains null characters or line breaksIdempotency-Key
  • HTTP 400
    A request field or list parameter is invalid; see the table above. On GET /v1/reports, a filter has an empty or unknown value, page_size is outside 1 to 100, or page_token is malformed or was issued for different filters, page_size, or environment.
  • HTTP 409
    The key was already used for a different report. See Replay, conflict, or in progress.
  • HTTP 404
    No report or finished download has that ID in this environment. param names the ID. Check that the key belongs to the environment that created the report.
  • HTTP 409
    With details[0].reason terminal_status, the download is past download.expires_at. Create the report again with a new key.
  • HTTP 409
    Reason pending_reports: five reports are already pending in this environment, with limit 5 and the pending reports in blocking_resources. Wait for one to finish, then create the report again as a new request.
  • HTTP 503
    SERVICE_UNAVAILABLERetry the same request
    Reporting couldn't serve the request. Retry with backoff, using the same Idempotency-Key on a create.

Next steps#

PayoutsPayout schedules, destinations, and the balance transactions in each payout.ReconciliationMatch a deposit to the orders and payments that funded it.Merchant billingWhat you owe Flint, the credit you hold, and how Flint collects.Sales taxHow Flint calculates the tax these reports export.Accounting and bookkeepingWhich account each report row posts to, with worked journal entries.

The Reports API reference lists every field and response.

Was this helpful?