+359 888 259 239

Payment Template

The Payments Template provides a structured format for recording payment details, including header information, associated transactions, customer, and vendor data.

Header and Line Data

This section details the payment document, its lines, and associated data.

FieldDescription
payment.documentNoA unique number assigned to each new payment document created.
payment.documentDateThe creation date of the document, formatted as "d.m.Y".
payment.stage.nameThe current stage of the payment (e.g., Pending, Completed).
payment.paymentMethod.nameThe name of the payment method used (e.g., Credit Card, Bank Transfer).
payment.createdBy.namesThe full name of the person who created the document.
payment.createdThe exact date and time the document was created, formatted as "d.m.Y H:i".
payment.parent.linesLines associated with the payment in parent documents, such as "payment transfer" or "payment revision".
payment.parent.paymentMethod.nameThe payment method used in the parent document.
payment.linesLines associated with the payment document itself.
line.commentA comment or note related to the specific line item.
line.amountThe monetary amount of the line item, formatted without or with two decimal places.
line.invoice.documentNoThe document number of the related invoice, if applicable.
line.sale.documentNoThe document number of the related sale, if applicable.
line.expense.documentNoThe document number of the related expense, if applicable.
additionalData['custom_field']Custom field data, if any, included in the payment document.
payment.amountThe total amount of the payment, formatted with two decimal places.
payment.currency.codeThe currency code used for the payment (e.g., USD, EUR).

Account, Customer, and Address Data

FIelds include customer information and their financial and contact details.

FieldDescription
financialInformation.nameThe full name of the customer, which can refer to a person or a company.
financialInformation.address1A detailed description of the customer’s address.
financialInformation.countryThe country associated with the customer’s address.
financialInformation.cityThe city associated with the customer’s address.
financialInformation.identifierNationalIdThe customer’s unique national identification number, if available.
financialInformation.identifierTaxIdThe customer’s VAT or tax identification number, if available.
financialInformation.responsiblePersonThe financially responsible person for the customer’s account, if applicable.

Vendor Data

This section outlines vendor-related financial and contact information.

FieldDescription
vendorFinancialInformation.nameThe full name of the vendor, which can refer to a person or a company.
vendorFinancialInformation.address1A detailed description of the vendor’s address.
vendorFinancialInformation.countryThe country associated with the vendor’s address.
vendorFinancialInformation.cityThe city associated with the vendor’s address.
vendorFinancialInformation.identifierNationalIdThe vendor’s unique national identification number, if available.
vendorFinancialInformation.identifierTaxIdThe vendor’s VAT or tax identification number, if available.
vendorFinancialInformation.responsiblePersonThe financially responsible person for the vendor’s account, if applicable.