Engine Field

List pre-trained fields

Get list of possible pre_trained_field_id fields that can be used when creating engine fields. The available fields depend on the engine_use_case query parameter.

generic_ap (default)

namelabeltypesubtypetabulardescription
account_numBank AccountstringalphanumericFalseBank account number. Whitespaces are stripped.
bank_numSort CodestringalphanumericFalseSort code. Numerical code of the bank.
ibanIBANstringibanFalseBank account number in IBAN format.
bicBIC/SWIFTstringalphanumericFalseBank BIC or SWIFT code.
const_symConstant SymbolstringalphanumericFalseStatistical code on payment order.
spec_symSpecific SymbolstringalphanumericFalsePayee id on the payment order, or similar.
var_symVariable symbolstringnumericFalseIn some countries used by the supplier to match the payment received against the invoice. Possible non-numeric characters are stripped.
termsTermsstringFalsePayment terms as written on the document (e.g. "45 days", "upon receipt").
payment_methodPayment methodstringFalsePayment method defined on a document (e.g. 'Cheque', 'Pay order', 'Before delivery')
customer_idCustomer NumberstringalphanumericFalseThe number by which the customer is registered in the system of the supplier. Whitespaces are stripped.
date_dueDate Duedateperiod_endFalseThe due date of the invoice.
date_issueIssue Datedateperiod_beginFalseDate of issue of the document.
date_uzpTax Point Datedateperiod_endFalseThe date of taxable event.
document_idDocument IdentifierstringalphanumericFalseDocument number. Whitespaces are stripped.
order_idOrder NumberstringalphanumericFalsePurchase order identification (Order Numbers not captured as "sender_order_id"). Whitespaces are stripped.
recipient_addressRecipient AddressstringFalseAddress of the customer.
recipient_dicRecipient Tax Numberstringvat_numberFalseTax identification number of the customer. Whitespaces are stripped.
recipient_icRecipient Company IDstringvat_numberFalseCompany identification number of the customer. Possible non-numeric characters are stripped.
recipient_nameRecipient NamestringFalseName of the customer.
recipient_vat_idRecipient VAT Numberstringvat_numberFalseCustomer VAT Number
recipient_delivery_nameRecipient Delivery NamestringFalseName of the recipient to whom the goods will be delivered.
recipient_delivery_addressRecipient Delivery AddressstringFalseAddress of the recipient where the goods will be delivered.
sender_addressSupplier AddressstringFalseAddress of the supplier.
sender_dicSupplier Tax Numberstringvat_numberFalseTax identification number of the supplier. Whitespaces are stripped.
sender_icSupplier Company IDstringvat_numberFalseBusiness/organization identification number of the supplier. Possible non-numeric characters are stripped.
sender_nameSupplier NamestringFalseName of the supplier.
sender_vat_idSupplier VAT Numberstringvat_numberFalseVAT identification number of the supplier.
sender_emailSupplier EmailstringFalseEmail of the sender.
sender_order_idSupplier's Order IDstringFalseInternal order ID in the suppliers system.
delivery_note_idDelivery Note IDstringFalseDelivery note ID defined on the invoice.
supply_placePlace of SupplystringFalsePlace of supply (the name of the city or state where the goods will be supplied).
currencyCurrencyenumFalseThe currency which the invoice is to be paid in. Possible values: CZK, DKK, EUR, GBP, NOK, SEK, HUF, USD, AUD, INR, CHF, CNY, JPY, PLN, RON, RUB or other. May be also in lowercase.
document_typeDocument TypeenumFalsePossible values: credit_note, debit_note, tax_invoice (most typical), proforma, receipt, delivery_note, order or other.
languageLanguageenumFalseThe language which the document was written in. Values are ISO 639-3 language codes, e.g.: eng, fra, deu, zho. See <a href="https://knowledge-base.rossum.ai/docs/languages-supported-by-rossum">Languages Supported By Rossum</a>
payment_method_typePayment Method TypeenumFalsePayment method used for the transaction. Possible values: card, cash.
amount_dueAmount DuenumberamountFalseFinal amount including tax to be paid after deducting all discounts and advances.
amount_roundingAmount RoundingnumberamountFalseRemainder after rounding amount_total.
amount_totalTotal AmountnumberamountFalseSubtotal over all items, including tax.
amount_paidAmount paidnumberamountFalseAmount paid already.
amount_total_baseTax Base TotalnumberamountFalseBase amount for tax calculation.
amount_total_taxTax TotalnumberamountFalseTotal tax amount.
tax_detail_baseTax BasenumberamountTrueSum of tax bases for items with the same tax rate.
tax_detail_rateTax RatenumberrateTrueOne of the tax rates in the tax breakdown.
tax_detail_taxTax AmountnumberamountTrueSum of taxes for items with the same tax rate.
tax_detail_totalTax TotalnumberamountTrueTotal amount including tax for all items with the same tax rate.
tax_detail_codeTax CodestringalphanumericTrueText on document describing tax code of the tax rate (e.g. 'GST', 'CGST', 'DPH', 'TVA'). If multiple tax rates belong to one tax code on the document, the tax code will be assigned only to the first tax rate. (in future such tax code will be distributed to all matching tax rates.)
table_column_codeItem Code/IDstringalphanumericTrueCan be the SKU, EAN, a custom code (string of letters/numbers) or even just the line number.
table_column_descriptionItem DescriptionstringTrueLine item description. Can be multi-line with details.
table_column_quantityItem QuantitynumberTrueQuantity of the item.
table_column_uomItem Unit of MeasurestringTrueUnit of measure of the item (kg, container, piece, gallon, ...).
table_column_rateItem RatenumberrateTrueTax rate for the line item.
table_column_taxItem TaxnumberamountTrueTax amount for the line. Rule of thumb: tax = rate * amount_base.
table_column_amount_baseAmount BasenumberamountTrueUnit price without tax. (This is the primary unit price extracted.)
table_column_amountAmountnumberamountTrueUnit price with tax. Rule of thumb: amount = amount_base + tax.
table_column_amount_total_baseAmount Total BasenumberamountTrueThe total amount to be paid for all the items excluding the tax. Rule of thumb: amount_total_base = amount_base * quantity.
table_column_amount_totalAmount TotalnumberamountTrueThe total amount to be paid for all the items including the tax. Rule of thumb: amount_total = amount * quantity.
table_column_otherOtherstringTrueUnrecognized data type.
barcode_qrcodeQR CodestringFalse
barcode_ean2EAN-2stringFalse
barcode_ean5EAN-5stringFalse
barcode_ean8EAN-8stringFalse
barcode_ean13EAN-13stringFalse
barcode_code39Code 39stringFalse
barcode_code93Code 93stringFalse
barcode_code128Code 128stringFalse
barcode_isbn10ISBN-10stringFalse
barcode_isbn13ISBN-13stringFalse
barcode_upcaUPC-AstringFalse
barcode_upceUPC-EstringFalse
barcode_databarDataBarstringFalse
barcode_databar_expDataBar ExpandedstringFalse
barcode_codabarCodabarstringFalse
barcode_pdf417PDF417stringFalse
barcode_sqcodeSQCodestringFalse
barcode_i25Interleaved 2 of 5stringFalse

coupa_header_level

namelabeltypesubtypetabulardescription
document_typeDocument TypeenumFalsePossible values: credit_note, debit_note, tax_invoice (most typical), proforma, receipt, delivery_note, order or other.
document_idInvoice NumberstringalphanumericFalseThe ID of the document.
date_issueInvoice Datedateperiod_beginFalseDate of issue of the document.
date_dueDue Datedateperiod_endFalseThe due date of the invoice.
termsPayment TermsstringFalsePayment terms as written on the document (eg. "45 days", "upon receipt").
recipient_nameCustomer NamestringFalseName of the customer.
recipient_addressCustomer AddressstringFalseAddress of the customer.
recipient_vat_idCustomer Tax Numberstringvat_numberFalseCustomer VAT Number
sender_nameSupplier NamestringFalseName of the supplier.
sender_addressSupplier AddressstringFalseAddress of the supplier.
sender_vat_idSupplier Tax Numberstringvat_numberFalseVAT identification number of the supplier.
sender_remit_to_addressSupplier Remit to AddressstringFalse
ibanIBANstringibanFalseBank account number in IBAN format.
bicBIC/SWIFTstringalphanumericFalseBank BIC or SWIFT code.
account_numAccount NumberstringalphanumericFalseBank account number.
bank_numBank CodestringalphanumericFalseSort code. Numerical code of the bank.
original_document_idOriginal Invoice NumberstringFalse
original_date_issueOriginal Invoice DatedateFalse
amount_total_baseSubtotalnumberamountFalseBase amount for tax calculation.
amount_total_taxTax AmountnumberamountFalseTotal tax amount.
shipping_chargeChargesnumberFalse
amount_totalAmount DuenumberamountFalseSubtotal over all items, including tax.
currencyCurrencyenumFalseThe currency which the invoice is to be paid in. Possible values: CZK, DKK, EUR, GBP, NOK, SEK, HUF, USD, AUD, INR, CHF, CNY, JPY, PLN, RON, RUB or other. May be also in lowercase.
order_idPO NumberstringalphanumericFalsePurchase order identification.
contract_numberContract NumberstringFalse
service_periodService PeriodstringFalse
sp_date_startService Period StartdateFalse
sp_date_endService Period EnddateFalse
table_column_descriptionDescriptionstringTrueLine item description. Can be multi-line with details.
table_column_quantityQuantitynumberTrueQuantity of the item.
table_column_amount_baseUnit Price NetnumberTrueUnit price without tax.
table_column_total_baseTotal NetnumberTrue
table_column_order_idPO NumberstringTrue
table_column_codeSupplier Part NumberstringTrueCan be the SKU, EAN, a custom code (string of letters/numbers) or even just the line number.
service_period_item_startService Period Item StartdateTrue
service_period_item_endService Period Item EnddateTrue
service_period_itemService Period ItemstringTrue

coupa_line_level

namelabeltypesubtypetabulardescription
document_typeDocument TypeenumFalsePossible values: credit_note, debit_note, tax_invoice (most typical), proforma, receipt, delivery_note, order or other.
document_idInvoice NumberstringalphanumericFalseThe ID of the document.
date_issueInvoice Datedateperiod_beginFalseDate of issue of the document.
date_dueDue Datedateperiod_endFalseThe due date of the invoice.
termsPayment TermsstringFalsePayment terms as written on the document (eg. "45 days", "upon receipt").
recipient_nameCustomer NamestringFalseName of the customer.
recipient_addressCustomer AddressstringFalseAddress of the customer.
recipient_vat_idCustomer Tax Numberstringvat_numberFalseCustomer VAT Number
sender_nameSupplier NamestringFalseName of the supplier.
sender_addressSupplier AddressstringFalseAddress of the supplier.
sender_vat_idSupplier Tax Numberstringvat_numberFalseVAT identification number of the supplier.
sender_remit_to_addressSupplier Remit to AddressstringFalse
ibanIBANstringibanFalseBank account number in IBAN format.
bicBIC/SWIFTstringalphanumericFalseBank BIC or SWIFT code.
account_numAccount NumberstringalphanumericFalseBank account number.
bank_numBank CodestringalphanumericFalseSort code. Numerical code of the bank.
original_document_idOriginal Invoice NumberstringFalse
original_date_issueOriginal Invoice DatedateFalse
amount_total_baseTotal Without TaxnumberamountFalseBase amount for tax calculation.
amount_total_taxTax AmountnumberamountFalseTotal tax amount.
tax_rateTax RatenumberFalse
charge_descriptionCharge DescriptionstringTrue
charge_taxCharge Tax AmountnumberTrue
charge_tax_rateCharge Tax RatenumberTrue
charge_amountCharge AmountnumberTrue
amount_totalAmount DuenumberamountFalseSubtotal over all items, including tax.
currencyCurrencyenumFalseThe currency which the invoice is to be paid in. Possible values: CZK, DKK, EUR, GBP, NOK, SEK, HUF, USD, AUD, INR, CHF, CNY, JPY, PLN, RON, RUB or other. May be also in lowercase.
order_idPO NumberstringalphanumericFalsePurchase order identification.
contract_numberContract NumberstringFalse
service_periodService PeriodstringFalse
sp_date_startService Period StartdateFalse
sp_date_endService Period EnddateFalse
table_column_descriptionDescriptionstringTrueLine item description. Can be multi-line with details.
table_column_quantityQuantitynumberTrueQuantity of the item.
table_column_amount_baseUnit Price NetnumberTrueUnit price without tax.
table_column_amount_total_baseTotal NetnumberamountTrueThe total amount to be paid for all the items excluding the tax. Rule of thumb: amount_total_base = amount_base * quantity.
table_column_rateTax RatenumberrateTrueTax rate for the line item.
table_column_taxTax AmountnumberamountTrueTax amount for the line. Rule of thumb: tax = rate * amount_base.
table_column_order_idPO NumberstringTrue
table_column_codeSupplier Part NumberstringalphanumericTrueCan be the SKU, EAN, a custom code (string of letters/numbers) or even just the line number.
service_period_itemService Period ItemstringTrue
service_period_item_startService Period Item StartdateTrue
service_period_item_endService Period Item EnddateTrue
get/api/v1/engine_fields/pre_trained_fields

Query parameters

engine_use_case'generic_ap' | 'coupa_line_level' | 'coupa_header_level'

Filter pre-trained fields by engine use case. If not specified, returns fields for generic_ap.

Response

OK

Example response

{
  "results": [
    {
      "name": "account_num",
      "label": "Bank Account",
      "section": "Identifiers",
      "type": "string",
      "subtype": "alphanumeric",
      "multiline": "false",
      "description": "Bank account number. Whitespaces are stripped."
    }
  ]
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.