> For the complete documentation index, see [llms.txt](https://docs.solutioo.de/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.solutioo.de/entwicklerdokumentationen-business-central-dhl-connector/dhl-connector-entwicklerdokumentation/tabellenreferenz/72242967-72242968-customs-data-und-lines.md).

# 72242967/72242968 Customs Data und Lines

## 72242967 SOUDHL Customs Data

### Zweck

CN23-Kopf pro Paket.

### Felder

* `1 Package ID` – BigInteger → Package Header.ID
* `2 Order No` – Code\[20]
* `3 Export Type` – Enum `SOUDHL Export Type`, Default COMMERCIAL\_GOODS
* `4 Export Description` – Text\[80], Pflicht bei OTHER
* `5 Invoice No.` – Text\[35]
* `6 Postal Charges` – Decimal, nichtnegativ
* `7 Currency Code` – Code\[10], Default EUR
* `8 Shipper Customs Ref` – Text\[35], z. B. EORI
* `9 Consignee Customs Ref` – Text\[35]
* `10 Completed` – Boolean, fachliche Bestätigung

Primary Key `(Package ID, Order No)`. Keine Tabellen-Trigger oder Procedures.

## 72242968 SOUDHL Customs Line

### Zweck

Warenpositionen der Zollerklärung, bezogen auf die tatsächlich gepackte Menge.

### Felder

* `1 Package ID` – BigInteger
* `2 Order No` – Code\[20]
* `3 Line No.` – Integer; bei 0 automatisch in 10000er-Schritten
* `4 Item No.` – Code\[20] → Item
* `5 Description` – Text\[100]
* `6 Quantity` – Decimal, nichtnegativ
* `7 Unit Price` – Decimal, Stückpreis
* `8 Unit Weight (kg)` – Decimal, Netto-Kilogramm pro Stück
* `9 HS Code` – Code\[11]
* `10 Country of Origin` – Code\[10] → Country/Region

Primary Key `(Package ID, Order No, Line No.)`. `OnInsert` vergibt die nächste Line No.

## Lifecycle

`SOUDHL Customs Mgt` erzeugt und validiert beide Tabellen. Das Löschen des Package Headers entfernt sie über dessen OnDelete-Trigger.

## Schreibregeln

* nur für zollpflichtige Route anlegen,
* mindestens eine vollständige Line,
* Netto- statt Packgewicht verwenden,
* `Completed` erst nach Validierung setzen,
* HS-Code für API-Nutzung mit mindestens sechs Stellen pflegen.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.solutioo.de/entwicklerdokumentationen-business-central-dhl-connector/dhl-connector-entwicklerdokumentation/tabellenreferenz/72242967-72242968-customs-data-und-lines.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
