Skip to main content

Validate invoice schema

POST {{BASE_URL}}/api/v1/einvoice/validate Validates your invoice payload before signing. Use this to catch schema and compliance issues early. Request example:
Response example (success):
Response example (error):
Fields:
  • business_id: PASCA business identifier.
  • irn: Invoice Reference Number.
  • invoice_type_code: Invoice type code from resources.
  • invoice_kind: Invoice type such as B2B.
  • accounting_supplier_party: Supplier identity and address.
  • accounting_customer_party: Customer identity and address.
  • invoice_line: Line items for products or services.
  • legal_monetary_total: Invoice totals.

Sign invoice

POST {{BASE_URL}}/api/v1/einvoice/sign Signs an invoice and generates an IRN. Use this after validation. Request example:
Response example (success):
Response example (error):

Sign and transmit invoice

POST {{BASE_URL}}/api/v1/einvoice/sign-transmit Signs and transmits an invoice to NRS in a single request. Request example:
Response example (success):

Transmit invoice

GET {{BASE_URL}}/api/v1/einvoice/transmit/{IRN} Transmits a previously signed invoice using its IRN. Request example:
Response format:

Get invoice (simple)

GET {{BASE_URL}}/api/v1/einvoice/{IRN}/simple Returns a simplified view of a stored invoice. Request example:
Response format:

Get invoice (advanced)

GET {{BASE_URL}}/api/v1/einvoice/{IRN} Returns the full invoice record with all metadata. Request example:
Response format:

Lookup IRN status

GET {{BASE_URL}}/api/v1/einvoice/lookup/{IRN} Returns fiscalization status for an IRN. Request example:
Response format:

Update invoice

PATCH {{BASE_URL}}/api/v1/einvoice/update/{IRN} Updates the payment status or reference for a stored invoice. Request example:
Response format:
Fields:
  • payment_status: One of PENDING, PAID, or REJECTED.
  • reference: Optional payment reference or note.

Report e-invoice

POST {{BASE_URL}}/api/v1/einvoice/report-fiscalization Reports a fiscalized invoice and its tax details. Request example:
Response format: