Japanese Receipt

Finance

Extract structured data from Japanese-style receipts with line items, consumption tax (消費税), and payment method tracking.

curl -X POST $XBERG_ENTERPRISE_URL/v1/extract \
  -H "Authorization: Bearer $XBERG_API_KEY" \
  -F file=@your-receipt_jp.pdf \
  -F 'preset=receipt_jp'
Sample Japanese Receipt document

Structured fields extracted by this preset

consumption_tax_jpynumberrequired

Total consumption tax amount in JPY.

consumption_tax_rate_percentnumberrequired

Consumption tax (消費税) rate as a percentage (e.g., 10.0).

line_itemsarray<unknown>required

Array of purchased items with quantity, unit price, and line total.

merchant_addressstring

Street address of the merchant location.

merchant_namestringrequired

Name of the merchant or store.

payment_methodstringrequired

Payment method used (cash, credit, paypay, suica, or other).

receipt_numberstringrequired

Unique receipt number or transaction ID.

register_idstring

Cash register or terminal identifier at the merchant.

subtotal_jpynumberrequired

Sum of all line items before consumption tax, in JPY.

total_jpynumberrequired

Final amount due in Japanese yen.

transaction_datestringrequired

Date of transaction in ISO-8601 format (YYYY-MM-DD).

transaction_timestring

Time of transaction in HH:MM:SS format (24-hour).

Configuration

Call Mode

text_only

Citations

Enabled

Version

v1

Tags

receiptjapanjpconsumption-taxpoint-of-sale
+System Prompt
You are a precise structured-data extractor for Japanese receipts. Extract all fields exactly as they appear on the document. Do not infer or estimate values. Dates and times are ISO-8601 strings (YYYY-MM-DD and HH:MM:SS). All JPY amounts are decimal numbers without currency symbols. Consumption tax rate and amount must be extracted literally. Line items must include item name, quantity, unit price in JPY, and line total. Payment method is one of: cash, credit, paypay, suica, or other. If a field is absent, omit it from the output. Ensure total_jpy equals subtotal_jpy plus consumption_tax_jpy.

Open-source primitives, composed into one backend. Curated cohort of design partners. Apply to work with us.

Cookies

We value your privacy

Xberg uses cookies to improve your experience, personalize content, and analyze traffic. You can manage your preferences at any time.