---
title: "Send Invoice"
method: POST
path: "/admin/payment-orders/{payment_order_id}/send-invoice"
tags: ["Ordenes de pago"]
---

# Send Invoice

`POST /admin/payment-orders/{payment_order_id}/send-invoice`

## Request

- Base URL: `https://api.factpro.la` (the document declares no server; this is the origin it was published from)
- URL: `https://api.factpro.la/admin/payment-orders/{payment_order_id}/send-invoice`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/factpro/apis/note-service-api/docs/admin/payment-orders/:payment_order_id/send-invoice/post.ts> (a function with typed inputs; its response is checked against the schema)

Enviar la factura de una orden de pago por WhatsApp y correo

## Path parameters

- `payment_order_id` integer, required

## Request body

- DocumentApiOut
  - `exito` boolean
  - `mensaje` string, nullable
  - `data` DocumentDataOut, required
    - `numero` string, required
    - `archivo` string, required
    - `letras` string, nullable
    - `hash` string, nullable
    - `qr` string, nullable
    - `tipo_estado` string
    - `descripcion_estado` string
  - `archivos` DocumentFileOut, required
    - `pdf` string, nullable
    - `descargar_pdf` string
    - `xml` string
    - `cdr` string
  - `eventos` unknown[]
    - unknown

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-11** `748f464d030d`: 4 info
  - the `hash` request property default value `` was removed
  - the `qr` request property default value `` was removed
  - request property `data/hash` list-of-types was widened by adding types `null` to media type `application/json`
  - request property `data/qr` list-of-types was widened by adding types `null` to media type `application/json`
- **2026-09-09** `d3cd0612ffeb`: 1 info
  - request property `mensaje` list-of-types was widened by adding types `null` to media type `application/json`
- **2026-09-04** `f669e241650c`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/factpro/apis/note-service-api/changes/admin/payment-orders/:payment_order_id/send-invoice/post.md)

---

[API](https://skmtc.dev/factpro/apis/note-service-api.md) - [All operations](https://skmtc.dev/factpro/apis/note-service-api/llms.txt) - [OpenAPI document](https://skmtc.dev/factpro/apis/note-service-api/revisions/bc60c2458165?raw)
