TODO_TAGS_REVIEW
TODO_AP2_EXPORT_REVIEW

Cross-Border B2B Fee Calculator

Itemizes a single cross-border B2B invoice's total cost stack: FX spread cost, payment-method/correspondent fee, VAT or reverse-charge cost, documentary-credit cost, and reconciliation cost, plus total cost as a percentage of invoice value. Ports the calculation from tools/141-cross-border-b2b-fee-calculator.html into a provable kernel. VAT treatment, documentary-credit cost, and correspondent fees are caller-supplied, never vendored. Pairs with the already-shipped compare_corridor_cost node (art-249), which benchmarks a remittance corridor against World Bank RPW / SDG 10.c targets rather than itemizing a single invoice.

Tool URL: https://ainumbers.co/chaingraph/art-367-compute-cross-border-fees.html

post/v1/tools/compute_cross_border_fees

Request

  • Base URL: https://ainumbers.co
  • URL: https://ainumbers.co/v1/tools/compute_cross_border_fees
  • Auth: none declared

Request body

dest_countryunknown required
doc_costnumber
fx_spread_bpsnumber

Amount in basis points

invoice_amountnumber
method_feenumber
origin_countryunknown required
recon_costnumber
vat_ratenumber

Response

Successful tool execution result

dest_countrystring
disambiguationstring
doc_costinteger
fx_costnumber
fx_spread_bpsinteger
invoice_amountinteger
method_feeinteger
origin_countrystring
pct_of_invoicenumber
recon_costinteger
regulatory_basisstring
total_costnumber
vat_costinteger
vat_rateinteger

Changes

No recorded changes to this operation across all 1 revision of this API.