Skip to content
Sursa Developers

Objects

DocInvoiceExtraction

Result of invoice field extraction: the fields, the review flag with reasons, the confidence, where the fields were read (inside the installation or in the cloud), and which fields were set manually.

Fields

  • fieldsDocInvoiceFieldsrequired
  • reviewbooleanrequired

    Human review is needed: the arithmetic, dates or currency do not add up.

  • reasonsarray of string

    Reason codes: lines_sum_mismatch, total_mismatch, issue_after_due, mixed_currency, currency_missing, date_unparsed, number_unparsed, total_from_footer, fields_not_extracted (the fields were not extracted automatically), required_missing:<fields>. The list can grow.

  • confidencenumberrequired
  • extracted_bystringrequired

    Where the fields were read: local (inside the installation, the data does not leave the server) or cloud (a cloud provider), as in the extraction_model setting.

    Allowed values: localcloud

  • attemptsinteger
  • manual_fieldsarray of string

Part of

Card