# Retrieve a list of all invoices Fetch a list of all sales invoices within the Property Management System (PMS). This endpoint is useful for retrieving detailed information about sales transactions, including invoice dates, associated organizations, and statuses. The response includes paginated results of sales invoices, which can be filtered by date range, organization ID, and status. If no invoices match the specified criteria, an empty list will be returned. In case of an unexpected system error, a will be triggered. Endpoint: GET /api/v3/salesInvoices Version: 3.0.4 Security: OAuth2 ## Query parameters: - `dateFrom` (string) Start date for filtering invoices Example: "2023-01-01" - `dateTo` (string) End date for filtering invoices Example: "2023-12-31" - `organisationId` (integer) ID of the organization to filter invoices by Example: 123 - `status` (string) Status of the invoices to filter by, must be [DRAFT, POSTED, VOID] Enum: "DRAFT", "VOID", "POSTED" ## Response 200 fields (application/json): - `content` (array) - `content.id` (integer) The id of the sales invoice - `content.organisationSettingsId` (integer) The organisation settings id of the invoice - `content.dueDate` (string) The due date of the invoice - `content.invoiceDate` (string) The date of the invoice - `content.externalId` (string) The external id of the invoice - `content.status` (string) The status of the invoice - `content.net` (number) The net value of the invoice - `content.tax` (number) The tax value of the invoice - `content.invoiceNumber` (integer) The invoice number of the sales invoice - `content.exportStatus` (string) The status of the invoice export - `content.financeAccount` (object) The projected finance account - `content.financeAccount.id` (integer) The unique identifier of the account - `content.financeAccount.company` (object) The company of the account - `content.financeAccount.company.id` (integer) Unique identifier of the company - `content.financeAccount.company.companyName` (string) Name of the company - `content.financeAccount.accountCode` (string) The code of the account - `content.financeAccount.contact` (object) The name of the account - `content.financeAccount.contact.id` (integer) Unique identifier of the contact - `content.financeAccount.contact.firstName` (string) First name of the contact - `content.financeAccount.contact.lastName` (string) Last name of the contact - `content.financeAccount.contact.telephoneNumber` (string) Telephone number of the contact - `content.financeAccount.contact.emailAddress` (string) Email address of the contact - `content.exportedDate` (string) The exported date of the invoice - `page` (object) - `page.size` (integer) - `page.totalElements` (integer) - `page.totalPages` (integer) - `page.number` (integer)