- 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 Note Attributes
| Property | Type | Description |
|---|---|---|
| rootfi_id | integer | Unique identifier assigned by Commenda for this bill credit note |
| rootfi_created_at | string | Timestamp when this record was created in Commenda’s system (ISO 8601) |
| rootfi_updated_at | string | Timestamp when this record was last updated in Commenda’s system (ISO 8601) |
| rootfi_company_id | integer | Company identifier this bill credit note belongs to within Commenda |
| platform_id | string | Unique identifier for this bill credit note in the source accounting platform |
| platform_unique_id | string | Alternative unique identifier from the platform (some platforms provide multiple IDs) |
| contact_id | string | The contact ID of the bill credit note |
| currency_id | string | The currency ID of the bill credit note |
| bill_ids | array | The bill IDs associated with the bill credit note |
| document_number | string | The document number of the bill credit note |
| total_amount | double | The total amount of the bill credit note |
| remaining_credit | double | The remaining credit amount of the bill credit note |
| posted_date | string | The posted date of the bill credit note |
| status | enum | The status of the bill credit note |
| memo | string | The memo or notes of the bill credit note |
| updated_at | string | The date and time the bill credit note was last updated |
| line_items | array | The line items of the bill credit note |
Status Enum Values
| Value | Description |
|---|---|
DRAFT | Bill credit note is in draft status and has not been finalized |
SUBMITTED | Bill credit note has been submitted but not yet paid |
PARTIALLY_PAID | Bill credit note has received partial payment |
PAID | Bill credit note has been fully paid |
OVERDUE | Bill credit note has passed its due date without payment |
VOID | Bill credit note has been voided or canceled |
UNKNOWN | Status cannot be determined from the platform |
Expandable Attributes
Use theexpand query parameter to include related objects:
expand=contact- Includes full Contact object detailsexpand=currency- Includes full Currency object detailsexpand=payments- Includes all BillPayment objects where this credit note has been appliedexpand=line_items- Includes detailed LineItem objects
Properties Supported
| Property | Type | Description |
|---|---|---|
| platform_id | string | The Platform’s ID for the credit note |
| contact_id | string | The contact ID of the bill credit note |
| currency_id | string | The currency ID of the bill credit note |
| bill_ids | array | The bill IDs associated with the bill credit note |
| document_number | string | The document number of the bill credit note |
| total_amount | double | The total amount of the bill credit note |
| remaining_credit | double | The remaining credit amount of the bill credit note |
| posted_date | string | The posted date of the bill credit note |
| status | enum | The status of the bill credit note |
| memo | string | The memo or notes of the bill credit note |
| line_items | array | The line items of the bill credit note |
| updated_at | string | The date and time the bill credit note was last updated |
Addresses
| Property | Type | Description |
|---|---|---|
| platform_id | string | Platform's ID for the address |
| type | enum | The type of address. Values are: SHIPPING, BILLING, COMPANY, WAREHOUSE. |
| data_model | string | The data model to which this address is linked. Observed values in current read mappers are COMPANY_INFO, CONTACT, INVOICE, BILL, INVOICE_CREDIT_NOTE, BILL_CREDIT_NOTE, PURCHASE_ORDER, SALES_ORDER, CASH_SALE, CASH_REFUND, and ORDER |
| data_model_id | string | The unique identifier for the data model associated with this address |
| street | string | The street information of the address |
| locality | string | The locality or neighborhood information of the address |
| city | string | The city information of the address |
| state | string | The state or region information of the address |
| country | string | The country information of the address |
| pincode | string | The postal or zip code of the address |
| updated_at | date | The date and time at which the address information was last updated in the accounting platform |
Line Items
| Property | Type | Description |
|---|---|---|
| platform_id | string | Platform ID associated with this line item |
| item_id | string | The platform ID of the item associated with this line item |
| tax_id | string | The platform ID of the tax associated with this line item |
| account_id | string | The platform ID of the account associated with this line item |
| line_item_type | enum | The data model linked to the line item. Values are: BILL, INVOICE, BILL_CREDIT_NOTE, INVOICE_CREDIT_NOTE, GOODS_RECEIPT_NOTE, EXPENSE, PURCHASE_ORDER, SALES_ORDER, CASH_REFUND, CASH_SALE, JOURNAL_ENTRY, ORDER |
| line_item_type_id | string | The platform ID of the associated data model |
| description | string | The description for this line item |
| quantity | float | The quantity of the product/service for this line item |
| unit_amount | float | Price per unit for this line item |
| sub_total | float | The pre tax total value for this line item |
| tax_amount | float | The tax amount for this line item |
| total_amount | float | The total value of this line item |
| tracking_category_ids | object | The tracking category Ids associated with this line item |