---
title: "Create an Aegis invoice (admin)"
method: POST
path: "/billing/aegis/invoice"
tags: ["billing"]
---

# Create an Aegis invoice (admin)

`POST /billing/aegis/invoice`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/billing/aegis/invoice`
- Auth: one of:
  - API key in cookie `session`
  - HTTP bearer

## Request body

- object
  - `customerId` string, required
  - `lineItems` object[], required
    - `description` string, required
    - `amount` integer, required
    - `currency` string
  - `dueDate` integer
  - `notes` string

## Response `201`

Invoice created

## Other responses

- `403`: Forbidden

## Changes

- **2026-04-18** `bc054b830b97`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api/changes/billing/aegis/invoice/post.md)

---

[API](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api.md) - [All operations](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api/llms.txt) - [OpenAPI document](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api/revisions/6ad730b13e59?raw)
