POST
/
api
/
clientcompanies
/
{companyId}
/
sifs
curl --request POST \
  --url https://api.kubifactu.com/api/clientcompanies/{companyId}/sifs \
  --header 'Content-Type: application/json' \
  --header 'X-Qbikode-UserApiKey: <api-key>' \
  --data '{
  "company_name": "Empresa de ejemplo",
  "tax_id_number": "S6271969E",
  "name": "SIF-0001",
  "sif_id": "<string>",
  "version": "1.0.0",
  "installation_number": "LQLFBFLMUSLAEMU7SC2BROSETQU7SSRIKJDRW2QHVMCPE574M4JORYRDLWPS3NRXWJ3APCNKWWXO771GSIO731KXTAUPIMXWV33Y"
}'
{
  "data": {
    "id": "9dccd6c6-08f8-490d-a370-bfef724c0855",
    "company_name": "Empresa de ejemplo",
    "tax_id_number": "S6271969E",
    "other_country_code": "<string>",
    "other_tax_id_type_key": "02",
    "other_tax_id_number": "<string>",
    "name": "SIF 0001",
    "sif_id": "DC",
    "version": "1.0.0",
    "installation_number": "BM1WJ36SS5MOL6LWPLHTMBFUOTQO5TNDU2ILL34JG6FLSVAUMD1I0G41AS7PC870QAHHIOWJSBPKRB2XELRCUWO4TSJ8XY0UPAML",
    "only_verifactu_use_key": "S",
    "multi_ot_key": "N",
    "supporting_multiple_ots_key": "N"
  }
}

Authorizations

X-Qbikode-UserApiKey
string
header
required

API-KEY del intermediario que hace la petición. Este dato se puede consultar en el panel web, en la página de Perfil de usuario.

Path Parameters

companyId
string
required

ID de la empresa.

Body

application/json

Response

200
application/json

Empresa creada con éxito.

The response is of type object.