# List invoices Returns a paginated list of Invoices for the specified site. Supports filtering and sorting. Endpoint: GET /site/{siteId}/ahds/v1/invoice Version: 1.0 Security: bearer ## Path parameters: - `siteId` (number, required) Site identifier ## Query parameters: - `page` (number) Page number (0-indexed) - `pageSize` (number) Number of items per page - `sortBy` (string) Field to sort by Enum: "createdAt", "updatedAt", "approvedAt", "currency", "customerReferenceNumber", "dueDate", "invoiceCode", "invoiceDate", "subtotalAmount", "taxAmount" - `sortOrder` (string) Sort order Enum: "asc", "desc" - `animalId` (string) Animal associated with the invoice. Example: "123e4567-e89b-12d3-a456-426614174000" - `approvedByUserId` (string) User who approved the invoice. Example: "123e4567-e89b-12d3-a456-426614174000" - `consultId` (string) Consultation associated with the invoice. Example: "123e4567-e89b-12d3-a456-426614174000" - `contactId` (string) Client/contact associated with the invoice. Example: "123e4567-e89b-12d3-a456-426614174000" - `createdByUserId` (string) User who created the invoice. Example: "123e4567-e89b-12d3-a456-426614174000" - `currency` (string) ISO 4217 currency code for monetary amounts. - `customerReferenceNumber` (string) Customer-provided reference number. - `invoiceCode` (string) Human-readable invoice code or number. - `isActive` (boolean) Whether the invoice is active. - `isTaxIncluded` (boolean) Whether line item prices include tax. - `ownershipId` (string) Owning organization or business unit. Example: "123e4567-e89b-12d3-a456-426614174000" - `paymentTermsId` (string) Payment terms associated with the invoice. Example: "123e4567-e89b-12d3-a456-426614174000" - `updatedByUserId` (string) User who last modified the invoice. Example: "123e4567-e89b-12d3-a456-426614174000" ## Response 200 fields ## Response 401 fields