Create credit note (draft)
Creates a credit note. If the related invoice or chosen document allows partial credit, the line totals are computed from the request; otherwise the lines mirror the invoice.
Authorizations
Use header Authorization: Token <api_token>.
API tokens are obtained from the Piriod dashboard.
Headers
Workspace (account) identifier. Required for every request.
Whether to operate against test-mode data. Defaults to false.
Body
Invoice ID this credit note adjusts.
Credit-note document type. Optional; the biller may assign one at finalize.
641024%, $ Response
Credit note created.
Invoice ID this credit note adjusts.
Credit-note document type. Optional; the biller may assign one at finalize.
641024%, $ draft, finalized, cancelled 