Skip to main content
POST
/
v1
/
{id}
/
write-off
Write off invoice
curl --request POST \
  --url 'https://integration-api-cat2.{{environment}}.ext.{{realm}}.cia.enfuce.com/invoice/v1/{id}/write-off' \
  --header 'Authorization: Basic <encoded-value>'
{
  "description": "<string>",
  "id": "<string>"
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

id
string
required

Invoice id for given invoice

Query Parameters

auditUser
string
required

The audit user to log the request

Response

Successfully written off invoice for given invoice id

description
string

Short description of the result of the action

id
string

Will contain the ID of the resource that has been created or updated