---
updatedAt: 2026-05-30T03:15:38.000Z
agentTools:
  projectIndex: https://docs.frisbii.com/llms.txt
---

# Create additional cost

An additional cost is given a handle for own reference. Order text will be reflected on the invoice. Notice that the amount is per quantity meaning that the total amount transferred to the invoice is quantity times amount.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "API",
    "description": "REST API to manage Frisbii resources",
    "contact": {
      "email": "support@frisbii.com"
    },
    "version": "1"
  },
  "servers": [
    {
      "url": "https://api.frisbii.com"
    }
  ],
  "paths": {
    "/v1/additional_cost": {
      "post": {
        "tags": [
          "additional cost"
        ],
        "summary": "Create additional cost",
        "operationId": "createAdditionalCostJson",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAdditionalCost"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful operation",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AdditionalCost"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request, see error codes at https://api.frisbii.com/v1/error_codes",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "None or invalid credentials provided in access to secured resource",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "Not authorized to perform resource operation",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "Resource or referenced resource not found, see error codes at https://api.frisbii.com/v1/error_codes",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Request limiting exceeded, request rate or concurrent requests, see error code 122 and 123",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal service error, error is reported automatically to Frisbii",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "basicAuth": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "ErrorResponse": {
        "required": [
          "code",
          "error",
          "http_reason",
          "http_status",
          "path",
          "request_id",
          "timestamp"
        ],
        "type": "object",
        "properties": {
          "code": {
            "type": "integer",
            "description": "Frisbii API [error codes](https://api.frisbii.com/v1/error_codes)",
            "format": "int32",
            "example": 12
          },
          "error": {
            "type": "string",
            "description": "Short error message",
            "example": "Subscription not found"
          },
          "message": {
            "type": "string",
            "description": "Optional clarifying error message"
          },
          "path": {
            "type": "string",
            "description": "The path generating the error response",
            "example": "/v1/subscription/sub0019"
          },
          "timestamp": {
            "type": "string",
            "description": "Timestamp for the error response in ISO-8601 extended offset date-time format",
            "format": "date-time"
          },
          "http_status": {
            "type": "integer",
            "description": "HTTP status code of the error",
            "format": "int32",
            "example": 404
          },
          "http_reason": {
            "type": "string",
            "description": "HTTP reason of the error",
            "example": "Not Found"
          },
          "request_id": {
            "type": "string",
            "description": "Request-Id for the failed request",
            "example": "f1988fc2374b4a26a51ebd876b478428"
          },
          "transaction_error": {
            "type": "string",
            "description": "Optional transaction error in the case the request involved a transaction processing. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).",
            "example": "credit_card_expired"
          }
        },
        "description": "Generic error response"
      },
      "AdditionalCost": {
        "required": [
          "amount",
          "amount_ex_vat",
          "amount_incl_vat",
          "amount_vat",
          "created",
          "handle",
          "ordertext",
          "state",
          "subscription"
        ],
        "type": "object",
        "properties": {
          "invoice": {
            "type": "string",
            "description": "Invoice id for the invoice the additional cost has been assigned to once it has been transferred",
            "example": "1f71771bfbfc40eabf6df4cc2e31d853"
          },
          "state": {
            "type": "string",
            "description": "State of the additional cost, one of the following: `pending`, `transferred`, `cancelled`. A pending additonal cost has not yet been transferred to a invoice. Cancelled addtional costs have been cancelled manually.",
            "example": "pending",
            "enum": [
              "pending",
              "transferred",
              "cancelled"
            ]
          },
          "subscription": {
            "minLength": 1,
            "type": "string",
            "description": "Subscription handle",
            "example": "sub000219"
          },
          "handle": {
            "minLength": 1,
            "type": "string",
            "description": "Per account unique handle for the additional cost",
            "example": "cost032"
          },
          "ordertext": {
            "minLength": 1,
            "type": "string",
            "description": "Order text for the additional cost. Will be on affected invoices.",
            "example": "Yoga mat"
          },
          "quantity": {
            "minimum": 1,
            "type": "integer",
            "description": "Quantity for the additional cost. Default 1.",
            "format": "int32",
            "example": 1
          },
          "amount": {
            "minimum": 0,
            "type": "integer",
            "description": "Additional cost total amount",
            "format": "int32",
            "example": 10000
          },
          "vat": {
            "type": "number",
            "description": "Optional vat for additional cost. Account default is used if none given.",
            "format": "float",
            "example": 0.25
          },
          "created": {
            "type": "string",
            "description": "Date when the additional cost was created. In [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.",
            "format": "date-time",
            "example": "2015-04-04T12:40:56.656Z"
          },
          "amount_incl_vat": {
            "type": "boolean",
            "description": "Whether the amount is including VAT. Default true.",
            "example": true
          },
          "amount_vat": {
            "type": "integer",
            "description": "Additional cost vat amount",
            "format": "int32",
            "example": 2000
          },
          "amount_ex_vat": {
            "type": "integer",
            "description": "Additional cost amount without vat",
            "format": "int32",
            "example": 8000
          },
          "tax_policy": {
            "pattern": "^[a-zA-Z0-9_\\.\\-@]*$",
            "type": "string",
            "description": "Optional tax policy handle for this additional cost. If vat and tax policy is given, vat will be ignored.",
            "example": "default_tax_policy_handle"
          }
        }
      },
      "CreateAdditionalCost": {
        "required": [
          "amount",
          "handle",
          "ordertext",
          "subscription"
        ],
        "type": "object",
        "properties": {
          "handle": {
            "minLength": 1,
            "pattern": "^[a-zA-Z0-9_\\.\\-@]*$",
            "type": "string",
            "description": "Per account unique handle for the additional cost. Max length 255 with allowable characters [a-zA-Z0-9_.-@].",
            "example": "cost032"
          },
          "ordertext": {
            "minLength": 1,
            "type": "string",
            "description": "Order text for the additional cost. Will be on affected invoices.",
            "example": "Yoga mat"
          },
          "quantity": {
            "minimum": 1,
            "type": "integer",
            "description": "Quantity for the additional cost. Default 1.",
            "format": "int32",
            "example": 1
          },
          "amount": {
            "minimum": 0,
            "type": "integer",
            "description": "Per quantity amount in the smallest unit for the subscription currency",
            "format": "int32",
            "example": 10000
          },
          "vat": {
            "type": "number",
            "description": "Optional vat for additional cost. Account default is used if none given.",
            "format": "float",
            "example": 0.25
          },
          "subscription": {
            "minLength": 1,
            "type": "string",
            "description": "Subscription by handle to add the additional cost to",
            "example": "sub000219"
          },
          "amount_incl_vat": {
            "type": "boolean",
            "description": "Whether the per quantity amount is including VAT. Defaults to true.",
            "example": false
          },
          "tax_policy": {
            "pattern": "^[a-zA-Z0-9_\\.\\-@]*$",
            "type": "string",
            "description": "Optional tax policy handle for this additional cost. If vat and tax policy is given, vat will be ignored.",
            "example": "default_tax_policy_handle"
          }
        }
      }
    },
    "securitySchemes": {
      "basicAuth": {
        "type": "http",
        "scheme": "basic"
      }
    }
  }
}
```