--- title: "Export field options and their definitions for Administrators - Payhawk Help Center" slug: "list-of-export-field-options-and-their-definitions" description: "See every option you can add to a custom export template in Payhawk, what it shows in the exported file, and where you can use it." updated: 2026-11-23T15:11:56Z published: 2026-11-23T15:11:56Z canonical: "payhawk.com/list-of-export-field-options-and-their-definitions" --- > ## Documentation Index > Fetch the complete documentation index at: https://payhawk.com/help/llms.txt > Use this file to discover all available pages before exploring further. # List of export field options and their definitions This article lists every option you can add to a cell of a custom export template in Payhawk, what each option shows in the exported file, and in which rows and files you can use it. The options are grouped as they appear in the list that opens when you type **@** in a cell. The **Available in** column shows where you can use each option: - Header and footer - The header and footer rows of a file or sheet. - Expense rows, Line item rows and Payment rows - The rows groups of a file or sheet that includes Expenses and payments. - Payments only, Deposits and Account Statement - Files or sheets that include these types of data. ## Notes - Some options show values as they are saved in Payhawk, not as they appear in the Export builder. For example, **Approval status** shows **cancelled**, **Spend type** shows **cashInAdvance**, **Payment status** shows **refund**, and **Payment type** shows **POS**. The definitions list the values that appear in the exported file. - Some options appear only when a feature is turned on for your account - **Item name** and **Item code**, **Quantity** and **Unit price**, **Card transaction location** and **Card transaction country code**, and **Aggregate**. - All amounts marked (**Base Currency**) are converted into the base currency of your Payhawk account. ## Payhawk account The following table lists the options that show details of your Payhawk account, such as its name, address, base currency, and Payhawk currency account balances. | **Option** | **Definition** | **Available in** | | --- | --- | --- | | **Name** | The name of your Payhawk account. | - Header and footer - Expense rows - Line item rows - Payment rows - Payments only - Deposits | | **Street name and number** | The street name and number in your Payhawk account's address. | - Header and footer - Expense rows - Line item rows - Payment rows - Payments only - Deposits | | **City** | The city in your Payhawk account's address. | - Header and footer - Expense rows - Line item rows - Payment rows - Payments only - Deposits | | **Country** | The country of your Payhawk account, as a country code. | - Header and footer - Expense rows - Line item rows - Payment rows - Payments only - Deposits | | **Account base currency** | The account's base currency: the currency Payhawk converts amounts into for every value marked "(Base Currency)". | - Header and footer - Expense rows - Line item rows - Payment rows - Payments only - Deposits | | **Account balance** | The balance of one Payhawk currency account that you pick. Start balance is the currency account's total (available plus reserved) at the start of the export period. End balance is the total at the end of the period. Reserved balance is the amount on hold at the end of the period. Available balance is the end balance minus the reserved balance. The export needs a date range for this to work. | - Header and footer - Expense rows - Line item rows - Payment rows - Payments only - Deposits | ## Accounts Mapping The following table lists the options that show the accounts set in the mapping of your accounting integration. | **Option** | **Definition** | **Available in** | | --- | --- | --- | | **General account** | The general account set in the account's accounting integration mapping. It is the same on every row. | - Header and footer - Expense rows - Line item rows - Payment rows - Payments only - Deposits | | **Fees account** | The fees account set in the account's accounting integration mapping. It is the same on every row. | - Header and footer - Expense rows - Line item rows - Payment rows - Payments only - Deposits | ## Calculated Fields The following table lists the options that Payhawk calculates for each row, such as row numbers and the current date. | **Option** | **Definition** | **Available in** | | --- | --- | --- | | **Line Item Row Number** | The position of the row within its expense: 1 for the expense's first line item row, 2 for the second, and so on. Starts again at 1 for each expense. | - Expense rows - Line item rows - Payment rows - Payments only - Deposits - Account Statement | | **Row Number** | A running row number: 1, 2, 3 and so on. Rows that come from the same expense line (or the same payment or deposit) share one number. Starts again at 1 in each section of the export. | - Expense rows - Line item rows - Payment rows - Payments only - Deposits - Account Statement | | **Journal Entry Number** | A running number per expense: every row of the same expense gets the same number, and it goes up by 1 with each new expense. Payment and deposit rows do not move the counter. Starts again at 1 in each section of the export. | - Expense rows - Line item rows - Payment rows - Payments only - Deposits - Account Statement | | **Current Date** | The date and time the export file is created, shown in the date format set for the template. It is always in UTC, not in the time zone of the account or the person exporting. | - Header and footer - Expense rows - Line item rows - Payment rows - Payments only - Deposits - Account Statement | ## Categorization The following table lists the options that show how the expense is categorized, such as its category, item and amortization. | **Option** | **Definition** | **Available in** | | --- | --- | --- | | **Account code** | The account code set on the expense category of the expense. In line item rows, the account code of the line item's category. | - Expense rows - Line item rows - Payment rows | | **Category name** | The name of the expense category. In line item rows, the name of the line item's category. | - Expense rows - Line item rows - Payment rows | | **Item name** | The name of the item from the items list chosen on the expense (or on the line item, in line item rows). Only offered when items are turned on for the account. | - Expense rows - Line item rows - Payment rows | | **Item code** | The code of the item from the items list chosen on the expense (or on the line item, in line item rows). Only offered when items are turned on for the account. | - Expense rows - Line item rows - Payment rows | | **Amortization schedule** | The name of the amortization schedule on the expense (or on the line item, in line item rows). | - Expense rows - Line item rows - Payment rows | | **Amortization external ID** | The external ID of the amortization schedule on the expense (or on the line item, in line item rows). | - Expense rows - Line item rows - Payment rows | | **Amortization start** | The start date of the amortization on the expense (or on the line item, in line item rows). | - Expense rows - Line item rows - Payment rows | | **Amortization end** | The end date of the amortization on the expense (or on the line item, in line item rows). | - Expense rows - Line item rows - Payment rows | ## Expense The following table lists the options that show the details, amounts and payment information of the expense and its line items. | **Option** | **Definition** | **Available in** | | --- | --- | --- | | **Approval status** | The approval status of the expense, shown in the export as plain lowercase text: draft, pending, approved, rejected or cancelled. The filters in the Export builder show cancelled expenses under Rejected, but the export shows cancelled. | - Expense rows - Line item rows - Payment rows | | **Review status** | The review status of the expense, shown in the export as plain lowercase text: draft, ready, archived or deleted. The filters in the Export builder show deleted expenses under Archived, but the export shows deleted. | - Expense rows - Line item rows - Payment rows | | **Created date** | The date the expense was created in Payhawk. | - Expense rows - Line item rows - Payment rows | | **Spend ID** | The Payhawk ID of the expense. | - Expense rows - Line item rows - Payment rows | | **Expense line ID** | The Payhawk ID of the line item. In expense rows (one row per expense), it is the ID of the expense's first line item. It is empty for an expense that has no line items. | - Expense rows - Line item rows - Payment rows | | **Spend external ID** | The ID the expense got in your accounting system the last time it was exported through an integration. | - Expense rows - Line item rows - Payment rows | | **Note** | The note on the expense. In line item rows you choose whether the note comes from the line item (the default) or from the expense. | - Expense rows - Line item rows - Payment rows | | **Attachment Url** | Links to the files attached to the expense. You can pick one file by its position in the list (1 to 100); leave it empty to get all files. Only files that have a public link are included. In Excel exports the first link is clickable and several links are joined with commas. If the template exports attachments as files instead of URLs, the cell shows the attachment file names (ending in .pdf) instead of links. | - Expense rows - Line item rows - Payment rows | | **Document currency** | The currency of the expense's document (receipt or invoice): the currency the expense amounts were entered in. All "(Document Currency)" amounts are in this currency. | - Expense rows - Line item rows - Payment rows | | **Payment wallet currency** | The currency of the Payhawk currency account the expense was paid from. It is taken from the expense's first card payment, or else its first bank transfer, or else its first payment recorded outside Payhawk. Empty when the expense has no payment. | - Expense rows - Line item rows | | **Last review date** | The date the expense was last reviewed. | - Expense rows - Line item rows - Payment rows | | **Last reviewer name** | The name of the person who last reviewed the expense, looked up in the account's users. | - Expense rows - Line item rows - Payment rows | | **Last reviewer external ID** | The external ID of the person who last reviewed the expense, from the account's users. | - Expense rows - Line item rows - Payment rows | | **VAT name** | The name of the VAT rate on the expense. In line item rows, the VAT rate of the line item. | - Expense rows - Line item rows - Payment rows | | **VAT code** | The code of the VAT rate on the expense. In line item rows, the VAT rate of the line item. | - Expense rows - Line item rows - Payment rows | | **VAT rate %** | The percentage of the VAT rate on the expense, as a number. In line item rows, the rate of the line item. | - Expense rows - Line item rows - Payment rows | | **Quantity** | The quantity on the expense (or on the line item, in line item rows). Only offered when quantity and unit price are turned on for the account. | - Expense rows - Line item rows - Payment rows | | **Unit price** | The price of one unit, without tax, on the expense (or line item). It is for information only: Payhawk does not check it against the total or tax amounts. Only offered when quantity and unit price are turned on for the account. | - Expense rows - Line item rows - Payment rows | | **Expense owner ID** | The Payhawk user ID of the expense owner. | - Expense rows - Payment rows | | **Expense owner name** | The name of the expense owner. | - Expense rows - Line item rows - Payment rows | | **Expense owner external id** | The external ID of the expense owner. | - Expense rows - Line item rows - Payment rows | | **Expense owner email** | The email address of the expense owner, looked up in the account's users. | - Expense rows - Line item rows - Payment rows | | **Due date** | The payment due date of the expense (for example the due date of a bill). | - Expense rows - Line item rows - Payment rows | | **Settlement date** | The date all payments on the expense were settled. It is the date of the latest payment (card, bank transfer or payment recorded outside Payhawk) and is set only once every payment is settled; it stays empty while any payment is still pending or when there is no payment. | - Expense rows - Line item rows - Payment rows | | **Expense total amount (Base Currency)** | The expense's total amount converted into the account's base currency with the Document date FX rate. In line item rows this is still the total of the whole expense, not of the line. | - Expense rows - Line item rows - Payment rows | | **Net amount (Base Currency)** | The expense's total minus its tax, converted into the base currency with the Document date FX rate. In line item rows, the net amount of the line item. | - Expense rows - Line item rows - Payment rows | | **Tax amount (Base Currency)** | The expense's tax amount converted into the base currency with the Document date FX rate. In line item rows, the tax of the line item. | - Expense rows - Line item rows - Payment rows | | **Expense discount amount (Base Currency)** | The expense's discount converted into the base currency with the Document date FX rate. It is empty when the expense has no discount. In line item rows it is always empty, because no base-currency discount is calculated for line items. | - Expense rows - Line item rows - Payment rows | | **Expense total amount (Document Currency)** | The expense's total amount as entered, in the document currency. In line item rows this is still the total of the whole expense. | - Expense rows - Line item rows - Payment rows | | **Expense net amount (Document Currency)** | The expense's total minus its tax, in the document currency. In line item rows, the net amount of the line item. | - Expense rows - Line item rows - Payment rows | | **Expense tax amount (Document Currency)** | The expense's tax amount in the document currency (0 when there is no tax). In line item rows, the tax of the line item. | - Expense rows - Line item rows - Payment rows | | **Expense discount amount (Document Currency)** | The discount on the expense in the document currency. In line item rows, the discount of the line item. | - Expense rows - Line item rows - Payment rows | | **Payment wallet amount with fees** | Everything taken from the Payhawk currency account for the expense, in the currency of that currency account: the amounts of its settled card and bank payments plus all their fees (FX, ATM and transfer fees). Card payments that are only authorized or were reverted, and bank transfers that were rejected or not yet confirmed, are left out. It is 0 when the expense has no payment in Payhawk. For a card payment shared by several expenses (a split expense), the default is the whole payment on the first such expense in the export and 0 on the others. If the template splits payments proportionally across expenses, each expense shows its own share. | - Expense rows - Line item rows | | **Payment wallet amount with fees (Base Currency)** | The same kind of amount as **Payment wallet amount with fees**, converted into the base currency payment by payment, with the FX rate of each payment's settlement date. Bank transfers that are not settled yet are not counted. Unlike **Payment wallet amount with fees**, it is not reduced for a split expense: every expense that shares the card payment shows the whole payment. | - Expense rows - Payment rows | | **Payment fees** | The total of the FX, ATM and transfer fees on the expense's settled card and bank payments, in the currency of the currency account the expense was paid from. Authorized or reverted card payments and rejected or unconfirmed bank transfers are not counted. For a card payment shared by several expenses, by default the fees show on the first such expense in the export only (or the proportional share if the template splits payments proportionally). | - Expense rows - Line item rows | | **Payment FX fees** | The FX fee of the expense's first payment only, in the currency of the currency account the expense was paid from. Fees of any other payments are not included. Authorized or reverted card payments are not counted as payments here, and the value is not reduced for split expenses. | - Expense rows - Line item rows | | **Payment ATM fees** | The ATM fee of the expense's first payment only, in the currency of the currency account the expense was paid from. Authorized or reverted card payments are not counted as payments here, and the value is not reduced for split expenses. | - Expense rows - Line item rows | | **Payment transfer fees** | The transfer fee of the expense's first payment only (bank transfers), in the currency of the currency account the expense was paid from. Rejected or unconfirmed bank transfers are not counted as payments here, and the value is not reduced for split expenses. | - Expense rows - Line item rows | | **Payment status** | The status of the expense's first payment, shown as plain lowercase text. For card payments this is settled or refund (authorized and reverted card payments are not counted as payments). For bank transfers it can be approved, authorized or settled. It is empty when there is no payment. | - Expense rows - Line item rows - Payment rows | | **Payment ID** | The Payhawk IDs of the expense's payments, separated by commas. Authorized or reverted card payments and rejected or unconfirmed bank transfers are not listed, and neither are payments recorded outside Payhawk. | - Expense rows - Line item rows - Payment rows | | **Expense total amount (Payment Currency)** | The expense's document total converted into the currency of the currency account the expense was paid from, rounded to the currency's decimals. Normally the rate is what was taken from the currency account for the settled payments divided by the document total; with no payment, the rate is 1. When a card payment is shared by several expenses (a split expense), or for a bulk payment, the rate is the payment FX rate saved on the expense (1 if none is saved), so each expense shows only its own share, not the whole card payment. In line item rows this is still the total of the whole expense, not of the line. | - Expense rows - Line item rows - Payment rows | | **Expense net amount (Payment Currency)** | The expense's net amount in the currency of the currency account the expense was paid from: Expense total amount (Payment Currency) minus Expense tax amount (Payment Currency). In line item rows, the net amount of the line item, converted with the same rate and not rounded to the currency's decimals. | - Expense rows - Line item rows - Payment rows | | **Expense tax amount (Payment Currency)** | The expense's tax amount converted into the currency of the currency account the expense was paid from, with the same rate as Expense total amount (Payment Currency), rounded to the currency's decimals. In line item rows, the tax of the line item, converted with the same rate and not rounded. | - Expense rows - Line item rows - Payment rows | | **Document date FX rate** | The rate used to convert the expense from the document currency into the base currency. It is the rate saved on the expense; when none is saved, Payhawk looks up the rate for the expense's FX rate date or, if that is empty, the date the expense was created (not the document date). It is 1 when the document currency is the base currency. | - Expense rows - Line item rows - Payment rows | | **Payment FX rate** | The rate between the document currency and the currency of the currency account the expense was paid from. If a payment FX rate is saved on the expense, that rate is exported. Otherwise it is calculated as the amount taken from the currency account for settled payments divided by the document total (1 when there is no payment). | - Expense rows - Line item rows - Payment rows | | **Date of payment** | The date the expense was paid: its settlement date, or its payment date when there is no settlement date. | - Expense rows - Line item rows - Payment rows | | **Payment source** | Where the expense was paid from. For a payment by Payhawk card or from a Payhawk currency account: the currency account's IBAN, or its routing and account number (US), or its sort code and account number (UK). For a linked card: the funding source name and its last 4 digits. For a bank or linked bank account payment: the payment source saved on the expense. | - Expense rows - Line item rows - Payment rows | | **Payment reference** | For a card expense: the description of its first card payment. For every other expense type (bill, reimbursable, cash, cash in advance, mileage, per diem): the payment reference saved on the expense. | - Expense rows - Line item rows - Payment rows | | **Spend type** | The type of the expense. The export shows the stored value as text: card, bank (a bill), reimbursable, cash, cashInAdvance, mileage or perDiem. | - Expense rows - Line item rows - Payment rows | | **Expense URL** | A link that opens the expense in the Payhawk Web Portal (the expense page for your account). | - Expense rows - Line item rows - Payment rows | | **Last exported at** | The date and time the expense was last exported. You choose whether it looks at exports to a file (the default) or exports through an integration. | - Expense rows - Line item rows - Payment rows | | **Last exported by** | The name of the person who did the last export of the expense. You choose whether it looks at exports to a file (the default) or exports through an integration. | - Expense rows - Line item rows - Payment rows | | **Expense Report ID** | The ID of the expense report the expense belongs to. | - Expense rows - Line item rows - Payment rows | | **Expense line total amount (Base Currency)** | The line item's total amount converted into the base currency with the expense's Document date FX rate. | - Line item rows | | **Expense line total amount (Document Currency)** | The line item's total amount as entered, in the document currency. | - Line item rows | | **Expense line total amount (Payment Currency)** | The line item's total amount converted into the currency of the currency account the expense was paid from, with the same rate as the expense. Unlike the expense total, this amount is not rounded to the currency's decimals. | - Line item rows | ## Approval The following table lists the options that show the approval history of the expense. | **Option** | **Definition** | **Available in** | | --- | --- | --- | | **Pending approvers** | The names of the people who still have to approve the expense, separated by commas. Substitutes covering for an approver are not listed. | - Expense rows - Line item rows - Payment rows | | **Last submission date** | The date the expense was last submitted for approval. | - Expense rows - Line item rows - Payment rows | | **Last submission user** | The name of the person who last submitted the expense for approval. Empty if the system submitted it automatically. | - Expense rows - Line item rows - Payment rows | | **Last approval date** | The date of the most recent approval of the expense. | - Expense rows - Line item rows - Payment rows | | **Last approval user** | The name of the person who gave the most recent approval. Empty if that approval was automatic (the date is still filled). | - Expense rows - Line item rows - Payment rows | | **Last return date** | The date the expense was last returned. | - Expense rows - Line item rows - Payment rows | | **Last return user** | The name of the person who last returned the expense. Empty if the system returned it automatically, for example after the expense was changed. | - Expense rows - Line item rows - Payment rows | | **Last return reason** | The reason the person gave the last time they returned the expense. Empty if the system returned it automatically. | - Expense rows - Line item rows - Payment rows | | **Last reject date** | The date the expense was last rejected. | - Expense rows - Line item rows - Payment rows | | **Last reject user** | The name of the person who last rejected the expense. Empty if the system rejected it. | - Expense rows - Line item rows - Payment rows | | **Last reject reason** | The reason given the last time the expense was rejected. | - Expense rows - Line item rows - Payment rows | | **Fully approved date** | The date the approval of the expense last finished. | - Expense rows - Line item rows - Payment rows | | **Purchase order identifier** | The identifier of the purchase request linked to the expense. When several requests are linked, they are listed separated by commas. | - Expense rows - Line item rows - Payment rows | | **Request ID** | The ID of the request linked to the expense. When several requests are linked, their IDs are listed separated by commas. | - Expense rows - Line item rows - Payment rows | | **Approval step** | For an approval step you pick from the account's approval workflows, one piece of approval data you pick: the names of the people who approved that step (separated by commas), the date the step was last approved, or the date it was last assigned. Steps still waiting for approval show no name or approve date. In line item rows it only looks at that line item. | - Expense rows - Line item rows - Payment rows | ## Card The following table lists the options that show the cards used to pay the expense. | **Option** | **Definition** | **Available in** | | --- | --- | --- | | **Card name** | The names of the cards used to pay the expense, separated by commas. Card payments that are only authorized (not settled yet) are included. If the same card paid more than once, its name is repeated. | - Expense rows - Line item rows - Payment rows | | **Cardholder name** | The cardholder names of the cards used to pay the expense, separated by commas, including card payments that are only authorized. If the same card paid more than once, the name is repeated. | - Expense rows - Line item rows - Payment rows | | **Card last 4 digits** | The last 4 digits of the cards used to pay the expense, separated by commas, including card payments that are only authorized. If the same card paid more than once, the digits are repeated. | - Expense rows - Line item rows - Payment rows | ## Document The following table lists the options that show the details of the expense document, such as its number, type and date. | **Option** | **Definition** | **Available in** | | --- | --- | --- | | **Document number** | The number of the expense's document (receipt or invoice number). | - Expense rows - Line item rows - Payment rows | | **Document type** | The type of the expense's document: receipt, invoice, credit note or proforma. | - Expense rows - Line item rows - Payment rows | | **Document date** | The date on the expense's document. | - Expense rows - Line item rows - Payment rows | | **Service period** | The service period date on the expense's document. | - Expense rows - Line item rows - Payment rows | | **KSeF Number** | The ID that the expense's file has in KSeF (the Polish national e-invoicing system), when the file came from KSeF. | - Expense rows - Line item rows - Payment rows | ## Payment The following table lists the options that show the details of a payment, such as its status, amounts, fees and merchant. | **Option** | **Definition** | **Available in** | | --- | --- | --- | | **Payment paid currency** | The currency the payment was made in. For a card payment, it is the merchant's currency. For a bank transfer, it is the currency the recipient receives when a payment partner converts the money, otherwise the currency of the currency account it was paid from. In Payments only and Account Statement files, a bank transfer shows the currency of the currency account. In expense and line item rows it is the currency of the expense's first payment. | - Expense rows - Line item rows - Payment rows - Payments only - Account Statement | | **Merchant category code** | The merchant category code (MCC) of the card payment. In expense and line item rows, of the expense's first payment. | - Expense rows - Line item rows - Payment rows | | **Card transaction location** | The merchant's city for the card payment. In expense and line item rows, of the expense's first payment. Only offered when merchant location in exports is turned on for the account. | - Expense rows - Line item rows - Payment rows | | **Card transaction country code** | The merchant's country for the card payment. In expense and line item rows, of the expense's first payment. Only offered when merchant location in exports is turned on for the account. | - Expense rows - Line item rows - Payment rows | | **Merchant name** | The merchant name of the card payment. In expense and line item rows, of the expense's first payment. | - Expense rows - Line item rows - Payment rows | | **Card name** | The name of the card used for the payment. In expense and line item rows, it is the card used for the expense's first payment. To list all cards used for an expense, use Card name from the Card group. | - Expense rows - Line item rows - Payment rows | | **Cardholder name** | The cardholder name of the card used for the payment. In expense and line item rows, it is the cardholder of the card used for the expense's first payment. | - Expense rows - Line item rows - Payment rows | | **Card last 4 digits** | The last 4 digits of the card used for the payment. In expense and line item rows, they belong to the card used for the expense's first payment. | - Expense rows - Line item rows - Payment rows | | **Payment ID** | The Payhawk ID of the payment. | - Payment rows - Payments only - Account Statement | | **Payment external ID** | The ID the payment got in your accounting system the last time it was exported through an integration. | - Payment rows | | **Payment status** | The status of the payment, shown as plain lowercase text. Card payments show settled or refund: authorized (not yet settled) and reverted card payments are never exported as payments. Bank transfers show their own stage: approved, authorized or settled, and rejected in Payments only and Account Statement files. In expense and line item rows it is the status of the expense's first payment. | - Payment rows - Payments only - Account Statement | | **Payment type** | Where a card payment was made: ATM if it was taken at an ATM, POS if the cardholder was present in person, Online if the cardholder was not present. Shows N/A for bank transfers and when the card network did not say. The export shows these short values, not the longer labels in the Export builder. | - Payment rows | | **Payment reference** | The description of the payment as the card provider sent it. For a bank transfer it is empty in payment rows of expense exports, but Payments only and Account Statement files show the reference entered for the bank transfer. | - Payment rows - Payments only - Account Statement | | **Payment beneficiary** | One detail of who the expense is paid to, which you pick: the account holder's name, address, city, state, postal code or country, or the IBAN, account number, BIC/SWIFT, sort code, routing number or payment reference. It comes from the payment details saved on the expense. | - Payment rows | | **Payment initiated date** | For a card payment, the date the payment was authorized. Empty for bank transfers. In Payments only and Account Statement files, it shows the settlement date. | - Payment rows - Payments only - Account Statement | | **Settlement date** | For a card payment, the date of the transaction. For a bank transfer, the date it settled (empty until it is settled). | - Payment rows - Payments only - Account Statement | | **Payment authorized by** | The name of the person who confirmed the bank transfer. Empty for card payments. | - Payment rows | | **Payment authorized date** | The date the bank transfer was confirmed. Empty for card payments. | - Payment rows | | **Payment paid amount** | The amount of the payment in the currency it was paid in. For a card payment, it is the amount in the merchant's currency. For a bank transfer, it is the amount the recipient receives, which differs from the amount taken from the currency account when a payment partner converts the money. In Payments only and Account Statement files, a bank transfer shows the amount taken from the currency account. | - Payment rows - Payments only - Account Statement | | **Payment paid amount (Base Currency)** | The payment's paid amount converted into the base currency with the FX rate of the settlement date. Empty for bank transfers that are not settled yet. | - Payment rows | | **Payment wallet amount with fees (Base Currency)** | The amount taken from the currency account for the payment plus its fees, converted into the base currency with the FX rate of the settlement date. Empty for bank transfers that are not settled yet. | - Payment rows | | **Payment wallet amount with fees** | The amount taken from the currency account for the payment plus its fees, in the currency of that currency account. For a card payment the fees are the FX fee and the ATM (POS) fee; for a bank transfer, the transfer fee. | - Payment rows | | **Payment wallet currency** | The currency of the Payhawk currency account the payment was taken from. | - Payment rows - Payments only - Account Statement | | **Payment wallet amount** | The amount taken from the currency account for the payment, in the currency of that currency account, without fees. | - Payment rows - Payments only - Account Statement | | **Payment wallet amount (Base Currency)** | The amount taken from the currency account for the payment, without fees, converted into the base currency with the FX rate of the settlement date. Empty for bank transfers that are not settled yet. | - Payment rows | | **Payment FX rate** | For a card payment, the amount taken from the currency account divided by the paid amount. For a bank transfer in expense exports, the payment partner's rate if there is one, else the payment FX rate saved on the expense, else the expense's Document date FX rate, else 1. In Payments only and Account Statement files, a bank transfer shows the expense's Document date FX rate. | - Payment rows - Payments only - Account Statement | | **Payment fees** | The total fees on this payment, in the currency of the currency account: the FX fee plus the ATM (POS) fee for a card payment, the transfer fee for a bank transfer. | - Payment rows | | **Payment FX fees** | The FX fee on this card payment, in the currency of the currency account. For a bank transfer it is empty in expense exports and 0 in Payments only and Account Statement files. | - Payment rows - Payments only - Account Statement | | **Payment ATM fees** | The ATM fee on this card payment, in the currency of the currency account. For a bank transfer it is empty in expense exports and 0 in Payments only and Account Statement files. | - Payment rows - Payments only - Account Statement | | **Payment transfer fees** | The transfer fee on this bank transfer. For a card payment it is empty in expense exports and 0 in Payments only and Account Statement files. | - Payment rows - Payments only - Account Statement | | **Last exported at** | The date and time the payment was last exported. You choose whether it looks at exports to a file (the default) or exports through an integration. | - Payment rows | | **Last exported by** | The name of the person who did the last export of the payment. You choose whether it looks at exports to a file (the default) or exports through an integration. | - Payment rows | ## Functions The following table lists the functions that change or combine other values. | **Option** | **Definition** | **Available in** | | --- | --- | --- | | **Split** | Takes a text value you pick, cuts it at a separator you choose and keeps the part at the position you choose (1 to 10, or the last). The separator is one of: space (default), comma, semicolon, dash, underscore, pipe, colon, slash or backslash. Spaces around the kept part are removed. If there is no part at that position, the result is empty. | - Header and footer - Expense rows - Line item rows - Payment rows - Payments only - Deposits | | **Leading/Trailing characters** | Brings a value you pick to an exact number of characters. Shorter values are filled with a character you choose (a space by default), at the start (leading) or at the end (trailing). Longer values are cut: with trailing fill the first characters are kept, with leading fill the last characters are kept. | - Header and footer - Expense rows - Line item rows - Payment rows - Payments only - Deposits | | **Aggregate** | The total of an amount you choose in "Aggregate by", added up over the rows of the export. Only offered when aggregate functions are turned on for the account. | - Header and footer | | **Running balance** | A running balance for each Payhawk currency account, starting from the currency account's start balance for the export period. In expense, line item and payment rows it takes off each row's amount (**Payment wallet amount with fees** for expenses, **Payment wallet amount** for payments), the current row included. In deposit rows it adds each deposit amount. | - Expense rows - Line item rows - Payment rows - Payments only - Deposits | ## Mileage The following table lists the options that show the details of a mileage trip. | **Option** | **Definition** | **Available in** | | --- | --- | --- | | **Mileage distance** | The distance of the mileage trip, as finally set on the expense (after any edit). | - Expense rows - Line item rows - Payment rows | | **Mileage unit** | The distance unit of the mileage trip: kilometers or miles. | - Expense rows - Line item rows - Payment rows | | **Mileage rate** | The mileage rate or rates applied to the trip (a trip can have several rates when the rate changes above a distance). Each rate is written as vehicle, distance and rate, for example 'Car - 100.00 km x 0.30/km', and several rates are joined with a semicolon. Empty when no rates were applied. | - Expense rows - Line item rows - Payment rows | ## Supplier The following table lists the options that show the details of the supplier and its bank account. | **Option** | **Definition** | **Available in** | | --- | --- | --- | | **Supplier name** | The supplier name on the expense. | - Expense rows - Line item rows - Payment rows | | **Supplier VAT number** | The supplier's VAT number on the expense. | - Expense rows - Line item rows - Payment rows | | **Supplier external id** | The supplier's external ID on the expense. | - Expense rows - Line item rows - Payment rows | | **Supplier country** | The supplier's country on the expense. | - Expense rows - Line item rows - Payment rows | | **Supplier payment currency** | The currency of the first bank account saved for the expense's supplier in the suppliers list (not the payment details on the expense). Only active suppliers are looked up, so the value is empty for an inactive or deleted supplier. | - Expense rows - Line item rows - Payment rows | | **Supplier bank account holder name** | The account holder name of the first bank account saved for the expense's supplier in the suppliers list (not the payment details on the expense). Only active suppliers are looked up, so the value is empty for an inactive or deleted supplier. | - Expense rows - Line item rows - Payment rows | | **Supplier bank account IBAN** | The IBAN of the first bank account saved for the expense's supplier in the suppliers list (not the payment details on the expense). Only active suppliers are looked up, so the value is empty for an inactive or deleted supplier. | - Expense rows - Line item rows - Payment rows | | **Supplier bank account BIC/SWIFT** | The BIC/SWIFT of the first bank account saved for the expense's supplier in the suppliers list (not the payment details on the expense). Only active suppliers are looked up, so the value is empty for an inactive or deleted supplier. | - Expense rows - Line item rows - Payment rows | | **Supplier bank account number** | The account number of the first bank account saved for the expense's supplier in the suppliers list (not the payment details on the expense). Only active suppliers are looked up, so the value is empty for an inactive or deleted supplier. | - Expense rows - Line item rows - Payment rows | | **Supplier bank account routing number** | The routing number of the first bank account saved for the expense's supplier in the suppliers list (not the payment details on the expense). Only active suppliers are looked up, so the value is empty for an inactive or deleted supplier. | - Expense rows - Line item rows - Payment rows | | **Supplier bank account sort code** | The sort code of the first bank account saved for the expense's supplier in the suppliers list (not the payment details on the expense). Only active suppliers are looked up, so the value is empty for an inactive or deleted supplier. | - Expense rows - Line item rows - Payment rows | ## Deposits The following table lists the options that show the details of a deposit. | **Option** | **Definition** | **Available in** | | --- | --- | --- | | **Deposit id** | The Payhawk ID of the deposit. | - Deposits | | **Deposit amount** | The amount of the deposit, in the deposit currency. | - Deposits | | **Deposit amount (Base Currency)** | The deposit amount converted into the account's base currency, using Payhawk's FX rate from the deposit currency to the base currency on the deposit date. When the deposit is already in the base currency, the amount is the same. Empty when no FX rate is available for that date. | - Deposits | | **Deposit currency** | The currency of the deposit. | - Deposits | | **Deposit description** | The description that came with the deposit (for example the bank transfer reference). | - Deposits | | **Deposit sender** | The name of the sender of the deposit. | - Deposits | | **Deposit sender IBAN** | The IBAN of the sender of the deposit. | - Deposits | | **Deposit sender BIC/SWIFT** | The BIC/SWIFT of the sender of the deposit. | - Deposits | | **Deposit sender account number** | The account number of the sender of the deposit. | - Deposits | | **Deposit sender routing number** | The routing number of the sender of the deposit. | - Deposits | | **Deposit sender sort code** | The sort code of the sender of the deposit. | - Deposits | | **Deposit date** | The date of the deposit. | - Deposits | | **Last exported at** | The date and time the deposit was last exported. You choose whether it looks at exports to a file (the default) or exports through an integration. | - Deposits | | **Last exported by** | The name of the person who did the last export of the deposit. You choose whether it looks at exports to a file (the default) or exports through an integration. | - Deposits | ## Custom fields The following table lists the option that shows the value of each custom field set up in your account. | **Option** | **Definition** | **Available in** | | --- | --- | --- | | **Custom fields (one option for each custom field in your account)** | The value of that custom field on the expense. For a field with nested levels (such as a multi-level dropdown), all levels are shown from the top down, separated by a backslash. For other fields it is the entered or selected value. | - Expense rows - Line item rows - Payment rows | ## Useful resources - [Terms and definitions of export field options](/help/terms-and-definitions-of-export-field-options) - [Overview of export fields](/help/overview-of-export-fields) - [Configuring rows, columns, and cells in files and sheets](/help/configuring-rows-columns-and-cells-in-files-and-sheets)