Skip to main content
The Bill Credit Notes Data Model represents a financial transaction that can be applied against one or multiple bills issued to vendors. 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

Bill Credit Notes Attributes

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

Status Enum Values

ValueDescription
DRAFTBill credit note is in draft status and has not been finalized
SUBMITTEDBill credit note has been submitted but not yet paid
PARTIALLY_PAIDBill credit note has received partial payment
PAIDBill credit note has been fully paid
OVERDUEBill credit note has passed its due date without payment
VOIDBill 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 bill credit note in the source accounting platform
contact_idstringThe contact ID of the bill credit note
document_numberstringThe document number of the bill credit note
total_amountdoubleThe total amount of the bill credit note
remaining_creditdoubleThe remaining credit amount of the bill credit note
posted_datestringThe posted date of the bill credit note
currency_idenumISO 4217 currency code
memostringThe memo or notes of the bill credit note
statusenumThe status of the bill credit note
bill_idsarrayThe bill IDs associated with the bill credit note
updated_atstringThe date and time the bill credit note was last updated