On this site you can find test data for various test cases for H7 on the TFE environment.
Note: It is highly recommended that you start the testing process by going through and fulfilling the
Basic test cases as they are created as a guide and to check that everything is working as intended.
These test cases are for testing basic functionality of the H7 as well as its supporting functions,
such as correction/amendment, invalidation, etc.
Each test scenario comes with a collection of test files needed to fulfill each test scenario as well as a guide
document on what to expect and which notifications the test scenarios should generate.
Be aware that these test cases are not necessarily filled with realistic data and are only used for the purpose of
making sure that the basic functionality is working as intended and that you are aware of which notifications are sent
for each scenario.
Submit H7
Test case for submitting an H7 declaration. It includes submitting a standard (IMA) and a pre-lodged(IMD) declaration as well as submitting an H7 declaration which is rejected.
Correction of pre-lodged H7
Test case for correcting a pre-lodged H7 declaration. It includes submitting a pre-lodged H7 declaration (IMD), sending a correction request and receiving the correct notifications.
There will also be scenarios to test that errors are caught.
Amendment of a standard H7
Test case for amending (correcting) a standard H7 declaration. It includes submitting a standard H7 declaration (IMA), sending an amendment request and receiving the correct notifications.
There will also be scenarios to test that errors are caught.
Invalidation of a standard H7
Test case for invalidating a standard H7 declaration. It includes submitting a standard H7 declaration (IMA), sending an invalidation request and receiving the correct notifications.
There will also be scenarios to test that errors are caught.
Invalidation and repayment of a standard H7
Test case for invalidating with repayment a standard H7 declaration. It includes submitting a standard H7 declaration (IMA), sending an invalidation and repayment request and receiving the correct notifications.
There will also be scenarios to test that errors are caught.
Submit I2
Test case for presenting goods via I2 for a pre-lodged H7 declaration. It includes submitting a pre-lodged H7 declaration (IMD), sending an I2 - Good presentation declaration and receiving the correct notifications.
There will also be scenarios to test that errors are caught.
The following XML examples are intended to show how to fill an H7 XML file in different scenarios, such as multiple
goods items, different currencies, etc.
Each file is accompanied by a short description as well as the expected notifications that should be received.
Standard (IMA) C07 with automatic release
A standard H7 declaration with C07 procedure (Consignments of low value) and automatic release of goods.
CWMACC
CWMTAX
CWMCLE
Standard (IMA) C07 with manual release
A standard H7 declaration with C07 procedure (Consignments of low value) and manual release.
CWMACC
CWMTAX
After manual handling:
CWMCLE
The Importer is not registered for deferred payment (has pligtkode 079) and the declaration is selected for
manual handling by a Customs Officer.
Standard (IMA) C07 with automatic release and direct representation
A standard H7 declaration with C07 procedure (Consignments of low value), automatic release and direct representation.
CWMACC
CWMTAX
CWMCLE
The Agent-field is filled out with FunctionCode = 2, which means direct representation.
Standard (IMA) C07 with automatic release and IOSS
A standard H7 declaration with C07 and F48 procedure (Consignments of low value), automatic release and IOSS.
CWMACC
CWMCLE
The DomesticDutyTaxParty-field is filled out with RoleCode = FR5 and an extra GovernmentProcedure is declared (F48), meaning that the declaration makes use of the IOSS scheme.
When a declaration contains an IOSS-number no VAT will be calculated, and therefore no CWMTAX-notification will be sent.
Standard (IMA) C07 with automatic release, 3 different items with different currencies
A standard H7 declaration with C07 (Consignments of low value) and automatic release.
There are 3 different goods items declared, all declared with different currencies as well.
CWMACC
CWMTAX
CWMCLE
It is possible to declared different goods items with different currencies. In the CWMTAX-notification they will
all be calculated and stated in DKK.
Pre-lodged (IMD) C07 with automatic release
A pre-lodged H7 declaration with C07 procedure (Consignments of low value) and automatic release of goods.
CWMTAX
CWMRCV
When sending a pre-lodged declaration there will be a pre-calculation of VAT sent in the CWMTAX-notification.
When the goods have been presented, a final VAT calculation will be done and the remaining notifications will be
sent (see the notications for an IMA).
Standard (IMA) C08 with VAT and automatic release
A standard H7 declaration with C08 procedure (Consignments sent from one private individual to another), imposed VAT and automatic release of goods.
CWMACC
CWMTAX
CWMCLE
The declaration contains goods items mentioned in Article 27 of Regulation (EC) No 1186/2009
(tobacco, alcohol and toilet water) and is therefore not relieved from VAT.
Notice that that the GoodsMeasure-field also has the TariffQuantity-field filled when declaring this kind of
goods item.
Standard (IMA) C08 with VAT and manual release
A standard H7 declaration with C08 procedure (Consignments sent from one private individual to another), imposed VAT and manual release of goods.
CWMACC
CWMTAX
After manual handling:
CWMCLE
The declaration contains goods items mentioned in Article 27 of Regulation (EC) No 1186/2009
(tobacco, alcohol and toilet water) and is therefore not relieved from VAT.
Notice that that the GoodsMeasure-field also has the TariffQuantity-field filled when declaring this kind of
goods item.
The Importer is not registered for deferred payment (has pligtkode 079), as they are a private person, and the declaration is selected for
manual handling by a Customs Officer.
Standard (IMA) C08 with no VAT and automatic release
A standard H7 declaration with C08 procedure (Consignments sent from one private individual to another), no VAT and automatic release of goods.
CWMACC
CWMCLE
Since the declaration does not contains goods items mentioned in Article 27 of Regulation (EC) No 1186/2009
(tobacco, alcohol and toilet water) it is relieved from Import VAT. Therefore there is no CWMTAX-notification.
Pre-lodged (IMA) C08 with no VAT and automatic release
A pre-lodged H7 declaration with C08 procedure (Consignments sent from one private individual to another), no VAT and automatic release of goods.
CWMRCV
Since the declaration does not contains goods items mentioned in Article 27 of Regulation (EC) No 1186/2009
(tobacco, alcohol and toilet water) it is relieved from Import VAT. Therefore there is no CWMTAX-notification.
When the goods have been presented, the remaining notifications will be
sent (see the notications for an IMA with no VAT).
This section contains XML examples with more business relevant scenarios. The examples all contain different scenarios
for actors, procedures and schemes.
The examples are split into 3 categories dependent on their use case: B2B (Business-to-Business), B2P (Business-to-Private) and
P2P (Private-to-Private).