---
title: "convertToInvoice"
method: POST
path: "/documentv2/convertToInvoice"
tags: ["documentv2"]
---

# convertToInvoice

`POST /documentv2/convertToInvoice`

Internal documentv2/convertToInvoice operation. Authentication requirements are derived from the active route allowlist.

## Request body

- object
  - `copy_paid_invoices` string
  - `doc_num_suggestion` string
  - `id` string

## Response `200`

Standard successful response envelope.

- SuccessEnvelope
  - `status` 'success', required
  - `statusCode` integer, required
  - `message` string, required
  - `data` object, required
  - `error` unknown, required

## Other responses

- `400` — Standard API error envelope.
- `401` — Standard API error envelope.
- `403` — Standard API error envelope.
- `422` — Standard API error envelope.

---

[API](https://skmtc.dev/wowinvoice/apis/wow-invoice-internal-api.md) · [All operations](https://skmtc.dev/wowinvoice/apis/wow-invoice-internal-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/wowinvoice/wow-invoice-internal-api/revisions/9f6951d767bb/schema)
