Skip to content

🚫 Refuse an inbound invoice

Request

Refuse an inbound invoice.

The PPF requires a refusal to report a reason code (G7.08) and a comment (G7.25), so an omitted details.reason_code defaults to "CONTACT_ACHTR" and an omitted details.comment to "TRANSAC_INC".

Security
APIKeyHeader
Path
invoice_idstring(Invoice Id)required
Headers
X-PDP-Client-Idstring(X-Pdp-Client-Id)required

ID of the PDP Client for which the operation is performed

Examples:
Sandbox client
client_abc123
Bodyapplication/json
detailsRefuseDetails (object) or null
Any of:

Details for refusing an invoice (status 210 - Refusée).

curl -i -X POST \
  'https://pdp.seqino.dev/api/invoicing/invoices/{invoice_id}/refuse' \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -H 'X-PDP-Client-Id: client_abc123' \
  -d '{
    "details": {
      "reason_code": "AUT_MOTIF_ERR_VALIDEUR",
      "reason_text": "string",
      "comment": "string"
    }
  }'

Responses

Successful Response

Bodyapplication/json
invoice_idstring(Invoice Id)required
statusstring(Status)required
successboolean(Success)required
Response
{ "invoice_id": "string", "status": "string", "success": true }