> ## Documentation Index
> Fetch the complete documentation index at: https://developers.drpn.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Shared types

> The objects more than one query returns, and the scalars every type is built on.

## Objects

### AuditRef

An audit: its id within the tenant, name, and the period it reports by.

| Field | Type | Description |
| - | - | - |
| `id` | `String` | The audit's id within the tenant, e.g. `month-close` (`Audit.auditCode`). |
| `name` | `String` | The audit's display name, e.g. "Month close". |
| `period` | `String` | How the audit reports its period: `day`, `month` or `quarter`. |

Returned by [`AuditReportInfo.audit`](https://developers.drpn.ai/graphql/queries/audit-report#auditreportinfo), [`Finding.audit`](https://developers.drpn.ai/graphql/queries/audit-finding#finding).

### FindingRecord

One record a finding names, in one system.

| Field | Type | Description |
| - | - | - |
| `id` | `String` | The record's id in that system, as people see it. |
| `internalId` | `String` | The system's internal id, when it differs from id (NetSuite). |
| `recordType` | `String` | The kind of record, e.g. invoice, creditMemo, return or orderItem. |
| `status` | `String` | The record's status in that system, when known. |
| `system` | `String` | The system the record lives in: OMS, NetSuite or Shopify. |

Returned by [`Finding.records`](https://developers.drpn.ai/graphql/queries/audit-finding#finding), [`FindingListItem.records`](https://developers.drpn.ai/graphql/queries/findings#findinglistitem), [`FindingSummary.records`](https://developers.drpn.ai/graphql/queries/audit-report#findingsummary).

### Money

An amount: a decimal string at the currency's scale (2 for USD), with a leading - when negative, and its ISO 4217 currency.

| Field | Type | Description |
| - | - | - |
| `amount` | `String` | A decimal string at the currency's scale, with a leading - when negative. |
| `currency` | `String` | The ISO 4217 currency code. |

Returned by [`Evidence.difference`](https://developers.drpn.ai/graphql/queries/audit-finding#evidence), [`FindingListItem.difference`](https://developers.drpn.ai/graphql/queries/findings#findinglistitem), [`FindingSummary.difference`](https://developers.drpn.ai/graphql/queries/audit-report#findingsummary).

### PageInfo

Where a page of a connection sits: whether more pages follow or precede, and the cursors to ask for them.

| Field | Type | Description |
| - | - | - |
| `endCursor` | `String` | The cursor of the last edge on this page. |
| `hasNextPage` | `Boolean` | True when another page follows; ask with after: endCursor. |
| `hasPreviousPage` | `Boolean` | True when a page precedes this one; ask with before: startCursor. |
| `startCursor` | `String` | The cursor of the first edge on this page. |

Returned by [`FindingListItemConnection.pageInfo`](https://developers.drpn.ai/graphql/queries/findings#findinglistitemconnection), [`ReconciliationResultConnection.pageInfo`](https://developers.drpn.ai/graphql/queries/reconciliation-results#reconciliationresultconnection).

## Scalars

| Scalar | Description |
| - | - |
| `Boolean` | true or false. |
| `DateTime` | ISO-8601 timestamp, e.g. 2026-05-14T09:32:00Z |
| `ID` | A unique identifier, serialized as a string. |
| `Int` | A signed 32-bit integer. |
| `String` | UTF-8 text. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.