# Import into Bruno via "Open Collection" / OpenAPI import.
# Preferred source of truth (always current):
#   https://normbill.com/openapi.json
#   https://api.normbill.com/openapi.json
#
# Or download this stub and set the OpenAPI URL in Bruno:
openapi: 3.1.0
info:
  title: normbill
  version: "1"
servers:
  - url: https://api.normbill.com
paths:
  /v1/invoices/generate:
    post:
      summary: Generate a compliant e-invoice
      security: [{ bearerAuth: [] }]
  /v1/invoices/validate:
    post:
      summary: Validate invoice XML
      security: [{ bearerAuth: [] }]
  /v1/invoices/parse:
    post:
      summary: Parse invoice XML to JSON
      security: [{ bearerAuth: [] }]
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
