Skip to main content
POST
/
invoices
/
{invoice_id}
/
credit-note
Issue a credit note
curl --request POST \
  --url https://api.app.lastaccountingcompany.com/portal/invoices/{invoice_id}/credit-note \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "customer_id": "<string>",
  "reason": "<string>"
}
'
{
  "event_id": "<string>"
}

Authorizations

Authorization
string
header
required

Portal API key minted in portal Settings → API access. Scope read or write; pinned to one company. Send as Authorization: Bearer lac_sk_....

Path Parameters

invoice_id
string
required

Body

application/json
customer_id
string

Target company. Optional for API keys.

reason
string

Reason for the credit note.

Response

Credit note request accepted.

Acknowledgement of an asynchronously dispatched request.

event_id
string

Identifier of the dispatched event.