Post Invoice On Hold
Set invoice on-hold status
PATCH /v1/Invoices/{invoiceGuid}/OnHold
Use the Test or Production base URL configured under Overview.
Request parameters
| Field | Location | Mandatory | Description |
|---|---|---|---|
| invoiceGuid | path | Yes | string |
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 path | Mandatory | Description |
|---|---|---|
| values | Yes | object — |
| values.stopCollection | No | integer <int32> or null Stop collection 0 = Not stopped 1 = Stop before debt collection 2 = Stop before reminder 3 = Stop before reminder and debt collection |
| values.stopCollectionExpire | No | string <date-time> or null Date when the collection stop is expiring. |
| values.stopCollectionReason | No | string or null — |
| values.interestInvoiceStop | No | integer <int32> or null Stop interest invoicing 0 = Not stopped 1 = Stop interest invoicing |
| values.interestInvoiceStopExpire | No | string <date-time> or null Date when the interest invoicing stop is expiring. |
| values.interestInvoiceStopReason | No | string or null — |
| options | Yes | object — |
Response fields
HTTP 202
No response body is returned.
HTTP 400
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer <int32> or null |
| detail | string or null |
| instance | string or null |
HTTP 401
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer <int32> or null |
| detail | string or null |
| instance | string or null |
HTTP 403
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer <int32> or null |
| detail | string or null |
| instance | string or null |
HTTP 404
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer <int32> or null |
| detail | string or null |
| instance | string or null |
HTTP 408
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer <int32> or null |
| detail | string or null |
| instance | string or null |
