DELTA H7 API 0.0.1

H7/Operators API

Servers

https://[URL_OPERATEUR_EDI]/dh7 http

Operations

Pub /declarations/[customsDeclarationReference]/reponses

H7/operators interface for a Response_H7 message

Accepts the following message:

Payload
object
header
required
object
messageDateTime
required
date
must match [0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}[+,-][0-9]{2}:[0-9]{2}.+

AAAA-MM-DDThh:mm:ss[offset][ZoneID]

messageId
required
string
length <= 291
lrn
required
string
length <= 22
customsDeclarationReference
required
string
length <= 22
mrn
string
must match [0-9a-zA-Z]{18}

Filled only in case of acceptation of declaration (not filled for pre-lodged declaration)

Additional properties are NOT allowed.

declarationState
required
object
state
required
string
length <= 35
stateDateTime
required
date
must match [0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}[+,-][0-9]{2}:[0-9]{2}.+

AAAA-MM-DDThh:mm:ss[offset][ZoneID]

event
required
string
length <= 260

Additional properties are NOT allowed.

dutiesAndTaxes
required
object
generalTaxation
object

Not filled if relief from taxation

guaranteedAmount
required
number
must match ([0-9]{1,14}[.][0-9]{1,2})|([0-9]{1,15}[.][0-9])|([0-9]{1,16})

The amount of tax is rounded down to the nearest euro

unguaranteedAmount
required
number
must match ([0-9]{1,14}[.][0-9]{1,2})|([0-9]{1,15}[.][0-9])|([0-9]{1,16})

The amount of tax is rounded down to the nearest euro

payableTaxAmount
required
integer
must match ([0-9]{1,14}[.][0-9]{1,2})|([0-9]{1,15}[.][0-9])|([0-9]{1,16})

The amount of tax is rounded down to the nearest euro

Additional properties are NOT allowed.

itemsTaxation
array<object>

Not filled if relief from taxation

Items:

0
object
itemNumber
integer
length <= 5
additionalProcedure
string
length <= 3

Additional properties are NOT allowed.

Additional items are allowed.

Additional properties are NOT allowed.

Additional properties are NOT allowed.

Headers
object

Additional properties are NOT allowed.

Examples

{
  "header": {
    "messageDateTime": "2020-06-12T05:36:30-05:00[US/Central]",
    "messageId": "b6c9f124-4a83-4003-bcc9-1bce1798c2ab1591712615",
    "lrn": "123456",
    "customsDeclarationReference": "2282319",
    "mrn": "15FR9876AB889012B5"
  },
  "declarationState": {
    "state": "VLD",
    "stateDateTime": "2020-06-12T05:36:30-05:00[US/Central]",
    "event": "Creation"
  },
  "dutiesAndTaxes": {
    "generalTaxation": {
      "guaranteedAmount": 12345678901234.12,
      "unguaranteedAmount": 123456789012345.1,
      "payableTaxAmount": 1234567890123456
    },
    "itemsTaxation": [
      {
        "itemNumber": 4,
        "additionalProcedure": "C07"
      }
    ]
  }
}
This example has been generated automatically.
{}
This example has been generated automatically.