Skip to content

Send CDS monthly report

Sends HMRC’s monthly report of supplementary declarations sent, due and late (a Final Supplementary Declaration), then waits for HMRC’s decision.

@lainstack/hmrc/send-cds-monthly-report · Customs · Available on Lainstack Cloud

Use Send CDS monthly report to send HMRC the monthly report of a trader authorised for simplified declarations (SDP, authorisation SDE) or entry in records (EIDR, authorisation EIR). HMRC calls it a Final Supplementary Declaration (type IMQ). The report is sent every month, even with nothing to report: use zeros. The block then waits for HMRC’s decision.

Fill in:

  • Month: the month the report covers, as YYYY-MM.
  • Client table and Client: the client’s row gives the EORI and the authorisation. The block uses sde_authorisation, or eidr_authorisation when there is none. With neither, the block stops before sending. If declarant_eori differs from eori, that declarant is named as representative, using representation_code (2 or 3).
  • Follow-ups in the month: how many supplementary declarations were sent and how many were due, for IMY (after a simplified declaration) and for IMZ (after an entry in your records). Each defaults to 0.
  • Late follow-ups: optional. One row for each month and type sent after its month: Month due (YYYY-MM), Type and Count, for up to 6 months. Late follow-ups are saved in the block’s settings, so they are sent with every report until removed: clear them after the report that declares them.

Good to know:

  • HMRC takes one report per software system. A trader who also files from other software needs a branch code, which this block does not support.
  • HMRC rejects a report more than 200 days after its month, and the block does not send one for a month that has not started.
  • HMRC accepts figures where sent is below due, and reports them. It does not change a report it accepted. To correct one, email HMRC: a second report for the same month is not a fix.
  • With no decision within Give up after (minutes) (default 15, up to 14 days) the block leaves on Timed out.
  • It sends at most once per attempt; the XML is saved as a run file.
Setting Key Type Details
HMRC connection (required) credentialId Connection The trader’s HMRC Customs Declarations connection. A draft run holds the send on every connection. At most 160 characters.
Month (required) month Text The month the report covers, written YYYY-MM.
Client table (required) clientsTableId Text One row per client key: EORIs and authorisations.
Client (required) client Text Who the report is for, by their client key.
After a simplified declaration (IMY): sent imySent Number How many IMY supplementary declarations were sent for the month. Defaults to 0.
After a simplified declaration (IMY): due imyDue Number How many IMY supplementary declarations were due for the month. Defaults to 0.
After an entry in your records (IMZ): sent imzSent Number How many IMZ supplementary declarations were sent for the month. Defaults to 0.
After an entry in your records (IMZ): due imzDue Number How many IMZ supplementary declarations were due for the month. Defaults to 0.
Late follow-ups lateFollowUps List Optional. Follow-ups sent after their month, one row for each month and type. HMRC takes up to 6 months. At most 12 items.
Give up after (minutes) timeoutMinutes Number Take the Timed out path when HMRC has not decided by then. Defaults to 15; up to 20160 (14 days, as long as HMRC keeps notifications). From 1 to 20,160. Default 15.
Output Path Type
Outcome outcome Choice
Summary summary Text
Month month Text
LRN lrn Text
MRN mrn Text
Environment environment Text
Conversation ID conversationId Text
Submitted At submittedAt Text
Accepted At acceptedAt Text
Checked At checkedAt Text
Next Check At nextCheckAt Text
HMRC Problem hmrcProblem Text
Refusal > Code refusal.code Text
Refusal > Message refusal.message Text
Refusal > Errors refusal.errors List
Refusal > Explanation refusal.explanation Text
Errors errors List
Notifications notifications List
Unreadable Notifications unreadableNotifications List
Declaration XML document Value
Exit Port Notes
Accepted out
Rejected rejected Failure exit.
Timed out timedOut

Last updated: