Every order, fulfilled end to end.
The agent watches the order stream, charges the buyer on the cheapest local rail, issues the fiscal document, prints a shipping label, and notifies on WhatsApp. One mandate, one sealed ledger entry per order.
One order, charged, invoiced, shipped.
The agent picks up order #4821, charges the buyer on Pix, issues the NF-e, buys the shipping label, and pings the buyer on WhatsApp. Each step seals to the same mandate and the same order.
- Charges the buyer on the cheapest local rail
- Issues the fiscal document for the destination
- Buys the shipping label and notifies on WhatsApp
- Every step sealed to one order and one mandate
The conversation is the easy part.
Fulfillment lives in five tools that do not talk to each other. Charge here, invoice there, ship somewhere else, notify by hand.
Charge in one tool, invoice in another
The agent charges and invoices in one flow
Buy the label in a third tab
The agent buys the shipping label under the same mandate
Notify the buyer by hand
The agent notifies on WhatsApp automatically
Reconcile five systems at month end
Each order is one sealed ledger entry
Fulfillment as one governed flow.
The agent charges the buyer on the cheapest local rail, issues the fiscal document, ships, and notifies, all under one mandate. Pix-in is prod-capable; the fiscal document runs in homologation. Every order becomes one sealed ledger entry.
Agent picks up the order
codespar_chargeBuyer paid on Pix
Pix railcodespar_invoiceFiscal doc for the destination
Fiscal railLabel bought and printed
Buyer pinged on WhatsApp
The agent reads the order stream and charges the buyer via codespar_charge on Pix, then codespar_invoice issues the fiscal document for the destination, a shipping label is bought, and the buyer is notified on WhatsApp. Every step seals to one mandate and one order for a reconstructable trail.
A few lines. The whole loop.
const session = await codespar.sessions.create(); // charge, invoice, ship, notify - one order, one mandate const res = await session.execute("codespar_charge", { order: "4821", rail: "pix", amount: 21980, // minor units, inside the mandate cap }); await session.verificationStatus(res.toolCallId);
codespar_chargeCharges the buyer on the cheapest local rail, inside the mandate.
codespar_invoiceIssues the fiscal document for the destination country.
Audit ledgerSeals every order to one mandate for a reconstructable trail.
Ship it this afternoon.
Open the sandbox, point a session at your providers, and run the whole loop against real rails in minutes — not the quarter it takes to build it by hand.