---
updatedAt: 2026-09-22T08:17:09.000Z
agentTools:
  projectIndex: https://apidoc.synergist.co.uk/llms.txt
---

# Purchase Invoices List

# Purchase Invoices List

| Parameter       | Mandatory | Description                      | Examples                            | More Info                                                                      |
| :-------------- | :-------- | :------------------------------- | :---------------------------------- | :----------------------------------------------------------------------------- |
| API             | Yes       | The API area                     | purchaseinvoices.json               |                                                                                |
| General         | Yes       | Parameters described in overview | See API syntax                      | [Structure of an API call](https://apidoc.synergist.co.uk/reference/structure) |
| Model Structure | Yes       | Name of model required           | modelstructure=purchaseinvoiceslist | [Using data models](https://apidoc.synergist.co.uk/reference/using-models)     |
| View            | No        | Stored filter applied            |                                     | [Using views](https://apidoc.synergist.co.uk/reference/models)                 |
| Filters         | No        | Filter by a key field            |                                     | [Filters](https://apidoc.synergist.co.uk/reference/filters)                    |
| Company         | Yes       | The company number               | company=16                          |                                                                                |

*Example request (OAuth 2.0):*

```
Authorization: Bearer <access_token>
http://<SERVER>/jsonapi/purchaseinvoices.json?&version=6&modelstructure=purchaseinvoiceslist&company=16&view=46106
```

*Example request (legacy username/password):*

```
http://<SERVER>/jsonapi/purchaseinvoices.json?&version=6&modelstructure=purchaseinvoiceslist&company=16&view=46106&user=<username>&password=<password>
```

*Example response:*

```json
{
  "responsecode": 1,
  "responsestatus": "OK",
  "errorcode": 0,
  "errormessage": "",
  "totalrows": 2,
  "totalpages": 1,
  "responsemessage": "",
  "pagerows": 0,
  "pagenumber": 1,
  "success": true,
  "data": [
    {
      "pinvUuid": "FBCEAC5E03D64F2787DC5B763BB9B139",
      "pinvTimestampModified": 1637688143,
      "pinvRecordVersionNumber": 23,
      "pinvInvoiceNo": "16/1600024",
      "pinvSupplierCode": "16/JQ",
      "pinvSupplierName": "Jenna Quinn",
      "pinvDocumentDate": "2012-07-03",
      "pinvInvPostingDate": "2012-07-03",
      "pinvDateDue": "2012-07-03",
      "pinvDateCreated": "2012-07-03",
      "pinvTheirRef": "",
      "pinvGross": 50,
      "pinvVat": 0,
      "pinvCurrencyGross": 50,
      "pinvCurrencyTax": 0,
      "pinvNet": 50,
      "pinvCurrencyNet": 50,
      "pinvAllocated": 50,
      "pinvCurrencyAlloc": 50,
      "pinvUnallocated": 0,
      "pinvCurrencyUnAlloc": 0,
      "pinvCurrencyCode": "",
      "pinvExchangeRates": "",
      "pinvNotes": "",
      "pinvAuthoriserUserid": 0,
      "pinvAuthorised": "",
      "pinvAuthoriser": "",
      "pinvAuthorisedUserid": 0
    }
  ]
}
```

<br />

*CSV\_request:*

*This call will return the same data as above but as a simple downloaded CSV file*

*If "modelstructure=view", and a view number also specified, the CSV will contain the columns associated with the view - rather than a standard model*

```
Authorization: Bearer <access_token>
http://<SERVER>/csvapi/purchaseinvoices.csv?&version=6&modelstructure=purchaseinvoiceslist&company=16&view=46106
```

*Example request (legacy username/password):*

```
http://<SERVER>/csvapi/purchaseinvoices.csv?&version=6&modelstructure=purchaseinvoiceslist&company=16&view=46106&user=<username>&password=<password>
```