---
title: "Changes to Crear Customer, Subscription e Invoice"
method: POST
path: "/entities"
---

# Changes to Crear Customer, Subscription e Invoice

`POST /entities`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 2 revisions.

- **2026-11-03** `a6ef070075b1`: 18 breaking, 17 warning, 46 info

## Changes

- **2026-11-03** `a6ef070075b1`: 18 breaking, 17 warning, 46 info
  - request body became required
  - for the `header` request parameter `x-account-key`, default value `` was added
  - added `#/components/schemas/CurrencyIso` to the `invoice/currency_code` request property `allOf` list
  - added `#/components/schemas/CurrencyIso` to the `subscription/currency_code` request property `allOf` list
  - added `#/components/schemas/Frequency` to the `subscription/frequency` request property `allOf` list
  - added `#/components/schemas/ReceiptType` to the `invoice/receipt_type` request property `allOf` list
  - the `subscription/product_id` request property's minLength was increased from `0` to `1`
  - added the pattern `^((https://)|(http://))[a-zA-Z0-9.\-_~+#,%&=*;:@!/()?`_{}\[\]|~]+$` to the request property `invoice/link_payment`
  - added the pattern `^(?:[^ \n](?:[^\n]*[^ \n])?)?$` to the request property `invoice/product_id`
  - added the pattern `^\S+$` to the request property `invoice/due_date`
  - the `invoice/currency_code` request property type changed from `string` to no type
  - the `invoice/receipt_type` request property type changed from `string` to no type
  - the `subscription/amount` request property type changed from `string` to `number`
  - the `subscription/currency_code` request property type changed from `string` to no type
  - the `subscription/due_day` request property type changed from `string` to `integer`
  - the `subscription/frequency` request property type changed from `string` to no type
  - the `subscription/interval` request property type changed from `string` to `integer`
  - the `subscription/is_recurring` request property type changed from `string` to `boolean`
  - deleted the `header` request parameter `x-api-key`
  - the `invoice/amount` request property's exclusiveMaximum was set to `1000000000000000.00`
  - the `subscription/amount` request property's exclusiveMaximum was set to `1000000000000000.00`
  - the `customer/external_id` request property's maxLength was set to `128`
  - the `customer/government_id` request property's maxLength was set to `64`
  - the `customer/name` request property's maxLength was set to `128`
  - the `customer/phone_number` request property's maxLength was set to `16`
  - the `invoice/due_date` request property's maxLength was set to `256`
  - the `invoice/invoice_external_id` request property's maxLength was set to `256`
  - the `invoice/product_id` request property's maxLength was set to `256`
  - the `subscription/receipt_product_code` request property's maxLength was set to `8`
  - the `subscription/due_day` request property's max was set to `31.00`
  - the `subscription/interval` request property's max was set to `52.00`
  - the `invoice/amount` request property's min was set to `0.00`
  - the `subscription/amount` request property's min was set to `0.00`
  - the `subscription/due_day` request property's min was set to `1.00`
  - the `subscription/interval` request property's min was set to `1.00`
  - api operation id `post_entities` removed and replaced with `create_unified_entities`
  - api tag `Customers` added
  - endpoint deprecated
  - added the new optional `header` request parameter `x-api-version`
  - added the new optional request property `customer/admin_area`
  - …41 more

---

[Operation](https://skmtc.dev/trytoku/apis/toku-api/docs/entities/post.md) - [API](https://skmtc.dev/trytoku/apis/toku-api.md) - [Page](https://skmtc.dev/trytoku/apis/toku-api/changes/entities/post)
