🌐 Web | 👤 Yokoy admin with Integrations permissions
The Yokoy Standard invoice export is an standardized export that you can configure for your company’s specific requirements. The data included in the export file depends on your company’s setup and can be configured according to your specific requirements using data attributes.
The file can include these additional data attributes:
Invoice data
Legal entity data
Supplier data
Category data
Cost object data
Tag data
Line item data
Reporting invoice data
The file output can be configured to modify the standard export behavior to determine file name, format, date and amount format, as well as tax handling and other transformations.
Yokoy invoice export file specification
Every invoice has debit lines and credit line that are exported in a single file. By default, the export file includes these standard columns:
Depending on the export configuration, it also may contain additional data attributes appended after these standard columns.
Account column
Contains the supplier external ID or category account.
Credit line | Debit line |
|
|
Account type column
Contains a description of the type of account.
Credit line | Debit line |
|
|
Credit column
Total gross amount depending on the reporting strategy set in the export configuration:
Convert to company currency
Original currency
Credit line | Debit line |
| empty |
Debit column
Debit gross amount depending of reporting strategy set in the export configuration:
Convert to company currency
Original currency
Credit line | Debit line |
empty |
|
Tax code column
Tax code applicable in the line item.
Credit line | Debit line |
empty |
|
Cost object column
Cost object code associated with the line item.
Credit line | Debit line |
empty |
|
Description column
Supplier name and description taken from line item.
Credit line | Debit line |
|
|
Yokoy ID column
Yokoy unique ID of the invoice.
Credit line | Debit line |
|
|
IBAN column
IBAN number
Credit line | Debit line |
|
|
Reference number column
Reference number included in the QR code.
Credit line | Debit line |
|
|
Payment term code column
If payment term exists, takes the Code value from the payment term. Otherwise, it is left empty.
Credit line | Debit line |
|
|
Country column
Country of the invoice.
Credit line | Debit line |
|
|
Date column
Date of the invoice.
Credit line | Debit line |
|
|
Due date column
Due date of the invoice.
Credit line | Debit line |
|
|
Payment date column
Payment date of the invoice, if enabled.
Credit line | Debit line |
|
|
Service date column
Service date of the invoice.
Credit line | Debit line |
|
|
Invoice column
Invoice number
Credit line | Debit line |
|
|
Currency column
Currency depending of the reporting strategy selected in the export configuration:
Company currency
Original currency
Credit line | Debit line |
|
|
Comment column
Comment on the invoice.
Credit line | Debit line |
|
|
Is tax only column
Includes the category for tax only line items.
Credit line | Debit line |
|
|
Tag dimension code 1 column
If the line item from the invoice contains tag1, includes the tag.
Credit line | Debit line |
|
|
Tag dimension code 2 column
If the line item from the invoice contains tag2, includes the tag.
Credit line | Debit line |
|
|
Configuring the Yokoy invoice export file
To use the standard expense export, in Admin > Integrations under Invoice export tab. Click Start wizard to configure the export output. The wizard guides you through the process, setting up these tabs:
Filter: name and type of export (i.e. invoices)
System: type of export facility. In this case, it is the Yokoy standard export file.
Configuration: settings for determining how the file is generated.
Export via SFTP: if your company plans to transfer the file via SFTP, this tab contains the configuration.
Automation: allows you to set up an automatic export job.
Authorization: not applicable to file-based export.
The configuration allows you to determine how invoice data is exported in the export file, configuring options such as the column delimiter, file name, and how tax lines are handled.
Aggregate line items
Aggregation of line items by the same category, cost object and tax rate.
Mandatory | Options | Default option |
|
|
|
Reporting currency
The chosen reporting strategy dictates currency and amount conversion in the export file.
Mandatory | Options | Default option |
|
|
|
Delimiter
File delimiter character. You can set this as either comma or semi-colon.
Mandatory | Options | Default option |
|
|
|
Standard invoice export file name
If the field is not populated, the default option for filename is activated. Do not use dashes (-
), dots (.
), commas (,
), colons (:
) or semi-colons (;
)
Mandatory | Options | Default option |
|
|
|
You can use these placeholders to determine the filename of the exported file:
Placeholders | Meaning |
| Filename contains name of legal entity |
| Filename contains export ID |
| Filename contains date in this format |
| Filename contains date in format |
| Filename contains timestamp |
free text | Filename contains text (no special characters) |
For example, if you set the value of the export file name field as:
Export_{{{date}}}_{{legalEntityName}}_{{timestamp}}_{{exportId}}_{{YYYMMDD_HHMMSS}}
Yokoy exports the file as Export_2023-05-056_CompanyA_2023-05-05T09_25_12_536Z_yl4bl2TTkCMoTEAfrciq_20230505_092512.xls
Additional export properties
Include additional properties in the export file. See Additional export properties.
Mandatory | Options | Default option |
|
|
|
Export price per item
Calculates price per item for each line item excluding VAT (if the quantity is not specified at line item level, the column is left empty) and adds new column pricePerItem in the export file.
Mandatory | Options | Default option |
|
|
|
VAT/tax line for each debit line
For each debit line with tax information included, it creates a new VAT line with tax information provided (amount, account, description, and country).
Mandatory | Options | Default option |
|
|
|
Export tax-only column
Determines whether an extra column with tax-only information should be exported. Tax only line items are based on the settings in the categories. Examples are import fees or custom duties.
Mandatory | Options | Default option |
|
|
|
Additional export properties
Determine the additional properties to be included as additional columns in the export.
You specify the additional properties as a valid JSON syntax to extend standard export file with invoice, tag, category and cost object data.
You determine the values to show using these data models:
Additional columns for credit lines can have invoice, legal entity, supplier and tag data. Debit lines support all data.
You can determine the position of the values by including:
debit = ‘
showOnDebit
'credit = '
showOnCredit
'every line = '
showOnEveryLine
'
Hence, the JSON syntax should be structured as follows:
{
"ColumnName1":{
"value1":"value of this column",
"position1":"showOnDebit/showOnCredit/showOnEveryLine"
},
"ColumnName2":{
"value2":"value of this column",
"position2":"showOnDebit/showOnCredit/showOnEveryLine"
}
}
Example:
{
"supplierZipCode":{
"value":"supplier.zipCode",
"position":"showOnEveryLine"
},
"costCenterId":{
"value":"costCenter.id",
"position":"showOnDebit"
},
"categoryCustom":{
"value":"category.customInformation.categoryCustomValue",
"position":"showOnDebit"
},
"legalEntityCode":{
"value":"legalEntity.code",
"position":"showOnEveryLine"
},
"projectTagCode":[
{
"value":"tagMap.Innenauftrag.code",
"position":"showOnDebit"
},
{
"value":"formation.kotraeger",
"position":"showOnDebit"
}
],
"Quantity":{
"value":"lineItem.quantity",
"position":"showOnDebit"
},
"netItemTotalExVAT":{
"value":"lineItem.reportingNet",
"position":"showOnDebit"
},
"netInvoiceTotalExVAT":{
"value":"reportingInvoice.reportingNetAmount",
"position":"showOnCredit"
}
}
Invoice data
Properties you can use for extending file with invoice data. Most of these attributes are already provided in the standard export columns.
Attribute | Description |
| Yokoy ID of the invoice |
| Due date of the invoice |
| Invoice date |
| Payment date of the invoice |
| Invoice number |
| Comment |
| Country |
| Supplier external ID |
| Supplier name |
| Supplier bank account |
| Supplier Swift code |
| Supplier bank country |
| Supplier bank key |
| Supplier bank number |
| Custom information configured specifically for your organization |
| Invoice service start date |
| Invoice service end date |
Legal entity data
Properties you can use to extend the export file with legal entity data.
Attribute | Description |
| legal entity name |
| legal entity code |
| legal entity country |
| legal entity language |
| Custom information configured specifically for your organization |
Supplier data
Properties you can use to extend the export file with supplier data.
Attribute | Description |
| Supplier ERP ID |
| Supplier name |
| Supplier city |
| Supplier country code |
| Supplier street |
| Supplier tax number |
| Supplier zip code |
| Custom information configured specifically for your organization |
Category data
Properties you can use to extend the export file with category data.
Attribute | Description |
| ID of the category |
| Name of the category |
| Account associated with the category |
| Description of the category |
| Custom information configured specifically for your organization |
| Whether this category is used for tax only line items. |
Cost object data
Properties you can use to extend the export file with cost object data.
Attribute | Description |
| ID of the cost object |
| Code of the cost object |
| Name of the cost object |
| Description of the cost object |
| Custom information configured specifically for your organization |
Tag data model
Properties you can use to extend the export file with tag data.
Attribute | Description |
| Name of the tag |
| Code of the tag |
| Dimension ID |
| Custom information configured specifically for your organization |
Line item data model
Properties you can use to extend the export file with line item data.
Attribute | Description |
| Quantity from the line item |
| Net amount per line item, excl. VAT |
| Gross amount per line item, incl. VAT |
| Description of the invoice line item |
Reporting invoice data model
Properties you can use to extend the export file with reporting invoice data.
Attribute | Description |
| Total amount excl. VAT, in currency selected from the configuration setup |
| Posting date for the invoice |