Get billingorgv1erp invoices
Mixin for viewsets that provides a queryset based on a model class.
Authorizations
API key for authentication. Make sure to include the word apikey, followed by a single space and then your token.
Example: apikey 1234$abcdef
Query Parameters
Billing period from (inclusive)
Billing period to (inclusive)
Filter by client ID
Filter by currency code
Invoice date from (inclusive)
Invoice date to (inclusive)
Number of results to return per page. Maximum is 100.
Filter by move type: out_invoice or out_refund
out_invoice-out_invoiceout_refund-out_refund
out_invoice, out_refund The initial index from which to return the results.
Ordering of the results.
For ascending sort order use field.asc, for descending sort order use field.desc.
For sorting by multiple parameters write them as comma separated string: client_id.asc,id.desc.
Final stable tiebreak ordering by primary key is added except when queryset DISTINCT ON is used or pk sorting used.
id.asc- Idid.desc- Id (descending)invoice_date.asc- Invoice dateinvoice_date.desc- Invoice date (descending)amount_total.asc- Amount totalamount_total.desc- Amount total (descending)created_at.asc- Created atcreated_at.desc- Created at (descending)name.asc- Namename.desc- Name (descending)
amount_total.asc, amount_total.desc, created_at.asc, created_at.desc, id.asc, id.desc, invoice_date.asc, invoice_date.desc, name.asc, name.desc Ordering of the results.
This field is left for compatibility and can be deprecated in future versions. Use order_by instead.
Default sort order is ascending. Put - before value for descending sort order: -id.
For sorting by multiple parameters write them as comma separated string: -client_id,id.
Final stable tiebreak ordering by primary key is added except when queryset DISTINCT ON is used or pk sorting used.
id- Id-id- Id (descending)invoice_date- Invoice date-invoice_date- Invoice date (descending)amount_total- Amount total-amount_total- Amount total (descending)created_at- Created at-created_at- Created at (descending)name- Name-name- Name (descending)
-amount_total, -created_at, -id, -invoice_date, -name, amount_total, created_at, id, invoice_date, name Filter by payer ID
Filter by payment state
not_paid-not_paidpaid- paidpartial- partialreversed- reversedin_payment-in_payment
in_payment, not_paid, paid, partial, reversed