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

# Get invoice contract billing

> Tell whether an invoice or credit note billed contract revenue recognition schedules on a ledger, which explains lines with no schedule of their own.



## OpenAPI

````yaml get /v1/accounting/revrec/invoices/{invoice_id}/contract-billing
openapi: 3.1.0
info:
  title: Hyperline API
  version: 0.0.0
servers:
  - url: https://api.hyperline.co
  - url: https://sandbox.api.hyperline.co
security: []
paths:
  /v1/accounting/revrec/invoices/{invoice_id}/contract-billing:
    get:
      tags:
        - Accounting > Revenue recognition
      summary: Get invoice contract billing
      description: >-
        Tell whether an invoice or credit note billed contract revenue
        recognition schedules on a ledger, which explains lines with no schedule
        of their own.
      operationId: getRevRecInvoiceContractBilling
      parameters:
        - schema:
            type: string
          required: true
          name: invoice_id
          in: path
        - schema:
            type: string
            minLength: 1
            description: Ledger identifier.
          required: true
          description: Ledger identifier.
          name: ledger_id
          in: query
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountingRevRecInvoiceContractBilling'
      security:
        - bearer: []
components:
  schemas:
    AccountingRevRecInvoiceContractBilling:
      type: object
      properties:
        billed_by_contract:
          type: boolean
          description: >-
            Whether the invoice or credit note billed contract revenue
            recognition schedules on the ledger. Its lines a contract schedule
            covers create no schedule of their own.
      required:
        - billed_by_contract
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      bearerFormat: JWT

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.