---
title: "POST /v1/invoices/create_draft"
method: POST
path: "/v1/invoices/create_draft"
tags: ["Money"]
---

# POST /v1/invoices/create_draft

`POST /v1/invoices/create_draft`

## Request body

- MarketApiCreateDraftInvoiceRequest
  - `credit_amount_cents` integer, required
  - `idempotency_key` string, required

## Response `200`

Draft invoice created

- MarketApiCreateDraftInvoiceResponse
  - `object` 'invoice_draft', required
  - `invoice_id` string, required

## Other responses

- `400` — Bad request
- `403` — Forbidden
- `500` — Internal server error

---

[API](https://skmtc.net/sfcompute/apis/san-francisco-compute-documentation.md) · [All operations](https://skmtc.net/sfcompute/apis/san-francisco-compute-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sfcompute/san-francisco-compute-documentation/revisions/93dd7661e9bb/schema)
