Skip to content

Post Apply Credit Invoice ​

Applies a credit invoice

POST /v1/Invoices/{invoiceGuid}/ApplyCreditInvoice

Use the Test or Production base URL configured under Overview.

Request parameters ​

FieldLocationMandatoryDescription
invoiceGuidpathYesstring

Headers and authentication ​

Use OAuth 2.0 Client Credentials and the Authorization header with a Bearer access token, as described under Overview.

Request body fields ​

Field pathMandatoryDescription
creditInvoiceGuidNostring or null
Credit invoice guid
deductionOrderNostring or null
Deduction order
placementsNoarray of object or null
List of invoices that the credit invoice should be placed against
placements[].invoiceGuidNostring or null
Guid referring to an invoice
placements[].amountYesnumber <double>
Amount (in credit invoice's currency) that should be placed on the invoice the guid is referring to

Response fields ​

HTTP 202

No response body is returned.

HTTP 400
Field pathDescription
typestring or null
titlestring or null
statusinteger <int32> or null
detailstring or null
instancestring or null
HTTP 401
Field pathDescription
typestring or null
titlestring or null
statusinteger <int32> or null
detailstring or null
instancestring or null
HTTP 403
Field pathDescription
typestring or null
titlestring or null
statusinteger <int32> or null
detailstring or null
instancestring or null
HTTP 404
Field pathDescription
typestring or null
titlestring or null
statusinteger <int32> or null
detailstring or null
instancestring or null
HTTP 408
Field pathDescription
typestring or null
titlestring or null
statusinteger <int32> or null
detailstring or null
instancestring or null