Invoices

Settle a credit note against open invoices (Verrechnung)

{id} is an issued credit note. Each allocation sets part of its credit off against an issued invoice of the same client and currency. No money moves and no journal entry is posted (the receivable already nets out); both documents' payment status is recomputed. An omitted amount takes as much as both sides allow, in list order. The date must lie in an open fiscal year.

post/invoices/{id}/credit-allocations

Request

  • Base URL: https://api.lumabill.ch/v1
  • URL: https://api.lumabill.ch/v1/invoices/{id}/credit-allocations
  • Auth: HTTP bearer

Request body

datestring date

Example request

{
  "allocations": [
    {
      "amount": 250
    }
  ]
}

Response

Settled

creditRemainingnumber

Example response

{
  "allocations": [
    {
      "creditNoteNumber": "GS-001",
      "invoiceNumber": "RE-011",
      "amount": 250
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.