---
title: "AI Invoice Data generator"
method: POST
path: "/v0.2.4/ai/invoice/generate"
tags: ["AI"]
---

# AI Invoice Data generator

`POST /v0.2.4/ai/invoice/generate`

## Request body

- object
  - `instruction` string, required — An intruction to generate an Invoice.

## Response `200`

Success.

- object
  - `status` string — Status of the request.
  - `message` string — Success message.
  - `data` object
    - `downloadURL` string
    - `chimoneyPaymentRequestCreateURL` string
    - `chimoneyAPIEndpoint` string
    - `json` object
      - `invoiceDate` string
      - `invoiceNumber` number
      - `dueDate` string

## Other responses

- `400` — Validation error in the request.
- `401` — Access to this resource is not available for unauthenticated users.
- `403` — Access to this resource is forbidden.
- `500` — Indicates an internal server error.

---

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