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

# Get billingorgv1erp invoices 1

> Mixin for viewsets that provides a queryset based on a model class.



## OpenAPI

````yaml /api-reference/services_documented/billing_reseller_api.yaml get /billing/org/v1/erp-invoices/{id}
openapi: 3.1.0
info:
  title: Gcore OpenAPI – Billing Reseller API
  description: >-
    This OpenAPI is an aggregated OpenAPI specification that unifies all Gcore
    products into a single file. It covers Cloud, CDN, DNS, WAAP, DDoS
    Protection, Object Storage, Streaming, and FastEdge services.
  version: '2026-05-15T06:37:28.230198+00:00'
servers:
  - url: https://api.gcore.com
security:
  - APIKey: []
tags:
  - name: addendums
    description: Operations on client addendums
    x-displayName: addendums
  - name: calc_rules
    x-displayName: calc_rules
  - name: currencies
    x-displayName: currencies
  - name: erp-invoices
    x-displayName: erp-invoices
  - name: expenses
    description: Operations on expenses
    x-displayName: expenses
  - name: plans
    description: Operations on tariff plans and their contents
    x-displayName: plans
  - name: products
    x-displayName: products
  - name: reports
    description: >-
      Operations involving reports and the associated background tasks that
      handle their processing
    x-displayName: reports
  - name: trials
    x-displayName: trials
paths:
  /billing/org/v1/erp-invoices/{id}:
    get:
      tags:
        - erp-invoices
      description: Mixin for viewsets that provides a queryset based on a model class.
      operationId: v1_erp_invoices_retrieve
      parameters:
        - in: path
          name: id
          schema:
            type: integer
          required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErpInvoiceExternal'
          description: Request successful.
        '401':
          description: Authentication credentials were not provided or are invalid.
        '403':
          description: You do not have permission to perform this action.
        '404':
          description: The requested resource was not found.
components:
  schemas:
    ErpInvoiceExternal:
      type: object
      description: External-facing serializer that excludes internal ERP identifiers.
      properties:
        id:
          type: integer
          readOnly: true
        name:
          type: string
          readOnly: true
          description: Invoice number, e.g. INV/2026/00001
        move_type:
          enum:
            - out_invoice
            - out_refund
          type: string
          description: |-
            - `out_invoice` - `out_invoice`
            - `out_refund` - `out_refund`
          x-spec-enum-id: 1f888e9de3fc9980
          readOnly: true
        currency:
          type: string
          readOnly: true
          description: 'Currency code: USD, EUR, etc.'
        invoice_date:
          type: string
          format: date
          readOnly: true
          nullable: true
        invoice_date_due:
          type: string
          format: date
          readOnly: true
          nullable: true
        billing_period_from:
          type: string
          format: date
          readOnly: true
          nullable: true
        billing_period_to:
          type: string
          format: date
          readOnly: true
          nullable: true
        amount_untaxed:
          description: Amount without tax
          type: string
          format: decimal
          pattern: ^\d{1,3}\.\d{12}$
          readOnly: true
        amount_tax:
          description: Tax amount
          type: string
          format: decimal
          pattern: ^\d{1,3}\.\d{12}$
          readOnly: true
        amount_total:
          description: Total amount with tax
          type: string
          format: decimal
          pattern: ^\d{1,3}\.\d{12}$
          readOnly: true
        payment_state:
          enum:
            - not_paid
            - paid
            - partial
            - reversed
            - in_payment
          type: string
          description: |-
            - `not_paid` - `not_paid`
            - `paid` - paid
            - `partial` - partial
            - `reversed` - reversed
            - `in_payment` - `in_payment`
          x-spec-enum-id: 5a5e5cb5c3bd3961
          readOnly: true
        client_id:
          type: integer
          maximum: 2147483647
          minimum: -2147483648
          description: ID of client in API service
          readOnly: true
        payer_id:
          type: integer
          readOnly: true
        invoice_id:
          type: integer
          nullable: true
          description: Linked billing system invoice
          readOnly: true
        created_at:
          type: string
          format: date-time
          readOnly: true
        updated_at:
          type: string
          format: date-time
          readOnly: true
      required:
        - amount_tax
        - amount_total
        - amount_untaxed
        - billing_period_from
        - billing_period_to
        - client_id
        - created_at
        - currency
        - id
        - invoice_date
        - invoice_date_due
        - invoice_id
        - move_type
        - name
        - payer_id
        - payment_state
        - updated_at
  securitySchemes:
    APIKey:
      description: >-
        API key for authentication. Make sure to include the word `apikey`,
        followed by a single space and then your token.

        Example: `apikey 1234$abcdef`
      type: apiKey
      in: header
      name: Authorization

````