Skip to content
Sursa Developers

Objects

CategoryRef

Category of a line item or invoice, or the counterparty's type of business: a taxonomy subcategory (GET /v1/catalog/spend-taxonomy). In manual values, only code is used.

Fields

  • codestringrequired

    Subcategory code. uncategorized means “Uncategorized”.

  • groupstring

    Group code of the subcategory.

  • sourcestring

    Where the value comes from, from strongest to weakest: manual (manual); an organization rule (“vendor → category”, set by a user or learned from corrections, org_rule); the vendor's type of business (vendor); the company directory (catalog); keywords in the description (keywords); nothing matched (fallback). Automatic classification ranks between keywords and fallback. The list can grow: show an unknown value as automatic classification.

    Allowed values: manualorg_rulevendorcatalogkeywordsfallback

  • confidencenumber

    Confidence from 0 to 1.

  • reviewboolean

    Human review is needed: “Uncategorized” or low confidence.

Part of

DocInvoiceFieldsDocInvoiceLine