Get customer invoice
amberflo_get_customer_invoiceGet a single customer invoice: the CURRENT open invoice (latest=true, default) or a SPECIFIC past invoice by product_plan_id + year + month + day. API: GET /payments/billing/customer-product-invoice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| day | No | Day of month of a specific past invoice. | |
| year | No | Year of a specific past invoice. | |
| month | No | Month (1-12) of a specific past invoice. | |
| latest | No | Fetch the current open invoice. Default true. Ignored when a specific invoice is addressed. | |
| from_cache | No | Use cached invoice (faster). Default true. | |
| product_id | No | Product id. Default "1". | |
| customer_id | Yes | The Amberflo customerId. | |
| product_plan_id | No | Product plan id of a specific past invoice (with year/month/day). | |
| with_payment_status | No | Include payment status. Default true. |