The credit note object
See the right panel for the complete object definition and code examples.
Attributes
Core fields
All root-level attributes on the sales credit note. Nested fields are linked to their respective tables below for full attribute details.
Document status
The status field is the document lifecycle flag (distinct from Peppol transmission status in meta_info.peppol_status).
For convenience, the shared nested object structures are documented below.
Party object
The accounting_supplier_party, accounting_customer_party, buyer_customer_party, and seller_supplier_party fields are objects with the following attributes:
Payee party object
The payee_party field is an object with the following attributes:
Tax representative party object
The tax_representative_party field is an object with the following attributes:
Delivery object
The delivery field is an object with the following attributes:
Order reference object
The order_reference field is an object with the following attributes:
Billing reference object
Each element of the billing_reference array is an object with the following attributes:
Despatch document reference object
The despatch_document_reference field is an object with the following attributes:
Receipt document reference object
The receipt_document_reference field is an object with the following attributes:
Statement document reference object
The statement_document_reference field is an object with the following attributes:
Originator document reference object
The originator_document_reference field is an object with the following attributes:
Contract document reference object
The contract_document_reference field is an object with the following attributes:
Project reference object
The project_reference field is an object with the following attributes:
Document line object
Each element of the document_lines array is an object with the following attributes:
Additional item identification object
Each element of the additional_item_identification array is an object with the following attributes:
Item specification document reference object
The item_specification_document_reference field on a document line is an object with the following attributes:
Commodity classification object
The commodity_classification field on a document line is an object with the following attributes:
Document-level charge object
Each element of the document charges array increases the document total outside the line net. The total is returned in charge_total_amount. VAT for the charge is calculated from tax_category.
Provide reason or reason_code (at least one). Provide amount, or both multiplier_factor_numeric and base_amount. If amount is omitted and both rate fields are present, the amount is base_amount × multiplier_factor_numeric / 100. If amount is sent, that value is used. Send multiplier_factor_numeric and base_amount together, or omit both.
Document-level allowance object
Each element of the document allowances array reduces the document total outside the line net. The total is returned in allowance_total_amount. VAT for the allowance is calculated from tax_category.
Reason and amount rules match the document-level charge object.
Line-item charge object
Each element of document_lines[].charges increases that line's net amount before VAT. Line net is (price.base_amount / price.base_quantity) × quantity + line charges − line allowances. VAT uses the line classified_tax_category. The total of these charges is returned in total_item_charges.
Do not send tax_category on a line-item charge. Reason and amount rules match the document-level charge object.
Fixed amount:
{
"reason_code": "FC",
"reason": "Freight",
"amount": 15.0
}Percentage. The calculated amount is 200.0 × 10 / 100 = 20.0:
{
"reason": "Packaging",
"base_amount": 200.0,
"multiplier_factor_numeric": 10.0
}Line-item allowance object
Each element of document_lines[].allowances reduces that line's net amount before VAT. VAT uses the line classified_tax_category. The total of these allowances is returned in total_item_allowances.
Do not send tax_category on a line-item allowance. Reason and amount rules match the document-level allowance object.
Fixed amount:
{
"reason_code": "95",
"reason": "Discount",
"amount": 10.0
}Percentage. The calculated amount is 200.0 × 5 / 100 = 10.0:
{
"reason": "Line discount",
"base_amount": 200.0,
"multiplier_factor_numeric": 5.0
}Payment means
The payment_means array is optional and may be omitted in every scenario, including every transaction_type. When you send an item, payment_means_code is required on that item. Nested account fields are required only for the codes listed below.
Each item has the following attributes:
Card account
Payee financial account
Payment mandate
Payment terms object
The payment_terms field is an object with the following attributes:
Tax exchange rate object
The tax_exchange_rate field is an object with the following attributes:
Response meta_info object
The meta_info field is an object with the following attributes:
Peppol status object
The meta_info.peppol_status field is an object with the following attributes:
Client processing guidance
For the full client processing guidance on Peppol status fields, see Peppol Transmission Status.
