payment_terms
For import deals, assesses counterparty relationship and country risk to recommend payment terms from cash-in-advance to open account, and prices letter of credit commissions.
Instructions
Recommend the TRADE-FINANCE / PAYMENT TERMS for an import deal — the other half of the transaction the freight tools ignore. Give the lane (→ exporter country at origin, importer country at destination), the invoice value and the counterparty RELATIONSHIP, and it scores the payment-instrument spectrum — CASH-IN-ADVANCE / LETTER OF CREDIT (irrevocable, possibly CONFIRMED) / DOCUMENTARY COLLECTION D/P (documents against payment) / D/A (documents against acceptance) / OPEN ACCOUNT — on its RISK ALLOCATION (CIA = all risk on the buyer … open account = all risk on the seller) and arrange cost, then recommends one by the relationship × COUNTRY-RISK matrix: a new counterparty in a high-risk importer country → an irrevocable, confirmed LC; an established relationship in a safe country → cheaper open account; in between → documentary collection. It PRICES the LC commission for the deal (issuing rises with importer-country risk; confirmation — a bank in the seller's country adding its guarantee — adds a country-risk-scaled premium), and ties to Incoterms (CIF/CIP put insurance on the seller; an LC pairs with the FOB/CFR document set). Country-risk and LC-commission bands are MODELED market-typical figures; this is not financial, legal or banking advice (regla 7). PREMIUM: x402 (USDC on Base) or a prepaid key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| origin_port | Yes | Origin port — its COUNTRY is taken as the exporter/seller country. | |
| dest_port | Yes | Destination port — its COUNTRY is taken as the importer/buyer country (drives the country-risk band). | |
| invoice_value | Yes | Commercial invoice value in USD. REQUIRED — finance costs are priced on it. | |
| container_type | No | Container size '20ft'/'40ft'/'40HC'. Optional; defaults to '40ft'. | |
| relationship | No | Counterparty relationship strength: 'new', 'developing' (default), 'established' or 'long-term'. The single biggest driver of the recommendation. | |
| importer_country | No | Override the importer ISO-2 country (else taken from the destination port). | |
| exporter_country | No | Override the exporter ISO-2 country (else taken from the origin port). | |
| confirmed | No | Force the LC pricing confirmed/unconfirmed. Optional; default = auto by importer-country risk. | |
| incoterm | No | Optional Incoterms 2020 rule (CIF, FOB, CIP…) for the document-set tie-in note. |