lago_invoice_id is null.
What a fee links to
Each fee carries the identifiers of the objects that produced it:
Related products, filters and rates can point to deleted catalog records for historical fees.
Amounts
Example
In the running example, 2,000 API calls at $0.01 produce this fee onapi_calls_usd:
With a 20% tax assigned,
taxes_amount_cents is 400 and total_amount_cents is 2400.
List and retrieve fees
- Dashboard
- API
- Open an invoice from Invoices or from the customer view; and
- Review the fee lines in the invoice detail.
Update a fee payment status
payment_status is the only editable field: pending, succeeded, failed or refunded. An invoiced fee cannot be updated and returns 422 invoiced_fee.
Delete a fee
Only uninvoiced fees can be deleted. A fee already attached to an invoice returns422 invoiced_fee.
Next steps
Invoices
How fees are grouped and totaled.
Credit notes
Credit a fee on a finalized invoice.
List fees (API)
Filters and response schema.
Update a fee (API)
Change the payment status of an uninvoiced fee.