Export price under each Incoterms rule
calculate_export_priceUse 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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"quantity": "<quantity>",
"unit_cost": "<unit_cost>"
},
"name": "calculate_export_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | sea: FOB/CFR/CIF (loaded on board at a port); any: containers handed over at a terminal, air or road: FCA/CPT/CIP | sea |
| costs | No | Shipment totals in the same currency (omit what does not apply) | |
| currency | No | USD | |
| language | No | Language of the generator page the proforma links open | en |
| quantity | Yes | Units in the shipment | |
| unit_cost | Yes | Seller's cost per unit (product cost) | |
| duty_basis | No | Customs value basis: cif (EU, UK, most countries) or fob (US, Canada, Australia) | cif |
| markup_percent | No | Markup on cost, e.g. 25 for +25% | |
| include_vat_in_ddp | No |