> 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
