Amend or cancel a CDS declaration after acceptance
HMRC can accept a declaration that later turns out to be wrong: a corrected invoice arrives, or a value was misread. This recipe covers both ways back with Update CDS declaration:
- Amend the declaration: a person changes the wrong fields, and HMRC receives only the changed values with your reason.
- Cancel the declaration: HMRC cancels (invalidates) it, as long as the goods have not been cleared.
The two work differently. An amendment needs the declaration as it was sent, so it runs in the same automation as Send CDS declaration. A cancellation needs only the MRN, so it can run from a form.
Amend in the sending automation
Section titled “Amend in the sending automation”1. Ask a person whether the declaration is right
Section titled “1. Ask a person whether the declaration is right”After Accepted on Send CDS declaration, add an Approval. In its Request, tell the reviewer what to look at, such as the MRN and HMRC’s tax total from the send block’s output. Set a Timeout so a declaration nobody questions ends the run, for example a few days.
The reviewer approves when the declaration is right and rejects when it needs a change. Leave Approved and Timed out unconnected.
2. Send the amendment
Section titled “2. Send the amendment”Connect Update CDS declaration to Rejected:
- HMRC connection: the one that sent the declaration. HMRC answers only the trader who submitted it.
- Action: Amend the declaration.
- MRN and Declaration record: both from the send block’s output.
- Reason: why, in words HMRC reads, up to 512 characters. The Approval’s Reason output works if reviewers always give one: an empty reason fails the step.
The block opens the same document review the send block opens for a rejection. The reviewer changes the fields that were wrong and sends. HMRC receives only the changed values. If the reviewer rejects the review instead, nothing is sent and the block leaves on Refused.
3. Connect the exits
Section titled “3. Connect the exits”| Exit | What it means | What to do |
|---|---|---|
| Done | HMRC accepted the amendment. The output carries the declaration as amended | Record it. For a second amendment, take Declaration record from this output |
| Refused | HMRC rejected the amendment (each error is explained), denied the request, or the reviewer rejected it without sending | Show the reasons to whoever owns the shipment |
| Timed out | HMRC didn’t answer within Give up after, an hour by default | Check the status later before resending |
Cancel from a form
Section titled “Cancel from a form”1. Collect the MRN and the reason
Section titled “1. Collect the MRN and the reason”Start with an Operation form with two text fields: the MRN and the reason for cancelling. A cancellation needs nothing else, so it works for any declaration the trader on the connection submitted, including ones that trader sent from another system.
2. Ask HMRC to cancel
Section titled “2. Ask HMRC to cancel”Add Update CDS declaration with Action set to Cancel the declaration, the MRN and the Reason from the form. It leaves on Done once HMRC has cancelled the declaration, on Refused with HMRC’s reason, or on Timed out.
To see the result in your records, follow Done with Get CDS declaration status: its Status under Declaration reads invalidated.
If the goods move again after a cancellation, they need a new declaration. Send it as in the import recipe.
What goes wrong
Section titled “What goes wrong”- Amending from another automation. Declaration record has to come from Send CDS declaration, or from an earlier amendment, in the same run, with that declaration’s MRN. A declaration sent from another system can be cancelled here, not amended.
- Changing what an amendment can’t. An amendment changes values. It can’t add or remove entries, such as a goods item, and can’t change the declaration’s additional information. The step fails and says so.
- No change. A review sent with no field changed fails the step: there is nothing to amend.
- Cancelling too late. HMRC refuses to cancel a declaration whose goods have been cleared. The block leaves on Refused.
- The wrong connection. HMRC answers only the trader who submitted the declaration.
- HMRC goes down after the message is sent. The block keeps waiting until Give up after. Resuming the run goes back to checking, without sending again.