Skip to main content
The Invoice Payments Data Model represents payments recorded against invoices. This unified model streamlines the representation and management of invoice payment information across multiple accounting platforms.
  • Unified payment properties: Essential payment details, such as amount, currency, payment date, and payment mode, are standardized across different accounting platforms
  • Linked to contacts, accounts, and invoices: Each payment entry is connected to a specific contact, account, and invoice using their respective platform IDs, ensuring accurate data representation and easier cross-referencing
  • Currency rate conversion support: The currency_rate property enables the tracking of currency conversion rates between the payment currency and the base currency, facilitating accurate financial reporting

Attributes

Invoice Payments Attributes

PropertyTypeDescription
rootfi_idintegerUnique identifier assigned by Commenda for this invoice payment
rootfi_created_atstringTimestamp when this record was created in Commenda’s system (ISO 8601)
rootfi_updated_atstringTimestamp when this record was last updated in Commenda’s system (ISO 8601)
rootfi_integration_typeenum
platform_idstringUnique identifier for this invoice payment in the source accounting platform
payment_idstring
invoice_idstringThe invoice ID of the invoice payment
account_idstringThe account ID of the invoice payment
credit_note_idstringThe credit note ID associated with the invoice payment (if paying via credit note)
amountdoubleThe total amount of the invoice payment
payment_modestringThe payment mode of the invoice payment
currency_idenumISO 4217 currency code
currency_ratedoubleThe currency rate of the invoice payment
document_numberstringThe document number of the invoice payment
memostringThe memo or notes of the invoice payment
payment_datestringThe payment date of the invoice payment
contact_idstringThe contact ID of the invoice payment
updated_atstringThe date and time the invoice payment was last updated

Expandable Attributes

Use the expand query parameter to include related objects:
  • expand=invoice — includes the related Invoice object(s).
  • expand=contact — includes the related Contact object(s).
  • expand=currency — includes the related Currency object(s).
  • expand=account — includes the related Account object(s).

Properties Supported

Fields accepted when creating or updating a record:
PropertyTypeDescription
platform_idstringUnique identifier for this invoice payment in the source accounting platform
payment_idstring
invoice_idstringThe invoice ID of the invoice payment
account_idstringThe account ID of the invoice payment
credit_note_idstringThe credit note ID associated with the invoice payment (if paying via credit note)
amountdoubleThe total amount of the invoice payment
payment_modestringThe payment mode of the invoice payment
currency_idenumISO 4217 currency code
currency_ratedoubleThe currency rate of the invoice payment
document_numberstringThe document number of the invoice payment
memostringThe memo or notes of the invoice payment
payment_datestringThe payment date of the invoice payment
contact_idstringThe contact ID of the invoice payment
updated_atstringThe date and time the invoice payment was last updated