List ad hoc documents.

Operation ID: adHocDocuments

Group: Accounting › Ad Hoc Documents

Open in the interactive reference

GET /accounting/ad-hoc-documents

Read-only: Reads and returns; changes nothing.

Lists ad hoc documents. Each row carries the document's scalar fields, including every uuid reference a create needs — the posting account, the posting period and the counterparty — but not its lines: a list row cannot hold a nested collection. For the full record with its lines use GET accounting/ad-hoc-documents/:id, and to match on a name, a number or free text use POST accounting/ad-hoc-documents/search.

Filter with filter[<field>][<op>]=, order with sort=, project with fields= and page with page[size]= and page[cursor]=. A field not named in the route's filterable or orderable list is rejected; prose fields are deliberately absent from both, because naming one would grant like and turn this route into the free-text search that belongs in the body of POST accounting/ad-hoc-documents/search.

This resource replaces GET tax-documents/manual-taxable-documents, which is served in v1 only. Every request carries an Api-Version header; without it the request is rejected with 400, and a route that exists in another version answers 404.

Parameters

Name In Type Required Description
Api-Version header string · v1 yes The API version this request targets, named by its public identifier. Required on every request; omitting it, or naming a version this company does not have, is answered with 400. This document describes version v1.

Query surface

Response

200 Success

Under data, an array of adHocDocumentsRow:

Field Type Required Filter Sort Description
id string no Exact (eq, ne), Range (gt, gte, lt, lte, between), Any of (in, notIn), Pattern (like) yes Id of the ad hoc document (a UUID). Example: "3f2a9c14-7b6d-4e58-9a01-2c8f5d6e7a0b".
type string | null no Exact (eq, ne), Range (gt, gte, lt, lte, between), Any of (in, notIn), Pattern (like) yes Kind of document. One of: "outgoingInvoice" (A customer-facing invoice. Its incoming payment can be matched to a bank deposit.), "outgoingCredit" (A credit issued to a customer, reducing what they owe.), "incomingInvoice" (An invoice received from a vendor, employee or intercompany entity.), "incomingCredit" (A credit received from a vendor, employee or intercompany entity.). Example: "outgoingInvoice".
taxDocumentNumber string | null no no no System-generated ad hoc document number, unique per tenant and human-readable. Absent until one has been assigned. Example: "ADH-1042".
documentNumber string | null no no no Document number as it appears on the source document — the counterparty's own number for an incoming document, or the number carried over from an external system. Distinct from taxDocumentNumber, which Everest assigns. Example: "INV-2026-0188".
title string | null no no no Title of the document, as shown on the record. Returned but not filterable: match on it through POST accounting/ad-hoc-documents/search. Example: "Consulting services, October".
description string | null no no no Free-text description of the document. Returned but not filterable: match on it through POST accounting/ad-hoc-documents/search. Example: "Recharge of advisory hours".
invoiceDate date | null no Exact (eq, ne), Range (gt, gte, lt, lte, between), Any of (in, notIn) yes Date the document was issued. Format YYYY-MM-DD. Example: "2026-10-31".
serviceDate date | null no Exact (eq, ne), Range (gt, gte, lt, lte, between), Any of (in, notIn) yes Date the underlying service was provided. Drives the tax point where it differs from the invoice date. Format YYYY-MM-DD. Example: "2026-10-31".
dueDate date | null no Exact (eq, ne), Range (gt, gte, lt, lte, between), Any of (in, notIn) yes Date payment falls due. Absent when no due date has been set. Format YYYY-MM-DD. Example: "2026-11-30".
currency string | null no Exact (eq, ne), Range (gt, gte, lt, lte, between), Any of (in, notIn), Pattern (like) yes Currency of this document as a 3-letter ISO 4217 code (e.g. USD, EUR, GBP). It governs every amount on the row. Example: "EUR".
paymentStatus string | null no Exact (eq, ne), Range (gt, gte, lt, lte, between), Any of (in, notIn), Pattern (like) yes Settlement status of the document, derived by the server from the document's allocations and the AR-ness of its posting account. One of: "paid" (Fully settled by payments.), "partiallyPaid" (Settled in part by payments; a balance remains.), "unpaid" (Receivable or payable in full, with nothing settled yet.), "noPaymentNeeded" (Posted to an account that carries no settlement, so no payment is expected.), "voided" (Voided. The journal entry it posted has been reversed and the document can no longer be settled.), "applied" (A credit fully applied against other documents.), "unapplied" (A credit with nothing applied yet.), "partiallyApplied" (A credit applied in part; a balance remains.), "noApplicationNeeded" (A credit posted to an account that carries no application, so none is expected.). Example: "unpaid".
paymentTerms string | null no no no Payment terms recorded on the document, as free text (e.g. 'Net 30'). Returned but not filterable. Example: "Net 30".
hasAttachment boolean | null no Exact (eq, ne), Range (gt, gte, lt, lte, between), Any of (in, notIn) yes True when the document has at least one attachment. The attachments themselves are not published by this API. Example: false.
accountId string | null no Exact (eq, ne), Range (gt, gte, lt, lte, between), Any of (in, notIn), Pattern (like) yes Id of the account the document posts its offsetting entry to (a UUID). Example: "a41b6c70-2d85-4f19-8c03-5e7a9b1d2f46".
postingPeriodId string | null no Exact (eq, ne), Range (gt, gte, lt, lte, between), Any of (in, notIn), Pattern (like) yes Id of the accounting period the document posted into (a UUID). Example: "c82d4e90-1f63-4a27-b5d8-093e6c7a1b45".
customerId string | null no Exact (eq, ne), Range (gt, gte, lt, lte, between), Any of (in, notIn), Pattern (like) yes Id of the customer the document is issued to (a UUID). Set on customer-facing documents; absent on vendor, employee or intercompany ones. Example: "7d1e8f20-3a4b-4c5d-9e60-1f2a3b4c5d6e".
customerName string | null no no no Display name of the customer. Returned but neither filterable nor orderable, so it never travels in a URL; match on it through POST accounting/ad-hoc-documents/search. Example: "Northwind GmbH".
customerNumber string | null no no no System-generated customer number of the customer, unique per tenant. Returned but neither filterable nor orderable: a counterparty identifier is disclosed by ordering as surely as by filtering. Example: "CUST-0231".
vendorId string | null no Exact (eq, ne), Range (gt, gte, lt, lte, between), Any of (in, notIn), Pattern (like) yes Id of the vendor the document is received from (a UUID). Set on vendor documents; absent otherwise. Example: "4b5c6d7e-8f90-4a1b-9c2d-3e4f5a6b7c8d".
employeeId string | null no Exact (eq, ne), Range (gt, gte, lt, lte, between), Any of (in, notIn), Pattern (like) yes Id of the employee the document is received from (a UUID). Set on employee documents; absent otherwise. Example: "6a7b8c9d-0e1f-4a2b-8c3d-4e5f6a7b8c9d".
intercompanyEntityId string | null no Exact (eq, ne), Range (gt, gte, lt, lte, between), Any of (in, notIn), Pattern (like) yes Id of the intercompany entity the document is exchanged with (a UUID). Set on intercompany documents; absent otherwise. Example: "0c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f".
entityId string | null no Exact (eq, ne), Range (gt, gte, lt, lte, between), Any of (in, notIn), Pattern (like) yes Id of the legal entity the document belongs to (a UUID). Example: "1a9c4e70-38b5-4d26-9f01-7c2e5b8a6d43".
entityName string | null no no no Name of the legal entity the document belongs to. Returned but not filterable. Example: "Everest Europe B.V.".
totalTaxAmount decimal | null no Exact (eq, ne), Range (gt, gte, lt, lte, between), Any of (in, notIn) yes Sum of the tax amounts of every line, in the row's currency (see currency). Example: "190.00".
totalAmount decimal | null no Exact (eq, ne), Range (gt, gte, lt, lte, between), Any of (in, notIn) yes Sum of the total amounts of every line — the gross document total, in the row's currency (see currency). Example: "1190.00".
totalAllocatedAmount decimal | null no Exact (eq, ne), Range (gt, gte, lt, lte, between), Any of (in, notIn) yes Amount already allocated to this document by payments or credits, in the row's currency (see currency). Example: "0.00".
totalOpenAmount decimal | null no Exact (eq, ne), Range (gt, gte, lt, lte, between), Any of (in, notIn) yes Remaining unallocated balance on this document, in the row's currency (see currency). A voided document keeps its open amount and a noPaymentNeeded one shows its full total here, so filter paymentStatus on unpaid and partiallyPaid to find the documents still open. Example: "1190.00".
lastModifiedDate date-time no Exact (eq, ne), Range (gt, gte, lt, lte, between), Any of (in, notIn) yes Instant the document record last changed. Filter and sort on this together for an incremental sync. ISO 8601 UTC (YYYY-MM-DDTHH:mm:ss.sssZ). Example: "2026-11-02T09:30:00.000Z".
{
  "data": [
    {
      "id": "3f2a9c14-7b6d-4e58-9a01-2c8f5d6e7a0b",
      "type": "outgoingInvoice",
      "taxDocumentNumber": "ADH-1042",
      "documentNumber": "INV-2026-0188",
      "title": "Consulting services, October",
      "description": "Recharge of advisory hours",
      "invoiceDate": "2026-10-31",
      "serviceDate": "2026-10-31",
      "dueDate": "2026-11-30",
      "currency": "EUR",
      "paymentStatus": "unpaid",
      "paymentTerms": "Net 30",
      "hasAttachment": false,
      "accountId": "a41b6c70-2d85-4f19-8c03-5e7a9b1d2f46",
      "postingPeriodId": "c82d4e90-1f63-4a27-b5d8-093e6c7a1b45",
      "customerId": "7d1e8f20-3a4b-4c5d-9e60-1f2a3b4c5d6e",
      "customerName": "Northwind GmbH",
      "customerNumber": "CUST-0231",
      "vendorId": "4b5c6d7e-8f90-4a1b-9c2d-3e4f5a6b7c8d",
      "employeeId": "6a7b8c9d-0e1f-4a2b-8c3d-4e5f6a7b8c9d",
      "intercompanyEntityId": "0c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
      "entityId": "1a9c4e70-38b5-4d26-9f01-7c2e5b8a6d43",
      "entityName": "Everest Europe B.V.",
      "totalTaxAmount": "190.00",
      "totalAmount": "1190.00",
      "totalAllocatedAmount": "0.00",
      "totalOpenAmount": "1190.00",
      "lastModifiedDate": "2026-11-02T09:30:00.000Z"
    }
  ],
  "pagination": {
    "hasMore": true,
    "nextCursor": "<nextCursor>"
  }
}

Statuses