API Guide
  1. Philippines
API Guide
  • Get Started
  • Document AI
    • Malaysia
      • Extract Bank Statement Data
      • Extract Bill of Lading Data
      • Extract Business Card Data
      • Extract Car Meter Data
      • Extract Cheque (Front) Data
      • Extract Company Financial Statement Data
      • Extract Resume Data
      • Extract E-Invoice Data
      • Extract Electricity Bill Data
      • Extract Identity Card Data
      • Extract Internet Bill Data
      • Extract Invoice Data
      • Extract Passport Data
      • Extract Payslip Data
      • Extract Price Tag Data
      • Extract Purchase Order Data
      • Extract Receipt (General) Data
      • Extract SSM Documents Data
      • Extract Water Bill Data
    • Thailand
      • Extract Business Card Data
      • Extract Identity Card Data
      • Extract Passport Data
      • Extract Receipt Data
    • Vietnam
      • Extract Business Card Data
      • Extract Identity Card Data
      • Extract Passport Data
      • Extract Receipt Data
    • Philippines
      • Extract Business Card Data
        POST
      • Extract Identity Card Data
        POST
      • Extract Passport Data
        POST
      • Extract Receipt Data
        POST
  1. Philippines

Extract Receipt Data

POST
/document-ai/{model-id}

Extracted Data Types#

The following types will always be present in the API response. If a type parameter is not found in the input, its value will be null.
Parameter NameVariable Type
receipt_numberstring | null
receipt_vendor_namestring | null
receipt_vendor_addressstring | null
receipt_vat_reg_tinstring | null
receipt_vendor_contact_numberstring | null
receipt_datestring | null
receipt_timestring | null
receipt_itemArray of Objects
receipt_item[].item_quantitystring | null
receipt_item[].item_descriptionstring | null
receipt_item[].item_per_unit_pricestring | null
receipt_item[].item_total_amountstring | null
receipt_vatable_salesstring | null
receipt_vat_exempt_salesstring | null
receipt_vat_zero_rated_salesstring | null
receipt_vat_ratestring | null
receipt_vat_amountstring | null
receipt_subtotalstring | null
receipt_total_include_taxstring | null
receipt_total_paidstring | null
receipt_changestring | null

Notes#

Each type parameter in the data array will always have the specified type, with the possibility of being null.
If a specific type parameter is not present in the input, its value in the response will be null.

Request

Authorization
Add parameter in header
X-API-KEY
Example:
X-API-KEY: ********************
Path Params

Body Params multipart/form-data

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.axtraction.ai/v1/document/document-ai/model-a1b2c3d4e5f6' \
--header 'X-API-KEY;' \
--form 'file=@""' \
--form 'fileBase64="JVBERi0xLjMNCiXi48/...."' \
--form 'mimeType="application/pdf"'

Responses

🟢200Success
application/json
Body

Example
{
    "success": true,
    "data": [
        {
            "type": "receipt_number",
            "value": "113067-2-0064216"
        },
        {
            "type": "receipt_vendor_name",
            "value": "JOLLIBEE FOODS CORPORATION"
        },
        {
            "type": "receipt_vendor_address",
            "value": "Jollibee North Harbour Marcos Highway corner Zaragoza St, Metro Manila"
        },
        {
            "type": "receipt_vat_reg_tin",
            "value": "000-388-771-463"
        },
        {
            "type": "receipt_vendor_contact_number",
            "value": null
        },
        {
            "type": "receipt_date",
            "value": "02/15/2020"
        },
        {
            "type": "receipt_time",
            "value": "5:46 AM"
        },
        {
            "type": "receipt_item",
            "value": [
                {
                    "item_quantity": "2",
                    "item_description": "VM YUM FP",
                    "item_per_unit_price": "79.00",
                    "item_total_amount": "158.00"
                },
                {
                    "item_quantity": "2",
                    "item_description": "COFFEE",
                    "item_per_unit_price": "14.00",
                    "item_total_amount": "28.00"
                }
            ]
        },
        {
            "type": "receipt_vatable_sales",
            "value": "166.07"
        },
        {
            "type": "receipt_vat_exempt_sales",
            "value": "0.00"
        },
        {
            "type": "receipt_vat_zero_rated_sales",
            "value": "0.00"
        },
        {
            "type": "receipt_vat_rate",
            "value": null
        },
        {
            "type": "receipt_vat_amount",
            "value": "19.93"
        },
        {
            "type": "receipt_subtotal",
            "value": "166.07"
        },
        {
            "type": "receipt_total_include_tax",
            "value": "186.00"
        },
        {
            "type": "receipt_total_paid",
            "value": "200.00"
        },
        {
            "type": "receipt_change",
            "value": "14.00"
        }
    ],
    "miscellaneous": {
        "processedTime": 102.456
    }
}
Modified at 2025-05-13 04:15:21
Previous
Extract Passport Data
Built with