Link Invoice
Link an imported accounting invoice to a bank movement (the settlement plane).
allocated_amount is in the movement's currency and defaults to the invoice's amount. A base-currency movement against an invoice in another currency (F2635) needs released_amount_currency, the amount of the invoice's own currency the movement settles — a payment in the base currency does not show it (F2620) — and allocated_amount is then the cash that figure takes (default: what the movement's other links leave). Both amounts are whole cents. 422 invalid.dischargeAmountRequired without it, invalid.dischargeAmountNotApplicable when given for any other pair, invalid.dischargeAmountExceedsOpen beyond what the invoice has open, invalid.dischargeCashExceedsMovement when the cash is not positive or beyond what the movement's other links leave, invalid.dischargeRateImplausible when the rate the two figures imply is outside a factor of two of BOTH the published rate for the movement's date and the rate the invoice's open item is booked at (either one suffices; nothing is judged without a reference), invalid.dischargeItemNotAdmissible for an invoice of the wrong direction. Re-posting an existing link edits it (200), and re-posting its own figures is a no-op; once settlement booked a payment from it the stated amounts are fixed (409 conflict.dischargeAlreadySettled).
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/bank-entries/{entry_id}/accounting-invoices
- 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.