Skip to main content

Standards

To facilitate integration and ensure information integrity, some standards have been defined that are followed throughout the API.

Date and Time with Time Zone

Some examples:

2019-10-15T22:35:12-03:00
2018-05-01T13:32:11+00:00
2019-05-01T00:00:00+00:00

It is represented according to ISO 8601. In this case, the time zone is placed right after the time and must represent the time zone of the location where that data will be valid. For example, if a rental is scheduled to start at 09:30 at Brasília airport, the sent time should be represented by 09:30-03:00, if the rental is scheduled to start at 09:30 in Manaus, it should be represented by 09:30-04:00.

The mask used for validation is as follows:

YYYY-MM-ddThh:mm:ss±hh:mm

Date and Time without Time Zone

Some examples:

2019-10-15T22:35:12Z
2018-05-01T13:32:11Z
2019-05-01T00:00:00Z

It is represented according to ISO 8601. Data that is independent of time zone should be sent without it, always in UTC, with the letter Z indicating that this data is in UTC. The following format, therefore, will be validated:

YYYY-MM-ddThh:mm:ssZ

Date

Some examples

2019-10-15
2019-01-01
2017-03-20

In the case of fields that receive only date, a birth date, for example, only the date, without any time, should be sent in the following format:

YYYY-MM-dd

Documents

Since document numbers are quite varied and many of them have characters that do not fit as numeric, all document numbers are defined as string. Another good reason to define them as string is to prevent leading zeros from disappearing. Documents provided for on this page have a well-defined mask and will be subject to validation. The rest of the documents, such as RG, given their lack of standardization, will not be validated.

CPF

Examples of valid CPFs against the defined mask:

123.456.789-12
321.987.543-23
111.283.333-00

Examples of invalid CPFs against the defined mask:

8.577.477-8
08.104.627/0001-23
123.456.789-1
23.456.789-01

CPF is always defined as a string and will be validated against the mask:

###.###.###-##