For the complete documentation index, see llms.txt. This page is also available as Markdown.

Amend or withdraw a submitted transaction

Correct or withdraw a due diligence statement within 72 hours of submitting it.

Once TRACES has accepted a transaction (status AVAILABLE), you have 72 hours from the original submission to change it:

Both endpoints are available to OAuth2.0 machine-to-machine clients and need the same Transaction Management access as submitting.

Unlike submitting, both calls reach TRACES during the request. You get TRACES' answer, or the reason it refused, in the response.

Before you start

  • Check the transaction is AVAILABLE and note dds.submittedAt: the 72-hour window counts from that time and an amendment does not restart it.

  • Wait for one change to finish before sending another. A second amendment or withdrawal while one is in progress returns 409.

Amend a transaction

1

Get the current transaction

GET /transactions/{id}?includes=components returns the content to start from.

2

Send the full amended transaction

The body replaces the whole statement: send every component it should contain, not only the changed ones. Omitted countryOfActivity is cleared and omitted isGeoLocationConfidential becomes false; customId, customData and legalEntityId keep their current values when omitted. Keep the same activity type and the same ddsReferences.

curl -X PUT https://api.tradeaware.live-eo.com/transactions/{id}/amend \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
  "countryOfActivity": "DE",
  "components": [
    {
      "hsn": "1201",
      "quantity": 150,
      "unit": "KGM",
      "description": "Soybean",
      "supplierBusinessId": "589df451-a064-48e6-a715-1315a3f6180a"
    }
  ]
}'
3

Read the result

  • 200: done. The transaction is AVAILABLE with the new content; dds.amendedAt and dds.amendmentCount are updated.

  • 202: TRACES is still processing. The transaction is SUBMITTED; poll GET /transactions/{id} until it is AVAILABLE again.

  • 503: TRACES did not answer and may still have applied the amendment. Resend the same amendment.

Withdraw a transaction

  • 200: the transaction is WITHDRAWN and dds.withdrawnAt is set.

  • 202: the withdrawal is pending and the transaction stays AVAILABLE for now. Poll GET /transactions/{id}: it becomes WITHDRAWN once TRACES confirms, or stays AVAILABLE if the withdrawal did not happen, in which case you can try again within the 72 hours. Don't resend while it is pending.

  • 503: TRACES could not be reached and nothing was withdrawn. Retry later.

Handling refusals

A 422 means the change cannot be made: the 72 hours have passed (DDS_LIFECYCLE_WINDOW_EXPIRED), or TRACES refused it (DDS_TRACES_REFUSED, with TRACES' own codes in tracesCodes). Retrying won't help. A 409 means the transaction's status doesn't allow the change right now.

See Amend a Transaction and Withdraw a Transaction for the full list of responses.

Accounts are connected to TRACES ACCEPTANCE by default, so you can try amending and withdrawing without affecting legally binding statements.