EMCS Departure - Documentatie & Download
API Endpoint & JSON functions
|
Endpoint |
| /erpservices/Documents/CreateCmrDocument |
| JSON Element | Type | Spec | Description |
| applicationReferenceId | {string} | {1-255} | Your application reference id. Used to communicate about this specific item. Using unique values within your system is suggested but not required. |
| doNotSaveWhenInvalid | {boolean} | True/false | A boolean indicating whether not save the item when it is invalid for submission. (default = false, so by default invalid data will be saved). When “true,” it is especially recommended to be able to process/display feedback from the link in the ERP package, which is t he reason why the data was not saved. |
| doPrintWhenValid | {boolean} | True/false | A value indicating whether to submit the declaration when it is valid (default = false) |
Stap 1: Voorbereiden


| Nr | JSON Element | Type |
| 1 | dossierNumber | {string} |
| 2 | emcsDepartureDeclarations . DeclarationData . submissionMessageType | {string} |
| 3 | emcsDepartureDeclarations . DeclarationData . declarationLanguage | {string} |
Stap 2: Algemeen
| Nr | JSON Element | Type |
| 1 | emcsDepartureDeclarations . DeclarationData . originType | string |
| 2 | emcsDepartureDeclarations . DeclarationData . destinationType | string |
| 3 | emcsDepartureDeclarations . DeclarationData . originNumbers | string |
| 4 | emcsDepartureDeclarations . DeclarationData . transportArrangement | string |
| 5 | emcsDepartureDeclarations . DeclarationData . journeyTimeUnit | string |
| 6 | emcsDepartureDeclarations . DeclarationData . journeyTimeAmount | Numeric |
| 7 | emcsDepartureDeclarations . DeclarationData . invoiceNumber | string |
| 8 | emcsDepartureDeclarations . DeclarationData . invoiceDate | Date/time |
| 9 | emcsDepartureDeclarations . DeclarationData . dateOfDispatch | Date/time |
| 10 | emcsDepartureDeclarations . DeclarationData . guarantorType | string |
Stap 3: Afzender


Stap 3: Afzender, Plaats van verzending

| Nr | JSON Element | Type | Type |
| 1 | emcsDepartureDeclarations . PlaceOfDispatchTrader . traderName | string | |
| 2 | emcsDepartureDeclarations . PlaceOfDispatchTrader . streetName | string | |
| 3 | emcsDepartureDeclarations . PlaceOfDispatchTrader . streetNumber | ||
| 4 | emcsDepartureDeclarations . PlaceOfDispatchTrader . postcode | ||
| 5 | emcsDepartureDeclarations . PlaceOfDispatchTrader . city | ||
| 6 | emcsDepartureDeclarations . PlaceOfDispatchTrader . country | ||
| 7 | emcsDepartureDeclarations . PlaceOfDispatchTrader . internalCode | ||
| 8 | emcsDepartureDeclarations . PlaceOfDispatchTrader . referenceOfTaxWarehouse |
Stap 4: Geadresseerde
| Nr | JSON Element | Type |
| 1 |
consigneeTrader. |
string |
| 2 |
consigneeTrader. |
string |
| 3 |
consigneeTrader. |
string |
| 4 |
consigneeTrader. |
string |
| 5 |
consigneeTrader. |
string |
| 6 |
consigneeTrader. |
string |
| 7 |
consigneeTrader. |
string |
Stap 4: Geadresseerde, Plaats van Levering
| Nr | JSON Element consigneeTrader |
Type |
| 1 |
identificationNumber |
string |
| 2 |
traderName |
string |
| 3 |
streetName |
string |
| 4 |
streetNumber |
string |
| 5 |
postcode |
string |
| 6 |
City |
string |
Stap 5: Transport

| Nr | JSON Element | Type |
| 1 |
declarationData. |
string |
| 2 | declarationData.
transportMode. |
string |
| 3 |
declarationData. |
string |
| 4 |
declarationData. |
string |
| 5 |
declarationData. |
string |
| 6 |
DocumentCertificate. |
string |
| 7 |
DocumentCertificate. |
string |
| 8 |
DocumentCertificate. |
string |
| 9 |
DocumentCertificate. |
string |
| 10 |
transportDetails. |
string |
| 11 |
transportDetails. |
string |
| 12 |
transportDetails. |
string |
| 13 |
transportDetails |
string |
Stap 6: Artikelen (1/2)

| Nr | JSON Element | Type |
|
sequenceNumber |
numeric | |
| 1 |
description |
string |
| 2 |
designationOfOrigin |
string |
| 3 |
fiscalMark |
string |
| 4 |
exciseProductCode |
string |
| 5 |
cnCode |
string |
| 6 |
maturationPeriodOrAgeOfProduct |
string |
Stap 6: Artikelen (2/2)

| Nr | JSON Element |
| 1 |
kindOfPackages |
| 2 |
numberOfPackages |
| 3 |
shippingMarks |
| 4 |
commercialSealIdentification |
| 5 |
sealInformation |
| 6 |
wineGrowingZoneCode |
| 7 |
maturationPeriodOrAgeOfProduct |
| 8 |
thirdCountryOfOrigin |
| 9 |
otherInformation |
| 10 |
wineOperationCode |


