Home · Docs-to-JSON · Subscription Receipt to JSON

Convert Subscription Receipt to structured JSON in 2 seconds

Paste any subscription receipt — get clean JSON with fields, line items, totals and dates. One API call. No regex. No training.

Try live demo → See pricing

Example: Subscription Receipt → JSON

Input — raw subscription receipt text
RECEIPT
2026-03-14 18:42
Merchant: Big Mart #402
Cashier: J. Doe

Milk 2L .............. $3.49
Bread whole ......... $2.19
Eggs 12 ............. $4.99
Coffee 500g ......... $12.99

SUBTOTAL ........... $23.66
TAX ................ $1.89
TOTAL .............. $25.55
VISA **** 4242
Output — structured JSON
{
  "document_type": "subscription-receipt-to-json",
  "fields": {
    "merchant": "Big Mart #402",
    "date": "2026-03-14",
    "cashier": "J. Doe",
    "subtotal": 23.66,
    "tax": 1.89,
    "total": 25.55,
    "currency": "USD",
    "payment_method": "Visa **** 4242",
    "line_items": [
      {
        "description": "Milk 2L",
        "price": 3.49
      },
      {
        "description": "Bread whole",
        "price": 2.19
      },
      {
        "description": "Eggs 12",
        "price": 4.99
      },
      {
        "description": "Coffee 500g",
        "price": 12.99
      }
    ]
  }
}

API call

curl -X POST https://document-to-json.boring-saas-infra.workers.dev/extract \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_KEY" \
  -d '{
    "document_type": "subscription-receipt-to-json",
    "text": "<your subscription receipt text here>"
  }'

# → 200 OK
{
  "document_type": "subscription-receipt-to-json",
  "fields": { ... }
}

Why use our subscription receipt parser

Pricing

$0/forever
  • 50 extractions / day
  • All 100+ document types
  • REST API access
Start free
$19.99/month
  • 5,000 extractions / month
  • Priority queue
  • Email support
Subscribe →

FAQ

How do I convert a subscription receipt to JSON?

POST the raw text of your subscription receipt to our /extract endpoint with document_type="subscription-receipt-to-json". You get structured JSON back in ~2 seconds.

Is there a free tier for subscription receipt extraction?

Yes. 50 extractions per day, no credit card required.

Do I need to OCR my subscription receipt first?

No. Send raw text. If you have a PDF or image, use any OCR you already have and send us the text — or use our MCP server which handles PDFs directly.

What fields are extracted from a subscription receipt?

Typical fields: parties, dates, amounts, totals, currency, line items, tax, identifiers, and any document-specific fields.

Can I integrate this via API?

Yes. REST API. Works from any language. See the main Docs-to-JSON page for docs.

Related document types