Operating system set to macOS
Documentation jurisdiction set to United States
Sign inConnect Claude

Invoke Skill Transactions Classify

post/api/v1/skills/transactions.classify/invoke

Classify a financial transaction to chart-of-accounts code.

Suggests the chart-of-accounts code for a single transaction, so an accountant can code bank-feed lines quickly and consistently. It needs the description and amount, and accepts a currency, transaction date and vendor to sharpen the answer. It returns the account code and name, a confidence score, alternative codes and the tax code, and it never posts anything.

Request bodyapplication/json

FieldTypeDescription
descriptionrequiredstringBank-feed or invoice text that describes the transaction.
amountrequirednumber | stringTransaction amount in the transaction currency.
currencystringTransaction currency as an ISO 4217 currency code.
transaction_datestring (date) | nullDate of the transaction as an ISO 8601 date.
vendorstring | nullName of the vendor or counterparty, when it is known.

Responses

200Skill executed successfully
FieldTypeDescription
skillrequiredstringβ€”
outputrequiredobjectβ€”
show nested
FieldTypeDescription
stub_fieldsstring[]β€”
warningsstring[]β€”
account_codestringβ€”
account_namestringβ€”
confidencenumberβ€”
alternativesany[]β€”
tax_codestring | nullβ€”
correlation_idrequiredstringβ€”
401Authentication required
FieldTypeDescription
errorrequiredobjectβ€”
show nested
FieldTypeDescription
typerequiredstringβ€”
coderequiredstringβ€”
messagerequiredstringβ€”
paramstringβ€”
retry_after_secondsintegerβ€”
403Insufficient permissions
FieldTypeDescription
errorrequiredobjectβ€”
show nested
FieldTypeDescription
typerequiredstringβ€”
coderequiredstringβ€”
messagerequiredstringβ€”
paramstringβ€”
retry_after_secondsintegerβ€”
404Skill not found
FieldTypeDescription
errorrequiredobjectβ€”
show nested
FieldTypeDescription
typerequiredstringβ€”
coderequiredstringβ€”
messagerequiredstringβ€”
paramstringβ€”
retry_after_secondsintegerβ€”
429Rate limit exceeded
FieldTypeDescription
errorrequiredobjectβ€”
show nested
FieldTypeDescription
typerequiredstringβ€”
coderequiredstringβ€”
messagerequiredstringβ€”
paramstringβ€”
retry_after_secondsintegerβ€”
5XXInternal server error
FieldTypeDescription
errorrequiredobjectβ€”
show nested
FieldTypeDescription
typerequiredstringβ€”
coderequiredstringβ€”
messagerequiredstringβ€”
paramstringβ€”
retry_after_secondsintegerβ€”
curl https://api.dev.arch.ie/api/v1/skills/transactions.classify/invoke \
  -X POST \
  -H "Authorization: Bearer sk_..." \
  -H "Content-Type: application/json" \
  -d '{
       "description": "string",
       "amount": null,
       "currency": "string",
       "transaction_date": null,
       "vendor": null
     }'