Login

getInvoice

This method retrieves information about an invoice in one account.

Syntax

invoice_obj = getInvoice(username, password, reference_no, with_vat)

Return value

invoice_obj, the method returns a struct of type invoice_obj with information about the invoice.

Parameters

username
string
Username for LoopiaAPI.
password
string
Password for LoopiaAPI.
reference_no
string
Invoice number.
with_vat
boolean
1 if the amount should include VAT, 0 otherwise.

Hey, do you need assistance?

Our popular SuperSupport is here to assist you.
Open weekdays 8-19, weekends 11-15