---
title: "Creating a new Workspace Invoice Preference"
method: POST
path: "/workspace_invoice_preferences"
tags: ["Workspace Invoice Preferences"]
---

# Creating a new Workspace Invoice Preference

`POST /workspace_invoice_preferences`

## Request

- Base URL: `https://api.mavenlink.com/api/v1`
- URL: `https://api.mavenlink.com/api/v1/workspace_invoice_preferences`
- Auth: none declared

This endpoint returns structured Workspace Invoice Preference objects.
As with all Kantata OX API endpoints, the returned data will be referenced in sorted order in the `results` array
and will be indexed by ID in the `workspace_invoice_preferences` top-level JSON key.
Please see our [Response Format](#section/Response-Format) section for more information.

## Request body

- object
  - `workspace_invoice_preference` object
    - `workspace_id` integer, required: The ID of the project for which the invoice preferences will apply.
    - `purchase_order` string: The invoice purchase order (defined by the user).
    - `project_code` string: The invoice project code (defined by the user).
    - `client_invoice_name` string: The name of the client being invoiced.
    - `client_invoice_address` string: The address of the client being invoiced.
    - `consultant_invoice_name` string: The name of the provider who is sending the invoice.
    - `consultant_invoice_address` string: The address of the provider who is sending the invoice.

## Response `200`

Workspace Invoice Preference has been created.

- object
  - `count` integer
  - `meta` object
    - `count` integer
    - `page_count` integer
    - `page_number` integer
    - `page_size` integer
  - `results` object[]
    - `key` string
    - `id` string
  - `workspace_invoice_preferences` object

## Other responses

- `400`: Bad Request
- `401`: Unauthorized request
- `403`: Forbidden request
- `404`: Page Not Found
- `422`: Unprocessable Entity
- `503`: Service is unavailable

---

[API](https://skmtc.dev/kantata/apis/kantata-ox-api-documentation.md) - [All operations](https://skmtc.dev/kantata/apis/kantata-ox-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/kantata/apis/kantata-ox-api-documentation/revisions/9d4ebed2fa98?raw)
