Changes the due date on an invoice.
Allows changing the due date of an invoice to a later date.
You may only postpone an invoice once.
PATH:
/v1/clients/{clientId}/invoices/{invoiceNumber}/postpone
PATH PARAMETERS:
clientId required
|
integer
Your assigned clientId. |
invoiceNumber required
|
string
The invoice number. |
HYPERMEDIA CONTROL
AVAILABLE IN:
REQUEST BODY SCHEMA:
newDueDate |
string date
New due date to be set for the invoice. |
RESPONSES:
RESPONSE SCHEMA:
type |
string
no description in swagger file |
category |
string Enum: BusinessError TechnicalError
no description in swagger file |
title |
string
no description in swagger file |
message |
string
no description in swagger file |
detail |
string
There is an error message. |
customerFacingMessage |
string
no description in swagger file |
RESPONSE SCHEMA:
type |
string
no description in swagger file |
category |
string Enum: BusinessError TechnicalError
no description in swagger file |
title |
string
no description in swagger file |
message |
string
no description in swagger file |
detail |
string
There is an error message. |
customerFacingMessage |
string
no description in swagger file |
RESPONSE SCHEMA:
type |
string
no description in swagger file |
category |
string Enum: BusinessError TechnicalError
no description in swagger file |
title |
string
no description in swagger file |
message |
string
no description in swagger file |
detail |
string
There is an error message. |
customerFacingMessage |
string
no description in swagger file |
RESPONSE SCHEMA:
type |
string
no description in swagger file |
category |
string Enum: BusinessError TechnicalError
no description in swagger file |
title |
string
no description in swagger file |
message |
string
no description in swagger file |
detail |
string
There is an error message. |
customerFacingMessage |
string
no description in swagger file |
RESPONSE SCHEMA:
type |
string
no description in swagger file |
title |
string
no description in swagger file |
status |
integer int32
no description in swagger file |
detail |
string
no description in swagger file |
instance |
string
no description in swagger file |
RESPONSE SCHEMA:
type |
string
no description in swagger file |
category |
string Enum: BusinessError TechnicalError
no description in swagger file |
title |
string
no description in swagger file |
message |
string
no description in swagger file |
detail |
string
There is an error message. |
customerFacingMessage |
string
no description in swagger file |
Path
/v1/clients/{clientId}/invoices/{invoiceNumber}/postpone
Request samples
- {
- "newDueDate": "string"
- }
Response samples
400401403404422500- {
- "type": "string",
- "category": "string",
- "title": "string",
- "message": "string",
- "detail": "string",
- "customerFacingMessage": "string"
- {
- "type": "string",
- "category": "string",
- "title": "string",
- "message": "string",
- "detail": "string",
- "customerFacingMessage": "string"
- {
- "type": "string",
- "category": "string",
- "title": "string",
- "message": "string",
- "detail": "string",
- "customerFacingMessage": "string"
- {
- "type": "string",
- "category": "string",
- "title": "string",
- "message": "string",
- "detail": "string",
- "customerFacingMessage": "string"
- {
- "type": "string",
- "title": "string",
- "status": 1,
- "detail": "string",
- "instance": "string"
- {
- "type": "string",
- "category": "string",
- "title": "string",
- "message": "string",
- "detail": "string",
- "customerFacingMessage": "string"