---
title: "POST /companies/{companySlug}/orderConfirmations/{confirmationId}/createInvoiceDraft"
method: POST
path: "/companies/{companySlug}/orderConfirmations/{confirmationId}/createInvoiceDraft"
tags: ["order confirmations"]
---

# POST /companies/{companySlug}/orderConfirmations/{confirmationId}/createInvoiceDraft

`POST /companies/{companySlug}/orderConfirmations/{confirmationId}/createInvoiceDraft`

## Request

- Base URL: `https://api.fiken.no/api/v2`
- URL: `https://api.fiken.no/api/v2/companies/{companySlug}/orderConfirmations/{confirmationId}/createInvoiceDraft`
- Auth: OAuth 2
  - Authorization code: `https://fiken.no/oauth/authorize`
  - Token URL: `https://fiken.no/oauth/token`

Creates an invoice draft from an order confirmation

## Response `201`

Created

## Changes

- **2023-05-26** `e093a0c9db87`: 1 info
  - api operation id `createInvoicDraftFromOrderConfirmation` removed and replaced with `createInvoiceDraftFromOrderConfirmation`
- **2021-12-08** `4813e5666340`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/fiken/apis/fiken-api/changes/companies/:companySlug/orderConfirmations/:confirmationId/createInvoiceDraft/post.md)

---

[API](https://skmtc.dev/fiken/apis/fiken-api.md) - [All operations](https://skmtc.dev/fiken/apis/fiken-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fiken/apis/fiken-api/revisions/29111da67f94?raw)
