# Receipt to Ledger > Pay-per-call API (x402, USDC) that turns messy receipt text into clean ledger JSON: merchant, date, line items, tax, tip, total, a suggested category and a balanced ledger entry. (USDC on Base (mainnet)) > STATUS: live. Operator: Ordstirr (https://ordstirr.com) ## What it does - Reads pasted or OCR'd receipt text and returns merchant, date, items, subtotal, tax, tip, discounts and total (integer cents plus text amounts). - Checks the arithmetic (items vs subtotal, subtotal + tax + tip vs total) and says how confident the parse is. - Suggests a bookkeeping category and returns a balanced double-entry ledger entry (expense posting plus payment account). - Removes card numbers, account numbers, Social Security numbers, emails and phone numbers BEFORE parsing and never returns them; reports only counts. - Simple repeatable rules, no AI model, nothing is stored except a hash for the payment log. ## What it does NOT do - It does not read images or PDFs; send text (run OCR first). - Amounts must have cents (12.50); whole-dollar amounts without cents are not read. - Categories and accounts are suggestions from keywords; a bookkeeper should confirm them. It is not tax or accounting advice. - One receipt per call, up to 6000 characters and 200 lines. ## Endpoints - POST https://receipts.ordstirr.com/v1/parse-receipt ($0.03) Turn messy receipt text into ledger JSON (merchant, date, items, tax, tip, total, category, balanced entry) with card and account numbers stripped Example body: {"text":"SHELL OIL 57444\n123 Main St\n11/20/2026 08:15\nUnleaded 12.500 gal 41.25\nTax 0.00\nTOTAL 41.25\nVISA ************1234\n","split_tax":false} ## Terms - Informational only, as is, no warranty. Terms of service: https://ordstirr.com/agents/terms - Refund contact: li8ertyapps@gmail.com - Every paid response includes terms_url and a one-line notice field. ## How to call - No account, no API key. Unpaid requests return HTTP 402 with x402 terms in the PAYMENT-REQUIRED header. Pay with an x402 client (e.g. @x402/fetch) and retry. - Invalid input is rejected with HTTP 400 before any charge. ## Free endpoints - GET https://receipts.ordstirr.com/health - GET https://receipts.ordstirr.com/openapi.json - GET https://receipts.ordstirr.com/docs - GET https://receipts.ordstirr.com/.well-known/x402