Skip to content

CDS declarations, from draft to release.

From documents emailed in, an upload or your own shipment data. Then build the rest of the workflow around it.

Lainstack automates freight work, and UK customs is part of it. It reads the invoice and packing list or takes your shipment data, builds the declaration for HMRC's Customs Declaration Service, checks it and sends it, then follows each one until the goods are released.

Start free. 100 automation runs a month, no card, using your own AI provider account.

Start free
An invoice becomes an MRNOne continuous line draws an invoice, passes through check marks, then writes the letters MRN.An invoice becomes an MRNOne continuous line draws an invoice, passes through check marks, then writes the letters MRN.

How it works

  1. Documents arriveBy email or upload.
  2. AI drafts the declarationFrom the invoice and packing list.
  3. Your team checksBeside the original documents.
  4. Sent to CDS and followedUntil the goods are released.

Stop retyping invoices

Lainstack reads the commercial invoice and packing list and fills in the declaration, for imports, exports, supplementary declarations and customs warehousing. Your team corrects values side by side with the originals instead of keying every line.

Invoice lines become declaration fieldsA line draws an invoice with written lines, then curves across into three empty fields that fill in blue.

Catch problems before HMRC does

Every declaration is checked against HMRC's schemas and common CDS rules before it is sent, and you can check every commodity code against the UK Trade Tariff first. If HMRC still rejects one, you see what the error means and which field to fix.

A magnifier finds the one line to fixA line draws a sheet of written lines, then a magnifying glass over a single line written in blue.

Know where every declaration stands

Each declaration is followed after it is sent. Holds are answered with documents, corrections go out as amendments, and a person hears only when something needs them. Once a month, compare HMRC's records with yours.

  1. Sent

    • RejectedWhat the error means, and which field to fix.
  2. Accepted

    • HeldUpload the documents HMRC asks for.
    • AmendedHMRC gets only the fields that changed.
    • CancelledBy MRN, before the goods are cleared.
  3. Released

    • ExitedExports carry on once the goods have left.

Customs is one workflow. Lainstack runs the rest.

The same account automates the freight work around your declarations, and every workflow is an automation your team can see and change: add an approval, send rejections to the right desk, or start from your own shipment data. You stay the declarant. Lainstack is the software you send with.

Blocks rearranged on a lineA wobbly line draws three blocks along their edges. The middle block sits raised above a dashed blue outline where it used to be, and the last block carries a blue tick.

Questions

Who is this for?

UK importers and exporters who make their own customs declarations, and the freight forwarders and customs agents who make them for clients. It suits teams sending declarations every week who want to stop retyping invoices into CDS, and who have other freight work worth automating too.

Which CDS declarations can I send?

Standard imports (H1, declaration types IMA and IMD), imports into a private customs warehouse (H2), supplementary declarations that complete a simplified declaration or an entry in your records (IMY and IMZ), and standard exports (B1, EXA and EXD). You can also amend or cancel a declaration and upload the documents HMRC asks for.

Can I try it for free?

Yes. Cloud Free includes 100 automation runs a month with no card. Automations run while the workspace is connected to your own AI provider, such as Anthropic, OpenAI or Google Gemini, which bills you for its use. Cloud Standard lifts Free's lighter limits.

Who submits the declaration?

You do. Your business, or the customs agent you work with, is the declarant. Lainstack is the software you send with; it is never your broker or representative.

How does Lainstack connect to HMRC?

You sign in with your Government Gateway account and grant access. You don't need HMRC developer keys of your own.

Which ports and routes does it suit?

Declarations CDS takes straight from software: imports through roll-on roll-off ports such as Dover and the Channel Tunnel, imports at locations that aren't inventory-linked, and supplementary declarations. At those ports the haulier still needs a goods movement record for the crossing. Exports are sent the same way. Frontier imports at inventory-linked ports and airports, such as Felixstowe or Heathrow, go through that location's community system, which Lainstack doesn't connect to.

Does a person stay in control?

Yes. You decide which steps need a person's approval, and every run records what was sent to HMRC and what HMRC answered.

Can I see declarations sent from other software?

Yes, for declarations you submitted. Read one's status by its MRN, or search everything you submitted in the last 180 days, whichever software sent it.

Need a quick answer first? The free UK customs tools look up CDS error codes, validate declaration XML and check EORI numbers, with no signup.

Start with your next CDS declaration.

Free for up to 100 automation runs a month, no card. Runs use your own AI provider account. We help every team set up its first workflow.

A continuous line forming a handshakeA single white line travels from a left sleeve through two overlapping hands and out through a right sleeve.Start free