naftiko: 1.0.0-alpha2 info: label: Avalara E-Invoicing REST API — Interop description: 'Avalara E-Invoicing REST API — Interop. 1 operations. Lead operation: Avalara Submit a Document via Interoperability Network. Self-contained Naftiko capability covering one Avalara business surface.' tags: - Avalara - Interop created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: AVALARA_API_KEY: AVALARA_API_KEY capability: consumes: - type: http namespace: e-invoicing-interop baseUri: https://api.avalara.com/einvoicing/v1 description: Avalara E-Invoicing REST API — Interop business capability. Self-contained, no shared references. resources: - name: interop-documents path: /interop/documents operations: - name: submitinteropdocument method: POST description: Avalara Submit a Document via Interoperability Network outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: avalara-version in: header type: string required: true - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.AVALARA_API_KEY}}' exposes: - type: rest namespace: e-invoicing-interop-rest port: 8080 description: REST adapter for Avalara E-Invoicing REST API — Interop. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/interop/documents name: interop-documents description: REST surface for interop-documents. operations: - method: POST name: submitinteropdocument description: Avalara Submit a Document via Interoperability Network call: e-invoicing-interop.submitinteropdocument with: avalara-version: rest.avalara-version body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: e-invoicing-interop-mcp port: 9090 transport: http description: MCP adapter for Avalara E-Invoicing REST API — Interop. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: avalara-submit-document-interoperability-network description: Avalara Submit a Document via Interoperability Network hints: readOnly: false destructive: false idempotent: false call: e-invoicing-interop.submitinteropdocument with: avalara-version: tools.avalara-version body: tools.body outputParameters: - type: object mapping: $.