Follow the question structure recommended by Dev Bot before submitting your integration questions.
| Parameter | Type | Required | Description |
|---|---|---|---|
idBranch | int32 | No | Filter by branch for cancellation accounting. Applicable only for multi-branch token. |
| Field | Type | Required | Description |
|---|---|---|---|
idsReceivables | array<int32> | Required | List of IDs of the receivables to be canceled. |
reason | string | Required | List of IDs of the receivables to be canceled. |
| Field | Type | Description |
|---|---|---|
success | boolean | Indicates whether the cancellation was completed successfully. |
messageError | string | Error message in case success=false. Otherwise, it will have the value null. |
canceledReceivables | array<int32> | List of IDs of the canceled receivables. |
ignoredReceivables | array<int32> | List of IDs of the receivables ignored and not canceled in the flow. |
username:passwordAuthorization: Basic *****************{
"idsReceivables": [
0
],
"reason": "string"
}curl --location 'https://evo-integracao-api.w12app.com.br/api/v1/receivables/cancel?idBranch=undefined' \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json-patch+json' \
--data '{
"idsReceivables": [
0
],
"reason": "string"
}'{
"success": true,
"messageError": "string",
"canceledReceivables": [
0
],
"ignoredReceivables": [
0
]
}