> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fatorly.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get v1invoices 1



## OpenAPI

````yaml /api-reference/openapi.json get /v1/invoices/{id}
openapi: 3.0.1
info:
  title: Fatorly Integration
  version: v1
servers:
  - url: https://integration.fatorly.com
    description: Production
  - url: https://integration.sandbox.fatorly.com
    description: Sandbox
security:
  - ApiKey: []
tags:
  - name: CreditNotes
  - name: Customers
  - name: Invoices
  - name: Items
  - name: PurchaseCreditNotes
  - name: PurchaseInvoices
  - name: Vendors
  - name: Webhooks
  - name: WhoAmi
  - name: EchoTest
  - name: ThrowTest
paths:
  /v1/invoices/{id}:
    get:
      tags:
        - Invoices
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/V1InvoiceResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/V1InvoiceResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/V1InvoiceResponse'
        '401':
          description: Unauthorized — Missing or invalid X-Api-Key.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemPayload'
        '403':
          description: Forbidden — The API key lacks the scope this operation requires.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemPayload'
        '404':
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemPayload'
        '429':
          description: >-
            Too Many Requests — Rate limit exceeded; retry after the Retry-After
            interval.
          headers:
            Retry-After:
              description: Seconds to wait before retrying.
              schema:
                type: integer
            X-RateLimit-Remaining:
              description: Requests remaining in the current window (0 when rejected).
              schema:
                type: integer
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemPayload'
        '500':
          description: Internal Server Error — Unexpected server error; report the traceId.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemPayload'
        '502':
          description: Bad Gateway
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemPayload'
components:
  schemas:
    V1InvoiceResponse:
      required:
        - id
        - invoiceNumber
        - status
        - participantDelivery
        - createdAt
        - links
      type: object
      properties:
        id:
          type: string
        invoiceNumber:
          type: string
        status:
          enum:
            - Draft
            - Pending
            - Sent
            - DeliveryFailed
            - Received
          type: string
          description: >-
            Document status: Draft (created, not submitted), Pending (queued or
            being delivered over Peppol), Sent (delivered), DeliveryFailed
            (submission failed — see submissionError), Received (inbound
            purchase document).
          example: Draft
        participantDelivery:
          enum:
            - Pending
            - Failed
            - NotApplicable
          type: string
          description: >-
            Peppol delivery indicator: Pending (delivery in flight or awaiting
            confirmation), Failed (delivery failed), NotApplicable (not
            submitted, e.g. a Draft).
          example: NotApplicable
        createdAt:
          type: string
        links:
          $ref: '#/components/schemas/V1Links'
        submissionError:
          type: string
          default: null
          nullable: true
    ProblemPayload:
      required:
        - type
        - title
        - status
      type: object
      properties:
        type:
          type: string
        title:
          type: string
        status:
          type: integer
          format: int32
        detail:
          type: string
          nullable: true
        instance:
          type: string
          nullable: true
        traceId:
          type: string
          nullable: true
        errors:
          type: array
          nullable: true
    V1Links:
      required:
        - self
      type: object
      properties:
        self:
          type: string
  securitySchemes:
    ApiKey:
      type: apiKey
      description: >-
        Your fat_… integration key. Create one in Settings → Integrations → API
        Keys.
      name: X-Api-Key
      in: header

````