Skip to main content
Glama

Triplicate – export documents

Create export documents

create_trade_documents
Read-only

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.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bankNo
buyerYesBuyer / consignee / importer
itemsYes
termsNo
notifyNoNotify party, if different from the buyer
sellerYesSeller / shipper / exporter
signerNo
chargesNo
remarksNoOptional remarks printed on the documents, e.g. 'SAMPLES OF NO COMMERCIAL VALUE, NOT FOR RESALE. VALUE FOR CUSTOMS PURPOSES ONLY.'
sold_toNoOnly 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
documentNo
languageNoLanguage of the generator page the link opens (documents are in English)en
shipmentNo
hs_totalsNoAlso print totals by HS code (quantity, value, cartons, weights) on the invoice and packing list, for the customs broker's entry lines
open_formNoAlso 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).
manufacturerNoWho 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
open_documentNopi 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)ci
imperial_unitsNoAlso show weights in pounds and volume in cubic feet on the packing list and shipping instruction (for US buyers)
shipping_marksNoOptional; generated from buyer, destination and carton count if empty
letter_of_creditNoTerms 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)
origin_statementNoPreferential 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.
destination_countryNoISO 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

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / open_document / description
      Previous value: -"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), po purchase order (the buyer's order to the supplier: buyer = issuer, seller = supplier)"New value: +"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)"
    • changedInput schema / properties / open_document / enum
      Previous value: -[
      -  "pi",
      -  "ci",
      -  "pl",
      -  "si",
      -  "po",
      -  "sc"
      -]New value: +[
      +  "pi",
      +  "ci",
      +  "pl",
      +  "si",
      +  "po",
      +  "sc",
      +  "co"
      +]
  2. Changed2 schema fields changed
    • changedInput schema / properties / open_document / description
      Previous value: -"pi proforma invoice, ci commercial invoice, pl packing list, si shipping instruction, po purchase order (the buyer's order to the supplier: buyer = issuer, seller = supplier)"New value: +"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), po purchase order (the buyer's order to the supplier: buyer = issuer, seller = supplier)"
    • changedInput schema / properties / open_document / enum
      Previous value: -[
      -  "pi",
      -  "ci",
      -  "pl",
      -  "si",
      -  "po"
      -]New value: +[
      +  "pi",
      +  "ci",
      +  "pl",
      +  "si",
      +  "po",
      +  "sc"
      +]
  3. Changed1 schema field changed
    • addedInput schema / properties / items / items / properties / country_of_origin
      Added value: +{
      +  "description": "Only if this item's origin differs from shipment.country_of_origin; the documents then show the origin per item",
      +  "type": "string"
      +}
  4. Changed1 schema field changed
    • addedInput schema / properties / imperial_units
      Added value: +{
      +  "default": false,
      +  "description": "Also show weights in pounds and volume in cubic feet on the packing list and shipping instruction (for US buyers)",
      +  "type": "boolean"
      +}
  5. Changed2 schema fields changed
    • changedInput schema / properties / open_document / description
      Previous value: -"pi proforma invoice, ci commercial invoice, pl packing list, si shipping instruction"New value: +"pi proforma invoice, ci commercial invoice, pl packing list, si shipping instruction, po purchase order (the buyer's order to the supplier: buyer = issuer, seller = supplier)"
    • changedInput schema / properties / open_document / enum
      Previous value: -[
      -  "pi",
      -  "ci",
      -  "pl",
      -  "si"
      -]New value: +[
      +  "pi",
      +  "ci",
      +  "pl",
      +  "si",
      +  "po"
      +]
  6. Changed2 schema fields changed
    • addedInput schema / properties / remarks
      Added value: +{
      +  "description": "Optional remarks printed on the documents, e.g. 'SAMPLES OF NO COMMERCIAL VALUE, NOT FOR RESALE. VALUE FOR CUSTOMS PURPOSES ONLY.'",
      +  "type": "string"
      +}
    • changedInput schema / properties / terms / properties / currency / enum
      Previous value: -[
      -  "USD",
      -  "EUR",
      -  "GBP",
      -  "JPY",
      -  "CNY",
      -  "KRW",
      -  "VND"
      -]New value: +[
      +  "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"
      +]
  7. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources