Refusal of an Invoice (API)
Refusing received Supplier/Expense Invoices France via API
Refuse via API
The refuse can also be launched via API.
Sandbox:
POST https://api.sandbox.billit.be/v1/orders/commands/refuse
Production:
POST https://api.billit.be/v1/einvoices/orders/commands/refuse
Header
| Name | In | Type | Required | Description |
|---|---|---|---|---|
PartyID | header | string | yes | This the the PartyID of your account |
Request Body
{
"RefusalReasonCode": "ContractTerminated",
"RefusalReasonDescription": "free text test",
"OrderIDs" :
[
3145999
]
}{
"RefusalReasonCode": "ContractTerminated",
"RefusalReasonDescription": "free text test",
"OrderIDs" :
[
3145998,
3145999,
]
}When sending more than 1 invoice, the RefusalReasonCode and RefusalReason must be identical for all Invoices.
| Name | Mandatory | Type | Description |
|---|---|---|---|
RefusalReasonCode | yes | allowed value from list | Structured Reason of the refusal |
RefusalReasonDescription | yes | free text | Additional information |
RefusalReasonCode possible Values
The following values are allowed. They are case sensitive.
- WrongRecipient
- AddressError
- UnknownIssuer
- UnknownTransaction
- Duplicate
- DuplicateInvoice
- OrderError
- MissingContractReference
- ContractTerminated
- NotConform
- IncorrectTotalAmount
- IncorrectVatRate
- CalculationError
Result after posting
| Status | Body |
|---|---|
200 | 1 |
Updated 2 days ago
Did this page help you?