The buyer rejects your cXML timestamp
A document rejected citing the timestamp, or accepted and logged hours away from when you sent it, or rejected intermittently for no pattern you can find.
cXML requires ISO 8601 with an explicit timezone offset. A naive local time with no offset is the loud failure. The quiet one is a clock running fast: buyers reject documents dated ahead of their own clock, so a server a few minutes out produces intermittent rejections that correlate with nothing you can see.
Causes, most likely first
Ordered by how often each one turns out to be the culprit, not by how interesting it is. Work down the list.
-
No timezone offset
How to confirm: Your timestamp ends at the seconds — 2026-10-11T14:03:22 — with no Z and no offset. The buyer either rejects it or guesses, and guessing is worse.
Fix: Always emit the offset, either as Z or as +01:00. Configure the serialiser to make a naive timestamp impossible rather than relying on each call site.
-
Your clock is ahead of theirs
How to confirm: Rejections are intermittent and correlate with nothing — not load, not product, not buyer. A document dated in the future relative to the receiving system is commonly refused outright.
Fix: Run NTP and alert on drift. Never round a timestamp up, and never generate it optimistically before the work it describes has happened.
-
A space instead of the T separator
How to confirm: The timestamp reads like a database value — 2026-10-11 14:03:22. Some serialisers emit SQL-style datetimes and the result is not valid ISO 8601.
Fix: Use the T separator. If your timestamp came out of a database driver as a string, it has probably not been formatted at all.
-
Fractional seconds the buyer does not accept
How to confirm: Rejection on an otherwise correct timestamp carrying milliseconds, or the reverse where a buyer requires them.
Fix: Ask which precision they validate against. Most accept both; the ones that do not are strict about it.
-
A retry carries the original timestamp
How to confirm: A resent document is rejected as stale while the first attempt was merely lost. Setup requests in particular are often accepted only within a short window.
Fix: Generate a fresh timestamp for each transmission, alongside a fresh payloadID whenever the content has changed.
If it is not on your side
Ask the buyer what their system recorded as the receive time for a rejected document. Comparing that against the timestamp you sent settles the clock question in one message, and it is a number both sides can see.
Check the document itself
Before chasing “The buyer rejects your cXML timestamp” further, paste the cXML or OCI payload into our free tester. It runs in your browser and reports the structural problems buyers reject on. The interactive demo plays the whole round trip from the buyer's seat.
Open the tester Play the demoRelated questions
Should we send UTC or local time?
Either is valid with an explicit offset. UTC with a Z invites the least argument and makes your own logs easier to correlate across buyers in different regions.
How old is too old for a setup request?
Buyers set their own window and the strict ones measure it in minutes, because a setup request is meant to be acted on immediately. Order and invoice documents are treated far more leniently.
Rather not be the one debugging this?
A free PunchOut shop runs the PunchOut round trip for you: upload from Excel, test it, invite your buyer.
Start free Send us the error