Spend categories
Go to Settings > Accounting to add categories. Each category has a name, an optional GL account, and optional rules. Owners and Admins can change categories. An agent’s key cannot. A payment lands in a category in this order:- The category the agent sent. When an agent sends a
categorywith a payment and it matches a category’s label or name, the payment uses that category. - Rules. Otherwise Conto checks each category’s rules: card merchant category codes (MCC)
first, then merchant domains, then rails. A domain also matches its subdomains, so
openai.commatchesapi.openai.com. When two categories match at the same step, the first by name wins. - Uncategorized. A payment that matches nothing exports with an empty category.
mccs (four digit codes), merchantDomains, and rails. Rails are wallet, x402,
mpp, agent, transfer, card, and checkout.
Export
In Settings > Accounting, pick a date range and download the CSV. Dates are UTC, and the range includes both days you pick. From the API,GET /api/spending/export returns CSV by default, up to 20,000 rows. For a larger
range, page through it as JSON:
nextCursor as cursor to read the next page. nextCursor is null on the
last page. from is inclusive and to is exclusive.
Use an organization API key or a signed-in session. An agent’s key cannot export the organization’s
spend.
Columns
Owner, team and cost center are the agent’s current ones. Department is what the payment recorded
when it was made. Card and checkout amounts are the card network’s or the agent’s reported amount.
Conto does not see the charge for a checkout an agent completed itself.
SDK and CLI
The export needs SDK0.9.0 or later and CLI 0.6.0 or later. With a ContoAdmin client
configured with an organization key:
page.nextCursor as cursor with the same date bounds.
--output creates a private file and refuses to
overwrite an existing one. Without --output, it writes the export to standard output.
JSON returns one page and its nextCursor. Use --cursor to continue.
Receipt references
The additionalreceiptPath column links to the authenticated Conto transaction receipt API,
relative to your API base URL. It is null for card and reported-checkout rows and incoming-only
transactions that the receipt endpoint does not expose to your organization. A Conto transaction
receipt records the payment and its controls. It is not a merchant invoice. No private receipt
files or expiring signed download links are embedded in the export.