Create purchase credit note (draft)
Purchase credit notes
Create purchase credit note (draft)
POST
Create purchase credit note (draft)
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
application/json
Credit note that adjusts (or fully cancels) a purchase.
Purchase ID being adjusted.
Credit-note document type.
Maximum string length:
64Maximum string length:
1024Available options:
%, $ Response
Credit note created.
Credit note that adjusts (or fully cancels) a purchase.
Purchase ID being adjusted.
Credit-note document type.
Maximum string length:
64Maximum string length:
1024Available options:
%, $ Available options:
draft, finalized, cancelled 