In order to create a new chilean account, you will need to send the chilean digital certificate as an additional field on PFX format encoded as base64, as this is a requirement to issue electronic invoices. Remember to get the token from the /auth endpoint first.

The certificate_file must be in PFX binary format, encoded as base64. Example page to convert PFX to base64: https://base64.guru/converter/encode/file

Endpoint: https://api.userow.com/billing/V1/accounts

  • Method: POST
  • Required headers:
    • Content-Type: application/json
    • Authorization: Bearer <token>
    • Accept: */*
{
    "country_id": 253,
    "contact_name": "Bruce Wayne",
    "contact_phone": "+56984105522",
    "admin_email": "bruce@company.com",
    "admin_password": "nuevaclave",
    "registration_legal_name_company": "My company name",
    "registration_tax_id_code": "16.497.607-6",
    "registration_tax_id_type": "CL-RUT",
    "registration_company_size": "MICRO",
    "registration_company_industry": "1",
    "registration_type_use": 1,
    "registration_terms_of_use": 1,
    "registration_additional_data": {
        "certificate_file": "MIIZhQIBAzCCGU8GCSqGSIb3DQE...",
        "certificate_password": "7d800b3dc1eb5fcd6"
    }
}

Notes: certificate_file and certificate_password are just examples and don’t show a full valid certificate.