---
title: "Fetch an invoice document validation status"
method: GET
path: "/invoices/documents/{merchant_invoice_document_id}"
tags: ["Invoices"]
---

# Fetch an invoice document validation status

`GET /invoices/documents/{merchant_invoice_document_id}`

## Request

- Base URL: `https://app-sandbox.resolvepay.com/api`
- URL: `https://app-sandbox.resolvepay.com/api/invoices/documents/{merchant_invoice_document_id}`
- Auth: one of:
  - HTTP bearer
  - HTTP basic
- TypeScript: <https://skmtc.dev/resolvepay/apis/resolve-api-reference/docs/invoices/documents/:merchant_invoice_document_id/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `merchant_invoice_document_id` string, required

## Response `200`

Invoice document validation state.

- InvoiceDocumentStatus
  - `document_id` string, required
  - `validation_status` 'pending_upload' | 'uploaded_pending_validation' | 'accepted' | 'rejected' | 'failed', required
  - `validation_reasons` string[], required

## Other responses

- `401`: Unauthorized error
- `404`: Not found error

---

[API](https://skmtc.dev/resolvepay/apis/resolve-api-reference.md) - [All operations](https://skmtc.dev/resolvepay/apis/resolve-api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/resolvepay/apis/resolve-api-reference/revisions/c62edc454aaa?raw)
