Triplicate – export documents

Export invoices, packing list, SI, PO from order data; HS codes; port codes; CBM; Incoterms prices.

Sollte ich dies verwenden

Qualität und Sicherheit

A
Qualität der Beschreibung
97%
Vollständigkeit des Schemas
94%
Qualität der Benennung
94%
Risiko der Vergiftung
100%
Übereinstimmung der Berechtigungen
100%
Einhaltung des Protokolls
100%

Befunde (1)

  • LOWTool 'calculate_shipment' description lacks action verbin calculate_shipment

Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.

Kontextkosten

~11,480Tokens (Tool-Definitionen)
~12.0 KBTypische Antwortgröße
Erhebliche Auswirkung auf die Aufmerksamkeit (8.97% von 128k Kontext)

Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.

Installieren

Installation mit einem Klick

Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:

{
  "mcpServers": {
    "triplicate": {
      "url": "https://api.triplicatedocs.com/mcp"
    }
  }
}

Remote-Endpunkte

https://api.triplicatedocs.com/mcpstreamable-http

Was es kann

Tool-Inventar

Tools (10)

🟢 Nur lesen🟡 Schreiben🔴 Löschen⚪ Unbekannt
🟢create_trade_documents(language, imperial_units, hs_totals, destination_country, open_form, ...)

Use when a user has order data (seller, buyer and items; prices, cartons and weights if known) and wants a proforma invoice, commercial invoice, packing list or shipping instruction; open_document also opens a purchase order, sales contract or certificate of origin, and open_form one of the extra forms. Create a matching proforma invoice, commercial invoice, packing list and shipping instruction from one set of order data. Returns a link to Triplicate's free generator with everything filled in (the user reviews it and saves the PDF), plus totals (amount, cartons, net/gross weight, CBM) and checks (missing fields, HS code format, Incoterms freight/insurance consistency). Nothing is stored.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "language": {
      "type": "string",
      "enum": [
        "en",
        "zh",
        "ar",
        "fr",
        "es",
        "pt",
        "ru",
        "tr",
        "hi",
        "ur",
        "bn",
        "id",
        "vi",
        "ja",
        "ko"
      ],
      "description": "Language of the generator page the link opens (documents are in English)",
      "default": "en"
    },
    "imperial_units": {
      "type": "boolean",
      "description": "Also show weights in pounds and volume in cubic feet on the packing list and shipping instruction (for US buyers)",
      "default": false
    },
    "hs_totals": {
      "type": "boolean",
      "description": "Also print totals by HS code (quantity, value, cartons, weights) on the invoice and packing list, for the customs broker's entry lines",
      "default": false
    },
    "destination_country": {
      "type": "string",
      "description": "ISO 3166-1 alpha-2 code of the importing country (optional; otherwise taken from the port of discharge): adds that country's invoice rules to the checks"
    },
    "open_form": {
      "type": "string",
      "enum": [
        "vgm_declaration",
        "isf_data",
        "usmca_certification",
        "packing_declaration_australia",
        "bill_of_exchange",
        "beneficiary_certificate",
        "credit_note",
        "shipping_advice",
        "return_invoice"
      ],
      "description": "Also open one of the generator's extra forms with this data: VGM declaration (SOLAS, needs shipment.containers), ISF (10+2) data for a US buyer, USMCA/CUSMA certification of origin, packing declaration for sea containers to Australia, draft (bill of exchange), beneficiary's certificate, credit/debit note, shipping advice e-mail, or a return/repair invoice made from this invoice (the original invoice number, date and waybill as reference; the buyer as shipper when goods come back). Each has 3 free uses (the shipping advice has no limit)."
    },
    "open_document": {
      "type": "string",
      "enum": [
        "pi",
        "ci",
        "pl",
        "si",
        "po",
        "sc",
        "co"
      ],
      "description": "pi proforma invoice, ci commercial invoice, pl packing list, si shipping instruction, sc sales contract (seller and buyer sign; the remarks become its other terms), co certificate of origin (non-preferential: the exporter's declaration, with space for a chamber of commerce to certify it), po purchase order (the buyer's order to the supplier: buyer = issuer, seller = supplier)",
      "default": "ci"
    },
    "document": {
      "type": "object",
      "properties": {
        "number": {
          "type": "string",
          "description": "Invoice number"
        },
        "date": {
          "type": "string",
          "description": "YYYY-MM-DD"
        },
        "po": {
          "type": "string",
          "description": "Buyer's PO / contract number"
        },
        "valid_days": {
          "type": "number",
          "description": "Proforma validity in days"
        }
      }
    },
    "seller": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "address": {
          "type": "string",
          "description": "Full address, lines separated by \\n"
        },
        "tel": {
          "type": "string"
        },
        "email": {
          "type": "string"
        },
        "tax_id": {
          "type": "string",
          "description": "Tax / VAT / business registration number"
        }
      },
      "required": [
        "name"
      ],
      "description": "Seller / shipper / exporter"
    },
    "buyer": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "address": {
          "type": "string",
          "description": "Full address, lines separated by \\n"
        },
        "tel": {
          "type": "string"
        },
        "email": {
          "type": "string"
        },
        "tax_id": {
          "type": "string",
          "description": "Tax / VAT / business registration number"
        }
      },
      "required": [
        "name"
      ],
      "description": "Buyer / consignee / importer"
    },
    "manufacturer": {
      "type": "object",
      "description": "Who made the goods, printed on the commercial invoice with its MID code (US shipments: carriers and CBP ask for it; textile and apparel entries must show it). The generator suggests the MID from 19 CFR Part 102 if mid is empty",
      "properties": {
        "same_as_seller": {
          "type": "boolean"
        },
        "name": {
          "type": "string"
        },
        "street": {
          "type": "string",
          "description": "Street address line with the building number"
        },
        "city": {
          "type": "string"
        },
        "country_code": {
          "type": "string",
          "description": "ISO 3166-1 alpha-2"
        },
        "province": {
          "type": "string",
          "description": "Canada only, e.g. ON"
        },
        "mid": {
          "type": "string"
        }
      }
    },
    "sold_to": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "address": {
          "type": "string",
          "description": "Full address, lines separated by \\n"
        },
        "tel": {
          "type": "string"
        },
        "email": {
          "type": "string"
        },
        "tax_id": {
          "type": "string",
          "description": "Tax / VAT / business registration number"
        }
      },
      "required": [
        "name"
      ],
      "description": "Only if the buyer (sold to) is a different company from the consignee in 'buyer', e.g. a trading company buying for a factory: printed as BUYER (SOLD TO) on the invoice, the buyer on the proforma and sales contract"
    },
    "notify": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "address": {
          "type": "string"
        }
      },
      "description": "Notify party, if different from the buyer"
    },
    "terms": {
      "type": "object",
      "properties": {
        "incoterm": {
          "type": "string",
          "enum": [
            "EXW",
            "FCA",
            "FAS",
            "FOB",
            "CFR",
            "CIF",
            "CPT",
            "CIP",
            "DAP",
            "DPU",
            "DDP"
          ]
        },
        "place": {
          "type": "string",
          "description": "Named place, e.g. 'Busan' for FOB Busan"
        },
        "payment": {
          "type": "string",
          "description": "e.g. 'T/T 30% deposit, 70% before shipment'"
        },
        "currency": {
          "type": "string",
          "enum": [
            "USD",
            "EUR",
            "GBP",
            "JPY",
            "CNY",
            "KRW",
            "VND",
            "AUD",
            "CAD",
            "CHF",
            "HKD",
            "SGD",
            "INR",
            "PKR",
            "BDT",
            "IDR",
            "THB",
            "MYR",
            "PHP",
            "AED",
            "SAR",
            "TRY",
            "BRL",
            "MXN",
            "ZAR",
            "NGN",
            "KES",
            "EGP"
          ]
        }
      }
    },
    "shipment": {
      "type": "object",
      "properties": {
        "port_of_loading": {
          "type": "string"
        },
        "port_of_discharge": {
          "type": "string"
        },
        "vessel_or_flight": {
          "type": "string"
        },
        "etd": {
          "type": "string",
          "description": "YYYY-MM-DD"
        },
        "country_of_origin": {
          "type": "string"
        },
        "reason_for_export": {
          "type": "string",
          "enum": [
            "sale",
            "sample",
            "gift",
            "repair_and_return",
            "returned_goods",
            "temporary_export"
          ],
          "description": "Printed on courier invoices (box 10)"
        },
        "waybill_number": {
          "type": "string",
          "description": "Air waybill or courier tracking number, printed in box 6"
        },
        "export_declaration_number": {
          "type": "string",
          "description": "Export declaration, shipping bill or AES ITN number, printed in the remarks box"
        },
        "original_invoice_number": {
          "type": "string",
          "description": "Goods going back (reason_for_export repair_and_return, returned_goods or temporary_export): the original shipment's invoice number, printed as ORIGINAL SHIPMENT"
        },
        "original_invoice_date": {
          "type": "string",
          "description": "YYYY-MM-DD"
        },
        "original_waybill_number": {
          "type": "string",
          "description": "The original shipment's AWB or B/L number"
        },
        "containers": {
          "type": "array",
          "maxItems": 40,
          "description": "Sea containers (FCL): printed as CONTAINER / SEAL NO. on the invoice, packing list and shipping instruction; the numbers are checked against their ISO 6346 check digit. In the generator, More > VGM declaration (3 free uses) makes the SOLAS VGM form from them",
          "items": {
            "type": "object",
            "properties": {
              "number": {
                "type": "string",
                "description": "e.g. MSKU1234565"
              },
              "seal": {
                "type": "string"
              },
              "size_type": {
                "type": "string",
                "description": "e.g. 20GP, 40HC, 45G1"
              },
              "tare_kg": {
                "type": "number"
              },
              "carton_numbers": {
                "type": "string",
                "description": "Cartons in this container, e.g. '1-500': the packing list then shows each container's cartons, weights and CBM"
              }
            }
          }
        },
        "duties_paid_by": {
          "type": "string",
          "enum": [
            "receiver",
            "sender",
            "third_party"
          ],
          "description": "Courier invoices: who pays the import duties and taxes (DDP: sender)"
        },
        "pallets": {
          "type": "object",
          "description": "If the cartons are palletized: the documents then show e.g. 4 PLTS (101 CTNS), gross weight with the empty pallets and the loaded pallets' volume",
          "properties": {
            "count": {
              "type": "number"
            },
            "length_cm": {
              "type": "number"
            },
            "width_cm": {
              "type": "number"
            },
            "height_cm": {
              "type": "number",
              "description": "Loaded height"
            },
            "empty_pallet_weight_kg": {
              "type": "number"
            }
          }
        }
      }
    },
    "charges": {
      "type": "object",
      "properties": {
        "freight": {
          "type": "number"
        },
        "insurance": {
          "type": "number"
        },
        "discount": {
          "type": "number"
        }
      }
    },
    "items": {
      "type": "array",
      "maxItems": 100,
      "items": {
        "type": "object",
        "properties": {
          "description": {
            "type": "string"
          },
          "hs_code": {
            "type": "string"
          },
          "quantity": {
            "type": "number"
          },
          "unit": {
            "type": "string",
            "enum": [
              "PCS",
              "SETS",
              "BOXES",
              "PAIRS",
              "DOZ",
              "KG",
              "MT",
              "M",
              "SQM",
              "CBM",
              "L",
              "ROLLS",
              "BAGS"
            ]
          },
          "unit_price": {
            "type": "number"
          },
          "pieces_per_carton": {
            "type": "number"
          },
          "net_weight_per_carton_kg": {
            "type": "number"
          },
          "gross_weight_per_carton_kg": {
            "type": "number"
          },
          "carton_length_cm": {
            "type": "number"
          },
          "carton_width_cm": {
            "type": "number"
          },
          "carton_height_cm": {
            "type": "number"
          },
          "country_of_origin": {
            "type": "string",
            "description": "Only if this item's origin differs from shipment.country_of_origin; the documents then show the origin per item"
          },
          "free_of_charge": {
            "type": "boolean",
            "description": "Sent free (samples, gifts): the value stays on the documents for customs and is taken off the amount payable"
          },
          "not_originating": {
            "type": "boolean",
            "description": "With origin_statement: this item does not qualify and is marked as not covered by the statement"
          },
          "sku": {
            "type": "string",
            "description": "Seller's product code, printed under the description (EU import declarations for distance sales need it from 1 November 2026)"
          },
          "manufacturer_product_code": {
            "type": "string",
            "description": "Manufacturer's own product code (part number)"
          },
          "gtin": {
            "type": "string",
            "description": "GTIN / EAN / UPC barcode number, if the product has one"
          },
          "section_232_metal_origin": {
            "type": "string",
            "description": "US shipments of steel or aluminium articles: the countries where the steel was melted and poured or the aluminium smelted and cast, e.g. 'STEEL MELT AND POUR: KR'; printed under the description"
          },
          "packed_with_previous": {
            "type": "boolean",
            "description": "Assorted cartons: packed in the same cartons as the item before it, whose carton weights include this item; leave its carton fields empty"
          }
        },
        "required": [
          "description",
          "quantity"
        ]
      }
    },
    "shipping_marks": {
      "type": "string",
      "description": "Optional; generated from buyer, destination and carton count if empty"
    },
    "remarks": {
      "type": "string",
      "description": "Optional remarks printed on the documents, e.g. 'SAMPLES OF NO COMMERCIAL VALUE, NOT FOR RESALE. VALUE FOR CUSTOMS PURPOSES ONLY.'"
    },
    "bank": {
      "type": "object",
      "properties": {
        "bank_name": {
          "type": "string"
        },
        "swift": {
          "type": "string"
        },
        "account": {
          "type": "string"
        },
        "beneficiary": {
          "type": "string"
        },
        "bank_address": {
          "type": "string"
        }
      }
    },
    "signer": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "title": {
          "type": "string"
        }
      }
    },
    "letter_of_credit": {
      "type": "object",
      "description": "Terms of the letter of credit (from MT700: 20, 31C, 32B, 39A, 44C, 31D, 48, 43P, 45A); the generator checks the documents against them (not among the free features)",
      "properties": {
        "number": {
          "type": "string"
        },
        "issue_date": {
          "type": "string",
          "description": "YYYY-MM-DD"
        },
        "amount": {
          "type": "number"
        },
        "tolerance_percent": {
          "type": "number"
        },
        "latest_shipment_date": {
          "type": "string",
          "description": "YYYY-MM-DD"
        },
        "expiry_date": {
          "type": "string",
          "description": "YYYY-MM-DD"
        },
        "presentation_days": {
          "type": "number"
        },
        "partial_shipments": {
          "type": "string",
          "enum": [
            "allowed",
            "not_allowed"
          ]
        },
        "goods_description": {
          "type": "string"
        },
        "show_on_documents": {
          "type": "boolean",
          "description": "Print the L/C number and date on the documents"
        }
      },
      "required": [
        "number"
      ]
    },
    "origin_statement": {
      "type": "object",
      "description": "Preferential origin statement printed on the commercial invoice in the agreement's exact wording (3 free uses). Only for goods that meet the agreement's rules of origin.",
      "properties": {
        "agreement": {
          "type": "string",
          "enum": [
            "eu_korea",
            "uk_korea",
            "eu_vietnam",
            "eu_singapore",
            "eu_japan",
            "uk_japan",
            "eu_uk",
            "eu_canada",
            "korea_efta",
            "eu_gsp",
            "uk_dcts"
          ]
        },
        "number": {
          "type": "string",
          "description": "Approved exporter's authorisation number (EU-Korea, UK-Korea, EU-Vietnam; may be empty up to EUR 6,000 per consignment), REX number (EU GSP, EU-Canada, EU-Singapore; EU exporters), UEN (Singapore exporters, EU-Singapore), Exporter Reference No. (EU-Japan, UK-Japan, EU-UK: REX or GB EORI), Business Number (Canadian exporters) or customs identification number (UK DCTS)"
        },
        "origin": {
          "type": "string",
          "description": "Origin as written in the statement, e.g. Korea, EU, Japan, European Union"
        },
        "place": {
          "type": "string",
          "description": "Place printed with the date, e.g. Seoul (default: the port of loading's city)"
        },
        "period_from": {
          "type": "string",
          "description": "YYYY-MM-DD; EU-Japan, UK-Japan, EU-UK, CETA: one statement for several shipments of identical products (12 months at most)"
        },
        "period_to": {
          "type": "string",
          "description": "YYYY-MM-DD"
        },
        "origin_criterion": {
          "type": "string",
          "description": "EU-Japan and UK-Japan: A, B, C1-C4, D or E. EU GSP and UK DCTS: P, or W followed by the HS heading (e.g. W 9618). Not used by the other agreements"
        }
      },
      "required": [
        "agreement"
      ]
    }
  },
  "required": [
    "seller",
    "buyer",
    "items"
  ]
}
🟢lookup_hs_code(query, limit)

Use when a user asks which HS code a product falls under or what a code means. Search the HS 2022 nomenclature (6-digit international level) by English product description or by code prefix. Returns candidate codes with chapter and heading text. Codes are suggestions to confirm in the destination country's tariff, not rulings.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "description": "English description (e.g. 'face cream', 'cotton t-shirts') or a code prefix (e.g. '3304')"
    },
    "limit": {
      "type": "number",
      "default": 8
    }
  },
  "required": [
    "query"
  ]
}
🟢calculate_shipment(cartons)

Use when a user has carton sizes and quantities and asks for the CBM, the chargeable weight, LCL revenue tons or whether the volume fits a 20ft, 40ft or 40ft high cube container. From carton sizes, quantities and gross weights: total CBM, gross weight, air and express volumetric and chargeable weight, LCL revenue tons and which standard containers the volume fits.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "cartons": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "length_cm": {
            "type": "number"
          },
          "width_cm": {
            "type": "number"
          },
          "height_cm": {
            "type": "number"
          },
          "quantity": {
            "type": "number"
          },
          "gross_weight_kg": {
            "type": "number",
            "description": "Gross weight of ONE carton"
          }
        },
        "required": [
          "length_cm",
          "width_cm",
          "height_cm",
          "quantity"
        ]
      }
    }
  },
  "required": [
    "cartons"
  ]
}
🟢calculate_export_price(quantity, unit_cost, markup_percent, currency, mode, ...)

Use when a user has a unit cost and wants the price to quote under EXW, FCA, FOB, CFR, CIF, DAP, DPU or DDP. Build an export quotation price from unit cost, markup and shipment costs: totals and per-unit prices under EXW, FCA, FOB/FCA terminal, CFR/CPT, CIF/CIP, DAP, DPU and DDP, with the insurance premium (110% basis), import duty and VAT, and for each rule a link that opens Triplicate's generator with a proforma invoice at that price.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "quantity": {
      "type": "number",
      "description": "Units in the shipment"
    },
    "unit_cost": {
      "type": "number",
      "description": "Seller's cost per unit (product cost)"
    },
    "markup_percent": {
      "type": "number",
      "description": "Markup on cost, e.g. 25 for +25%",
      "default": 0
    },
    "currency": {
      "type": "string",
      "enum": [
        "USD",
        "EUR",
        "GBP",
        "JPY",
        "CNY",
        "KRW",
        "VND",
        "AUD",
        "CAD",
        "CHF",
        "HKD",
        "SGD",
        "INR",
        "PKR",
        "BDT",
        "IDR",
        "THB",
        "MYR",
        "PHP",
        "AED",
        "SAR",
        "TRY",
        "BRL",
        "MXN",
        "ZAR",
        "NGN",
        "KES",
        "EGP"
      ],
      "default": "USD"
    },
    "mode": {
      "type": "string",
      "enum": [
        "sea",
        "any"
      ],
      "description": "sea: FOB/CFR/CIF (loaded on board at a port); any: containers handed over at a terminal, air or road: FCA/CPT/CIP",
      "default": "sea"
    },
    "costs": {
      "type": "object",
      "description": "Shipment totals in the same currency (omit what does not apply)",
      "properties": {
        "packing_loading": {
          "type": "number",
          "description": "Export packing and loading at the seller's premises"
        },
        "export_clearance": {
          "type": "number",
          "description": "Export customs clearance and documents"
        },
        "inland_to_port": {
          "type": "number",
          "description": "Transport to the port, airport or terminal"
        },
        "origin_terminal": {
          "type": "number",
          "description": "Terminal handling and loading at origin"
        },
        "main_freight": {
          "type": "number",
          "description": "Sea or air freight to the destination port/airport"
        },
        "insurance_rate_percent": {
          "type": "number",
          "description": "Cargo insurance rate in %; premium = rate x 110% x CIF/CIP value"
        },
        "destination_charges": {
          "type": "number",
          "description": "Destination terminal charges and delivery to the named place"
        },
        "unloading": {
          "type": "number",
          "description": "Unloading at the destination (DPU)"
        },
        "import_clearance": {
          "type": "number",
          "description": "Import customs clearance fees (DDP)"
        },
        "import_duty_percent": {
          "type": "number"
        },
        "import_vat_percent": {
          "type": "number",
          "description": "Import VAT/GST %"
        }
      }
    },
    "duty_basis": {
      "type": "string",
      "enum": [
        "cif",
        "fob"
      ],
      "description": "Customs value basis: cif (EU, UK, most countries) or fob (US, Canada, Australia)",
      "default": "cif"
    },
    "include_vat_in_ddp": {
      "type": "boolean",
      "default": false
    },
    "language": {
      "type": "string",
      "enum": [
        "en",
        "zh",
        "ar",
        "fr",
        "es",
        "pt",
        "ru",
        "tr",
        "hi",
        "ur",
        "bn",
        "id",
        "vi",
        "ja",
        "ko"
      ],
      "default": "en",
      "description": "Language of the generator page the proforma links open"
    }
  },
  "required": [
    "quantity",
    "unit_cost"
  ]
}
🟢lookup_port_code(query, country, type, limit)

Use when a user needs the UN/LOCODE of a port, airport or inland depot for a booking, bill of lading or invoice, or wants to check a code they were given. Find the 5-character UN/LOCODE of a seaport, airport or inland container depot by place name (or check a code): returns code, name, country, subdivision, type and Triplicate's country page, for the port of loading or discharge on bookings, bills of lading and invoices. UN/LOCODE 2025-1, 37,000+ places.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "description": "Port, city or airport name in English (e.g. 'Haiphong', 'Jebel Ali', 'Busan'), or a 5-character UN/LOCODE (e.g. 'NLRTM')"
    },
    "country": {
      "type": "string",
      "description": "Optional 2-letter ISO country code to search in, e.g. 'VN'"
    },
    "type": {
      "type": "string",
      "enum": [
        "port",
        "airport",
        "inland_depot"
      ],
      "description": "Optional: only seaports, airports or inland container depots"
    },
    "limit": {
      "type": "number",
      "default": 8
    }
  },
  "required": [
    "query"
  ]
}
🟢check_container_number(number)

Use when a user gives a container number, or a bill of lading or booking number, and wants to know whether it is valid and where to track it. Check a shipping container number (ISO 6346 check digit), find who owns its prefix (shipping line or container leasing company, e.g. MSCU = MSC, TGHU = Textainer) and get the line's official tracking page. Bill of lading numbers are recognised by the carrier's SCAC prefix (e.g. MEDU, HLCU, COSU). Does not return live status: the line's own site shows it.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "number": {
      "type": "string",
      "description": "Container number, e.g. 'MSCU1234566' (4 letters + 7 digits), or a bill of lading / booking number, e.g. 'MEDUAB123456'"
    }
  },
  "required": [
    "number"
  ]
}
🟢search_trade_guides(query, language, limit)

Use when a user asks an export or import rules question (documents, registration, labelling, duties, origin, Incoterms, letters of credit) and wants a source to read; the user confirms the rule with the authority or a customs broker. Search Triplicate's practical trade guides (over 250 notes in 15 languages, checked against official sources: export guides for about 50 countries, import registration, labelling and product certification by country, cosmetics and food rules, US tariffs and refunds, EORI, rules of origin and certificates of origin, HS classification, Incoterms, letters of credit, bills of lading, dangerous goods, invoices and packing lists) and tool guides. Returns titles, page links and excerpts to cite.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "description": "Question or topic in any of the 15 site languages, e.g. 'EORI number for UK imports', 'sheet mask HS code', 'CIF insurance 110%'"
    },
    "language": {
      "type": "string",
      "enum": [
        "en",
        "zh",
        "ar",
        "fr",
        "es",
        "pt",
        "ru",
        "tr",
        "hi",
        "ur",
        "bn",
        "id",
        "vi",
        "ja",
        "ko"
      ],
      "description": "Optional: language of the guides to search (detected from the query otherwise)"
    },
    "limit": {
      "type": "number",
      "default": 5
    }
  },
  "required": [
    "query"
  ]
}
🟢prepare_shipment(language, imperial_units, hs_totals, destination_country, open_form, ...)

Use instead of create_trade_documents when the destination country is known and the user also wants that country's guides and a landed cost link. One call for an export order: the same order data as create_trade_documents plus the destination country (ISO code). Returns the link to the filled-in documents with totals and checks, Triplicate's guides for that destination and the products' HS chapters (country guide, labelling and import rules), a link to the landed cost calculator preset to the market, goods value and quantity, and HS lookups for items without a code. Nothing is stored.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "language": {
      "type": "string",
      "enum": [
        "en",
        "zh",
        "ar",
        "fr",
        "es",
        "pt",
        "ru",
        "tr",
        "hi",
        "ur",
        "bn",
        "id",
        "vi",
        "ja",
        "ko"
      ],
      "description": "Language of the generator page the link opens (documents are in English)",
      "default": "en"
    },
    "imperial_units": {
      "type": "boolean",
      "description": "Also show weights in pounds and volume in cubic feet on the packing list and shipping instruction (for US buyers)",
      "default": false
    },
    "hs_totals": {
      "type": "boolean",
      "description": "Also print totals by HS code (quantity, value, cartons, weights) on the invoice and packing list, for the customs broker's entry lines",
      "default": false
    },
    "destination_country": {
      "type": "string",
      "description": "ISO 3166-1 alpha-2 code of the importing country, e.g. SE, US, VN; picks the guides and presets the landed cost calculator"
    },
    "open_form": {
      "type": "string",
      "enum": [
        "vgm_declaration",
        "isf_data",
        "usmca_certification",
        "packing_declaration_australia",
        "bill_of_exchange",
        "beneficiary_certificate",
        "credit_note",
        "shipping_advice",
        "return_invoice"
      ],
      "description": "Also open one of the generator's extra forms with this data: VGM declaration (SOLAS, needs shipment.containers), ISF (10+2) data for a US buyer, USMCA/CUSMA certification of origin, packing declaration for sea containers to Australia, draft (bill of exchange), beneficiary's certificate, credit/debit note, shipping advice e-mail, or a return/repair invoice made from this invoice (the original invoice number, date and waybill as reference; the buyer as shipper when goods come back). Each has 3 free uses (the shipping advice has no limit)."
    },
    "open_document": {
      "type": "string",
      "enum": [
        "pi",
        "ci",
        "pl",
        "si",
        "po",
        "sc",
        "co"
      ],
      "description": "pi proforma invoice, ci commercial invoice, pl packing list, si shipping instruction, sc sales contract (seller and buyer sign; the remarks become its other terms), co certificate of origin (non-preferential: the exporter's declaration, with space for a chamber of commerce to certify it), po purchase order (the buyer's order to the supplier: buyer = issuer, seller = supplier)",
      "default": "ci"
    },
    "document": {
      "type": "object",
      "properties": {
        "number": {
          "type": "string",
          "description": "Invoice number"
        },
        "date": {
          "type": "string",
          "description": "YYYY-MM-DD"
        },
        "po": {
          "type": "string",
          "description": "Buyer's PO / contract number"
        },
        "valid_days": {
          "type": "number",
          "description": "Proforma validity in days"
        }
      }
    },
    "seller": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "address": {
          "type": "string",
          "description": "Full address, lines separated by \\n"
        },
        "tel": {
          "type": "string"
        },
        "email": {
          "type": "string"
        },
        "tax_id": {
          "type": "string",
          "description": "Tax / VAT / business registration number"
        }
      },
      "required": [
        "name"
      ],
      "description": "Seller / shipper / exporter"
    },
    "buyer": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "address": {
          "type": "string",
          "description": "Full address, lines separated by \\n"
        },
        "tel": {
          "type": "string"
        },
        "email": {
          "type": "string"
        },
        "tax_id": {
          "type": "string",
          "description": "Tax / VAT / business registration number"
        }
      },
      "required": [
        "name"
      ],
      "description": "Buyer / consignee / importer"
    },
    "manufacturer": {
      "type": "object",
      "description": "Who made the goods, printed on the commercial invoice with its MID code (US shipments: carriers and CBP ask for it; textile and apparel entries must show it). The generator suggests the MID from 19 CFR Part 102 if mid is empty",
      "properties": {
        "same_as_seller": {
          "type": "boolean"
        },
        "name": {
          "type": "string"
        },
        "street": {
          "type": "string",
          "description": "Street address line with the building number"
        },
        "city": {
          "type": "string"
        },
        "country_code": {
          "type": "string",
          "description": "ISO 3166-1 alpha-2"
        },
        "province": {
          "type": "string",
          "description": "Canada only, e.g. ON"
        },
        "mid": {
          "type": "string"
        }
      }
    },
    "sold_to": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "address": {
          "type": "string",
          "description": "Full address, lines separated by \\n"
        },
        "tel": {
          "type": "string"
        },
        "email": {
          "type": "string"
        },
        "tax_id": {
          "type": "string",
          "description": "Tax / VAT / business registration number"
        }
      },
      "required": [
        "name"
      ],
      "description": "Only if the buyer (sold to) is a different company from the consignee in 'buyer', e.g. a trading company buying for a factory: printed as BUYER (SOLD TO) on the invoice, the buyer on the proforma and sales contract"
    },
    "notify": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "address": {
          "type": "string"
        }
      },
      "description": "Notify party, if different from the buyer"
    },
    "terms": {
      "type": "object",
      "properties": {
        "incoterm": {
          "type": "string",
          "enum": [
            "EXW",
            "FCA",
            "FAS",
            "FOB",
            "CFR",
            "CIF",
            "CPT",
            "CIP",
            "DAP",
            "DPU",
            "DDP"
          ]
        },
        "place": {
          "type": "string",
          "description": "Named place, e.g. 'Busan' for FOB Busan"
        },
        "payment": {
          "type": "string",
          "description": "e.g. 'T/T 30% deposit, 70% before shipment'"
        },
        "currency": {
          "type": "string",
          "enum": [
            "USD",
            "EUR",
            "GBP",
            "JPY",
            "CNY",
            "KRW",
            "VND",
            "AUD",
            "CAD",
            "CHF",
            "HKD",
            "SGD",
            "INR",
            "PKR",
            "BDT",
            "IDR",
            "THB",
            "MYR",
            "PHP",
            "AED",
            "SAR",
            "TRY",
            "BRL",
            "MXN",
            "ZAR",
            "NGN",
            "KES",
            "EGP"
          ]
        }
      }
    },
    "shipment": {
      "type": "object",
      "properties": {
        "port_of_loading": {
          "type": "string"
        },
        "port_of_discharge": {
          "type": "string"
        },
        "vessel_or_flight": {
          "type": "string"
        },
        "etd": {
          "type": "string",
          "description": "YYYY-MM-DD"
        },
        "country_of_origin": {
          "type": "string"
        },
        "reason_for_export": {
          "type": "string",
          "enum": [
            "sale",
            "sample",
            "gift",
            "repair_and_return",
            "returned_goods",
            "temporary_export"
          ],
          "description": "Printed on courier invoices (box 10)"
        },
        "waybill_number": {
          "type": "string",
          "description": "Air waybill or courier tracking number, printed in box 6"
        },
        "export_declaration_number": {
          "type": "string",
          "description": "Export declaration, shipping bill or AES ITN number, printed in the remarks box"
        },
        "original_invoice_number": {
          "type": "string",
          "description": "Goods going back (reason_for_export repair_and_return, returned_goods or temporary_export): the original shipment's invoice number, printed as ORIGINAL SHIPMENT"
        },
        "original_invoice_date": {
          "type": "string",
          "description": "YYYY-MM-DD"
        },
        "original_waybill_number": {
          "type": "string",
          "description": "The original shipment's AWB or B/L number"
        },
        "containers": {
          "type": "array",
          "maxItems": 40,
          "description": "Sea containers (FCL): printed as CONTAINER / SEAL NO. on the invoice, packing list and shipping instruction; the numbers are checked against their ISO 6346 check digit. In the generator, More > VGM declaration (3 free uses) makes the SOLAS VGM form from them",
          "items": {
            "type": "object",
            "properties": {
              "number": {
                "type": "string",
                "description": "e.g. MSKU1234565"
              },
              "seal": {
                "type": "string"
              },
              "size_type": {
                "type": "string",
                "description": "e.g. 20GP, 40HC, 45G1"
              },
              "tare_kg": {
                "type": "number"
              },
              "carton_numbers": {
                "type": "string",
                "description": "Cartons in this container, e.g. '1-500': the packing list then shows each container's cartons, weights and CBM"
              }
            }
          }
        },
        "duties_paid_by": {
          "type": "string",
          "enum": [
            "receiver",
            "sender",
            "third_party"
          ],
          "description": "Courier invoices: who pays the import duties and taxes (DDP: sender)"
        },
        "pallets": {
          "type": "object",
          "description": "If the cartons are palletized: the documents then show e.g. 4 PLTS (101 CTNS), gross weight with the empty pallets and the loaded pallets' volume",
          "properties": {
            "count": {
              "type": "number"
            },
            "length_cm": {
              "type": "number"
            },
            "width_cm": {
              "type": "number"
            },
            "height_cm": {
              "type": "number",
              "description": "Loaded height"
            },
            "empty_pallet_weight_kg": {
              "type": "number"
            }
          }
        }
      }
    },
    "charges": {
      "type": "object",
      "properties": {
        "freight": {
          "type": "number"
        },
        "insurance": {
          "type": "number"
        },
        "discount": {
          "type": "number"
        }
      }
    },
    "items": {
      "type": "array",
      "maxItems": 100,
      "items": {
        "type": "object",
        "properties": {
          "description": {
            "type": "string"
          },
          "hs_code": {
            "type": "string"
          },
          "quantity": {
            "type": "number"
          },
          "unit": {
            "type": "string",
            "enum": [
              "PCS",
              "SETS",
              "BOXES",
              "PAIRS",
              "DOZ",
              "KG",
              "MT",
              "M",
              "SQM",
              "CBM",
              "L",
              "ROLLS",
              "BAGS"
            ]
          },
          "unit_price": {
            "type": "number"
          },
          "pieces_per_carton": {
            "type": "number"
          },
          "net_weight_per_carton_kg": {
            "type": "number"
          },
          "gross_weight_per_carton_kg": {
            "type": "number"
          },
          "carton_length_cm": {
            "type": "number"
          },
          "carton_width_cm": {
            "type": "number"
          },
          "carton_height_cm": {
            "type": "number"
          },
          "country_of_origin": {
            "type": "string",
            "description": "Only if this item's origin differs from shipment.country_of_origin; the documents then show the origin per item"
          },
          "free_of_charge": {
            "type": "boolean",
            "description": "Sent free (samples, gifts): the value stays on the documents for customs and is taken off the amount payable"
          },
          "not_originating": {
            "type": "boolean",
            "description": "With origin_statement: this item does not qualify and is marked as not covered by the statement"
          },
          "sku": {
            "type": "string",
            "description": "Seller's product code, printed under the description (EU import declarations for distance sales need it from 1 November 2026)"
          },
          "manufacturer_product_code": {
            "type": "string",
            "description": "Manufacturer's own product code (part number)"
          },
          "gtin": {
            "type": "string",
            "description": "GTIN / EAN / UPC barcode number, if the product has one"
          },
          "section_232_metal_origin": {
            "type": "string",
            "description": "US shipments of steel or aluminium articles: the countries where the steel was melted and poured or the aluminium smelted and cast, e.g. 'STEEL MELT AND POUR: KR'; printed under the description"
          },
          "packed_with_previous": {
            "type": "boolean",
            "description": "Assorted cartons: packed in the same cartons as the item before it, whose carton weights include this item; leave its carton fields empty"
          }
        },
        "required": [
          "description",
          "quantity"
        ]
      }
    },
    "shipping_marks": {
      "type": "string",
      "description": "Optional; generated from buyer, destination and carton count if empty"
    },
    "remarks": {
      "type": "string",
      "description": "Optional remarks printed on the documents, e.g. 'SAMPLES OF NO COMMERCIAL VALUE, NOT FOR RESALE. VALUE FOR CUSTOMS PURPOSES ONLY.'"
    },
    "bank": {
      "type": "object",
      "properties": {
        "bank_name": {
          "type": "string"
        },
        "swift": {
          "type": "string"
        },
        "account": {
          "type": "string"
        },
        "beneficiary": {
          "type": "string"
        },
        "bank_address": {
          "type": "string"
        }
      }
    },
    "signer": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "title": {
          "type": "string"
        }
      }
    },
    "letter_of_credit": {
      "type": "object",
      "description": "Terms of the letter of credit (from MT700: 20, 31C, 32B, 39A, 44C, 31D, 48, 43P, 45A); the generator checks the documents against them (not among the free features)",
      "properties": {
        "number": {
          "type": "string"
        },
        "issue_date": {
          "type": "string",
          "description": "YYYY-MM-DD"
        },
        "amount": {
          "type": "number"
        },
        "tolerance_percent": {
          "type": "number"
        },
        "latest_shipment_date": {
          "type": "string",
          "description": "YYYY-MM-DD"
        },
        "expiry_date": {
          "type": "string",
          "description": "YYYY-MM-DD"
        },
        "presentation_days": {
          "type": "number"
        },
        "partial_shipments": {
          "type": "string",
          "enum": [
            "allowed",
            "not_allowed"
          ]
        },
        "goods_description": {
          "type": "string"
        },
        "show_on_documents": {
          "type": "boolean",
          "description": "Print the L/C number and date on the documents"
        }
      },
      "required": [
        "number"
      ]
    },
    "origin_statement": {
      "type": "object",
      "description": "Preferential origin statement printed on the commercial invoice in the agreement's exact wording (3 free uses). Only for goods that meet the agreement's rules of origin.",
      "properties": {
        "agreement": {
          "type": "string",
          "enum": [
            "eu_korea",
            "uk_korea",
            "eu_vietnam",
            "eu_singapore",
            "eu_japan",
            "uk_japan",
            "eu_uk",
            "eu_canada",
            "korea_efta",
            "eu_gsp",
            "uk_dcts"
          ]
        },
        "number": {
          "type": "string",
          "description": "Approved exporter's authorisation number (EU-Korea, UK-Korea, EU-Vietnam; may be empty up to EUR 6,000 per consignment), REX number (EU GSP, EU-Canada, EU-Singapore; EU exporters), UEN (Singapore exporters, EU-Singapore), Exporter Reference No. (EU-Japan, UK-Japan, EU-UK: REX or GB EORI), Business Number (Canadian exporters) or customs identification number (UK DCTS)"
        },
        "origin": {
          "type": "string",
          "description": "Origin as written in the statement, e.g. Korea, EU, Japan, European Union"
        },
        "place": {
          "type": "string",
          "description": "Place printed with the date, e.g. Seoul (default: the port of loading's city)"
        },
        "period_from": {
          "type": "string",
          "description": "YYYY-MM-DD; EU-Japan, UK-Japan, EU-UK, CETA: one statement for several shipments of identical products (12 months at most)"
        },
        "period_to": {
          "type": "string",
          "description": "YYYY-MM-DD"
        },
        "origin_criterion": {
          "type": "string",
          "description": "EU-Japan and UK-Japan: A, B, C1-C4, D or E. EU GSP and UK DCTS: P, or W followed by the HS heading (e.g. W 9618). Not used by the other agreements"
        }
      },
      "required": [
        "agreement"
      ]
    }
  },
  "required": [
    "seller",
    "buyer",
    "items"
  ]
}
🟢check_transport_document_draft(language, imperial_units, hs_totals, destination_country, open_form, ...)

Use when the user has the text of a B/L or AWB draft from the forwarder or carrier and the order data, before the original is issued. Compare the text of a bill of lading or air waybill draft from the forwarder or carrier with the order data (same fields as create_trade_documents): shipper, consignee (to-order drafts noted), notify party, ports, vessel and voyage, number of packages, gross weight, measurement (CBM), freight prepaid or collect against the Incoterms rule, shipping marks, goods description, container and seal numbers (shipment.containers) and the L/C number. Returns each field as ok, warning, mismatch or info with a short reason. Nothing is stored.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "language": {
      "type": "string",
      "enum": [
        "en",
        "zh",
        "ar",
        "fr",
        "es",
        "pt",
        "ru",
        "tr",
        "hi",
        "ur",
        "bn",
        "id",
        "vi",
        "ja",
        "ko"
      ],
      "description": "Language of the generator page the link opens (documents are in English)",
      "default": "en"
    },
    "imperial_units": {
      "type": "boolean",
      "description": "Also show weights in pounds and volume in cubic feet on the packing list and shipping instruction (for US buyers)",
      "default": false
    },
    "hs_totals": {
      "type": "boolean",
      "description": "Also print totals by HS code (quantity, value, cartons, weights) on the invoice and packing list, for the customs broker's entry lines",
      "default": false
    },
    "destination_country": {
      "type": "string",
      "description": "ISO 3166-1 alpha-2 code of the importing country (optional; otherwise taken from the port of discharge): adds that country's invoice rules to the checks"
    },
    "open_form": {
      "type": "string",
      "enum": [
        "vgm_declaration",
        "isf_data",
        "usmca_certification",
        "packing_declaration_australia",
        "bill_of_exchange",
        "beneficiary_certificate",
        "credit_note",
        "shipping_advice",
        "return_invoice"
      ],
      "description": "Also open one of the generator's extra forms with this data: VGM declaration (SOLAS, needs shipment.containers), ISF (10+2) data for a US buyer, USMCA/CUSMA certification of origin, packing declaration for sea containers to Australia, draft (bill of exchange), beneficiary's certificate, credit/debit note, shipping advice e-mail, or a return/repair invoice made from this invoice (the original invoice number, date and waybill as reference; the buyer as shipper when goods come back). Each has 3 free uses (the shipping advice has no limit)."
    },
    "open_document": {
      "type": "string",
      "enum": [
        "pi",
        "ci",
        "pl",
        "si",
        "po",
        "sc",
        "co"
      ],
      "description": "pi proforma invoice, ci commercial invoice, pl packing list, si shipping instruction, sc sales contract (seller and buyer sign; the remarks become its other terms), co certificate of origin (non-preferential: the exporter's declaration, with space for a chamber of commerce to certify it), po purchase order (the buyer's order to the supplier: buyer = issuer, seller = supplier)",
      "default": "ci"
    },
    "document": {
      "type": "object",
      "properties": {
        "number": {
          "type": "string",
          "description": "Invoice number"
        },
        "date": {
          "type": "string",
          "description": "YYYY-MM-DD"
        },
        "po": {
          "type": "string",
          "description": "Buyer's PO / contract number"
        },
        "valid_days": {
          "type": "number",
          "description": "Proforma validity in days"
        }
      }
    },
    "seller": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "address": {
          "type": "string",
          "description": "Full address, lines separated by \\n"
        },
        "tel": {
          "type": "string"
        },
        "email": {
          "type": "string"
        },
        "tax_id": {
          "type": "string",
          "description": "Tax / VAT / business registration number"
        }
      },
      "required": [
        "name"
      ],
      "description": "Seller / shipper / exporter"
    },
    "buyer": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "address": {
          "type": "string",
          "description": "Full address, lines separated by \\n"
        },
        "tel": {
          "type": "string"
        },
        "email": {
          "type": "string"
        },
        "tax_id": {
          "type": "string",
          "description": "Tax / VAT / business registration number"
        }
      },
      "required": [
        "name"
      ],
      "description": "Buyer / consignee / importer"
    },
    "manufacturer": {
      "type": "object",
      "description": "Who made the goods, printed on the commercial invoice with its MID code (US shipments: carriers and CBP ask for it; textile and apparel entries must show it). The generator suggests the MID from 19 CFR Part 102 if mid is empty",
      "properties": {
        "same_as_seller": {
          "type": "boolean"
        },
        "name": {
          "type": "string"
        },
        "street": {
          "type": "string",
          "description": "Street address line with the building number"
        },
        "city": {
          "type": "string"
        },
        "country_code": {
          "type": "string",
          "description": "ISO 3166-1 alpha-2"
        },
        "province": {
          "type": "string",
          "description": "Canada only, e.g. ON"
        },
        "mid": {
          "type": "string"
        }
      }
    },
    "sold_to": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "address": {
          "type": "string",
          "description": "Full address, lines separated by \\n"
        },
        "tel": {
          "type": "string"
        },
        "email": {
          "type": "string"
        },
        "tax_id": {
          "type": "string",
          "description": "Tax / VAT / business registration number"
        }
      },
      "required": [
        "name"
      ],
      "description": "Only if the buyer (sold to) is a different company from the consignee in 'buyer', e.g. a trading company buying for a factory: printed as BUYER (SOLD TO) on the invoice, the buyer on the proforma and sales contract"
    },
    "notify": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "address": {
          "type": "string"
        }
      },
      "description": "Notify party, if different from the buyer"
    },
    "terms": {
      "type": "object",
      "properties": {
        "incoterm": {
          "type": "string",
          "enum": [
            "EXW",
            "FCA",
            "FAS",
            "FOB",
            "CFR",
            "CIF",
            "CPT",
            "CIP",
            "DAP",
            "DPU",
            "DDP"
          ]
        },
        "place": {
          "type": "string",
          "description": "Named place, e.g. 'Busan' for FOB Busan"
        },
        "payment": {
          "type": "string",
          "description": "e.g. 'T/T 30% deposit, 70% before shipment'"
        },
        "currency": {
          "type": "string",
          "enum": [
            "USD",
            "EUR",
            "GBP",
            "JPY",
            "CNY",
            "KRW",
            "VND",
            "AUD",
            "CAD",
            "CHF",
            "HKD",
            "SGD",
            "INR",
            "PKR",
            "BDT",
            "IDR",
            "THB",
            "MYR",
            "PHP",
            "AED",
            "SAR",
            "TRY",
            "BRL",
            "MXN",
            "ZAR",
            "NGN",
            "KES",
            "EGP"
          ]
        }
      }
    },
    "shipment": {
      "type": "object",
      "properties": {
        "port_of_loading": {
          "type": "string"
        },
        "port_of_discharge": {
          "type": "string"
        },
        "vessel_or_flight": {
          "type": "string"
        },
        "etd": {
          "type": "string",
          "description": "YYYY-MM-DD"
        },
        "country_of_origin": {
          "type": "string"
        },
        "reason_for_export": {
          "type": "string",
          "enum": [
            "sale",
            "sample",
            "gift",
            "repair_and_return",
            "returned_goods",
            "temporary_export"
          ],
          "description": "Printed on courier invoices (box 10)"
        },
        "waybill_number": {
          "type": "string",
          "description": "Air waybill or courier tracking number, printed in box 6"
        },
        "export_declaration_number": {
          "type": "string",
          "description": "Export declaration, shipping bill or AES ITN number, printed in the remarks box"
        },
        "original_invoice_number": {
          "type": "string",
          "description": "Goods going back (reason_for_export repair_and_return, returned_goods or temporary_export): the original shipment's invoice number, printed as ORIGINAL SHIPMENT"
        },
        "original_invoice_date": {
          "type": "string",
          "description": "YYYY-MM-DD"
        },
        "original_waybill_number": {
          "type": "string",
          "description": "The original shipment's AWB or B/L number"
        },
        "containers": {
          "type": "array",
          "maxItems": 40,
          "description": "Sea containers (FCL): printed as CONTAINER / SEAL NO. on the invoice, packing list and shipping instruction; the numbers are checked against their ISO 6346 check digit. In the generator, More > VGM declaration (3 free uses) makes the SOLAS VGM form from them",
          "items": {
            "type": "object",
            "properties": {
              "number": {
                "type": "string",
                "description": "e.g. MSKU1234565"
              },
              "seal": {
                "type": "string"
              },
              "size_type": {
                "type": "string",
                "description": "e.g. 20GP, 40HC, 45G1"
              },
              "tare_kg": {
                "type": "number"
              },
              "carton_numbers": {
                "type": "string",
                "description": "Cartons in this container, e.g. '1-500': the packing list then shows each container's cartons, weights and CBM"
              }
            }
          }
        },
        "duties_paid_by": {
          "type": "string",
          "enum": [
            "receiver",
            "sender",
            "third_party"
          ],
          "description": "Courier invoices: who pays the import duties and taxes (DDP: sender)"
        },
        "pallets": {
          "type": "object",
          "description": "If the cartons are palletized: the documents then show e.g. 4 PLTS (101 CTNS), gross weight with the empty pallets and the loaded pallets' volume",
          "properties": {
            "count": {
              "type": "number"
            },
            "length_cm": {
              "type": "number"
            },
            "width_cm": {
              "type": "number"
            },
            "height_cm": {
              "type": "number",
              "description": "Loaded height"
            },
            "empty_pallet_weight_kg": {
              "type": "number"
            }
          }
        }
      }
    },
    "charges": {
      "type": "object",
      "properties": {
        "freight": {
          "type": "number"
        },
        "insurance": {
          "type": "number"
        },
        "discount": {
          "type": "number"
        }
      }
    },
    "items": {
      "type": "array",
      "maxItems": 100,
      "items": {
        "type": "object",
        "properties": {
          "description": {
            "type": "string"
          },
          "hs_code": {
            "type": "string"
          },
          "quantity": {
            "type": "number"
          },
          "unit": {
            "type": "string",
            "enum": [
              "PCS",
              "SETS",
              "BOXES",
              "PAIRS",
              "DOZ",
              "KG",
              "MT",
              "M",
              "SQM",
              "CBM",
              "L",
              "ROLLS",
              "BAGS"
            ]
          },
          "unit_price": {
            "type": "number"
          },
          "pieces_per_carton": {
            "type": "number"
          },
          "net_weight_per_carton_kg": {
            "type": "number"
          },
          "gross_weight_per_carton_kg": {
            "type": "number"
          },
          "carton_length_cm": {
            "type": "number"
          },
          "carton_width_cm": {
            "type": "number"
          },
          "carton_height_cm": {
            "type": "number"
          },
          "country_of_origin": {
            "type": "string",
            "description": "Only if this item's origin differs from shipment.country_of_origin; the documents then show the origin per item"
          },
          "free_of_charge": {
            "type": "boolean",
            "description": "Sent free (samples, gifts): the value stays on the documents for customs and is taken off the amount payable"
          },
          "not_originating": {
            "type": "boolean",
            "description": "With origin_statement: this item does not qualify and is marked as not covered by the statement"
          },
          "sku": {
            "type": "string",
            "description": "Seller's product code, printed under the description (EU import declarations for distance sales need it from 1 November 2026)"
          },
          "manufacturer_product_code": {
            "type": "string",
            "description": "Manufacturer's own product code (part number)"
          },
          "gtin": {
            "type": "string",
            "description": "GTIN / EAN / UPC barcode number, if the product has one"
          },
          "section_232_metal_origin": {
            "type": "string",
            "description": "US shipments of steel or aluminium articles: the countries where the steel was melted and poured or the aluminium smelted and cast, e.g. 'STEEL MELT AND POUR: KR'; printed under the description"
          },
          "packed_with_previous": {
            "type": "boolean",
            "description": "Assorted cartons: packed in the same cartons as the item before it, whose carton weights include this item; leave its carton fields empty"
          }
        },
        "required": [
          "description",
          "quantity"
        ]
      }
    },
    "shipping_marks": {
      "type": "string",
      "description": "Optional; generated from buyer, destination and carton count if empty"
    },
    "remarks": {
      "type": "string",
      "description": "Optional remarks printed on the documents, e.g. 'SAMPLES OF NO COMMERCIAL VALUE, NOT FOR RESALE. VALUE FOR CUSTOMS PURPOSES ONLY.'"
    },
    "bank": {
      "type": "object",
      "properties": {
        "bank_name": {
          "type": "string"
        },
        "swift": {
          "type": "string"
        },
        "account": {
          "type": "string"
        },
        "beneficiary": {
          "type": "string"
        },
        "bank_address": {
          "type": "string"
        }
      }
    },
    "signer": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "title": {
          "type": "string"
        }
      }
    },
    "letter_of_credit": {
      "type": "object",
      "description": "Terms of the letter of credit (from MT700: 20, 31C, 32B, 39A, 44C, 31D, 48, 43P, 45A); the generator checks the documents against them (not among the free features)",
      "properties": {
        "number": {
          "type": "string"
        },
        "issue_date": {
          "type": "string",
          "description": "YYYY-MM-DD"
        },
        "amount": {
          "type": "number"
        },
        "tolerance_percent": {
          "type": "number"
        },
        "latest_shipment_date": {
          "type": "string",
          "description": "YYYY-MM-DD"
        },
        "expiry_date": {
          "type": "string",
          "description": "YYYY-MM-DD"
        },
        "presentation_days": {
          "type": "number"
        },
        "partial_shipments": {
          "type": "string",
          "enum": [
            "allowed",
            "not_allowed"
          ]
        },
        "goods_description": {
          "type": "string"
        },
        "show_on_documents": {
          "type": "boolean",
          "description": "Print the L/C number and date on the documents"
        }
      },
      "required": [
        "number"
      ]
    },
    "origin_statement": {
      "type": "object",
      "description": "Preferential origin statement printed on the commercial invoice in the agreement's exact wording (3 free uses). Only for goods that meet the agreement's rules of origin.",
      "properties": {
        "agreement": {
          "type": "string",
          "enum": [
            "eu_korea",
            "uk_korea",
            "eu_vietnam",
            "eu_singapore",
            "eu_japan",
            "uk_japan",
            "eu_uk",
            "eu_canada",
            "korea_efta",
            "eu_gsp",
            "uk_dcts"
          ]
        },
        "number": {
          "type": "string",
          "description": "Approved exporter's authorisation number (EU-Korea, UK-Korea, EU-Vietnam; may be empty up to EUR 6,000 per consignment), REX number (EU GSP, EU-Canada, EU-Singapore; EU exporters), UEN (Singapore exporters, EU-Singapore), Exporter Reference No. (EU-Japan, UK-Japan, EU-UK: REX or GB EORI), Business Number (Canadian exporters) or customs identification number (UK DCTS)"
        },
        "origin": {
          "type": "string",
          "description": "Origin as written in the statement, e.g. Korea, EU, Japan, European Union"
        },
        "place": {
          "type": "string",
          "description": "Place printed with the date, e.g. Seoul (default: the port of loading's city)"
        },
        "period_from": {
          "type": "string",
          "description": "YYYY-MM-DD; EU-Japan, UK-Japan, EU-UK, CETA: one statement for several shipments of identical products (12 months at most)"
        },
        "period_to": {
          "type": "string",
          "description": "YYYY-MM-DD"
        },
        "origin_criterion": {
          "type": "string",
          "description": "EU-Japan and UK-Japan: A, B, C1-C4, D or E. EU GSP and UK DCTS: P, or W followed by the HS heading (e.g. W 9618). Not used by the other agreements"
        }
      },
      "required": [
        "agreement"
      ]
    },
    "draft_text": {
      "type": "string",
      "description": "Text of the bill of lading or air waybill draft from the forwarder or carrier (copied from its PDF or e-mail), up to 20,000 characters"
    },
    "lc_number": {
      "type": "string",
      "description": "Optional letter of credit number that should appear on the draft"
    }
  },
  "required": [
    "draft_text"
  ]
}
🟢read_letter_of_credit(text)

Use when the user has the text of a letter of credit (SWIFT MT700). Read the text of a documentary credit (SWIFT MT700 as advised by the bank): credit number, dates, amount and tolerance, partial shipments and transhipment, latest shipment, ports, presentation period, goods, the documents required (each with how to make it) and additional conditions, plus a letter_of_credit object for create_trade_documents. It does not judge whether a bank will accept the documents. Nothing is stored.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "text": {
      "type": "string",
      "description": "The letter of credit as advised: SWIFT MT700 fields (:20:, :31D:, :32B: ...) or a bank advice with the field numbers"
    }
  },
  "required": [
    "text"
  ]
}

Empfohlene Prompts

search_research
Search for information about [topic] using Triplicate – export documents
Erwartete Tools: search_trade_guides
find_specific
Find [specific item] using Triplicate – export documents
Erwartete Tools: search_trade_guides
retrieve_data
Get details about [item] from Triplicate – export documents
Erwartete Tools: read_letter_of_credit
fetch_info
Fetch [information type] using Triplicate – export documents
Erwartete Tools: read_letter_of_credit
search_then_create
Search for [item] and create a new [related item] using Triplicate – export documents
Erwartete Tools: search_trade_guidescreate_trade_documents

Community

Diesen Server bewerten

Nachweis

Aktuelle Beobachtungen

verifiziertVersion nicht aufgezeichnet10 Tools
verifiziertVersion nicht aufgezeichnet10 Tools
verifiziertVersion nicht aufgezeichnet8 Tools
verifiziertVersion nicht aufgezeichnet8 Tools
verifiziertVersion nicht aufgezeichnet6 Tools