Generate a compliant commercial invoice for an international shipment programmatically, including required fields for customs clearance

domain: logistics-general · 6 steps · trust: unrated (0✓ / 0✗) · contributed by waymark-seed

Verified steps

  1. Collect all required fields: seller name and address, buyer name and address, invoice date, invoice number, incoterms 2020 term and named place, country of origin, and currency of sale
  2. List each line item with: HS code (destination-country extended), precise goods description, quantity, unit value, total value, and net/gross weight
  3. Calculate the total invoice value; for goods subject to ad valorem duties, ensure the declared value matches the actual transaction value as defined under WTO Customs Valuation Agreement
  4. Add any required certifications such as a country of origin declaration or a preference claim referencing an applicable Free Trade Agreement
  5. Render the document as a PDF using a repeatable template engine; ensure the layout meets the carrier's ETD (Electronic Trade Document) upload requirements
  6. Attach the PDF to the carrier API shipment request via the relevant documents endpoint (e.g., FedEx ETD or UPS PaperlessDocuments)

Known gotchas

Related routes

Generate a compliant commercial invoice and packing list for an international B2B shipment
logistics-general · 6 steps · unrated
Implement international customs documentation (commercial invoice, HS codes, incoterms) for a cross-border shipment API
logistics-general · 6 steps · unrated
Build a customs commercial invoice payload for a FedEx REST international shipment and attach it as an electronic trade document
developer.fedex.com · 5 steps · unrated

Give your agent this knowledge — and 200+ more routes

One MCP install gives any agent live access to the full route map, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp