International Commercial Customs Declaration PDF Template — Multi-Engine Code Generator
An international CN23 / commercial customs declaration slip featuring Air Waybill Code-128 barcode, USPPI Exporter and EU EORI Importer blocks, export purpose radio selection, Harmonized System (HS) tariff ledger, AES ITN diversion statement, and declarant signature.
Customize Visually in Studio | Export Full Source Code (22 Libraries) | Open Sample PDF
Generate International Commercial Customs Declaration Programmatically (Code & JSON Schema)
Bind dynamic JSON data and compile this layout into standalone production code for @react-pdf/renderer, pdf-lib, Python ReportLab, PHP Dompdf, C# QuestPDF, and 17 more engines.
React / TypeScript (@react-pdf/renderer) Excerpt
import React from 'react';
import { Document, Page, View, Text, Image, FieldSet, Checkbox, Svg, Rect, Path, StyleSheet, Font } from '@react-pdf/renderer';
// This code is generated using codepdf.dev
Font.registerHyphenationCallback((word) => [word]);
// Document-wide defaults configured in the editor.
export const DOCUMENT_DEFAULTS = {
"fontFamily": "Helvetica",
"fontSize": 12,
"textColor": "#000000",
"locale": "en-US",
"currency": "USD",
"currencyDisplay": "symbol",
"timeZone": "GMT",
"dateFormat": "DD/MM/YYYY",
"timeFormat": "HH:mm",
"showPageNumbers": false,
"pageNumberFormat": "{{page}} / {{total}}",
"pageNumberPosition": "center",
"compress": true
};
// … (1541 more lines in full generated file)
Python (ReportLab) Excerpt
from reportlab.lib.colors import HexColor
from reportlab.pdfgen import canvas
from reportlab.pdfbase import pdfmetrics
# This code is generated using codepdf.dev
class _NumberedCanvas(canvas.Canvas):
_DOC_KEYS = frozenset({
"_page_states", "_page_stamps", "_active_page", "_num_pages",
"AcroForm", "_doc", "_filename", "_destinations", "_outlines",
"_annotationCount", "_extgstate", "_namedCB", "_onPage",
})
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self._page_states = {}
self._page_stamps = {}
self._active_page = 1
self._num_pages = 1
def _save_active_state(self):
self._page_states[self._active_page] = {
# … (700 more lines in full generated file)
Sample Dynamic JSON Payload (sample.json)
{
"declarationForm": "INTERNATIONAL CUSTOMS DECLARATION — FORM CN23 / COMMERCIAL EXPORT SLIP",
"airWaybillNo": "AWB-DHL-4920184750",
"exportDate": "2026-09-13 16:40 UTC",
"exportPurposeCategory": "Commercial Sale",
"incotermsRule": "DAP — Munich, Germany (Incoterms 2020)",
"exporterDetails": "Precision Photonics Corp.\n820 Laser Way, Santa Clara, CA 95054, USA\nUSPPI EIN / EORI: US-94-3381920",
"importerDetails": "Fraunhofer Institut für Lasertechnik\nSteinbachstraße 15, 52074 Aachen, Germany\nEU EORI: DE811294018 · VAT: DE121689410",
"totalCustomsValue": 18650,
"netGrossMass": "14.20 kg Net / 16.85 kg Gross",
"countryOfOrigin": "United States of America (USMCA / US Origin)",
"tariffLineItems": [
{
"hsCode": "9013.20.00",
"description": "Tunable Femtosecond Fiber Seed Laser Module (Non-Dual-Use)",
"qty": "2 Units",
"origin": "US",
"mass": "8.40 kg",
"customsVal": "$14,200.00"
},
// … (20 more lines in full generated file)
Template Specifications
- Category
- Logistics
- Page Size
- A4 (portrait)
- Default Engine
- react-pdf-renderer
- License
- Free / MIT Commercial Code Ownership
Key Features
- Customs declaration letterhead with export date and Code-128 Air Waybill barcode
- Exporter (USPPI EIN) and Importer (EU EORI & VAT) cards plus Currency customs value KPIs
- WCO Harmonized System (HS Code) tariff table with net mass, origin country, and declared values
- Export category radio selection group, EAR99/AES ITN compliance notice, and customs officer signature
International Commercial Customs Declaration Template FAQs
Where can I use the International Commercial Customs Declaration template?
Use it for cross-border air freight, international parcel exports, and commercial shipments requiring CN23/customs clearance documentation for border authorities.
What export compliance fields are built into this declaration?
It includes an Air Waybill barcode, USPPI exporter and EORI importer blocks, Incoterms and customs value KPIs, an HS tariff code table with country of origin, export-purpose radios, and declarant signature.
Why are Harmonized System (HS) codes and Incoterms listed?
Customs brokers use 6-to-10-digit HS tariff codes and Incoterms rules to calculate import duties, verify export controls, and determine who pays customs charges.
Related Logistics PDF Templates
- Standard Straight Bill of Lading (BOL) — Uniform Domestic Straight Bill of Lading with SCAC/PRO Code-128 barcode, DOT HazMat controls, NMFC class table, and CDL sign-off.
- Warehouse Packing & Staging List — WMS fulfillment packing slip with Code-128 scan barcode, bin-location SKU verification table, and QA pack-station checklist.
- Goods Delivery Challan & Proof of Delivery — Electronic Proof of Delivery (ePOD) with QR chain-of-custody link, geofence/cold-chain KPIs, OS&D controls, and receiver signature.
- GS1-128 Shipping Pallet & Carton Routing Label — Scannable GS1-128 logistics pallet routing sheet with terminal banner, handling pills, EDI 856 ASN string, and SSCC-18 barcode stub.
- Return Merchandise Authorization (RMA) Slip — Reverse-logistics RMA authorization form with Code-128 barcode, serial input grid, replacement/refund radio, and in-box tear-off stub.