Conta Azul API icon

Conta Azul API

Allows making requests to the Conta Azul API

Create Person

AI-generated

Summary

Create a new person record in the Conta Azul system with specified personal details, address, profiles, and identification numbers according to person type.

Inputs

  • Person Type (required) — Specify whether the person is an Individual, Legal Entity, or Foreign.
  • Name (required) — The name of the person to create.
  • Profiles (required) — Select one or more profiles the person belongs to: Customer, Supplier, or Carrier.
  • CEP (required) — Postal code (CEP) of the person's address.
  • Street (required) — Street name of the person's address.
  • Number (required) — Street number of the person's address.
  • Neighborhood (required) — Neighborhood of the person's address.
  • City (required) — City of the person's address.
  • State (required) — State abbreviation (two uppercase letters, e.g., SP, RJ).
  • Additional Fields (Person) — Optional additional fields for the person including Email, Phone, and Address Complement.
  • CPF — CPF number, required and shown only if Person Type is Individual (Física).
  • CNPJ — CNPJ number, required and shown only if Person Type is Legal Entity (Jurídica).
  • Country (required) — Country of the address, fixed as Brasil.

Output shape

a single record

Returns the created person object as the JSON response from Conta Azul API in the output item. Throws an error if the state code is not exactly two uppercase letters.

Examples

Example 1: Create an individual customer with complete address and optional email

Person Type = Individual, Profiles = Customer, required address fields filled, CPF provided, optional email.

Links

Discussion