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

# Get count of invoices stuck in DTE pipeline

> Returns counts grouped by failure type. All counts should be 0 in steady-state.



## OpenAPI

````yaml /generated/specs/diagnostics.json get /api/billing/health/stuck-invoices
openapi: 3.0.0
info:
  title: Raul API - Diagnostico
  description: Health, consumo, conectividad, SIMs, webhooks fallidos y estados tecnicos.
  version: 2.0.0
  contact: {}
servers:
  - url: https://api.raul.ugps.io
    description: Production
security: []
tags: []
paths:
  /api/billing/health/stuck-invoices:
    get:
      tags:
        - billing/health
      summary: Get count of invoices stuck in DTE pipeline
      description: >-
        Returns counts grouped by failure type. All counts should be 0 in
        steady-state.
      operationId: InvoiceHealthController_getStuckInvoices
      parameters: []
      responses:
        '200':
          description: Invoice health summary
          content:
            application/json:
              schema:
                type: object
                properties:
                  dte_sent_no_active_dte:
                    type: number
                  dte_sent_failed_dte:
                    type: number
                  dte_sent_sii_rejected:
                    type: number
                  published_no_dte:
                    type: number
                  published_failed_dte:
                    type: number
                  checked_at:
                    format: date-time
                    type: string
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Bearer token authentication

````