Skip to main content
PATCH
/
v1
/
{id}
Update invoice fields
curl --request PATCH \
  --url 'https://integration-api-cat2.{{environment}}.ext.{{realm}}.cia.enfuce.com/invoice/v1/{id}' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "dueDate": "2023-12-25",
  "dunning": {
    "reminder1TriggerDate": "2019-11-27",
    "blockTriggerDate": "2019-11-27",
    "reminder2TriggerDate": "2019-11-27",
    "collectionTriggerDate": "2019-11-27",
    "dunningStatus": "STOPPED"
  }
}
'
{
  "description": "<string>",
  "id": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Invoice id for given invoice

Query Parameters

auditUser
string
required

The audit user to log the request

Body

application/json

Request for updating invoice fields. Only provided fields will be updated.

dueDate
string<date>

Date when invoice is due

dunning
object

Response

Successfully updated 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