naftiko: 1.0.0-alpha2 info: label: Microsoft Azure BillingClient — Invoices description: 'Microsoft Azure BillingClient — Invoices. 3 operations. Lead operation: Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Billing Invoices. Self-contained Naftiko capability covering one Microsoft Azure business surface.' tags: - Microsoft Azure - Invoices created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MICROSOFT_AZURE_API_KEY: MICROSOFT_AZURE_API_KEY capability: consumes: - type: http namespace: billingclient-invoices baseUri: https://management.azure.com description: Microsoft Azure BillingClient — Invoices business capability. Self-contained, no shared references. resources: - name: subscriptions-subscriptionId-providers-Microsoft.Billing-invoices path: /subscriptions/{subscriptionId}/providers/Microsoft.Billing/invoices operations: - name: microsoftazureinvoiceslist method: GET description: Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Billing Invoices outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: $expand in: query type: string description: May be used to expand the downloadUrl property within a list of invoices. This enables download links to be generated for multiple invoices at once. By default, - name: $filter in: query type: string description: May be used to filter invoices by invoicePeriodEndDate. The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', o - name: $skiptoken in: query type: string description: 'Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element ' - name: $top in: query type: integer description: May be used to limit the number of results to the most recent N invoices. - name: subscriptions-subscriptionId-providers-Microsoft.Billing-invoices-latest path: /subscriptions/{subscriptionId}/providers/Microsoft.Billing/invoices/latest operations: - name: microsoftazureinvoicesgetlatest method: GET description: Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Billing Invoices Latest outputRawFormat: json outputParameters: - name: result type: object value: $. - name: subscriptions-subscriptionId-providers-Microsoft.Billing-invoices-invoiceName path: /subscriptions/{subscriptionId}/providers/Microsoft.Billing/invoices/{invoiceName} operations: - name: microsoftazureinvoicesget method: GET description: Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Billing Invoices Invoicename outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: invoiceName in: path type: string description: The name of an invoice resource. required: true exposes: - type: rest namespace: billingclient-invoices-rest port: 8080 description: REST adapter for Microsoft Azure BillingClient — Invoices. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/subscriptions/{subscriptionid}/providers/microsoft-billing/invoices name: subscriptions-subscriptionid-providers-microsoft-billing-invoices description: REST surface for subscriptions-subscriptionId-providers-Microsoft.Billing-invoices. operations: - method: GET name: microsoftazureinvoiceslist description: Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Billing Invoices call: billingclient-invoices.microsoftazureinvoiceslist with: $expand: rest.$expand $filter: rest.$filter $skiptoken: rest.$skiptoken $top: rest.$top outputParameters: - type: object mapping: $. - path: /v1/subscriptions/{subscriptionid}/providers/microsoft-billing/invoices/latest name: subscriptions-subscriptionid-providers-microsoft-billing-invoices-latest description: REST surface for subscriptions-subscriptionId-providers-Microsoft.Billing-invoices-latest. operations: - method: GET name: microsoftazureinvoicesgetlatest description: Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Billing Invoices Latest call: billingclient-invoices.microsoftazureinvoicesgetlatest outputParameters: - type: object mapping: $. - path: /v1/subscriptions/{subscriptionid}/providers/microsoft-billing/invoices/{invoicename} name: subscriptions-subscriptionid-providers-microsoft-billing-invoices-invoicename description: REST surface for subscriptions-subscriptionId-providers-Microsoft.Billing-invoices-invoiceName. operations: - method: GET name: microsoftazureinvoicesget description: Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Billing Invoices Invoicename call: billingclient-invoices.microsoftazureinvoicesget with: invoiceName: rest.invoiceName outputParameters: - type: object mapping: $. - type: mcp namespace: billingclient-invoices-mcp port: 9090 transport: http description: MCP adapter for Microsoft Azure BillingClient — Invoices. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-azure-get-subscriptions-subscriptionid description: Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Billing Invoices hints: readOnly: true destructive: false idempotent: true call: billingclient-invoices.microsoftazureinvoiceslist with: $expand: tools.$expand $filter: tools.$filter $skiptoken: tools.$skiptoken $top: tools.$top outputParameters: - type: object mapping: $. - name: microsoft-azure-get-subscriptions-subscriptionid-2 description: Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Billing Invoices Latest hints: readOnly: true destructive: false idempotent: true call: billingclient-invoices.microsoftazureinvoicesgetlatest outputParameters: - type: object mapping: $. - name: microsoft-azure-get-subscriptions-subscriptionid-3 description: Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Billing Invoices Invoicename hints: readOnly: true destructive: false idempotent: true call: billingclient-invoices.microsoftazureinvoicesget with: invoiceName: tools.invoiceName outputParameters: - type: object mapping: $.