Data Fields That Taggun Extracts

List of data fields that Taggun extracts in Recept and Invoice Data Extraction APIs.

For Data Extraction API Endpoints


Core Fields

FieldDescriptionTypeAccess PathEndpointsAccess
Total AmountThe total value of the transactionNumbertotalAmount.dataSimple & VerboseAuto-enabled
Tax AmountThe total amount of tax in the transactionNumbertaxAmount.dataSimple & VerboseAuto-enabled
DateThe date of the transactionDatedate.dataSimple & VerboseAuto-enabled
Merchant NameThe name of the merchant who issued the receiptStringmerchantName.dataSimple & VerboseAuto-enabled
Merchant AddressMerchant's full address details including city, state, country code, and postal codeTextmerchantAddress.dataSimple & VerboseAuto-enabled
Paid AmountThe amount paid in the transactionNumberpaidAmount.dataVerbose onlyAuto-enabled
Discount AmountThe total discount applied to the transactionNumberdiscountAmount.dataVerbose onlyAuto-enabled
Currency (Total Amount)The currency of the total amountStringtotalAmount.currencyCodeSimple & VerboseAuto-enabled
Invoice NumberThe invoice number, if availableStringentities.invoiceNumber.dataVerbose onlyAuto-enabled
Receipt NumberThe receipt number, if availableStringentities.receiptNumber.dataVerbose onlyAuto-enabled
All TextRaw OCR text from the fileStringtext.textSimple & VerboseAuto-enabled

Product Line Item Fields

Product Line Items: This field is an array -lineItems[] because each receipt may have multiple line items, such as different products or services. Each entry in the array corresponds to a unique product line on the receipt.

FieldTypeDescriptionAccess PathEndpointsAccess
Product/Service NameStringThe name of the itementities.productLineItems[].data.name.dataVerbose onlyAuto-enabled
QuantityNumberHow many of the item were purchasedentities.productLineItems[].data.quantity.dataVerbose onlyAuto-enabled
Unit PriceNumberThe price of a single itementities.productLineItems[].data.unitPrice.dataVerbose onlyAuto-enabled
Total PriceNumberThe total price for this line itementities.productLineItems[].data.totalPrice.dataVerbose onlyAuto-enabled
Product CodeStringA unique identifier for the product, if availableentities.productLineItems[].data.productCode.dataVerbose onlyContact Taggun
Line Item IndexNumberThe position of the line item on the receipt.entities.productLineItems[].indexVerbose onlyAuto-enabled

Detailed Merchant Location Fields

FieldTypeDescriptionAccess PathEndpointsAccess
Merchant CountryStringThe country code of the merchant's address.merchantCountryCode.dataSimple & VerboseAuto-enabled
Merchant StateStringThe state or region of the merchant's address.merchantState.dataSimple & VerboseAuto-enabled
Merchant CityStringThe city where the merchant is located.merchantCity.dataSimple & VerboseAuto-enabled
Merchant Postal CodeStringThe postal or ZIP code of the merchant's address.merchantPostalCode.dataSimple & VerboseAuto-enabled

Detailed Tax Fields

FieldTypeDescriptionAccess PathEndpointsAccess
Currency (Tax Amount)StringThe currency of the tax amount.taxAmount.currencyCodeSimple & VerboseAuto-enabled
Merchant Tax IDStringThe tax ID of the merchant, where applicable.merchantTaxId.dataVerbose onlyContact Taggun
Multi-Tax Line ItemsArrayDetailed information on multiple tax types and rates.multiTaxLineItemsVerbose onlyContact Taggun

👍

Important Note: Taggun supports region-specific tax data fields, such as VAT validation for EU businesses or tax verification for other regions.

For example:

  • VAT Number Verification: Taggun offers VIES (VAT Information Exchange System) validation for EU receipts, confirming the validity of VAT numbers.
  • IBAN: Extracts relevant bank account information for European businesses.

Explore our Global Capabilities Documentation to learn more about region-specific tax handling, including number verifications and local tax rates for different countries.


Fraud Detection Fields

FieldTypeDescriptionAccess PathEndpointsAccess
Tamper DetectionBooleanDetects if the receipt has been tampered with.tamperDetection.dataVerbose onlyContact Taggun
Tamper ScoreNumberThe likelihood that the receipt has been tampered.tamperDetection.data.tamperedScoreVerbose onlyContact Taggun
Handwriting DetectionBooleanDetects if there are handwritten elements on the receipt.handwritingDetection.dataVerbose onlyContact Taggun
Handwriting ScoreNumberThe likelihood that the receipt contains handwriting.handwritingDetection.data.handwrittenScoreVerbose onlyContact Taggun
Similar ReceiptsArrayIdentifies potential duplicate receipts based on previous scans.similarReceiptsVerbose onlyContact Taggun

Analysis Fields

FieldTypeDescriptionAccess PathEndpointsAccess
Confidence LevelNumberThe confidence score for the accuracy of the extracted data.confidenceLevelSimple & VerboseAuto-enabled
TextStringThe raw, unprocessed text as it appears on the file, including any surrounding characters, formatting, or potential inconsistenciestextSimple & VerboseAuto-enabled
DataVariesThe cleaned and standardised value from the file, ready for direct use in applications or further processing,dataSimple & VerboseAuto-enabled
RegionsArrayThe coordinates specify the area of the receipt where data is found.regionsSimple & VerboseAuto-enabled
IndexNumberThe position of the extracted data on the receipt.indexSimple & VerboseAuto-enabled
Target RotationNumberIndicates if the receipt image was rotated during processing.targetRotationSimple & VerboseAuto-enabled
Elapsed TimeNumberThe time taken to process the receipt (in milliseconds).elapsedSimple & VerboseAuto-enabled
Tracking IDStringA unique ID to track the processed receipt.trackingIdSimple & VerboseAuto-enabled
Items CountNumberThe number of individual line items detected on the receipt.itemsCount.dataVerbose onlyAuto-enabled

ℹ️

Note: This is not the complete list of everything Taggun can do.

Continue exploring the documentation to find out more about global capabilities and receipt validation endpoints.


Additional Information

Global Capabilities

Taggun extracts more region-specific data fields depending on the receipt's origin. These fields can vary based on country. Explore our Global Capabilities Documentation.


Receipt Validation

Please note that these fields differ from those available in Taggun Receipt Validation Endpoints. To explore the data fields specific to receipt validation, visit the Receipt Validation Data Fields.


Don't see what you need?

If a specific data field is not available, we want to hear from you.

Contact us at [email protected] to request support for additional fields.


What’s Next