Credit Ar Invoice
Fully credit an issued invoice: create a credit-note document — carrying a copy of the credited invoice's lines — and reverse the original's posting (AR + output VAT + open item back out) through the guarded storno door. Partial credits are a follow-up.
Dated body.posting_date, else today (never before the invoice): the credit note is printed with that date and its VAT reduction is declared in that date's VAT window — the credited invoice's output VAT is backed out of the MWST-Abrechnung, not just out of the ledger. The invoice's posted dunning fees are reversed with it.
Once the customer has paid, the cash actually received (fees included) is additionally posted as its own opposite-direction credit_note document against the AP control account: that gives the refund an open item a bank payment can settle (ar.service §credit note).
Refusals: 422 when the invoice is not issued, is itself a credit note, was already credited, or carries a write-off (a written-off invoice cannot be credited); 422 when posting_date predates the invoice or a dunning fee or payment the credit undoes, or when no open accounting period covers the credit's date — re-send with a posting_date in an open period (or open the fiscal year); 422 when a posted recognition installment would have to be reversed in a closed period (reopen that period; no date clears it); 409 when the credit's date falls in a filed/paid VAT period — re-send with a posting_date in an open VAT period.
Request
- Base URL: https://app.zeno-works.ch (the document declares no server; this is the origin it was published from)
- URL: https://app.zeno-works.ch/companies/{company_id}/ar/invoices/{invoice_id}/credit-note
- Auth: none declared
Path parameters
Headers
Cookies
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.