top of page

V6RESTful APIs - Invoices

Search invoices by date range

​

This API is to search for invoices created within a date range.

​

GET /v6-api/rest/invoices?fromDate=ddMMyyyy&toDate=ddMMyyyy

 

Parameter in the request: date range

 

Response payload:

 

List of invoices

​

Example:

​

[

         {

         "businessName": "OMNIX PTY LTD",

         "invoiceDate": "2018-01-24",

         "taxAmount": 0.91,

         "fileType": "I",

         "customerCode": "001",

         "address1": "80 JEPHSON STREET",

        "lines": [

             {

                 "amount": 10,

                 "price": 10,

                 "gstAmount": 0.91,

                 "quantity": 1,

                 "departmentCode": "BRI",

                 "glCode": "23"

             }

    ],

    "postcode": "4006",

    "invoiceNo": "LT001",

    "grossEntry": true,

    "city": "TOOWONG"

},

{

    "businessName": "OMNIX PTY LTD",

    "invoiceDate": "2018-01-25",

    "taxAmount": 1.82,

    "fileType": "I",

    "customerCode": "001",

    "address1": "80 JEPHSON STREET",

    "lines": [

             {

                 "amount": 20,

                 "price": 20,

                 "gstAmount": 1.82,

                 "quantity": 1,

                 "departmentCode": "BRI",

                 "glCode": "23"

        }

    ],

    "postcode": "4006",

    "invoiceNo": "LT002",

    "grossEntry": true,

    "city": "TOOWONG"

     }

]

Appendix A: All fields that are potentially returned when querying invoices by date range
address.png

Unit 4/7 Packard Ave

Castle Hill

NSW 2154

email.png
phone.png

Call us free: 1800 666 490

apple.png
android.png
linkedin.png
youtube.png
bottom of page