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

Invoke Skill Propose Qbo Tax Group Mapping

post/api/v1/skills/propose.qbo.tax.group.mapping/invoke

Propose CCH-Axcess-style tax-line mappings for the rows of a prepared QBO trial balance. Conversational β€” uses consult_accounting_expert + search_knowledge_base + the firm's tax-group catalog to assign each TB row a tax_code / engagement_tax_code / line_description with confidence + reasoning. Inputs: tb_rows (alpha-canonical from enrich_tb_rows) + tax_group_catalog + entity_type (1065/1120/1120S/1040). Output: 1:1 mapping list + counts + unmapped account_numbers. Does NOT render a CCH file β€” the deliverable is the source Caseware TB Excel with TaxCodeCode populated, rendered by the existing TB Excel generator downstream.

Request bodyapplication/json

FieldTypeDescription
tb_rowsobject[]Prepared trial balance rows (alpha-canonical dict shape from enrich_tb_rows). Each row carries code, name, debit, credit, classification.
item shape
Empty object.
tax_group_catalogobject[]Firm's tax-line catalog β€” one dict per tax group / line with tax_code, engagement_tax_code, line_description, category, worksheet, section. Source: CCH Axcess import template or Caseware TB extract.
item shape
Empty object.
entity_type"1065" | "1120" | "1120S" | "1040"β€”
106511201120S1040
confidence_thresholdnumberβ€”

Responses

200Skill executed successfully
FieldTypeDescription
skillrequiredstringβ€”
outputrequiredobjectβ€”
show nested
FieldTypeDescription
stub_fieldsstring[]β€”
warningsstring[]β€”
mappingsany[]β€”
countsobjectβ€”
show nested
Empty object.
unmappedstring[]account_numbers we could not propose a mapping for.
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/propose.qbo.tax.group.mapping/invoke \
  -X POST \
  -H "Authorization: Bearer sk_..." \
  -H "Content-Type: application/json" \
  -d '{
       "tb_rows": [
         {}
       ],
       "tax_group_catalog": [
         {}
       ],
       "entity_type": "1065",
       "confidence_threshold": 0
     }'