NRS Gateway API Overview

Complete public contract for the NRS Invoice Gateway

This reference covers the endpoints the NRS Invoice Gateway owns and implements itself. They are served from your approved domain alongside the NRS routes, but they are Duplo operations, not regulator operations.

Complete public route inventory

The generated reference contains every public operation in the current Gateway release: represented-business and identity management, Stored invoice reads/transmission, compatibility/liveness/readiness health routes, and the finite direct NRS allowlist. It also documents the two recognized inbound NRS routes that deliberately return 503 GW_INVOICE_OPERATION_UNAVAILABLE. Administrator-only cache, identity-migration, dependency-diagnostic, and recovery endpoints are not public and are intentionally absent.

Every documented operation accepts an optional caller X-Request-ID for correlation, but Gateway generates the authoritative response X-Request-ID and propagates that value to dependencies. Responses use Cache-Control: no-store; Problem Details can also include Retry-After. Follow the structured retry object before replaying any mutation.

The approved domain also exposes an explicit allowlist of NRS-owned operations. Only the method and path shapes documented in NRS API through your domain are eligible for relay; the domain is not a catch-all NRS proxy.

Gateway-generated failures use the Gateway Problem Details contract and the stable error code reference. A successful supported direct relay preserves the sanitized NRS-owned 2xx status, content type, and response body. Gateway discards every NRS non-2xx body and maps it to a safe GW_* Problem Details response.

Base URL

Every endpoint below is called on the domain approved for your business, for example https://acme.invoice.tryduplo.com. Use the server selector on each page to substitute your own subdomain.

Represented businesses

How is this guide?

On this page