v1 - Credit Notes
Create credit note
Creates a new credit note in draft status. The credit note can be created with or without line items. When documentNumber is provided, it is used for idempotency — retrying a create with the same documentNumber returns the existing credit note instead of creating a duplicate. The areLinesWithTax field controls whether line amounts include tax (true = gross, tax included) or exclude tax (false = net, tax added on top). A businessPartnerId (vendor) is required if the credit note will be linked to an invoice payable later. The posting date is automatically set to the documentDate.
post/v1/credit-notes
Request
- Base URLhttps://light.inc (the document declares no server; this is the origin it was published from)
- Auth
- API key in header Authorization
- or HTTP bearer
Headers
X-Idempotency-Keystring
Request body
Example request
{
"currency": "USD"
}Response
default response
Example response
{
"currency": "USD"
}Changes
No recorded changes to this operation across all 1 revision of this API.