Several new filters
We have added many new filters, see below
Added the possibility to filter by negative amounts
Properties: -TotalAmount, -TotalVatAmount, -TotalRoundings, -RemainingAmount
Possibility to filter by customer ID on quotes
We have made it possible to filter by customer ID when fetching quotes.
Added the possibility to filter on Row/Text
Added the possibility to filter on Row/ArticleNumber
Filtering by properties 'HasAutoInvoiceError' and 'TotalAmountInvoiceCurrency'
In the v2/customerinvoices and v2/customerinvoices/statistics endpoints we are missing properties 'HasAutoInvoiceError' and 'TotalAmountInvoiceCurrency'. Those have been added and the filtering is now possible, the same as in the web.
GET /v2/customerinvoices?$filter=HasAutoInvoiceError eq true
GET /v2/customerinvoices/statistics?$filter=HasAutoInvoiceError eq true
GET v2/customerinvoices?$filter=RemainingAmountInvoiceCurrency eq -TotalAmountInvoiceCurrency or RemainingAmountInvoiceCurrency eq TotalAmountInvoiceCurrency
GET v2/customerinvoices/statistics?$filter=RemainingAmountInvoiceCurrency eq -TotalAmountInvoiceCurrency or RemainingAmountInvoiceCurrency eq TotalAmountInvoiceCurrency
Filter customer invoices by text row
Search for invoices with tex rows that contain a specific text.
GET v2/customerinvoices?$filter=Rows/any(c: contains(c/Text,'anytext'))