Skip to main content
Use list_invoices with an Affonso API key that has the billing:read scope. The tool reads the same invoices and fields as List invoices. OAuth connections cannot use this tool.
Example tool arguments
The structuredContent.data array contains the invoices, newest first. In markdown format, a team without invoices gets No invoices yet.

Errors

  • A connection without the billing:read scope, including every OAuth connection, gets a tool error saying the billing:read scope is required.
  • A limit that is not an integer from 1 to 24 returns a tool error.
  • When billing is unavailable, the tool returns an error with code 503 and the message Billing not available.