API change log
Contract changes that ship with each API version. Review this before setting X-API-Version: 20260507 in production.
X-API-Version is the version header. Token login uses X-HMAC-Signature. Webhook deliveries are signed with X-HMAC-Signature.
Note: X-Marmin-Version is a deprecated gateway alias and will be removed on 31 December 2026. When both version headers are sent, X-API-Version is used. similarly, X-Marmin-Signature is a deprecated gateway alias for token login and will be removed on the same date. When both signature headers are sent, X-HMAC-Signature is used. Webhook deliveries send both signature headers with the same value until then.
How to upgrade (overview)
Read the migration guide for your target version below.
Test in sandbox with
X-API-Version: 20260507on every request in a workflow.Validate affected endpoints (create, retrieve, list) before production.
Roll back by keeping
X-API-Version: 20260101until migration is complete.
Deprecation policy
Older API versions remain available until announced otherwise. When a version is deprecated, this page will list a sunset date and required migration path. Current status: 20260101 baseline and 20260507 latest are both supported.
---
2026-12-04 — Raw request payload on document responses
Who is affected
Integrators that read sales or purchase invoices, credit notes, document registers, or proforma invoices.
What changed
Before:
meta_infocontained Peppol status only, and was oftennulluntil Peppol processing started.After: documents created or updated through the API include
meta_info.raw_request_payload, a JSON string of the posted body. A register update replaces that string. Peppol-received documents omit the field. Documents created before this change omit it as well.
Migration steps
Ignore the field if you do not need the original request.
When it is present, parse the string as JSON.
Affected endpoints
Create, retrieve, and resubmit for sales and purchase invoices and credit notes
Document register create and update
Proforma invoice create and draft update
Rollback
Stay on the current API version. The field is additive and omitted when absent.
---
2026-12-03 — Edit and resubmit via POST
Who is affected
Integrators that edit and resubmit sales invoices, sales credit notes, purchase invoices, or purchase credit notes.
What changed
Before:
PUT /api/{document}/{uuid}/{business_profile_id}.After:
POSTthe create URL with the full corrected payload and the samedocument_numberwhen that document isVALIDATION_FAILEDorREJECTED. The API marks the previous document obsolete and returns 201 Created with a newid.This is not an
X-API-Versionbody-shape change. It applies on both20260101and20260507.
Migration steps
Stop calling the PUT edit URL.
POST the create endpoint with the full corrected payload and the original
document_number.Store the new
idfrom the 201 response. Use that id for later retrieve, PDF, and XML calls.
Affected endpoints
Rollback
There is no version-header rollback. Update the client to POST the create URL.
Common errors
---
2026-12-01 — Webhook response time limit and blocking
Who is affected
Integrators that receive webhook deliveries for sale and purchase documents.
What changed
Before: Webhook endpoints had no response time target.
After: Webhook endpoints should respond within 2 seconds. Marmin emails slow response alerts when a webhook is slow. A webhook whose 24-hour average response time stays above 2 seconds is blocked. Its events are held and delivered after the webhook is restored.
Migration steps
Make sure your webhook endpoint responds within 2 seconds. Return
HTTP 200first, then process the event.Watch for slow response alerts and check the response times of your endpoint.
If a webhook is blocked, fix the endpoint and contact Marmin support at support@marmin.ai to restore it.
Affected endpoints
Webhook deliveries. See Response Time & Blocking.
Rollback
There is no API version to roll back to. Blocked webhooks are restored by Marmin support on request.
Common errors
---
2026-07-07 — Endpoint ID mandatory
Who is affected
Integrators that create or resubmit sale invoices, sale credit notes, purchase invoices, purchase credit notes, or proforma invoices and send accounting_customer_party or accounting_supplier_party.
What changed
FTA substitute reference
For Peppol-registered UAE parties, use the party's 10-digit TIN as endpoint_id with 0235.
Migration steps
Audit payloads — ensure every create/resubmit request includes both
endpoint_idandendpoint_scheme_idon the party you send.Map transaction types — use the table above for deemed supply, exports, and non-compliant parties.
Remove reliance on defaults — do not omit endpoint fields expecting Marmin to apply
9900000098.Test in sandbox with
X-API-Version: 20260507.
Affected endpoints
All document create and resubmit endpoints for invoices, credit notes, and proforma invoices
Rollback
Keep X-API-Version: 20260101 until your payloads always include explicit endpoint values.
---
2026-05-07 — `payment_means` shape change
Who is affected
Integrators that create, retrieve, or list sale invoices or purchase invoices and parse or send payment_means.
What changed
Migration steps
Requests: Wrap existing
payment_meansobject in an array. One payment method → one-element array.Responses: Read
payment_meansas an array. Usepayment_means[0]where you previously read the object directly.Multiple methods: You may now send several payment methods in one invoice (see Multiple payment modes).
Test: Run create → retrieve for each document type you use in sandbox with
X-API-Version: 20260507.
Code migration hint
// Before
const code = invoice.payment_means.payment_means_code;
// After
const code = invoice.payment_means[0]?.payment_means_code;# Before
code = invoice["payment_means"]["payment_means_code"]
# After
code = invoice["payment_means"][0]["payment_means_code"]Affected endpoints
Testing checklist
[ ] Create invoice with one
payment_meansitem (array with length 1)[ ] Create invoice with multiple
payment_meansitems[ ] Create invoice with
payment_meansomitted ornull(still accepted on current version)[ ] Retrieve returns
payment_meansas array[ ] List
content[].payment_meansis array on each item[ ] Resubmit and retrieve flows use the same
X-API-Versionheader as create
Rollback
Keep X-API-Version: 20260101 on all requests until your parsers handle the array shape. Legacy clients can remain on 20260101 until rollout is complete — that is a deployment choice, not a sandbox test step.
Common errors
Use the Payload examples panel on the right to compare before and after JSON shapes.
Before you upgrade
Update your code to read and write
payment_meansas an array.Test the endpoints you use in sandbox with
X-API-Version: 20260507.Use the same header value on every request in a workflow.
Stay on
20260101until validation is complete.
