Update a mandate's end_date.
Allows patching the end_date of an existing mandate to extend or shorten its validity period. Set end_date to null to remove the expiry.
- Dev serverhttps://pdp.seqino.dev/api/mandates/{mandate_id}
- Production serverhttps://pa.seqino.com/api/mandates/{mandate_id}
- string (date-time)
- null
curl -i -X PATCH \
'https://pdp.seqino.dev/api/mandates/{mandate_id}' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-H 'X-PDP-Client-Id: client_abc123' \
-d '{
"end_date": "2024-12-31T23:59:59Z"
}'Mandate updated successfully
When the mandate becomes active. Note: if the requested start date is today or in the past, it will be updated with the real start date returned by the PPF once the status of the mandate becomes CREATED.
When the mandate expires. Optional: when omitted (null) the mandate never expires and stays active indefinitely. In the PPF directory an open-ended mandate maps to an effective end date of 9999-12-31. An expiry can be set or removed later via PATCH /mandates/{id}.
Current status of the mandate
VAT regime of the mandated company. Determines data transmission periodicity.
{ "client_id": "string", "start_date": "2019-08-24T14:15:22Z", "end_date": "2019-08-24T14:15:22Z", "file_attachment": "string", "status": "processing", "directory_entry": {}, "emit_only": false, "vat_regime": "real_normal_monthly", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "error_cause": "string", "id": "string", "peppol_address": "string" }