getUnpaidInvoices

This method retrieves all unpaid invoices for an account. See also getInvoice.

Syntax

invoice_obj[] = getUnpaidInvoices(username, password [, customer_number], with_vat)

Return value

invoice_obj[], the method returns an array of invoice_obj where each struct corresponds to an unpaid invoice.

Parameters

  • username
    string
    Username for LoopiaAPI.
  • password
    string
    Password for LoopiaAPI.
  • customer_number
    string
    Customer ID for the account. Used only by resellers who work with the customer’s account.
  • with_vat
    boolean
    1 if the amounts should include VAT, 0 otherwise.
Was this article helpful?

Related Articles