Customers

Create Fiscal Entity

Changed on

Create Fiscal entity resource that corresponds to a customer ID.

post/customers/{id}/fiscal_entities

Request

Path parameters

idstring required
Example:6307a60c41de27127515a575

Identifier of the resource

Headers

Accept-Language'es' | 'en'

Use for knowing which language to use

X-Child-Company-Idstring

In the case of a holding company, the company id of the child company to which will process the request.

Request body

tax_idstring
emailstring
phonestring
metadataobject
company_namestring

Example request

{
  "address": {
    "street1": "Nuevo Leon 254",
    "street2": "Departamento 404",
    "postal_code": "06100",
    "city": "Ciudad de Mexico",
    "state": "Ciudad de Mexico",
    "country": "MX"
  },
  "company_name": "conekta"
}

Response

successful operation

tax_idstring
emailstring
phonestring
metadataobject
company_namestring
idstring required
objectstring required
created_atinteger required
parent_idstring
defaultboolean

Example response

{
  "address": {
    "street1": "Nuevo Leon 254",
    "street2": "Departamento 404",
    "postal_code": "06100",
    "city": "Ciudad de Mexico",
    "state": "Ciudad de Mexico",
    "country": "MX"
  },
  "company_name": "conekta",
  "id": "ship_cont_2tKZsTYcsryyu7Ah8",
  "object": "shipping_contact",
  "created_at": 1675715413,
  "parent_id": "cus_2tKcHxhTz7xU5SymF"
}

Changes

    • breaking

      the request property type changed from no type to object

    • breaking

      the / response's property type changed from no type to object for status

    • warning

      removed the request property //

    • warning

      removed the optional property /// from the response with the status