Invoices Queries
invoices
Retrieves all Invoices (paginated)
This query searches all a customer's Invoices. It is paginated with a maximum of 10 invoices per result set. This means that multiple requests may be necessary to retrieve all your delivery slips.
This can be controlled using the Skip and Take parameters. For example, the first request would be Skip:0 & Take:10, the second request would be Skip:10 & Take:10, the third request would be Skip:20 & Take:10, and so on. You can use the TotalResults field to determine how many requests are needed.
{
invoices(options: {skip: 0, take: 10}) {
numResults
totalResults
results {
invoiceNr
invoiceDate
currencyCode
paymentCondition {
nl
de
en
}
invoiceAmtExVat
salesTaxAmt
invoiceAmtIncVat
dueDate
isInvoicePaid
invoiceBalanceAmtExVat
openSalesTaxAmt
invoiceBalanceAmtIncVat
}
}
}
invoice
Retrieves a single Invoice
This query retrieves an Invoice given its Invoice Nr.
{
invoice(invoiceNr: 12345) {
invoiceNr
invoiceDate
currencyCode
paymentCondition {
nl
de
en
}
invoiceAmtExVat
salesTaxAmt
invoiceAmtIncVat
isInvoicePaid
dueDate
invoiceBalanceAmtExVat
openSalesTaxAmt
invoiceBalanceAmtIncVat
lines {
salesPriceAmt
invoicedQty
grossSalesValueAmtExVat
netSalesValueAmtExVat
discountAmt
pricing {
netSalesValueAmtExVat
percentage
}
}
}
}

