naftiko: 1.0.0-alpha2 info: title: Compose Ai Context Tax Flow description: A capability composing AvaTax + ledger context into an AI context for an end-to-end tax-determination flow. tags: [Naftiko, Tax, AvaTax, AI Context] created: '2026-05-01' modified: '2026-05-04' binds: - namespace: avatax-env keys: {AVATAX_USERNAME: AVATAX_USERNAME, AVATAX_PASSWORD: AVATAX_PASSWORD} capability: consumes: - namespace: avatax type: http baseUri: https://rest.avatax.com authentication: {type: basic, username: '{{AVATAX_USERNAME}}', password: '{{AVATAX_PASSWORD}}'} resources: - {name: transactions, path: /api/v2/transactions/create, operations: [{name: create-transaction, method: POST}]} - name: transaction path: /api/v2/companies/{{company_code}}/transactions/{{transaction_code}} operations: - {name: get-transaction, method: GET, inputParameters: [{name: company_code, in: path}, {name: transaction_code, in: path}]} exposes: - type: rest address: 0.0.0.0 port: 8080 namespace: compose-ai-context-tax-flow-rest description: REST surface for composed tax-flow AI context. resources: - {name: tax-context, path: /tax-context, operations: [{method: POST, name: get-tax-flow-context, call: avatax.create-transaction}]} - type: mcp address: 0.0.0.0 port: 3010 namespace: compose-ai-context-tax-flow-mcp description: MCP for tax-flow context. tools: - {name: get-tax-flow-context, call: avatax.create-transaction} - type: skill address: 0.0.0.0 port: 3011 namespace: compose-ai-context-tax-flow-skills description: Skill for tax-flow context. skills: - name: compose-ai-context-tax-flow description: Composed tax-flow AI context. location: file:///opt/naftiko/skills/compose-ai-context-tax-flow allowed-tools: get-tax-flow-context tools: - {name: get-tax-flow-context, from: {sourceNamespace: compose-ai-context-tax-flow-mcp, action: get-tax-flow-context}}