This method retrieves all unpaid domains from one account. See also getInvoice
Syntax
invoice_obj[] = getInvoice(username, password [, customer_number], with_vat)
Return value
invoice_obj[], this 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 amount should include VAT, 0 otherwise.