The following table details what fields are required and what fields are optional:
Element Name | Type | Description | Required |
---|---|---|---|
Type | String | Must be one of:
| Yes |
State | String | This is flexible per process, but we would recommend one of:
| Yes |
Reference | String | This is your reference for the transaction, this needs to be globally unique as it matches future versions of the transaction using this. | Yes |
CreditorTransactionRef | String | This is the supplier’s invoice reference, or the “VAT reference” for the transaction. | Yes |
DebtorRef | String | This is your reference for the buyer. | Yes |
CreditorRef | String | This is your reference for the supplier. | Yes |
VATRef | String | The VAT reference for the supplier. | Yes |
Currency | String | This is the currency used for the transaction amounts, this needs to be the standardised currency code, e.g., GBP, EUR, USD. | Yes |
DocDate | String | The “tax point” or the issue date of the transaction. | Yes |
DueDate | String | The date which the transaction is due to be paid. | Yes |
PaymentDate | String | The expected payment date (or the date of the pay run). | Yes |
RelatedTransactionRef | String | This property is to be set on Credits ONLY and should be populated with the reference of the Invoice that you wish to link the Credit to. | No |
PayRef | String | This property is the payment reference ant is ONLY required when generating a line on a Remittance Advice. Please note that when generating payments, the state on the transaction should be set to “Paid”. | Yes – When the state is set to paid |
Value | Number | This is the total value, excluding VAT. | Yes |
GrossValue | Number | This is the total value, including VAT. | Yes |
Tax Value | Number | This is the amount of tax applied to the transaction line. | Yes |
IsFundable | Boolran | This tells the system whether this line can be funded or not. | No |
AlsoPayOffer | Boolean | This clears any attached accepted offers on a transaction. | Yes – For Remittance Advice |
Description | String | This is a description field, where you can enter any useful information, this could be an explanation of the state, for example who the transaction may be held by. | No |
In the CSV file you send to us, it's important to note that you must include a header line that contains the above fields. Something that will look like this:
Type;State;Reference;CreditorTransactionRef;DebtorRef;CreditorRef;VATRef;Currency;DocDate;DueDate;PaymentDate;RelatedTransactionRef;PayRef;Value;GrossValue;TaxValue;IsFundable;AlsoPayOffer;Description
The data below shows an example of what we expect the data you send us to look like in your Transactions CSV files. The following data would generate a 2-line Invoice and a Credit Note with a single line.
Type;State;Reference;CreditorTransactionRef;DebtorRef;CreditorRef;VATRef;Currency;DocDate;DueDate;PaymentDate;RelatedTransactionRef;PayRef;Value;GrossValue;TaxValue;IsFundable;AlsoPayOffer;Description Invoice;Approved;CLX123;x1234;CLX456;CLX153;GB1234;;GBP;2021-01-01;2021-03-01;2021-02-20;;;1000.00;1200.00;200.00;;false;; Invoice;Approved;CLX123;x1234;CLX456;CLX153;GB1234;;GBP;2021-01-01;2021-03-01;2021-02-20;;;1200.00;1440.00;240.00;;false;; Credit;Approved;CLX124;y1234;CLX456;CLX153;GB1234;;GBP;2021-01-01;2021-03-01;2021-02-20;;;1000.00;1200.00;200.00;;false;;
There are a few, very important things to note here when producing your transaction files: