---
title: "Invoice"
method: POST
path: "/api/v3/orders/{order_id}/invoice"
tags: ["Pedido"]
---

# Invoice

`POST /api/v3/orders/{order_id}/invoice`

Facturar pedido marketplace

## Path parameters

- `order_id` integer, required

## Request body

- OrderInvoiceRequest
  - `facturar_solo_confirmados` boolean

## Response `200`

Successful Response

- OrderInvoiceResponse
  - `mensaje` string, required
  - `facturar_solo_confirmados` boolean
  - `facturacion` OrderBillingDocumentOut[]
    - `id` integer, required
    - `serie` string, nullable
    - `numero` union
      - integer
      - string
    - `correlativo` string, nullable
    - `estado` object, nullable
    - `estado_id` integer, nullable
    - `tipo_documento_id` integer, nullable
    - `descargar_pdf` string, nullable
    - `descargar_xml` string, nullable
    - `descargar_cdr` string, nullable
    - `archivo` string, nullable
    - `fecha_de_creacion` string, date-time, nullable
    - `order_item_ids` integer[]
    - `external_order_item_ids` string[]

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/factpro/apis/note-service-api.md) · [All operations](https://skmtc.net/factpro/apis/note-service-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/factpro/note-service-api/revisions/d88e14b2de42/schema)
