Skip to main content
The Invoice Credit Notes Data Model represents a financial transaction that can be applied against one or multiple invoices issued to customers. This unified model standardizes and simplifies the management of credit note information across various accounting platforms.
  • Unified credit note properties: Essential credit note details, such as contact ID, document number, total amount, and currency, are standardized across different accounting platforms
  • Detailed status tracking: The model supports various credit note statuses, including draft, submitted, partially paid, paid, overdue, void, and unknown, for better organisation and reporting
  • Line item integration: Credit notes can include an array of associated line items, ensuring comprehensive representation of credit note details and relationships to other data models

Attributes

Invoice Credit Notes Attributes

PropertyTypeDescription
rootfi_idintegerUnique identifier assigned by Commenda for this invoice credit note
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 credit note in the source accounting platform
contact_idstringThe contact ID of the invoice credit note
document_numberstringThe document number of the invoice credit note
total_amountdoubleThe total amount of the invoice credit note
total_discountdouble
remaining_creditdoubleThe remaining credit amount of the invoice credit note
shipping_amountdouble
posted_datestringThe posted date of the invoice credit note
currency_idenumISO 4217 currency code
memostringThe memo or notes of the invoice credit note
statusenumThe status of the invoice credit note
invoice_idsarrayThe invoice IDs associated with the invoice credit note
updated_atstringThe date and time the invoice credit note was last updated

Status Enum Values

ValueDescription
DRAFTInvoice credit note is in draft status and has not been finalized
SUBMITTEDInvoice credit note has been submitted but not yet paid
PARTIALLY_PAIDInvoice credit note has received partial payment
PAIDInvoice credit note has been fully paid
OVERDUEInvoice credit note has passed its due date without payment
VOIDInvoice credit note has been voided or canceled
UNKNOWNStatus cannot be determined from the platform

Expandable Attributes

Use the expand query parameter to include related objects:
  • expand=contact — includes the related Contact object(s).
  • expand=currency — includes the related Currency object(s).
  • expand=line_items — includes the related Line Items object(s).

Properties Supported

Fields accepted when creating or updating a record:
PropertyTypeDescription
platform_idstringUnique identifier for this invoice credit note in the source accounting platform
contact_idstringThe contact ID of the invoice credit note
document_numberstringThe document number of the invoice credit note
total_amountdoubleThe total amount of the invoice credit note
total_discountdouble
remaining_creditdoubleThe remaining credit amount of the invoice credit note
shipping_amountdouble
posted_datestringThe posted date of the invoice credit note
currency_idenumISO 4217 currency code
memostringThe memo or notes of the invoice credit note
statusenumThe status of the invoice credit note
invoice_idsarrayThe invoice IDs associated with the invoice credit note
updated_atstringThe date and time the invoice credit note was last updated