List a customer's billing documents
list_invoicesRetrieve a customer's complete billing document history, including invoices and credit notes, for a subscription or customer reference.
Instructions
Lists the billing documents of a ProAbono customer: debit invoices and credit notes together, as the Live API returns them, with TypeCredit telling the two apart -- present means a credit note, absent means a debit invoice. Read-only. There is no kind filter, here or in the API: filter the returned list yourself if only one kind is wanted, and say so in the answer, because the count reported here is the customer's full document history. Reads every page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customer_ref | No | Restrict to this customer's documents. | |
| subscription_id | No | Restrict to the documents of one subscription. |