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: Basic <encoded-value>' \
  --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>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.enfuce.com/llms.txt

Use this file to discover all available pages before exploring further.

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

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