Japanese Receipt
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'

Structured fields extracted by this preset
consumption_tax_jpynumberrequiredTotal consumption tax amount in JPY.
consumption_tax_rate_percentnumberrequiredConsumption tax (消費税) rate as a percentage (e.g., 10.0).
line_itemsarray<unknown>requiredArray of purchased items with quantity, unit price, and line total.
merchant_addressstringStreet address of the merchant location.
merchant_namestringrequiredName of the merchant or store.
payment_methodstringrequiredPayment method used (cash, credit, paypay, suica, or other).
receipt_numberstringrequiredUnique receipt number or transaction ID.
register_idstringCash register or terminal identifier at the merchant.
subtotal_jpynumberrequiredSum of all line items before consumption tax, in JPY.
total_jpynumberrequiredFinal amount due in Japanese yen.
transaction_datestringrequiredDate of transaction in ISO-8601 format (YYYY-MM-DD).
transaction_timestringTime of transaction in HH:MM:SS format (24-hour).
Configuration
Call Mode
text_onlyCitations
EnabledVersion
v1Tags
+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.