For AI agents: visit https://developer.bitpay.com/llms.txt for an index of all pages formatted in Markdown and endpoints in OpenAPI. Append .md to any documentation page URL to get its markdown version.
To get the generated invoices filtered by query parameters
Invoice invoices = bitpay.GetInvoices('YYYY-MM-DD', 'YYYY-MM-DD', InvoiceStatus::Complete, null, 10).Result; //Always use the included InvoiceStatus model to avoid typos