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
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:readscope, including every OAuth connection, gets a tool error saying thebilling:readscope is required. - A
limitthat 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.
