Settlement File Schema

The following is a typical settlement file format that is delivered in a CSV format.

IndexColumnData TypeDescription
0Settlement DateDateDate of settlement. Example: 4/21/2024
1Order Date and TimeDatetimeOrder placed timestamp. Example: 4/20/2024 5:28:00
2Order MonthStringOrder placed month. Example: Apr
3Order YearIntOrder placed year. Example: 2024
4Afterpay Order IDStringA unique ID generated by Afterpay to identify orders Example: 3398663780
5Merchant Order IDStringA unique ID generated by the seller to identify orders Example: fasdfas123122
6Merchant Refund IDStringA unique id generated by the seller’s system to identify refunds Example: 32123123xddff
7Presentment AmountDecimalThe full order amount displayed to the customer Example: 30.00
8Presentment CurrencyStringCurrency displayed to the customer in the three-letter ISO 4217 currency code. Example: USD
9Settlement Exchange RateDecimalThe exchange rate used to convert the presentment currency to the settlement currency. This applies to Cross Border Trade (CBT) orders only. Default value is 1. Example: 1
10Order AmountDecimalTotal order amount after the settlement exchange rate is applied. This amount is different from Presentment Amount only in cases of Cross Border Trade (CBT) orders. Example: 30.00
11Settlement AmountDecimalSettlement amount usually equals the Order Amount. It may be different than the Order Amount if partial or multi capture is used. Example: 30.00
12Variable RateDecimalVariable part of the buy rate associated with the seller. Example: 0.05
13Fixed RateDecimalFixed part of the buy rate associated with the seller expressed in Fee Currency. Example: 0.3
14Fee AmountDecimal(Settlement Amount * Variable Rate) + Fixed Rate expressed in Fee Currency.
15CBT RateDecimalCross Border Trade (CBT) fee if applicable. Example: 0.01
16CBT Fee AmountDecimalSettlement Amount * CBT Rate expressed in Fee Currency. Example: 0.01
17Merchant Fee excl TaxDecimalFee Amount + CBT Fee Amount expressed in Fee Currency. Example: 0.9
18Tax Rate OR VAT Rate OR GST RateDecimalIndirect transaction tax rate on the Merchant Fee excl Tax. Example: 0.2
19Merchant Fee TaxDecimalMerchant Fee excl Tax * Tax Rate expressed in Fee Currency. Example: 0.18
20Merchant Fee incl TaxDecimalMerchant Fee Excl Tax + Merchant Fee Tax Example: 1.09
21Fee CurrencyStringCurrency fee is calculated in the three-letter ISO 4217 currency code. Example: USD
22Net Settlement AmountDecimalSettlement Amount - Merchant Fee incl Tax Example: 8.92
23Net Settlement CurrencyStringCurrency to be settled to the partner in the three-letter ISO 4217 currency code. Example: USD
24TypeStringLine item event (i.e. “Order”, “Refund”) Example: Order
25ChannelStringLine item source (i.e. “Online”, or “In-store”) Example: Online
26Store NameStringStore name for partners using the in-store channel only.
27Store IDStringStore ID for partners using the in-store channel only.
28Device NameStringDevice name for partners using the in-store channel only.
29Device IDStringStore name for partners using the in-store channel only.
30Afterpay Refund IDStringA

Important

The following field names will change region-to-region due to different nomenclature for indirect tax by the auditing authorities.

US/CA (Tax)

  • Merchant Fee excl Tax
  • Tax Rate
  • Merchant Fee Tax
  • Merchant Fee incl Tax

AU/NZ (GST)

  • Merchant Fee excl GST
  • GST Rate
  • Merchant Fee GST
  • Merchant Fee incl GST

AU/NZ (VAT)

  • Merchant Fee excl VAT
  • VAT Rate
  • Merchant Fee VAT
  • Merchant Fee incl VAT

Aggregation File Schema

The following is a typical aggregation file format that is delivered in a csv format.

IndexColumnData TypeDescription
0Settlement timeDatetimeDate of settlement. Example: 2024-04-04T13:01:25Z
1Settlement amountIntAmount settled with the partner. Example: 111001251
2Settlement currencyStringCurrency of the settlement. Example: USD
3Settlement accountStringAccount of the settlement. Example: Partner Name
4Statement descriptorStringA statement descriptor for the settlement. Example: AfterPay settlement Partner Account Number