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
codestringrequiredSubcategory code.
uncategorizedmeans “Uncategorized”.groupstringGroup code of the subcategory.
sourcestringWhere 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 betweenkeywordsandfallback. The list can grow: show an unknown value as automatic classification.Allowed values:
manualorg_rulevendorcatalogkeywordsfallbackconfidencenumberConfidence from 0 to 1.
reviewbooleanHuman review is needed: “Uncategorized” or low confidence.