Skip to content

Read a PDF mapping with its versions

Request

Security
OAuth2(Required scopes: integration-setup.read)
Path
idinteger, (int32)required

Configuration id, as returned by POST or the list.

Example:41
Query
versionsArray of integers, non-empty

Comma-separated version numbers to return, e.g. versions=1,3. Omit to return every version. If any requested version does not exist the response is 404; an empty or non-numeric value is 400.

Example:versions=1,3
curl -i -X GET \
  'https://api.cloud.hypatos.ai/v2/integration-setup/e-invoice-pdf-mappings/41?versions=1%2C3' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

The PDF mapping and the selected versions (all when versions is omitted), newest first.

Bodyapplication/json
idintegerrequired
Example:41
namestringrequired

Display name; not unique and not an identifier (use id).

Example:"XRechnung PDF"
descriptionstring or null
companyIdstringrequired
Example:"6081acde0377a83b93f05a10"
templateboolean

True when it belongs to the Hypatos template company (read-only unless the client may write there).

latestVersioninteger or nullrequired

Highest version number; the one Latest resolves to.

Example:3
versionCountintegerrequired
Example:3
createdAtstring or null, (date-time)
createdBystring or null(EInvoiceActor)

Who made the change, e-mail for people, automation:<client_id> for API clients.

Example:"automation:acme-onboarding"
versionsArray of objects(EInvoicePdfMappingVersion)required
Response
{ "id": 41, "name": "XRechnung PDF", "description": "Preview for XRechnung UBL and CII", "companyId": "6081acde0377a83b93f05a10", "template": false, "latestVersion": 3, "versionCount": 3, "createdAt": "2026-10-02T09:14:05.000Z", "createdBy": "automation:acme-onboarding", "versions": [ { … }, { … }, { … } ] }