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

# auditFinding

> One finding by id, with its records, evidence, fix and history. Another tenant's finding reads as not found.

One finding by id, with its records, evidence, fix and history. Another tenant's finding reads as not found.

```graphql theme={null}
auditFinding(id: ID!): AuditFindingDocument
```

## Arguments

| Argument | Type | Description |
| - | - | - |
| `id` | [`ID!`](/graphql/scalars/id) | The finding's id, e.g. F-20761. |

## Returns

[`AuditFindingDocument`](/graphql/objects/audit-finding-document)

## Example

```graphql Request theme={null}
query OneFinding {
  auditFinding(id: "F-20790") {
    finding {
      id
      headline
      statement { id text }
      status { state firstFound lastSeen timesSeen pendingUntil }
      records { system recordType id internalId status }
      fix { owner where action verify { by passesWhen } darpanChanges }
      history { at event }
    }
    access { mode note }
  }
}
```

```json Response theme={null}
{
  "data": {
    "auditFinding": {
      "finding": {
        "id": "F-20790",
        "headline": "Invoice INV-552310 has no Etail id",
        "statement": {
          "id": "R2",
          "text": "Every invoice and credit memo carries the Shopify order id (the Etail id)."
        },
        "status": {
          "state": "pending",
          "firstFound": "2026-10-08",
          "lastSeen": "2026-10-08",
          "timesSeen": 1,
          "pendingUntil": "2026-10-09"
        },
        "records": [
          {
            "system": "NetSuite",
            "recordType": "invoice",
            "id": "INV-552310",
            "internalId": "51000940",
            "status": "Paid In Full"
          }
        ],
        "fix": {
          "owner": "Accounting",
          "where": "NetSuite",
          "action": "Enter the Shopify order id in the Etail Order Id field of invoice INV-552310.",
          "verify": {
            "by": "Darpan's next scheduled check",
            "passesWhen": "Invoice INV-552310 carries an Etail id."
          },
          "darpanChanges": "Nothing. Darpan reads NetSuite and the OMS; it never writes to them."
        },
        "history": [
          {
            "at": "2026-10-08T06:05:00-07:00",
            "event": "found"
          }
        ]
      },
      "access": {
        "mode": "read-only",
        "note": "This API has no mutations. Fix the record in its own system; Darpan closes the finding at its next scheduled check."
      }
    }
  }
}
```


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