# Ad Hoc Documents

Group: Accounting

[Open in the interactive reference](https://lensing.ai/api-docs/lensing/v1/groups/taxDocumentAdHocDocuments)

Ad hoc documents: the invoices and credits an entity records by hand for tax compliance, each posted to the ledger when it is created and reversed only by voiding. Sits under Accounting, beside the other domains of that module. Being a group it carries no targets, no catalog entry and no path segment of its own — the routes stay at accounting/ad-hoc-documents. The group tag is qualified with the package stem because a tag shares one company-wide namespace with every endpoint identifier (R13.9b), and the bare noun adHocDocuments belongs to the collection data-set.

## Endpoints

- [List ad hoc documents.](https://lensing.ai/api-docs/reference/lensing/v1/endpoints/adHocDocuments.html): `GET /accounting/ad-hoc-documents`
- [Create an ad hoc document and post it.](https://lensing.ai/api-docs/reference/lensing/v1/endpoints/createAdHocDocument.html): `POST /accounting/ad-hoc-documents`
- [Search ad hoc documents.](https://lensing.ai/api-docs/reference/lensing/v1/endpoints/searchAdHocDocuments.html): `POST /accounting/ad-hoc-documents/search`
- [Fetch a single ad hoc document by its id.](https://lensing.ai/api-docs/reference/lensing/v1/endpoints/getAdHocDocument.html): `GET /accounting/ad-hoc-documents/{id}`
- [Void an ad hoc document, reversing the journal entry it posted.](https://lensing.ai/api-docs/reference/lensing/v1/endpoints/voidAdHocDocument.html): `POST /accounting/ad-hoc-documents/{id}/void`
