Purchase Invoices List

Returns one or more purchase invoices

ParameterMandatoryDescriptionExamplesMore Info
APIYesThe API areapurchases.json
GeneralYesParameters described in overviewuser=user&password=user&version=3.7v3.7 Overview
Model StructureYesName of model requiredmodelstructure=purchaseinvoiceslistUsing data models
ViewNoStored filter appliedUsing views
FiltersNoFilter by a key fieldFilters
CompanyYesThe company numbercompany=3

Example request:

http://<SERVER>/jsonapi/purchaseinvoices.json?user=user&password=user&version=3.7&modelstructure=purchaseinvoiceslist&company=3&supplier=3/ACX001

Example response:

{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"totalrows": 1,
"totalpages": 1,
"responsemessage": "",
"pagerows": 0,
"pagenumber": 1,
"success": true,
"synversion": "12.703",
"synapiversion": 3.7,
"data": [
{
"pinvUuid": "DEAC2761FB5611E2919500155D003435",
"pinvTimestampModified": 1473843710,
"pinvRecordVersionNumber": 2,
"pinvCurrGross": "650.00",
"pinvCurrNet": "650.00",
"pinvCurrTax": "0.00",
"pinvCurrUnallocated": "0.00",
"pinvInvoiceNo": "3/1004",
"pinvSupplierCode": "3/ACX001",
"pinvSupplierName": "Acxiom Digital",
"pinvDocumentDate": "2013-08-02",
"pinvTheirRef": "",
"pinvViewDate": "2013-08-02",
"pinvViewTime": "10:35:25",
"pinvViewTimeZone": "UTCA",
"pinvAuthoriser": "",
"pinvInvoiceType": "Iv"
}
]
}