> ## Documentation Index
> Fetch the complete documentation index at: https://help.narmi.com/llms.txt
> Use this file to discover all available pages before exploring further.
# Retrieve an invoice
> Return the full invoice detail: page images, the latest extraction (with each field's page location), alternate value candidates considered during extraction, and the recipient-matching outcome.
All monetary values are represented in minor units, or the smallest unit of the currency with no decimal (e.g., cents). For example, $10.00 is represented as 1000.
How can we improve these docs? Share your feedback.
## OpenAPI
````json GET /v1/invoices/{uuid}/
{
"openapi": "3.0.3",
"info": {
"title": "Narmi Public API",
"version": "v1 (main)",
"description": "To read about Public API access and authentication, go to [API Overview](https://docs.narmi.com/docs/narmi-developer-docs/xl9dvbz84o11l-introduction).\n\n### Content types\n\nRequests and responses default to JSON. To use [TOON](https://toonformat.dev/) (Token-Oriented Object Notation), a compact, lossless encoding of JSON that uses fewer tokens in LLM contexts, send `Content-Type: application/toon` for request bodies and `Accept: application/toon` for responses.",
"termsOfService": "https://www.narmi.com/policies/developer-terms-conditions",
"contact": {
"name": "Narmi Support",
"email": "support@narmi.com"
}
},
"servers": [
{
"url": "https://api.sandbox.narmi.dev/",
"description": ""
}
],
"tags": [
{
"name": "accessibility"
},
{
"name": "account balances"
},
{
"name": "account opening"
},
{
"name": "accounts"
},
{
"name": "ach companies"
},
{
"name": "ach destinations"
},
{
"name": "ach import"
},
{
"name": "ach nacha passthrough"
},
{
"name": "ach payments"
},
{
"name": "ach transfers"
},
{
"name": "alerts"
},
{
"name": "automatic savings enrollment"
},
{
"name": "bill pay"
},
{
"name": "bulk payment templates"
},
{
"name": "bulk payments"
},
{
"name": "card linked offers"
},
{
"name": "cards"
},
{
"name": "data access management"
},
{
"name": "deposits"
},
{
"name": "documents"
},
{
"name": "enrollments"
},
{
"name": "express-checkout"
},
{
"name": "external transactions"
},
{
"name": "fedwire destinations"
},
{
"name": "fedwire templates"
},
{
"name": "file imports"
},
{
"name": "income source"
},
{
"name": "instant transfers"
},
{
"name": "institution"
},
{
"name": "international wires"
},
{
"name": "invoices"
},
{
"name": "loan autopay"
},
{
"name": "me"
},
{
"name": "merchants"
},
{
"name": "mfa"
},
{
"name": "payees"
},
{
"name": "payments"
},
{
"name": "ping"
},
{
"name": "receipts"
},
{
"name": "recipients"
},
{
"name": "reports"
},
{
"name": "same-day transfers"
},
{
"name": "scheduled transfers"
},
{
"name": "search"
},
{
"name": "subscriptions"
},
{
"name": "support"
},
{
"name": "surveys"
},
{
"name": "swift transactions"
},
{
"name": "swift wire templates"
},
{
"name": "teams"
},
{
"name": "threads"
},
{
"name": "transactions"
},
{
"name": "unverified ach reversals"
},
{
"name": "unverified ach transactions"
},
{
"name": "users"
},
{
"name": "whatismyip"
},
{
"name": "wire import"
},
{
"name": "wire recipients"
},
{
"name": "wires"
}
],
"x-stoplight": {
"id": "68n444msv6n7x"
},
"paths": {
"/v1/invoices/{uuid}/": {
"get": {
"operationId": "invoices_retrieve",
"description": "Return the full invoice detail: page images, the latest extraction (with each field's page location), alternate value candidates considered during extraction, and the recipient-matching outcome.\n\nAll monetary values are represented in minor units, or the smallest unit of the currency with no decimal (e.g., cents). For example, $10.00 is represented as 1000.\n\n\n\nHow can we improve these docs? Share your feedback.",
"summary": "Retrieve an invoice",
"parameters": [
{
"in": "query",
"name": "format",
"schema": {
"type": "string",
"enum": [
"json",
"toon"
]
}
},
{
"in": "path",
"name": "uuid",
"schema": {
"type": "string"
},
"required": true
}
],
"tags": [
"invoices"
],
"security": [
{
"oauth2": [
"read"
]
}
],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Invoice"
}
},
"application/toon": {
"schema": {
"$ref": "#/components/schemas/Invoice"
}
}
},
"description": ""
}
},
"x-permissions": {
"allOf": [
{
"feature": {
"name": "transfers"
}
},
{
"feature": {
"name": "ach_payments"
}
},
{
"role-permission": {
"model": "indigo.ACHPayment",
"operation": "read"
}
},
{
"feature": {
"name": "invoice_pay"
}
}
]
},
"x-stoplight": {
"id": "9i61honagdcp4"
}
}
}
},
"components": {
"schemas": {
"Invoice": {
"type": "object",
"description": "An invoice, as returned by GET /v1/invoices//.",
"properties": {
"uuid": {
"type": "string",
"format": "uuid",
"readOnly": true
},
"status": {
"type": "string",
"readOnly": true
},
"original_filename": {
"type": "string",
"readOnly": true
},
"s3_key": {
"type": "string",
"readOnly": true
},
"page_count": {
"type": "integer",
"readOnly": true
},
"pages": {
"type": "array",
"items": {
"$ref": "#/components/schemas/InvoicePage"
},
"readOnly": true
},
"download_url": {
"type": "string",
"format": "uri",
"readOnly": true
},
"extracted": {
"allOf": [
{
"$ref": "#/components/schemas/InvoiceExtractedDetail"
}
],
"readOnly": true
},
"amount_candidates": {
"type": "array",
"items": {
"$ref": "#/components/schemas/InvoiceAmountCandidate"
},
"readOnly": true
},
"date_candidates": {
"type": "array",
"items": {
"$ref": "#/components/schemas/InvoiceDateCandidate"
},
"readOnly": true
},
"recipient_match": {
"allOf": [
{
"$ref": "#/components/schemas/InvoiceRecipientMatch"
}
],
"readOnly": true
}
},
"x-stoplight": {
"id": "wechwuog315mx"
}
},
"InvoicePage": {
"type": "object",
"description": "A single rendered page of the invoice, with a short-lived signed URL to its image.",
"properties": {
"page_number": {
"type": "integer"
},
"width_px": {
"type": "integer"
},
"height_px": {
"type": "integer"
},
"mime_type": {
"type": "string",
"readOnly": true
},
"image_url": {
"type": "string",
"format": "uri",
"readOnly": true
}
},
"required": [
"height_px",
"page_number",
"width_px"
],
"x-stoplight": {
"id": "rpggpwxspg1cc"
}
},
"InvoiceExtractedDetail": {
"type": "object",
"description": "The latest extraction result for the invoice.\n\nEach field slot is null when the value was never extracted. A present\nfield whose `location` is null means the value was extracted but could\nnot be placed on the page; one whose `validation_error` is non-null was\nextracted but failed a post-check, and is shown to the client as a\nwarning rather than withheld.",
"properties": {
"recipient_name": {
"allOf": [
{
"$ref": "#/components/schemas/InvoiceExtractedField"
}
],
"readOnly": true,
"nullable": true
},
"amount": {
"allOf": [
{
"$ref": "#/components/schemas/InvoiceExtractedField"
}
],
"readOnly": true,
"nullable": true
},
"invoice_date": {
"allOf": [
{
"$ref": "#/components/schemas/InvoiceExtractedField"
}
],
"readOnly": true,
"nullable": true
},
"due_date": {
"allOf": [
{
"$ref": "#/components/schemas/InvoiceExtractedField"
}
],
"readOnly": true,
"nullable": true
},
"invoice_number": {
"allOf": [
{
"$ref": "#/components/schemas/InvoiceExtractedField"
}
],
"readOnly": true,
"nullable": true
},
"remittance_routing": {
"allOf": [
{
"$ref": "#/components/schemas/InvoiceExtractedField"
}
],
"readOnly": true,
"nullable": true
},
"remittance_account": {
"allOf": [
{
"$ref": "#/components/schemas/InvoiceExtractedField"
}
],
"readOnly": true,
"nullable": true
},
"currency": {
"type": "string",
"readOnly": true,
"nullable": true
},
"overall_confidence": {
"type": "number",
"format": "double",
"readOnly": true,
"nullable": true
}
},
"x-stoplight": {
"id": "4gqpihxzbgjbm"
}
},
"InvoiceAmountCandidate": {
"type": "object",
"description": "An alternate amount the extractor considered for this invoice's total.",
"properties": {
"value": {
"type": "string"
},
"label": {
"type": "string",
"nullable": true
},
"confidence": {
"type": "number",
"format": "double"
},
"is_estimate": {
"type": "boolean"
},
"location": {
"allOf": [
{
"$ref": "#/components/schemas/InvoiceFieldLocation"
}
],
"readOnly": true,
"nullable": true
}
},
"required": [
"confidence",
"is_estimate",
"label",
"value"
],
"x-stoplight": {
"id": "pmkivpmzctxpw"
}
},
"InvoiceDateCandidate": {
"type": "object",
"description": "An alternate date the extractor considered for this invoice.",
"properties": {
"value": {
"type": "string"
},
"label": {
"type": "string",
"nullable": true
},
"confidence": {
"type": "number",
"format": "double"
},
"is_estimate": {
"type": "boolean"
},
"location": {
"allOf": [
{
"$ref": "#/components/schemas/InvoiceFieldLocation"
}
],
"readOnly": true,
"nullable": true
}
},
"required": [
"confidence",
"is_estimate",
"label",
"value"
],
"x-stoplight": {
"id": "aiwmek0vxfxej"
}
},
"InvoiceRecipientMatch": {
"type": "object",
"description": "The invoice's recipient-matching outcome and the candidates considered, ordered by rank.\n\nPure rendering — no side effects. The caller (the detail view's ``retrieve``, or\nthe rematch-recipient action) is responsible for calling ``refresh_recipient_match``\n/``rematch_invoice_recipient`` beforehand so ``invoice.recipient_candidates`` is\nalready current by the time this runs; doing that here instead would mean a\nrematch endpoint that already just wrote fresh candidates triggers a second,\nredundant one merely by rendering its own response.",
"properties": {
"status": {
"type": "string",
"nullable": true
},
"candidates": {
"type": "array",
"items": {
"$ref": "#/components/schemas/InvoiceRecipientCandidate"
}
}
},
"required": [
"candidates",
"status"
],
"x-stoplight": {
"id": "us8iwsf2renzl"
}
},
"InvoiceExtractedField": {
"type": "object",
"description": "An extracted field value, where it was found on the page if it could be\nplaced, and why it is suspect if a post-check rejected it.\n\nA rejected value is returned rather than withheld: the client sees what\nwas read off the invoice next to the reason it failed, instead of an empty\nfield beside a value plainly printed on the page. `validation_error` is a\nwarning, not a guarantee — the write path re-validates before the value\ncan become a recipient or a payment.",
"properties": {
"value": {
"type": "string"
},
"location": {
"allOf": [
{
"$ref": "#/components/schemas/InvoiceFieldLocation"
}
],
"readOnly": true,
"nullable": true
},
"validation_error": {
"type": "string",
"readOnly": true,
"nullable": true
}
},
"required": [
"value"
],
"x-stoplight": {
"id": "m7vx8m7sdtzhl"
}
},
"InvoiceFieldLocation": {
"type": "object",
"description": "A bounding box on the invoice page where a value was found.\n\nCoordinates are normalized to [0, 1] top-left-origin fractions of that\npage's width/height. Multiply by the matching entry in the response's\n`pages[]` (width_px / height_px) to convert to pixels. `page` is the\n1-indexed `page_number` of the page it belongs to, not an array index.",
"properties": {
"page": {
"type": "integer"
},
"left": {
"type": "number",
"format": "double"
},
"top": {
"type": "number",
"format": "double"
},
"width": {
"type": "number",
"format": "double"
},
"height": {
"type": "number",
"format": "double"
}
},
"required": [
"height",
"left",
"page",
"top",
"width"
],
"x-stoplight": {
"id": "rcp2spqchd6ti"
}
},
"InvoiceRecipientCandidate": {
"type": "object",
"description": "A scored candidate recipient for this invoice's payee.\n\nSerializes a plain ``InvoiceRecipientCandidate`` row. There is no staleness flag\nhere — ``refresh_recipient_match`` (called by the view before this serializer ever\nruns) means every row on a READY invoice is either already current or was just\nrewritten to be, so there is nothing left to flag as changed.",
"properties": {
"recipient_uuid": {
"type": "string",
"format": "uuid"
},
"recipient_name": {
"type": "string"
},
"recipient_nickname": {
"type": "string"
},
"masked_account_number": {
"type": "string",
"nullable": true
},
"routing_number": {
"type": "string",
"nullable": true
},
"match_type": {
"type": "string"
},
"score": {
"type": "number",
"format": "double"
},
"rank": {
"type": "integer"
}
},
"required": [
"masked_account_number",
"match_type",
"rank",
"recipient_name",
"recipient_nickname",
"recipient_uuid",
"routing_number",
"score"
],
"x-stoplight": {
"id": "is92zzwbefawt"
}
}
},
"securitySchemes": {
"oauth2": {
"type": "oauth2",
"flows": {
"authorizationCode": {
"authorizationUrl": "/v2/oauth/authorize/",
"tokenUrl": "/v2/oauth/token/",
"refreshUrl": "/v2/oauth/token/",
"scopes": {
"introspection": "Permit introspection on a valid active bearer token.",
"openid": "OpenID Connect scope",
"offline_access": "Includes long-lived refresh token along with access token",
"claudeai": "Authorizes access to Claude AI services.",
"read": "View your banking data.",
"write": "Update your data",
"banking:accounts:read": "Can read account information.",
"banking:transactions:read": "Can read transaction information.",
"banking:scheduled_transfers:read": "Can read scheduled transfer information.",
"banking:scheduled_transfers:write": "Can create and update scheduled transfers.",
"banking:accounts:write": "Can update account information.",
"banking:transactions:write": "Can update transaction information.",
"banking:users:read": "Can read user profile information.",
"banking:users:write": "Can update user profile information.",
"banking:products:read": "Can read product information.",
"banking:documents:read": "Can read user statements and documents.",
"banking:documents:write": "Can create and download document archives.",
"banking:support_schedules:read": "Can read institution schedule and Federal Reserve holiday information.",
"banking:payees:read": "Can read bill pay payee information.",
"banking:payees:write": "Can create, update, and delete bill pay payees.",
"banking:payments:read": "Can read bill pay payment information.",
"banking:payments:write": "Can create and delete bill pay payments.",
"banking:deposits:read": "Can read deposit information.",
"banking:deposits:write": "Can create and update deposits.",
"banking:recipients:read": "Can read recipient information.",
"banking:recipients:write": "Can create and update recipients.",
"banking:subscriptions:read": "Can read webhook subscription information.",
"banking:subscriptions:write": "Can create and update webhook subscriptions.",
"banking:transfers:read": "Can read transfer information.",
"banking:transfers:write": "Can create transfers.",
"banking:wires:read": "Can read wire information.",
"banking:wires:write": "Can create wires.",
"profile": "Standard claim for extended user information",
"email": "User registered email address",
"write:preferences": "Read and write user preferences",
"read:profile": "Access extended information about the user including address"
}
}
}
}
}
}
}
````