The customs schema
The file complies with the official XSD schema of French customs described by the DTI+ XML manual version 1.3.9, and is encoded in UTF-8.
It opens with the INSTAT and Envelope elements, whose envelopeId repeats the four-character DEBWEB2 authorisation number.
The elements produced
The filer appears as a PSI or TDP party with an 18-character identifier and a name limited to 14 characters, the declaration carries a six-digit identifier and flow code A for arrivals or D for dispatches.
Items are emitted in the exact element order of the schema, which avoids an import rejection caused by a misplaced element.
Blocking checks
A preflight check blocks generation until the sender is filled in, and nature of transaction, transport mode and procedure codes are validated one by one.
The file reaches level N4 of the internal register, its XML having been validated against the XSD schema by a probe.
Period, channel and screen
The return is monthly, due no later than the tenth business day of the following month according to the catalogue comment.
The file is imported by hand on DEBWEB2, which offers no filing API, and the acknowledgement received by e-mail is then entered in IRPEA.
Generation sits in the Administration exchanges hub and the tax module, and accounting firms have a bulk job for their clients.
Who it is for
The survey concerns companies dispatching or receiving goods with other member states, and IRPEA takes the movements from sales and purchase documents already entered rather than from a separate spreadsheet.
The DEBWEB2 authorisation number is repeated in the envelope of every monthly file, and a missing sender blocks generation instead of producing a file rejected on import.
Accounting firms run the same generation for several clients through the customs bulk job, each client keeping its own authorisation number.