trade_create_invoice
Create a cross-border invoice. Buyer (SMB) and supplier exchange DIDs; invoice amount + currency + chain selected at creation. Fee auto-computed from tier.
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": {
"buyer_did": "<buyer_did>",
"supplier_did": "<supplier_did>",
"amount_usd": "<amount_usd>",
"settle_currency": "<settle_currency>",
"settle_chain": "<settle_chain>",
"supplier_payout_address": "<supplier_payout_address>"
},
"name": "trade_create_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| memo | No | Free-form invoice memo (PO number, goods description) | |
| buyer_did | Yes | DID of the SMB buyer | |
| amount_usd | Yes | Invoice amount in USD (max $250,000 for MVP) | |
| settle_chain | Yes | base, ethereum, or solana | |
| supplier_did | Yes | DID of the overseas supplier | |
| settle_currency | Yes | USDT or USDC | |
| supplier_payout_address | Yes | Supplier's receiving address on the chosen chain |