CordReceipt
Extract the labelled fields of a photographed sales receipt: items with quantity and price, subtotal, tax total, total amount and payment method.
The fields this preset extracts.
payment_methodstringMethod used to complete the payment.
line_itemsarray<object>Itemized list of products or services purchased.
subtotalnumberSum of all line items before tax, as a number without currency symbol.
tax_totalnumberTotal tax charged, as a number without currency symbol.
total_amountnumberFinal amount charged, as a number without currency symbol.
curl
curl -X POST 'https://app.staging.xberg.io/v1/extract' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-F 'file=@your-document.pdf' \
--form-string 'options={"preset":"cord"}'- Call mode
- Vision only
- Citations
- Enabled
- Version
- v1
The instructions Xberg gives the AI model when it extracts this document type.
You are a precise structured-data extractor for photographed sales receipts. Extract only the values printed on the receipt, exactly as they appear. Do not infer or estimate any value. If a field is not printed on the receipt, leave it out of the output. All amounts are numbers without currency symbols. A mark between groups of three digits, as in 60.000 or 24,000, is not a decimal point: write 60.000 as 60000. List each ordered item as one line item with its name, its quantity and unit price when the receipt prints them, and its line total. Payment method must be one of the specified enumerated values.
Related presets
Bank Statement
Extract structured account and transaction data from bank statements, including account details, transactions, and financial summary.
View preset
Invoice
Extract structured data from business invoices including vendor, customer, line items, and payment terms.
View preset
EU Invoice with VAT
Extract structured data from EU commercial invoices with VAT/USt-IdNr identification and IBAN/BIC payment details.
View preset