Get a lorry through a roll-on roll-off crossing with GVMS
Ferry and tunnel routes that use HMRC’s Goods Vehicle Movement Service (GVMS) need a goods movement record (GMR) before a lorry checks in. The GMR ties the vehicle and its crossing to the goods’ customs declarations. At check-in the carrier asks for the GMR ID, and after the crossing HMRC says whether the goods can go or must be inspected.
This recipe creates the GMR from the declarations, brings a person in when HMRC needs changes, and follows the GMR until the goods clear.
1. Connect HMRC as the haulier
Section titled “1. Connect HMRC as the haulier”The GMR belongs to whoever moves the goods. Set up the HMRC connection by signing in with the haulier’s Government Gateway ID, registered for HMRC’s Get a goods movement reference service. A haulage agent can sign in with their own registration instead. HMRC then treats them as the haulier for every GMR they create.
The same connection sends CDS declarations, so one connection covers both blocks when the trader and the haulier are the same business. An HMRC connection made before it covered goods movements has to be reconnected once.
2. Collect the movement
Section titled “2. Collect the movement”Start with an Operation submitted trigger, or any trigger that carries the movement: the vehicle registration, any trailers or containers, the route and the planned departure.
The Route ID comes from HMRC’s GVMS reference data, which lists every route with its ports and direction. Each direction of a crossing has its own ID, so take the one that runs the way the goods go: an import needs an inbound route, an export an outbound one. Keep the routes you use in a reference table, with their direction, so operators pick a name rather than type an ID.
3. Declare the goods, then create the GMR
Section titled “3. Declare the goods, then create the GMR”Coming into Great Britain, the GMR names each declaration by its MRN. Connect Send CDS declaration first and use its MRN in Customs declarations on Send goods movement record. Going out, use each export’s DUCR instead. An empty lorry needs no declarations: set Load to one of the empty options.
On Send CDS declaration:
- Type: imports through a GVMS port must be pre-lodged, so choose Before arrival, pre-lodged (IMD). Exports are pre-lodged (EXD) or arrived (EXA) depending on the port you leave from.
- Wait until: Received (MRN issued) for a pre-lodged declaration. HMRC gives it an MRN on receipt but accepts it only once the goods arrive, and on a GVMS route that is the GMR’s job: at embarkation coming in, at check-in going out. Waiting for Accepted would end on Timed out. With Received the block continues on its Accepted exit as soon as the MRN is issued.
- Goods location: the port’s GVMS code from HMRC’s Appendix 16S, such as
DVRDOVDVRGVMfor Dover. These codes end inGVM, and with one the block adds the additional information code RRS01 that HMRC requires on GVMS declarations.
A GMR can be created before everything is known and updated later. Each update replaces the whole record, so send every field again with Action set to Update a GMR and the GMR ID from the first run.
4. Fix what HMRC flags before check-in
Section titled “4. Fix what HMRC flags before check-in”HMRC answers a few seconds after each create or update:
| Exit | What it means | What to do |
|---|---|---|
| Accepted | The GMR is open and ready for check-in. Give the GMR ID to the driver | Carry on |
| Needs changes | The GMR exists, but HMRC needs more before check-in | Show Rule failures to a person with an Approval, then update |
| Timed out | HMRC’s answer didn’t arrive in time, or a create got no clear answer | Check the GMRs in Possible GMR IDs before creating another: HMRC may have made this one, and another run’s GMR can match too |
Each rule failure has HMRC’s code, a message and the field it concerns, such as a safety and security MRN HMRC can’t find.
5. Wait for the goods to clear
Section titled “5. Wait for the goods to clear”Connect Wait for goods movement to Accepted, with the GMR ID from the step before. It checks HMRC on a timer, without holding anything while it waits, and leaves on:
- Cleared: the lorry has crossed and the goods are clear to proceed. Tell whoever books the delivery.
- Inspection required: HMRC wants the vehicle inspected. The output lists where to report. Tell the driver, then run the block again to keep following the GMR.
- Needs changes: the GMR can no longer check in, for example because a declaration on it was cancelled. Update it.
- Timed out: nothing happened within the time limit, a day by default.
What goes wrong
Section titled “What goes wrong”- The wrong Government Gateway ID. HMRC refuses GMRs from an ID that isn’t registered for GVMS, and shows a haulier only their own GMRs.
- A port code that isn’t a GVMS one. Without a GVMS goods location the declaration carries no RRS01, and the GMR can’t arrive it.
- A route that doesn’t match the direction. HMRC refuses the GMR with INVALID_ROUTE: the route runs the other way. Use the ID for the same crossing in the goods’ direction.
- Changing a checked-in GMR. After check-in a GMR can’t be updated or deleted.
- Old GMRs. A GMR expires 28 days after its last update.