Skip to content

Ramp: Fetch a receipt — response body — ocr currency code, line items, taxes

Fetch a receipt: response body, field ocr / currency_code, line_items, taxes. Complete fields and constraints for contract 2026-10-27.

API reference · Contract 2026-10-27

SDK schema: Fetch a receipt — response body — ocr currency code, line items, taxes

FieldTypePresenceDescription and constraints
$objectRoot
currency_codeJSONOptional
currency_code (anyOf 1)stringAlternativeCurrency code extracted from receipt OCR. Can be null when OCR could not extract a value.
currency_code (anyOf 2)nullAlternative
line_itemsarrayOptionalLine items extracted from receipt OCR.
line_items[]ModelEach itemExpand Fetch a receipt — response body — ocr currency code, line items, taxes line items item
taxesarrayOptionalTaxes extracted from receipt OCR.
taxes[]ModelEach itemExpand Fetch a receipt — response body — ocr currency code, line items, taxes taxes item

Referenced models: Fetch a receipt — response body — ocr currency code, line items, taxes line items item, Fetch a receipt — response body — ocr currency code, line items, taxes taxes item

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.