Monde API (V3)

Questions and support: suporte@monde.com.br

Welcome to the Monde API! This documentation provides details of available endpoints for integrating your system with us.

About the V3 API

  • The base URL for the requests is https://web.monde.com.br/api/v3.
  • The authentication credentials will be provided by the travel agency you are integrating with.
  • The API operates according to RESTful principles, using the JSON format.
  • We follow the OpenAPI specification; you can download the API documentation here to view it in other tools.
  • Each field available in the API has a specific type. Examples: string, integer, float, boolean, etc.
  • Date fields must be in ISO 8601 format (YYYY-MM-DD). Example: "2024-08-01".
  • Float fields must use a dot (.) as the decimal separator, with only two decimal places. Example: 99999.99.
  • Required fields are specified as required.
  • Empty text ("") is a text value: on a text field it is saved as sent, and on a required text field it is refused (422). On a field of any other type (object, list, number, boolean, date, option or reference by id), "" is refused (422).
  • On an update (PATCH), an omitted field stays as it is, and a field sent as null has its value removed. A field the record cannot be without refuses null (422).

Endpoint availability

Each endpoint has a badge indicating whether you can already use it:

  • Beta (orange): already available for use, but still in a testing and adjustment phase. It may change.
  • In development (gray): not ready for use yet. It is only documented as a reference of what we have planned, and may still change.

Authentication

To access the endpoints, you must include a valid credential in the request's Authorization header, using the Bearer scheme.

Example of an authentication header:

Authorization: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

About authentication:

  • Credentials will be generated and provided by the travel agency with which you are integrating.
  • Credentials do not expire, but can be revoked at any time by the travel agency.

Idempotency

Some endpoints in this API use an idempotency key (Idempotency-Key) to ensure duplicate requests (for example, due to timeouts or automatic retries) are not processed more than once.

How to use

  • The key must be a valid UUID v4 (e.g. 550e8400-e29b-41d4-a716-446655440000).
  • Use the same key when retrying the same request (same endpoint and same payload).
  • Use a new key for each different operation (different payload).
  • The key is valid for at least 1 day after the first request. Once that period is over, it is discarded by the next cleanup, which runs once a day, and sending it again is processed as a new request.

Behavior

  • Replay: if the same key is reused with the same payload and the previous request has already been processed, the API returns the cached response and includes the X-Idempotent-Replay: true header.
  • Request in progress: if a request with the same key is still being processed, the API returns 409 Conflict.
  • Refused request: if the previous request ended in a refusal (for example, a 422 Unprocessable Content), the key becomes available again: sending the same request with the same key is processed again.
  • Key reused with different payload: if the same key is reused with a different payload, the API returns 422 Unprocessable Content.

Rate limits

To keep the service stable for everyone, this API limits how many requests each client can make in a short time window.

Limit

  • Up to 10 requests every 3 seconds, counted per origin IP address. Over IPv6, the count is per /64 network: every address in the same /64 network adds up to the same limit.

When the limit is exceeded

  • The API responds with 429 Too Many Requests and an error message.
  • No requests are processed while the limit is exceeded.

Recommendation

  • When you receive a 429, wait before retrying and use an increasing wait time between attempts (exponential backoff).

Pagination

List queries return one page of records at a time. The pagination node in the response tells the page size, whether a next page exists and which cursor to send to reach it.

Walking through the whole query

  1. Make the first request without cursor.
  2. While has_next_page is true, repeat the request sending cursor with the next_cursor value from the previous response.
  3. When has_next_page is false, next_cursor comes back null and the walk is over.

Page size

  • size sets how many records come per page: from 1 to 50. Without the parameter, it is 20.

The cursor

  • It is opaque: store and send back the value exactly as it came, without reading into its content.
  • It belongs to the query that produced it: keep the same filters as you move forward. A cursor this API did not return is refused with 400.
  • It marks a position in the query, not a moment in time: records created or changed during the walk may show up in the following pages.

Attachments

Operations for uploading, downloading and deleting attachments associated with resources.

Upload attachment Beta

  • Requests are rate limited per IP (up to 10 requests every 3 seconds). When exceeded, the API returns 429.
  • When retrying the same upload, reuse the Idempotency-Key and apply exponential backoff.
  • The credential attaches to a sale or an account payable or receivable it created itself and, with the permission to open the sales of other sellers or to access the entries of other users, to the others. Through the automatic connection, those permissions are an exception granted at homologation; a connection authorized before them only attaches to what the partner created. Outside that reach, the record answers 422 as not found when the credential may add attachments but cannot read it, and 403 when it can read it or may not add attachments.
  • On a sale, an account payable or receivable and a person, attaching also requires the "Edit" permission on the resource (sales, accounts payable and receivable, people), in the company of the record, as in Monde, where attaching saves the record; without it, the answer is 403 with the Monde message.
  • On a travel, attaching requires "Add attachments" and "Create and edit" on Travels, in the company of the travel. The credential attaches to a travel it registered or for which it created a sale and, with "Read sales of other sellers/intermediaries" on Sales, to the others.
  • On a task, attaching requires "Add attachments" and "Edit" on Tasks, in the company of the task (a task without company counts in any of them). The credential attaches to a task it created and, with "See tasks of other users", to the others.
Authorizations:
bearerAuthentication
header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "multipart/form-data"
Example: multipart/form-data

Request content type. Must be multipart/form-data.

Idempotency-Key
required
string <uuid> ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][...
Example: 550e8400-e29b-41d4-a716-446655440000

Client-generated idempotency key (UUID v4). See the Idempotency section for more details.

Request Body schema: multipart/form-data
required
resource_type
required
string
Enum: "sale" "person" "bill" "travel" "task"

Resource that will receive the attachment: "sale" for a sale, "person" for a person, "bill" for an account payable or receivable, "travel" for a travel, "task" for a task.

Example: "sale"

resource_id
required
string <uuid>

ID of the resource that will receive the attachment.

Example: "cc36d5d7-b699-43f1-b081-24c15e2db5e8"

file
required
string <binary>

Binary file to attach.

  • Only one file per request.
  • Allowed extensions: .pdf, .doc, .docx, .odt, .xls, .xlsx, .ods, .ppt, .pptx, .jpg, .jpeg, .png, .webp, .heic, .heif, .txt, .csv.
  • Maximum size per file: 12 MB.

description
string <= 255 characters

Attachment description. When omitted, the file name without the extension is used. The characters that Windows does not accept in a file name (\ / : * ? " < > |) are replaced by a hyphen (-).

Responses

Request samples

Content type
multipart/form-data
{
  "resource_type": "sale",
  "resource_id": "c52a1c51-80e2-4a28-925e-2102a7b5d4e1",
  "file": "@voucher.pdf",
  "description": "voucher"
}

Response samples

Content type
application/json
{}

Rename attachment Beta

Changes the name of the attachment, like Monde's Renomear. Only the name changes: the file and the owner record stay as they are. A blank name is refused with 422. Requires the same permissions as attaching on the owner record: its "Add attachments" and "Edit", with the reach to records of other origins the credential has. An attachment of a record the credential does not reach answers 404.

Authorizations:
bearerAuthentication
path Parameters
id
required
string <uuid>
Example: b8c9d0e1-f2a3-4455-c6d7-e8f9a0b1c2d3

Attachment identifier.

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Idempotency-Key
required
string <uuid> ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][...
Example: 550e8400-e29b-41d4-a716-446655440000

Client-generated idempotency key (UUID v4). See the Idempotency section for more details.

Request Body schema: application/json
required
description
required
string

New name of the attachment. It cannot be blank.

Responses

Request samples

Content type
application/json
{
  • "description": "Comprovante de pagamento"
}

Response samples

Content type
application/json
{}

Delete attachment Beta

Sends the attachment to the trash of the record, as in Monde, where it can be restored. The deleted attachment leaves the read of the record and can no longer be downloaded.

As in Monde, deleting only asks the "Delete attachments" permission of the resource that owns the attachment, in the company of the record (a person, which belongs to no company, counts in any company that writes), and the same reach as attaching:

  • sale attachment: "Delete attachments" on Sales. The credential reaches a sale it created and, with "Open sales of other sellers/intermediaries", the others;
  • account payable or receivable attachment: "Delete attachments" on Accounts Payable and Receivable. The credential reaches an entry it created and, with the permissions to access the entries of other users, the others;
  • person attachment: "Delete attachments" on People;
  • travel attachment: "Delete attachments" on Travels. The credential reaches a travel it registered or for which it created a sale and, with "Read sales of other sellers/intermediaries" on Sales, the others;
  • task attachment: "Delete attachments" on Tasks. The credential reaches a task it created and, with "See tasks of other users", the others.
The attachment of a record outside the reach of the credential answers 404.
Authorizations:
bearerAuthentication
path Parameters
id
required
string <uuid>
Example: b8c9d0e1-f2a3-4455-c6d7-e8f9a0b1c2d3

Attachment identifier.

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Responses

Response samples

Content type
application/json
{
  • "errors": [
    ]
}

Download attachment Beta

Redirects (302) to a temporary link to the file, which expires in a few minutes. A new request generates a new link. The content is gzip-compressed and comes without the Content-Encoding header: decompress it before use.

The download requires the read permission of the record that owns the attachment, granted in its company when it has one:

  • task attachment, including a comment attachment: "View" on Tasks;
  • sale attachment: "View" on Sales;
  • travel attachment: "Read all travels";
  • account payable and receivable attachment: "View" on Accounts Payable and Receivable;
  • person attachment: "View" on People.
Downloading the attachment follows the get of its owner record: downloading requires the "View" permission of the resource, also for what the credential itself created, and the attachment of another user's record also requires the reach with which the credential gets the record.

The address comes ready in the download_url field of the attachments, when getting each of these records by ID.
Authorizations:
bearerAuthentication
path Parameters
id
required
string <uuid>
Example: b8c9d0e1-f2a3-4455-c6d7-e8f9a0b1c2d3

Attachment identifier.

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Responses

Response samples

Content type
application/json
{
  • "errors": [
    ]
}

Sales

A sale is an object that represents the commercialization of one or more products between a travel agency and its clients. To sell the product to the client, the agency may acquire it directly from a supplier or through a representative.

  • Supplier: the company that directly owns the product. Examples: insurers, cruise lines, airlines, hotels, car rental companies, among others. On Monde, a product must have a supplier.
  • Representative: the company responsible for intermediating the commercialization and distribution of the supplier's product to the travel agency. The most common examples are operators and consolidators. On Monde, a product must have a representative when the agency did not purchase the product directly from the supplier.
  • Some operators and consolidators may also directly own products, such as travel packages. In these cases, they act as the suppliers of the product to the travel agency.

The sale the credential created is always its own; the ones of other sellers require the Consult, Open and Edit sales of other sellers permissions, as in Monde (see the FAQ).

List sales Beta

Returns a paginated list of sales. By default, returns only opened and closed sales; to include canceled sales, use the status parameter.

Authorizations:
bearerAuthentication
query Parameters
date_field
string
Enum: "sale_date" "departure_date" "return_date"
Example: date_field=sale_date

Date field used by the filter. Accepted values: sale_date (sale date), departure_date (trip start) and return_date (trip end). Required when date_from or date_to is provided.

date_from
string <date>
Example: date_from=2024-01-01

Filter sales whose field chosen in date_field is on or after this date, in ISO 8601 format (YYYY-MM-DD).

date_to
string <date>
Example: date_to=2024-12-31

Filter sales whose field chosen in date_field is on or before this date, in ISO 8601 format (YYYY-MM-DD).

status
Array of strings
Items Enum: "opened" "closed" "canceled"
Examples:
  • status=canceled - Filter by single status
  • status=opened,closed,canceled - Filter by multiple statuses

Filter sales by status. For multiple statuses, separate values with commas (e.g., opened,closed,canceled). Accepted values: opened, closed and canceled. When the parameter is not provided, the API returns only opened and closed sales; canceled sales are returned only when explicitly requested.

people_id
Array of strings <uuid> [ items <uuid > ]
Examples:
  • people_id=b2a6d7da-ff94-40e3-b069-812b2fd45b91 - Filter by a single person
  • people_id=b2a6d7da-ff94-40e3-b069-812b2fd45b91,3f1c9e20-5d7a-4b6c-9e2f-1a2b3c4d5e6f - Filter by multiple people

Filter sales by a participating person, given their identifier (UUID). A sale is returned when the person appears in any role: payer, seller, intermediary, requester, approver, promoter, passenger, supplier, representative or the person who registered the sale. For multiple identifiers, separate them with commas — a sale is returned when any of the people participates in it.

number
integer
Example: number=1024

Filter sales by the number shown in the app (e.g., 1024). One number per request.

updated_since
string <date-time>
Example: updated_since=2026-08-01T14:30:00

Filter sales updated at or after this instant, in ISO 8601 format. Accepts a date (YYYY-MM-DD, taken as the start of the day) or a date-time (YYYY-MM-DDTHH:MM:SS). When the value carries no time zone, the Brasília time zone is assumed. Useful to reprocess only what changed since the last query, even within the same day. A sale comes back when its header changes or when one of these parts of it, shown in Get sale by ID, changes: products, passengers, segments and seats, commissions, attachments, payments and the linked bills (addition, cancellation and deletion). Settling a bill only brings the sale back when it changes the agency card fee of the products (a settlement or reversal with a card fee) or when it is partial and creates the balance bill. A change to a record the sale only references (person, catalog product, supplier, commissioned role) does not bring the sale back: that data is read from each record's own endpoint. The list brings the sale summary, and the detail comes from Get sale by ID. To also follow deleted sales, send status=opened,closed,canceled along. To avoid missing a sale written by an operation that finished after the cutoff, keep the instant the query started, before the first page, and start the next query from it with an overlap of a few minutes before it, which also covers the difference between your clock and Brasília time. Upsert each sale by id: the same sale may come again, without duplicating.

kind
Array of strings
Items Enum: "insurance" "cruise" "hotel" "airline_ticket" "train_ticket" "ground_transportation" "excursion" "visa" "car_rental" "travel_package" "cvc_package" "operation" "others"
Example: kind=airline_ticket

Filter sales by product kind, with the same kind values as the products. A sale is returned when it has a non-deleted product of the given kind. For multiple kinds, separate them with commas — a sale is returned when it has a product of any of them.

cursor
string
Example: cursor=eyJfcmFpbHMiOnsiZGF0YSI6WyIyMDI2LTAzLTEwIiwiNmIwZjdjMWUtMmQ0YS00ZjhiLTljMzEtNThhMGQ3ZTEzZjQyIl0sInB1ciI6ImFwaS92My9wcm9kdWN0cyNpbmRleCJ9fQ--3aa1d942d6240ca905038c019d661bc90af6836fc4a818cee3663829c75970e4

Cursor of the next page, exactly as it came in next_cursor. Without it, the query starts at the first page.

size
integer [ 1 .. 50 ]
Default: 20
Example: size=10

Number of records per page

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "pagination": {
    }
}

Create a sale Beta

  • Link what you sent to the Monde ids through local_id. Give each product and each payment a local_id, a name of yours, unique in the request. In the response, each one comes back with the generated id next to that local_id. Keep the pair: to update the sale later, you point to each product and payment by its id. The local_id is not stored and does not come back in the sale get. Example: you send "insurances": [{ "local_id": "insurance-1", ... }] and get "insurances": [{ "id": "5d7e2a91-…", "local_id": "insurance-1", ... }]; in the update, you point to that insurance by { "id": "5d7e2a91-…" }. The same goes for each payment.
  • The sale must include at least one product.
  • Currently supported products: Travel insurance, cruise, hotel room nights, train ticket, ground transportation, car rental, travel package and operation.
  • Send status: closed to create the sale already closed, honoring the closing rules. Without this field the sale is created open.
  • Sending commissions with any commission also requires the "View commissions tab" and "Add commissions" permissions on sales, in the company of the sale, as in Monde; without them, the answer is 403 with the Monde message, and the sale is not created.
  • With the Do not allow registering sales outside trips setting on for the company of company_identifier, the creation is rejected with 422, as in Monde, which does not allow registering a sale outside a trip in that company. The API cannot yet create a sale within a trip.
  • With the Validate payer registration setting on, the payer registration must have, after the request, the fields Monde requires to save the sale: always name and an address with street, number, neighborhood and city; postal code for Brazilians; birthdate, mobile number and CPF (Brazilian) or passport (foreigner) for individuals; legal name, phone number, and CNPJ and IE (Brazilian) or foreign tax document (tax_identification_number) for companies. The registration counts as it stands after the request, including what the request creates or completes. If any is missing, the response is 422 with one error per field, and nothing is saved.
Authorizations:
bearerAuthentication
header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Idempotency-Key
required
string <uuid> ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][...
Example: 550e8400-e29b-41d4-a716-446655440000

Client-generated idempotency key (UUID v4). See the Idempotency section for more details.

Request Body schema: application/json
required
company_identifier
required
string (company_identifier) = 14 characters ^[0-9]{14}$

National Registry of Legal Entities (CNPJ) of the travel agency issuing the sale. Must contain digits only.

Example: "86452403000197".

sale_date
required
string <date> (sale_date)

Sale date in ISO 8601 format (YYYY-MM-DD).

Example: "2026-11-06".

status
string
Default: "opened"
Enum: "opened" "closed"

Sale status on creation. Defaults to opened. Send closed to create the sale already closed. This requires the sale to meet every closing rule (no pending balance). If it cannot be closed, the whole creation is rejected with 422.

observations
string or null

General remarks about the sale, as free text with no length limit.

operation_id
string (operation_id)

Operation ID associated with this sale. The operation must be active. Travel agencies only; on a tour operator (consolidator), the field is rejected with 422.

Array of objects (custom_field)

Custom fields of the sale, defined by the agency. On creation, send each field by id and value; active required fields of the sales module become mandatory.

required
object (seller_create)

Data to register a seller.

required
object (individual_or_company)

Product buyer responsible for the payment, which can be either an individual or a legal entity. Even if the negotiation involves multiple payers, only the primary payer or the person who negotiated the product with the seller should be specified.

individual_or_company (object) or null
individual_person (object) or null

Individual who requested the sale.

individual_or_company (object) or null

Person who approved the sale. Travel agencies only. A tour operator (consolidator) sale has no approver, and the field sent with a value is rejected with 422.

Array of objects (insurance)

Travel insurance.

Array of objects (cruise)

Cruise.

Array of objects (hotel)

Hotel room nights.

Array of objects (airline_ticket)

Airline ticket.

Array of objects (train_ticket)

Train ticket.

Array of objects (ground_transportation)

Ground transportation.

Array of objects (car_rental)

Car rental.

Array of objects (travel_package)

Travel packages.

Array of objects (excursion)

Excursions of the sale. The excursion is a system product: there is no need to inform which product is being sold.

Array of objects (visa)

Consular visas of the sale, one per visa application. The visa is a system product: there is no need to inform which product is being sold. Each passenger is a visa applicant.

There is no dedicated field for the consular fee nor for the service fee: each applicant's consular fee goes in passengers[].fees (and adds up to the sale total), and the agency service fee goes in the product's agency_service_fee.

object or null

Own operation product of the sale. At most one per sale, and the product must be the same as operation_id when both are sent. Travel agencies only; on a tour operator (consolidator), the field is rejected with 422.

Array of objects (others)

Other sale products, which may or may not have passengers.

Array of objects or objects (payment)

List of payments made for the sale. Each payment has a single method and can be distributed across one or more products, pointed to by sale_product_local_id or sale_product_id, allowing detailed control of how amounts were allocated per product.

Array of objects (commission_create)

Commissions to record on the sale. Only accepted when status is closed; each line's balance is the value minus the retained value. On the sale creation, a list with any commission requires the "View commissions tab" and "Add commissions" permissions on sales.

Responses

Request samples

Content type
application/json
Example
{
  • "company_identifier": "46598887000162",
  • "sale_date": "2026-11-06",
  • "seller": {
    },
  • "payer": {
    },
  • "intermediary": {
    },
  • "approver": {
    },
  • "requester": {
    },
  • "insurances": [
    ],
  • "cruises": [
    ],
  • "hotels": [
    ],
  • "airline_tickets": [
    ],
  • "train_tickets": [
    ],
  • "ground_transportations": [
    ],
  • "car_rentals": [
    ],
  • "travel_packages": [
    ],
  • "excursions": [
    ],
  • "payments": [
    ]
}

Response samples

Content type
application/json
{
  • "id": "9f8e7d6c-5b4a-3210-9876-5432109876ab",
  • "sale_number": 987,
  • "sale_date": "2026-11-06",
  • "status": "closed",
  • "observations": "Venda finalizada.",
  • "printed_receipt": true,
  • "created_at": "2026-11-06T10:30:00",
  • "totals": {
    },
  • "company": {
    },
  • "created_by": {
    },
  • "operation": {
    },
  • "seller": {
    },
  • "payer": {
    },
  • "intermediary": {
    },
  • "requester": {
    },
  • "approver": {
    },
  • "promoter": {
    },
  • "travel": {
    },
  • "custom_fields": [
    ],
  • "insurances": [
    ],
  • "cruises": [
    ],
  • "hotels": [
    ],
  • "airline_tickets": [
    ],
  • "train_tickets": [
    ],
  • "ground_transportations": [
    ],
  • "car_rentals": [
    ],
  • "travel_packages": [
    ],
  • "others": [
    ],
  • "excursions": [
    ],
  • "cvc_packages": [
    ],
  • "operations": [
    ],
  • "payments": {
    },
  • "commissions": [
    ],
  • "financial": {
    }
}

Get sale by ID Beta

Returns complete data for a specific sale, including all associated products and information. As the columns and tabs Monde hides, commission, over and revenue (on the products and in totals.revenue) only come with the "View commission, over and revenue columns" permission; payments and financial, with "View financial tab"; and commissions, with "View commissions tab". Without the permission, the field is left out of the response. It also applies to the response of Create and Update sale: without "View financial tab", payments brings only the id and the local_id of the payments sent.

Authorizations:
bearerAuthentication
path Parameters
id
required
string <uuid>
Example: 212b54b8-27df-4859-80a9-79ad855bcd09

Unique sale identifier (UUID format).

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json
Example
{
  • "id": "9f8e7d6c-5b4a-3210-9876-5432109876ab",
  • "sale_number": 987,
  • "sale_date": "2026-11-06",
  • "status": "closed",
  • "observations": "Venda finalizada.",
  • "printed_receipt": true,
  • "created_at": "2026-11-06T10:30:00",
  • "totals": {
    },
  • "company": {
    },
  • "created_by": {
    },
  • "operation": {
    },
  • "seller": {
    },
  • "payer": {
    },
  • "intermediary": {
    },
  • "requester": {
    },
  • "approver": {
    },
  • "promoter": {
    },
  • "travel": {
    },
  • "custom_fields": [
    ],
  • "insurances": [
    ],
  • "cruises": [
    ],
  • "hotels": [
    ],
  • "airline_tickets": [
    ],
  • "train_tickets": [
    ],
  • "ground_transportations": [
    ],
  • "car_rentals": [
    ],
  • "travel_packages": [
    ],
  • "others": [
    ],
  • "excursions": [
    ],
  • "cvc_packages": [
    ],
  • "operations": [
    ],
  • "payments": {
    },
  • "commissions": [
    ],
  • "financial": {
    }
}

Delete sale Beta

Deletes the sale the way Monde does: it is not removed, its status becomes canceled. The deleted sale no longer shows in List sales, unless the status parameter asks for canceled sales, and is still available when queried by ID. The agency can restore it in Monde.

The status changes before the response. Right after, Monde undoes what the sale generated in the finances: payments are removed and their receivables are deleted, a payment included in a client invoice leaves it, supplier items not yet invoiced are removed and commissions paid by a payment's financial entry are unlinked from it. What is still owed for each product becomes a balance again, owed by the payer (by the intermediary, on tour operators). This part finishes a few moments after the response.

The sale is not deleted, and the response is 409 with the reason, when it:

  • is already deleted;
  • has a canceled product;
  • is closed;
  • has a payment whose financial entry is settled, or a settled payable/receivable linked to it;
  • has a supplier item already invoiced by the agency;
  • has a refund;
  • has a payment in a closed client invoice;
  • has a payment whose financial entry generated a balance already invoiced in another entry.

A sale with a printed receipt also requires the "Change sales with a printed receipt" permission, as in Monde; without it, the answer is 403.

Does not require Idempotency-Key: repeating the request after the sale is deleted returns 409.

Authorizations:
bearerAuthentication
path Parameters
id
required
string <uuid>
Example: 212b54b8-27df-4859-80a9-79ad855bcd09

Unique sale identifier (UUID format).

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json
{
  • "errors": [
    ]
}

Update a sale Beta

  • Start with the examples, in the request body selector: Change the approver and a custom field, Change a product and replace the payments, Keep a payment and add another and Reopen the closed sale and change the date.
  • Only what you send changes. An omitted field stays as it is, and a field sent as null is removed (intermediary, approver, requester, operation_id and operation). seller and payer cannot be removed. The custom fields sent overwrite the current ones, and the others stay. Empty text is saved as sent (an empty custom field value clears the field); on a required field, and on a field that is not text, it is refused (422).
  • Lists replace. In each product kind (insurances, hotels etc.), in segments, payments and commissions: an item with id stays or is changed, an item without id is added (with a local_id), and what is not sent is removed. An omitted list stays as it is. The sale cannot be left without products, nor a product without passengers.
  • Products. Point to an existing one by the id from the get, and only the fields sent change. A product with payments, with a canceled passenger or whose supplier amount is already invoiced is not removed; a canceled product is not changed. In ground transportation and train tickets, resend included_services with the segments.
  • Passengers. A passenger is the person in the product, pointed to by person.id (as the get returns it) or by the external_id, and the same person appears only once in the product: repeated in the list, the response is 422. A person who is already an active passenger has that same passenger changed; a new person is added; an active passenger not sent is removed. A canceled passenger stays, sent or not: resent as read, nothing changes, and with any different value the response is 422, because a canceled passenger only changes through the reactivation. A list with only canceled passengers also answers 422.
  • Payments. They are not changed: to change one, remove it and add another. The ones that cannot be removed (settled, in a closed invoice, a legacy agency payment recorded only on the sale) must be sent by id, the one from the response that created it or from the get. The payer only changes if the sale is left without payments.
  • Closed sale. Without reopening, only the seller, requester, approver, custom fields, commissions and observations change; anything else answers 409 (to change the rest, see Close or reopen). A deleted sale also answers 409.
  • Close or reopen. Send status: closed to close the sale at the end of the update, with the closing rules of Monde. On a closed sale, status: opened reopens the sale before applying the rest of the request: the update applies as a whole, and if any part is refused nothing changes and the sale stays closed. Reopening only changes the sale status; commissions and financial entries stay as they are. Closing requires the "Close sale" permission; reopening requires its own "Reopen sale" permission, checked in the company of the sale, and "Close sale" alone does not reopen.
  • Another company. Send its CNPJ in company_identifier. It is refused when the sale has a payment with a bill, an invoiced supplier amount or is linked to a travel.
  • Permissions. Besides "Edit", what Monde protects with a permission of its own requires that permission in the company of the sale: "Change the sale date", "Change the company of the sale", "Change the seller of open sales" and "Change the seller of a closed sale", on a closed sale "Change the requester of a closed sale" and "Change custom fields of closed sales", "Delete product" to take a product out of the list, "View commissions tab" to send commissions (even empty or null), plus "Add commissions" for a list with any commission and "Delete commissions" when the sale already has manual commissions, and "Change sales with a printed receipt" for any change to a sale with a printed receipt, plus "Swap passenger in closed sales or sales with a printed receipt" to swap the person of one of its passengers. The person, the seller, the ship and the cabin the sale creates along require "Edit" on People, Sellers, Ships and Cabins, as in the creation. Without it, the answer is 403 with the name of the permission, and nothing is changed. A field resent equal to the stored one asks no permission; commissions is the exception, because the list sent always replaces the manual commissions.
  • Financial. Totals are recalculated, and the payer balance and the amount to invoice the supplier are adjusted by the difference, without redoing what was already launched.
  • Response. The sale in the get by ID format, with the local_id next to the id of each product and payment sent. When the credential cannot get the sale, only the sale id and the id and local_id of what you sent come back, in the same format. Getting the sale requires the "View" permission on sales in the sale's company, also for a sale the credential itself created, and, for a sale of another seller, also the permission to open the sales of other sellers: an update without any field does not serve as a get.
Authorizations:
bearerAuthentication
path Parameters
id
required
string <uuid>
Example: 212b54b8-27df-4859-80a9-79ad855bcd09

Unique sale identifier (UUID format).

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Idempotency-Key
required
string <uuid> ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][...
Example: 550e8400-e29b-41d4-a716-446655440000

Client-generated idempotency key (UUID v4). See the Idempotency section for more details.

Request Body schema: application/json
required
company_identifier
string

CNPJ of the sale company. With another CNPJ, the sale moves to that company, if the change rules allow it.

sale_date
string <date> (sale_date)

Sale date in ISO 8601 format (YYYY-MM-DD).

Example: "2026-11-06".

status
string
Enum: "opened" "closed"

Send closed to close the sale at the end of the update, following the closing rules. On an open sale, opened keeps it open; on a closed sale, opened reopens it before applying the rest of the update and closed keeps it closed.

operation_id
string (operation_id)

Operation ID associated with this sale. The operation must be active. Travel agencies only; on a tour operator (consolidator), the field is rejected with 422.

observations
string or null

General remarks about the sale. Replaces the current text; send null to clear it. Also changes on a closed sale, as in Monde, and the change goes to the sale log.

Array of objects (custom_field)

Custom fields of the sale. Not replaced: each field sent is written over the current value and the others stay. Sent blank or as null, the field is cleared, unless it is required.

object (seller_create)

Data to register a seller.

object (individual_or_company)

Payer of the sale. Only changes when, after the request, no payment is left on the sale products. Cannot be sent as null.

object (intermediary)

Sale intermediary. A person or company that connects the parties involved in the sale of the product, facilitating the negotiation and generally receiving a commission for the intermediation. Required for tour operators, where the intermediary owes the customer invoice.

object (individual_person)

Individual who requested the sale.

object (individual_or_company)

Person who approved the sale. Travel agencies only. A tour operator (consolidator) sale has no approver, and the field sent with a value is rejected with 422.

Array of objects

List that replaces the products of this kind (insurances). A product with id is changed, one without id is added and one left out is removed from the sale. Left out, keeps the products of this kind; empty or null, removes them all, as long as the sale keeps at least one product and none of them is blocked from removal.

Array of objects

List that replaces the products of this kind (cruises). A product with id is changed, one without id is added and one left out is removed from the sale. Left out, keeps the products of this kind; empty or null, removes them all, as long as the sale keeps at least one product and none of them is blocked from removal.

Array of objects

List that replaces the products of this kind (hotels). A product with id is changed, one without id is added and one left out is removed from the sale. Left out, keeps the products of this kind; empty or null, removes them all, as long as the sale keeps at least one product and none of them is blocked from removal.

Array of objects

List that replaces the products of this kind (airline_tickets). A product with id is changed, one without id is added and one left out is removed from the sale. Left out, keeps the products of this kind; empty or null, removes them all, as long as the sale keeps at least one product and none of them is blocked from removal.

Array of objects

List that replaces the products of this kind (train_tickets). A product with id is changed, one without id is added and one left out is removed from the sale. Left out, keeps the products of this kind; empty or null, removes them all, as long as the sale keeps at least one product and none of them is blocked from removal.

Array of objects

List that replaces the products of this kind (ground_transportations). A product with id is changed, one without id is added and one left out is removed from the sale. Left out, keeps the products of this kind; empty or null, removes them all, as long as the sale keeps at least one product and none of them is blocked from removal.

Array of objects

List that replaces the products of this kind (car_rentals). A product with id is changed, one without id is added and one left out is removed from the sale. Left out, keeps the products of this kind; empty or null, removes them all, as long as the sale keeps at least one product and none of them is blocked from removal.

Array of objects

List that replaces the products of this kind (travel_packages). A product with id is changed, one without id is added and one left out is removed from the sale. Left out, keeps the products of this kind; empty or null, removes them all, as long as the sale keeps at least one product and none of them is blocked from removal.

Array of objects

List that replaces the products of this kind (excursions). A product with id is changed, one without id is added and one left out is removed from the sale. Left out, keeps the products of this kind; empty or null, removes them all, as long as the sale keeps at least one product and none of them is blocked from removal.

Array of objects

List that replaces the products of this kind (others). A product with id is changed, one without id is added and one left out is removed from the sale. Left out, keeps the products of this kind; empty or null, removes them all, as long as the sale keeps at least one product and none of them is blocked from removal.

Array of objects

List that replaces the products of this kind (visas). A product with id is changed, one without id is added and one left out is removed from the sale. Left out, keeps the products of this kind; empty or null, removes them all, as long as the sale keeps at least one product and none of them is blocked from removal.

object

Own operation of the sale. With id, changes the one the sale has; without id, adds it. Sent as null, the own operation product is removed from the sale, which must keep at least one product.

Array of objects or objects or objects (payment_update)

Final list of payments of the sale products. With id (the one from the response that created it or from the sale reading), the payment stays as it is and does not take a payment method along; without id, it is added; one left out is removed. To change a payment, remove it and add another. Empty or null, removes them all; if any cannot be removed, the update is refused. In the product of a new payment, use sale_product_local_id for a product sent in this request or sale_product_id for a product the sale keeps.

Array of objects (commission_create)

List that replaces the manually informed commissions, in the same format as on creation. Applies to a sale the request closes or that is already closed. Empty or null, removes them all; with a paid commission, the list cannot be replaced. Sending it, even empty or null, requires the "View commissions tab" permission on sales, plus "Add commissions" for a list with any commission and "Delete commissions" when the sale already has manual commissions.

Responses

Request samples

Content type
application/json
Example

Only the fields sent change: products, passengers and payments stay as they are. The approver is for travel agencies only: on a tour operator (consolidator), send only the custom field.

{
  • "approver": {
    },
  • "custom_fields": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "id": "9f8e7d6c-5b4a-3210-9876-5432109876ab",
  • "sale_number": 987,
  • "sale_date": "2026-11-06",
  • "status": "closed",
  • "observations": "Venda finalizada.",
  • "printed_receipt": true,
  • "created_at": "2026-11-06T10:30:00",
  • "totals": {
    },
  • "company": {
    },
  • "created_by": {
    },
  • "operation": {
    },
  • "seller": {
    },
  • "payer": {
    },
  • "intermediary": {
    },
  • "requester": {
    },
  • "approver": {
    },
  • "promoter": {
    },
  • "travel": {
    },
  • "custom_fields": [
    ],
  • "insurances": [
    ],
  • "cruises": [
    ],
  • "hotels": [
    ],
  • "airline_tickets": [
    ],
  • "train_tickets": [
    ],
  • "ground_transportations": [
    ],
  • "car_rentals": [
    ],
  • "travel_packages": [
    ],
  • "others": [
    ],
  • "excursions": [
    ],
  • "cvc_packages": [
    ],
  • "operations": [
    ],
  • "payments": {
    },
  • "commissions": [
    ],
  • "financial": {
    }
}

Cancel a sale product Beta

The product is only canceled when every passenger of it is canceled. Canceling only some of the passengers leaves the product active, with those passengers marked in canceled_at. A product without passengers is canceled right away. The options calculate_commission, delete_supplier_balance and supplier_fine only apply when the request leaves every passenger canceled, that is, when the list cancels the ones still missing. delete_customer_balance also applies when only some of the passengers are canceled.

Cancels a sale product, or some of its passengers, when the customer gives up what was sold. Canceling is not deleting: a deleted product (left out of the product list in PATCH /sales/{id}) was registered by mistake and had no movement; a canceled one is a sale that happened and was undone. To undo the cancellation, use Reactivate a sale product.

What changes and what does not

  • The canceled product still adds to the sale total, on purpose, as history. Its values do not change and it can no longer be changed through the sale PATCH.
  • The financial records only change through the options sent: without any of them, the customer balance and what is still to be invoiced to the supplier stay as they are.
  • A sale with a canceled product cannot be deleted. To delete it, reactivate the product first.

Passengers and dates The cancellation is always made through the passengers list: there is no default date and no canceling every passenger without listing them. No date can be earlier than the sale date.

  • A product with passengers without passengers is refused (422). To cancel the whole product, list every active passenger.
  • With passengers, only the people in the list are canceled, each with its own canceled_at, required in the item. The person is referenced by person.id, the person id in passengers[].person when reading the sale.
  • The product only becomes canceled when every passenger is canceled; until then it stays active, with the canceled passengers marked in canceled_at.
  • A product without passengers is canceled without passengers (body {} or only the options): its cancellation date is the current date, as in Monde.
  • canceled_at at the root is not accepted (422): the date goes in each passenger of the list.
  • The product cancellation date is the date the cancellation was registered in Monde, as in Monde Desktop.
  • Canceling a passenger does not adjust the supplier invoice by itself: the share of the passenger is settled on the invoice.

Options

  • delete_customer_balance: the pending customer balance of this product is deleted and becomes deleted balance, which reduces the sale revenue. Only the balance that has not become a payment yet is deleted: if the customer will not pay a payment method already registered, delete it through the sale PATCH first. Requires a pending balance in the product.
  • delete_supplier_balance: the items still open for the supplier (without a financial entry or, with the automatic invoice, in an invoice neither settled nor closed), Lei Kandir included, are deleted. What was already settled or paid directly to the supplier stays. Only applies when the request leaves every passenger canceled, and requires an open item. Not available for own operation products.
  • supplier_fine: the fine charged by the supplier, as a positive amount in the currency the supplier is paid in. It becomes a fine item to settle with the supplier and reduces the revenue. Requires delete_supplier_balance. In an agency, the supplier is paid in the final currency of the sale, and the fine comes back in supplier_fine when reading. In an operator, the supplier is paid in the origin currency of the product: the fine sent comes back in supplier_fine_origin_currency, and supplier_fine brings the amount converted to the final currency by the exchange rate of the product. Example in an operator, product in USD with exchange rate 5: supplier_fine: 30 in the cancellation comes back as supplier_fine_origin_currency: 30 and supplier_fine: 150.
  • calculate_commission: the canceled product stays in the commission plan goal calculation, as the calculate_commission field when reading the product. Default false: the product leaves the goal. Only applies when the request leaves every passenger canceled.
  • In an agency with credit control, the supplier balance is not deleted on cancellation and there is no fine: the settlement is made on the supplier invoice, and delete_supplier_balance and supplier_fine are refused.

Closed sale

  • The whole product can be canceled with the sale closed. Canceling only some of the passengers requires an open sale (409).

Response

  • The whole sale, as in the read by ID, so the integration sees the product status and the balance. In the product, canceled_at, calculate_commission, deleted_balance, delete_supplier_balance, supplier_fine and supplier_fine_origin_currency show what the cancellation recorded; the fine sent in the currency the supplier is paid in comes back in supplier_fine in an agency and in supplier_fine_origin_currency in an operator. A credential without permission to read sales receives only the sale id.

Requires, in the company of the sale, the permission to edit sales and the "Cancel product" permission, as in Monde; without it, the response is 403 with the Monde message. On a sale of another seller, it also requires "Edit sales of other sellers". The automatic connection credential, which only edits the sales it created, only cancels products of those sales, and only when the partner received "Cancel product" in the approval. The cancellation is recorded in the sale history, with the credential name.

Authorizations:
bearerAuthentication
path Parameters
sale_id
required
string <uuid>
Example: 212b54b8-27df-4859-80a9-79ad855bcd09

Sale identifier (UUID), the id returned when reading and creating the sale.

product_id
required
string <uuid>
Example: 5d7e2a91-4c3b-4f8e-9a16-2b0c8d3e7f45

Sale product identifier (UUID), the product id in insurances, hotels, airline_tickets and the other product nodes of the sale.

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Idempotency-Key
required
string <uuid> ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][...
Example: 550e8400-e29b-41d4-a716-446655440000

Client-generated idempotency key (UUID v4). See the Idempotency section for more details.

Request Body schema: application/json
required
Array of objects

The passengers to cancel, each with its own date. Required for a product with passengers: to cancel the whole product, list every active passenger. Do not send it for a product without passengers. Each person goes only once: repeated, it answers 422.

calculate_commission
boolean
Default: false

Keeps the canceled product in the commission plan goal calculation (the same calculate_commission of the product reading). Default false. Only applies when the request leaves every passenger canceled.

delete_customer_balance
boolean
Default: false

Deletes the pending customer balance of this product, which becomes deleted balance.

delete_supplier_balance
boolean
Default: false

Deletes the items still open for the supplier (invoice and Lei Kandir). Only applies when the request leaves every passenger canceled.

supplier_fine
number <double> >= 0
Default: 0

Fine charged by the supplier, as a positive amount, in the currency the supplier is paid in: the final currency of the sale in an agency and the origin currency of the product in an operator. When reading, it comes back in supplier_fine in an agency and in supplier_fine_origin_currency in an operator. Requires delete_supplier_balance.

Responses

Request samples

Content type
application/json
Example

Cancels both passengers of the product, each with its own date, and with them the whole product, and deletes the balance the customer still owes in the product.

{
  • "passengers": [
    ],
  • "delete_customer_balance": true
}

Response samples

Content type
application/json
Example

Excerpt of the response when canceling one of the two passengers with delete_customer_balance: the product stays active, and the canceled passenger carries canceled_at. The other sale fields are those of the read by ID.

{
  • "id": "212b54b8-27df-4859-80a9-79ad855bcd09",
  • "sale_number": 1024,
  • "status": "opened",
  • "insurances": [
    ]
}

Reactivate a sale product Beta

Undoes the product cancellation, for the whole product or only some of its passengers, as the uncancellation in Monde does. The product goes back to the active status and returns to the commission plan goal calculation.

Passengers

  • The reactivation is always made through the passengers list, with the person of each canceled passenger that comes back. To reactivate the whole product, list every canceled passenger. A product with passengers without the list is refused (422).
  • A product without passengers is reactivated without the list (body {}).
  • Each person in the list, referenced by person.id as in the cancellation, must be a canceled passenger of the product.
  • The body does not accept canceled_at nor the cancellation options (422): the reactivation undoes the cancellation as it was recorded.

Financial records

  • If the cancellation deleted the supplier balance, what is still to be invoiced to the supplier is registered again.
  • When every canceled passenger comes back, the rest of the cancellation is undone: the customer balance deleted on cancellation becomes a pending balance of the payer again, and the supplier fine is removed (if it was already invoiced, a reversal item cancels it out).
  • Reactivating only some of the passengers, the fine and the deleted balance stay as they are.
  • Refunds and credits already registered for the sale are not undone.
  • With the sale closed, the reactivation is accepted, for some of the passengers or the whole product, as in Monde, without reopening the sale. The exception is a product whose cancellation deleted customer balance: the reactivation that brings back every passenger still canceled, or the whole product, brings that balance back, and a closed sale has no balance (409). On that product, some of the passengers can still be reactivated, keeping the deleted balance; to bring the last ones back, reopen the sale first.
  • With the automatic supplier invoice, the cancellation fine is posted to the invoice a few seconds later. Meanwhile, the reactivation answers 409: repeat the request in a few seconds. A fine that did not reach the invoice within 10 minutes no longer blocks the reactivation.

Requires the same permissions as the cancellation: editing sales and "Cancel product", in the company of the sale, as the uncancellation in Monde. The response is the whole sale, or only its id to whoever cannot read sales. The reactivation is recorded in the sale history, with the credential name.

Authorizations:
bearerAuthentication
path Parameters
sale_id
required
string <uuid>
Example: 212b54b8-27df-4859-80a9-79ad855bcd09

Sale identifier (UUID), the id returned when reading and creating the sale.

product_id
required
string <uuid>
Example: 5d7e2a91-4c3b-4f8e-9a16-2b0c8d3e7f45

Sale product identifier (UUID), the product id in insurances, hotels, airline_tickets and the other product nodes of the sale.

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Idempotency-Key
required
string <uuid> ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][...
Example: 550e8400-e29b-41d4-a716-446655440000

Client-generated idempotency key (UUID v4). See the Idempotency section for more details.

Request Body schema: application/json
required
Array of objects

The canceled passengers to reactivate. Required for a product with passengers: to reactivate the whole product, list every canceled passenger. Do not send it for a product without passengers. Each person goes only once: repeated, it answers 422.

Responses

Request samples

Content type
application/json
Example

Reactivates only one canceled passenger, referenced by the person id. The fine and the deleted balance stay while there is a canceled passenger.

{
  • "passengers": [
    ]
}

Response samples

Content type
application/json
Example

Excerpt of the response when reactivating the last canceled passenger: the product goes back to active, the passengers have no canceled_at, and the fine and the deleted balance go back to zero. The other sale fields are those of the read by ID.

{
  • "id": "212b54b8-27df-4859-80a9-79ad855bcd09",
  • "sale_number": 1024,
  • "status": "opened",
  • "insurances": [
    ]
}

Update vendor item of the sale Beta

Updates the due date and the description of a vendor item of the sale, as the Edit of the item in the Financial tab of Monde. The items and their id come in financial.vendor_items, in Get sale by ID. An omitted field stays as it is, and an unknown field is ignored.

What is edited here

  • Only an item not yet in an entry nor paid directly to the vendor (bill and payment null). With the automatic vendor invoice, an item still to be invoiced is also edited, as in Monde.
  • An item already in an entry answers 409: the due date and description that apply are those of the entry, which is changed in Update account payable or receivable.
  • An item paid directly to the vendor answers 409: the due date is the one of the payment, which is changed in the payments of the sale, in Update sale.
  • A credit generated for the vendor (generated_credit) answers 409: it is handled in the credit of the person.
  • A deleted sale answers 409. An item that is not a vendor item of this sale, including a customer item and one awaiting deletion, answers 404.
  • As in Monde, a closed sale or one with a printed receipt does not prevent the update, and the update does not go into the history of the sale.

Response

  • The whole sale, as in the read by ID, with the updated item in financial.vendor_items. A credential without permission to read sales receives only the sale id.

It requires, in the company of the sale, the permission to edit sales and "Ver aba financeiro" (view the financial tab), as in Monde; without "Ver aba financeiro", the response is 403 with the Monde message. On a sale of another seller, it also requires "Editar vendas de outros vendedores" (edit sales of other sellers).

Authorizations:
bearerAuthentication
path Parameters
sale_id
required
string <uuid>
Example: 212b54b8-27df-4859-80a9-79ad855bcd09

Sale identifier (UUID), the id returned when reading and creating the sale.

id
required
string <uuid>
Example: 8e3c1f52-7a4b-4d29-b6e0-3f9a2c7d1b84

Vendor item identifier (UUID), the id of the item in financial.vendor_items when reading the sale.

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Idempotency-Key
required
string <uuid> ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][...
Example: 550e8400-e29b-41d4-a716-446655440000

Client-generated idempotency key (UUID v4). See the Idempotency section for more details.

Request Body schema: application/json
required
due_date
string <date>

New due date of the item, in ISO 8601 format (YYYY-MM-DD). The due date is required: null or an empty text answers 422.

description
string or null <= 100 characters

New description of the item, up to 100 characters. null leaves the item without a description.

Responses

Request samples

Content type
application/json
Example

Changes the due date and the description of an item still to be invoiced.

{
  • "due_date": "2026-12-15",
  • "description": "Faturar em dezembro"
}

Response samples

Content type
application/json
Example

Excerpt of the response: the updated item comes back in financial.vendor_items, next to the item already in an entry. The other sale fields are those of the read by ID.

{
  • "id": "212b54b8-27df-4859-80a9-79ad855bcd09",
  • "sale_number": 1024,
  • "status": "closed",
  • "financial": {
    }
}

Generate a standalone payment or deposit to the vendor of the sale Beta

Generates the invoice of the standalone payment or of the deposit to the vendor or representative, with the open vendor items of the sale, as the Generate Standalone Payment or Deposit of the Financial tab and the Vendor Deposit of the product menu, in Monde. The items and their id come in financial.vendor_items, when reading the sale by ID. Unknown fields are ignored.

How the invoice is generated

  • With the automatic vendor invoice on, and outside a CVC sale, it is the automatic standalone invoice: the item leaves the automatic invoice it is in and goes to the new invoice. An item the automatic invoice has not processed yet answers 409; try again later.
  • Without the automatic invoice, or on a CVC sale, it is the vendor invoice made by the sale. Its due date is the earliest due date of the generated items, and an item without a due date counts as today.
  • An invoice has only one person and one currency: all the items must be of the same vendor or representative and the same currency.

Refusals

  • A deleted sale answers 409, as does a closed or settled invoice the item is in.
  • An item of another sale, of another vendor or currency, that is not open, repeated, or of a product other than product_id answers 422, pointing to the item.
  • As in Monde, a closed sale or one with a printed receipt does not prevent the generation, and the sale gets no history entry: the generated invoice has its own history.

Response

Requires, in the company of the sale, the permission to edit sales, and on the sale of another seller also "Editar vendas de outros vendedores" (edit sales of other sellers). It also requires "Ver aba financeiro" (view the financial tab), as the advance payment or deposit action of the Financial tab in Monde; only deposit with product_id, the vendor deposit of the product, does not. The invoice made by the sale, without the automatic invoice, also requires "Gerar Fatura" (generate invoice), of the accounts payable and receivable.

Authorizations:
bearerAuthentication
path Parameters
sale_id
required
string <uuid>
Example: 212b54b8-27df-4859-80a9-79ad855bcd09

Sale identifier (UUID), the id returned when reading and creating the sale.

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Idempotency-Key
required
string <uuid> ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][...
Example: 550e8400-e29b-41d4-a716-446655440000

Client-generated idempotency key (UUID v4). See the Idempotency section for more details.

Request Body schema: application/json
required
kind
required
string
Enum: "advance" "deposit"

What to generate, as in Monde:

  • advance: Generate Standalone Payment or Deposit, from the Financial tab of the sale. The invoice gets the description "Pagamento Avulso".
  • deposit: Vendor Deposit, from the product menu. The invoice gets the description "Sinal", and the transaction kind of each item is always the one of its balance.
product_id
string <uuid>

Product of the sale (UUID, the id in products when reading the sale), as the Vendor Deposit of the product menu: every item must be of this product. A product that is not of the sale answers 404; an own operation or deleted product answers 422.

required
Array of objects non-empty

The vendor items that go into the invoice, at least one. All of them must be of this sale, be open, and be of the same vendor or representative and the same currency, as the Monde grid filtered by the chosen vendor.

Responses

Request samples

Content type
application/json
Example

Generates the standalone payment with the whole balance of the item.

{
  • "kind": "advance",
  • "items": [
    ]
}

Response samples

Content type
application/json

Example detail of a vendor invoice, with the items in items and credit_card_items empty.

{
  • "id": "3a2b1c0d-9e8f-4a7b-8c6d-5e4f3a2b1c0d",
  • "number": "291",
  • "transaction_kind": "debit",
  • "kind": "vendor_invoice",
  • "description": "Fatura Fornecedor Avulsa",
  • "document": null,
  • "invoice_number": null,
  • "amount": 4,
  • "final_amount": 4,
  • "issue_date": "2026-07-13",
  • "due_date": "2026-07-13",
  • "settlement_date": null,
  • "created_at": "2026-07-13T14:42:00",
  • "canceled": false,
  • "checked": false,
  • "invoice_closed": false,
  • "system_generated": false,
  • "generates_credit": false,
  • "periodicity": "without_periodicity",
  • "recurrence_kind": "non_recurrent",
  • "recurrence_group_id": null,
  • "observations": null,
  • "billet": null,
  • "check": null,
  • "card": null,
  • "sale": null,
  • "person": {
    },
  • "company": {
    },
  • "account": null,
  • "payment_method": null,
  • "operation": null,
  • "invoice_rule": null,
  • "created_by": {
    },
  • "movements": [ ],
  • "apportionments": {
    },
  • "custom_fields": [ ],
  • "attachments": [ ],
  • "categories": [ ],
  • "commissions": [ ],
  • "items": [
    ],
  • "credit_card_items": [ ]
}

To invoice (Faturar) Beta

Adds the to-invoice payment to the sale, as the Faturar of the Financial tab of the sale in Monde: the payer pays the customer balance through the customer invoice. Unknown fields are ignored; so is the description, which the to-invoice payment does not have.

How it is recorded

  • It records one customer item to invoice per product, without a bill of its own. The automatic invoicing takes the items to the customer invoice of the payer, in the background, right after. That is why the response is 202.
  • The amount of each product goes with the sign of its customer balance, as the Monde screen shows it: negative on a product with a negative balance, positive on the others.
  • Once the item enters the invoice, the payment shows in payments.agency.to_invoice when reading the sale, in one line per customer invoice and cost center. Until then, it does not show in the sale.
  • The sale update does not change the to-invoice payment: the payments list neither keeps nor removes it. It leaves through the to-invoice removal.

Refusals

  • A closed or deleted sale answers 409: the to-invoice payment is only added to an open sale.
  • Without a customer balance to invoice on any product, the response is 422, as Monde only offers the to-invoice payment when there is a balance.
  • A product that is not of the sale, repeated, without a customer balance, with the opposite sign or of another sale currency answers 422, pointing to the product, as do a zero sum and a cost center the payer does not have.

Response

Requires, in the company of the sale, the permission to edit sales, and on a sale with a printed receipt also "Alterar vendas com recibo impresso" (change sales with a printed receipt).

Authorizations:
bearerAuthentication
path Parameters
sale_id
required
string <uuid>
Example: 212b54b8-27df-4859-80a9-79ad855bcd09

Sale identifier (UUID), the id returned when reading and creating the sale.

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Idempotency-Key
required
string <uuid> ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][...
Example: 550e8400-e29b-41d4-a716-446655440000

Client-generated idempotency key (UUID v4). See the Idempotency section for more details.

Request Body schema: application/json
required
payer_id
string <uuid> (sale_to_invoice_payer_id)

Payer (person UUID, the id from List people). When omitted, it is the payer of the sale. A person that does not exist answers 422.

cost_center
string <= 50 characters

Cost center of the payer, up to 50 characters. With a legal-entity payer, it must be one of the cost centers registered on it, and it is stored with the registered name. With an individual payer it is refused, unless the agency uses free-text cost centers. When omitted, the payment has no cost center.

required
Array of objects (sale_to_invoice_products) non-empty

The products of the sale and the amount of each one, at least one. Each product appears once, has a customer balance and has the same sale currency as the others: a payment has a single currency. The sum of the amounts, with their signs, cannot be zero.

Responses

Request samples

Content type
application/json
Example

Invoices to the payer of the sale the customer balance of a product, without a cost center.

{
  • "products": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "id": "9f8e7d6c-5b4a-3210-9876-5432109876ab",
  • "sale_number": 987,
  • "sale_date": "2026-11-06",
  • "status": "closed",
  • "observations": "Venda finalizada.",
  • "printed_receipt": true,
  • "created_at": "2026-11-06T10:30:00",
  • "totals": {
    },
  • "company": {
    },
  • "created_by": {
    },
  • "operation": {
    },
  • "seller": {
    },
  • "payer": {
    },
  • "intermediary": {
    },
  • "requester": {
    },
  • "approver": {
    },
  • "promoter": {
    },
  • "travel": {
    },
  • "custom_fields": [
    ],
  • "insurances": [
    ],
  • "cruises": [
    ],
  • "hotels": [
    ],
  • "airline_tickets": [
    ],
  • "train_tickets": [
    ],
  • "ground_transportations": [
    ],
  • "car_rentals": [
    ],
  • "travel_packages": [
    ],
  • "others": [
    ],
  • "excursions": [
    ],
  • "cvc_packages": [
    ],
  • "operations": [
    ],
  • "payments": {
    },
  • "commissions": [
    ],
  • "financial": {
    }
}

To-invoice return (Devolução Faturar) Beta

Adds the to-invoice return to the sale, as the Devolução › Faturar of the Financial tab of the sale in Monde: the amount the agency returns to the customer through the customer invoice. The body is the one of the to-invoice payment, with the description (description) instead of the cost center, which is ignored. Unknown fields are ignored.

How it is recorded

  • As the to-invoice payment: one customer item to invoice per product, without a bill of its own, which the automatic invoicing takes to the customer invoice right after. That is why the response is 202.
  • The amount of each product goes with the sign of its customer balance: negative on a product with a negative balance, positive on the others.
  • Once the item enters the invoice, the return shows in payments.agency.to_invoice when reading the sale, in the line of the customer invoice, summed with its sign: the negative amount is the return. It leaves through the to-invoice removal, together with the line.

Refusals

  • A closed or deleted sale answers 409.
  • It is only accepted when some product of the sale has a negative customer balance, as Monde only offers the return in that case: without it, the response is 422.
  • The rules of the products and of the sum are those of the to-invoice payment (422).

Response

Requires, in the company of the sale, the permission to edit sales, and on a sale with a printed receipt also "Alterar vendas com recibo impresso" (change sales with a printed receipt).

Authorizations:
bearerAuthentication
path Parameters
sale_id
required
string <uuid>
Example: 212b54b8-27df-4859-80a9-79ad855bcd09

Sale identifier (UUID), the id returned when reading and creating the sale.

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Idempotency-Key
required
string <uuid> ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][...
Example: 550e8400-e29b-41d4-a716-446655440000

Client-generated idempotency key (UUID v4). See the Idempotency section for more details.

Request Body schema: application/json
required
payer_id
string <uuid> (sale_to_invoice_payer_id)

Payer (person UUID, the id from List people). When omitted, it is the payer of the sale. A person that does not exist answers 422.

description
string <= 100 characters

Description of the to-invoice return, up to 100 characters.

required
Array of objects (sale_to_invoice_products) non-empty

The products of the sale and the amount of each one, at least one. Each product appears once, has a customer balance and has the same sale currency as the others: a payment has a single currency. The sum of the amounts, with their signs, cannot be zero.

Responses

Request samples

Content type
application/json

Returns to the customer, through the customer invoice, the negative balance of a product.

{
  • "description": "Reembolso do seguro",
  • "products": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "id": "9f8e7d6c-5b4a-3210-9876-5432109876ab",
  • "sale_number": 987,
  • "sale_date": "2026-11-06",
  • "status": "closed",
  • "observations": "Venda finalizada.",
  • "printed_receipt": true,
  • "created_at": "2026-11-06T10:30:00",
  • "totals": {
    },
  • "company": {
    },
  • "created_by": {
    },
  • "operation": {
    },
  • "seller": {
    },
  • "payer": {
    },
  • "intermediary": {
    },
  • "requester": {
    },
  • "approver": {
    },
  • "promoter": {
    },
  • "travel": {
    },
  • "custom_fields": [
    ],
  • "insurances": [
    ],
  • "cruises": [
    ],
  • "hotels": [
    ],
  • "airline_tickets": [
    ],
  • "train_tickets": [
    ],
  • "ground_transportations": [
    ],
  • "car_rentals": [
    ],
  • "travel_packages": [
    ],
  • "others": [
    ],
  • "excursions": [
    ],
  • "cvc_packages": [
    ],
  • "operations": [
    ],
  • "payments": {
    },
  • "commissions": [
    ],
  • "financial": {
    }
}

Remove a to-invoice line Beta

Removes a to-invoice line of the sale, as the Excluir (delete) of the payments grid of the Financial tab in Monde. The line is the one in payments.agency.to_invoice when reading the sale, pointed by the customer invoice (bill_id) and the cost center (cost_center).

What is removed

  • The whole line: every to-invoice payment and to-invoice return item of the sale in that customer invoice and cost center. The items leave the invoice, and the customer balance of the products comes back.

Refusals

  • A deleted sale answers 409.
  • A closed sale answers 409, unless reopen_sale comes as true: then the sale is reopened, and the credential also needs the permission "Reabrir venda" (reopen sale), 403 without it.
  • A closed customer invoice always answers 409: reopen the invoice first, through Reopen a client invoice.
  • A settled customer invoice answers 409, unless remove_settlement comes as true: then the settlement of the invoice is undone.
  • A line the sale does not have, with that invoice and that cost center, answers 422, as does a confirmation that is neither true nor false.

Response

Requires, in the company of the sale, the permission to edit sales, and on a sale with a printed receipt also "Alterar vendas com recibo impresso" (change sales with a printed receipt).

Authorizations:
bearerAuthentication
path Parameters
sale_id
required
string <uuid>
Example: 212b54b8-27df-4859-80a9-79ad855bcd09

Sale identifier (UUID), the id returned when reading and creating the sale.

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Idempotency-Key
required
string <uuid> ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][...
Example: 550e8400-e29b-41d4-a716-446655440000

Client-generated idempotency key (UUID v4). See the Idempotency section for more details.

Request Body schema: application/json
required
bill_id
required
string <uuid>

Customer invoice of the line (UUID, the bill.id of the line in payments.agency.to_invoice when reading the sale).

cost_center
string or null

Cost center of the line, its cost_center when reading the sale. Null, empty or omitted points to the line without a cost center.

reopen_sale
boolean
Default: false

Confirms reopening the closed sale, as Monde asks before deleting. With true, the closed sale is reopened and the line is removed; it also requires the permission "Reabrir venda" (reopen sale). Without the confirmation, a closed sale answers 409. On an open sale, it has no effect.

remove_settlement
boolean
Default: false

Confirms undoing the settlement of a settled customer invoice, as Monde asks before deleting. Without the confirmation, a settled invoice answers 409. On an open invoice, it has no effect.

Responses

Request samples

Content type
application/json
Example

Removes the to-invoice line of the customer invoice that has no cost center.

{
  • "bill_id": "4f5a6b7c-8d9e-4f01-a2b3-c4d5e6f70819",
  • "cost_center": null
}

Response samples

Content type
application/json
Example
{
  • "id": "9f8e7d6c-5b4a-3210-9876-5432109876ab",
  • "sale_number": 987,
  • "sale_date": "2026-11-06",
  • "status": "closed",
  • "observations": "Venda finalizada.",
  • "printed_receipt": true,
  • "created_at": "2026-11-06T10:30:00",
  • "totals": {
    },
  • "company": {
    },
  • "created_by": {
    },
  • "operation": {
    },
  • "seller": {
    },
  • "payer": {
    },
  • "intermediary": {
    },
  • "requester": {
    },
  • "approver": {
    },
  • "promoter": {
    },
  • "travel": {
    },
  • "custom_fields": [
    ],
  • "insurances": [
    ],
  • "cruises": [
    ],
  • "hotels": [
    ],
  • "airline_tickets": [
    ],
  • "train_tickets": [
    ],
  • "ground_transportations": [
    ],
  • "car_rentals": [
    ],
  • "travel_packages": [
    ],
  • "others": [
    ],
  • "excursions": [
    ],
  • "cvc_packages": [
    ],
  • "operations": [
    ],
  • "payments": {
    },
  • "commissions": [
    ],
  • "financial": {
    }
}

List product additional fields Beta

Returns the three additional fields of the sale product (external_number, additional1 and additional2) with the title the agency gave each one in Monde, such as "Nº Pedido". On the sale, send and read the field by its key: the title only tells which field is which, and renaming it in Monde does not change the key. A field without a title (active false) does not appear in Monde, and the API ignores the value sent to it. Requires the permission to read sales.

Authorizations:
bearerAuthentication
header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json
{
  • "data": [
    ]
}

Products

Query and maintain the catalog of travel products (insurance, cruises, hotels, airline tickets, own operations, and others) used in sales, with the suppliers of each product and the representatives of each supplier. Suppliers and representatives are parts of the product: they are read with the permission to read products, and each has its own permissions to write and to delete, as in Monde.

List products Beta

Returns the list of available products in the system, with the ability to filter by product kind.

Authorizations:
bearerAuthentication
query Parameters
kind
Array of strings
Items Enum: "insurance" "cruise" "hotel" "airline_ticket" "train_ticket" "ground_transportation" "excursion" "visa" "car_rental" "travel_package" "cvc_package" "operation" "others"
Examples:
  • kind=insurance - Filter by single kind
  • kind=insurance,cruise,hotel - Filter by multiple kinds

Filters products by kind. For multiple kinds, separate values with commas (e.g., insurance,cruise,hotel).

cursor
string
Example: cursor=eyJfcmFpbHMiOnsiZGF0YSI6WyIyMDI2LTAzLTEwIiwiNmIwZjdjMWUtMmQ0YS00ZjhiLTljMzEtNThhMGQ3ZTEzZjQyIl0sInB1ciI6ImFwaS92My9wcm9kdWN0cyNpbmRleCJ9fQ--3aa1d942d6240ca905038c019d661bc90af6836fc4a818cee3663829c75970e4

Cursor of the next page, exactly as it came in next_cursor. Without it, the query starts at the first page.

size
integer [ 1 .. 50 ]
Default: 20
Example: size=10

Number of records per page

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json
Example

Example response containing products of different kinds.

{
  • "data": [
    ],
  • "pagination": {
    }
}

Create product Beta

Adds a product to the catalog. As on the Monde Products screen, only products of the others and operation (own operation) kinds can be created: the other kinds are system products. Own operation is an agency feature and is refused in an operator (consolidator) base. The kind and passengers are chosen on creation and do not change afterwards. Suppliers are added afterwards, at /products/{id}/supplies. Requires the permission to create and edit products in a company whose license allows writing.

Authorizations:
bearerAuthentication
header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Idempotency-Key
required
string <uuid> ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][...
Example: 550e8400-e29b-41d4-a716-446655440000

Client-generated idempotency key (UUID v4). See the Idempotency section for more details.

Request Body schema: application/json
required
name
required
string <= 50 characters

Product name

included_services
string or null

Services included in the product

active
boolean
Default: true

Indicates whether the product is active

nbs_code
string or null

Product NBS code (Brazilian Nomenclature of Services)

kind
string
Default: "others"
Enum: "others" "operation"

Product kind. On creation only these are accepted:

  • others (default): other products.
  • operation: own operation, only in an agency base.
It does not change after creation.

passengers
boolean
Default: true

Whether the product has passengers. Defaults to true. It does not change after creation.

Responses

Request samples

Content type
application/json

Example creating an Others product, with passengers and NBS code.

{
  • "name": "Passeio de Barco",
  • "included_services": "Passeio de escuna com almoço",
  • "kind": "others",
  • "passengers": true,
  • "active": true,
  • "nbs_code": "1.2501.11.00"
}

Response samples

Content type
application/json

Example response with a product and its supplies, suppliers and representatives.

{
  • "id": "f9d961b8-ea88-4346-8e52-afe94267417a",
  • "name": "Seguro Viagem",
  • "included_services": "Cobertura completa para viagens internacionais",
  • "kind": "insurance",
  • "passengers": true,
  • "system": true,
  • "active": true,
  • "nbs_code": "115022000",
  • "supplies": [
    ]
}

Get product by ID Beta

Returns the complete data for a specific product, including its supplies with the supplier, the commission data and the representatives.

Authorizations:
bearerAuthentication
path Parameters
id
required
string <uuid>
Example: f9d961b8-ea88-4346-8e52-afe94267417a

Unique product identifier (UUID format).

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json

Example response with a product and its supplies, suppliers and representatives.

{
  • "id": "f9d961b8-ea88-4346-8e52-afe94267417a",
  • "name": "Seguro Viagem",
  • "included_services": "Cobertura completa para viagens internacionais",
  • "kind": "insurance",
  • "passengers": true,
  • "system": true,
  • "active": true,
  • "nbs_code": "115022000",
  • "supplies": [
    ]
}

Update product Beta

Changes an existing product, system products included. Send only the fields that should change: a field omitted stays as it is, and a field sent as null is removed. The included services (included_services) and the NBS code (nbs_code) sent as null are cleared; name, kind, passengers and active cannot be removed, and sending them as null is refused (422). The kind and passengers do not change after creation: sending the value the product already has is accepted, and another value is refused. CVC products are maintained by the CVC integration and cannot be changed (409). The response carries the updated product in the same format as the get by ID when the credential also has the "View" permission on products; without it, the change is saved anyway and the response carries only the id. Empty text is saved as sent; on a required field, and on a field that is not text, it is refused (422).

Authorizations:
bearerAuthentication
path Parameters
id
required
string <uuid>
Example: f9d961b8-ea88-4346-8e52-afe94267417a

Unique product identifier (UUID format).

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Idempotency-Key
required
string <uuid> ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][...
Example: 550e8400-e29b-41d4-a716-446655440000

Client-generated idempotency key (UUID v4). See the Idempotency section for more details.

Request Body schema: application/json
required
name
string <= 50 characters

Product name

included_services
string or null

Services included in the product

active
boolean
Default: true

Indicates whether the product is active

nbs_code
string or null

Product NBS code (Brazilian Nomenclature of Services)

kind
string
Default: "others"
Enum: "others" "operation"

Product kind. On creation only these are accepted:

  • others (default): other products.
  • operation: own operation, only in an agency base.
It does not change after creation.

passengers
boolean
Default: true

Whether the product has passengers. Defaults to true. It does not change after creation.

Responses

Request samples

Content type
application/json

Example update that only deactivates the product, keeping the other fields.

{
  • "active": false
}

Response samples

Content type
application/json
Example

Example response with a product and its supplies, suppliers and representatives.

{
  • "id": "f9d961b8-ea88-4346-8e52-afe94267417a",
  • "name": "Seguro Viagem",
  • "included_services": "Cobertura completa para viagens internacionais",
  • "kind": "insurance",
  • "passengers": true,
  • "system": true,
  • "active": true,
  • "nbs_code": "115022000",
  • "supplies": [
    ]
}

Delete product Beta

Deletes the product for good. System products cannot be deleted, and neither can a product with related records (suppliers, sales, billing or invoice rules, commission plans, integrations): to take it out of the catalog, deactivate it through PATCH (active: false) or merge it into another product on the Monde Products screen. Both cases answer 409. Requires the permission to delete products.

Authorizations:
bearerAuthentication
path Parameters
id
required
string <uuid>
Example: f9d961b8-ea88-4346-8e52-afe94267417a

Unique product identifier (UUID format).

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json
{
  • "errors": [
    ]
}

List product suppliers Beta

Returns the suppliers (supplies) of the product, each with its commercial terms and representatives. Requires the permission to read products.

Authorizations:
bearerAuthentication
path Parameters
product_id
required
string <uuid>
Example: f9d961b8-ea88-4346-8e52-afe94267417a

Unique product identifier (UUID format).

query Parameters
cursor
string
Example: cursor=eyJfcmFpbHMiOnsiZGF0YSI6WyIyMDI2LTAzLTEwIiwiNmIwZjdjMWUtMmQ0YS00ZjhiLTljMzEtNThhMGQ3ZTEzZjQyIl0sInB1ciI6ImFwaS92My9wcm9kdWN0cyNpbmRleCJ9fQ--3aa1d942d6240ca905038c019d661bc90af6836fc4a818cee3663829c75970e4

Cursor of the next page, exactly as it came in next_cursor. Without it, the query starts at the first page.

size
integer [ 1 .. 50 ]
Default: 20
Example: size=10

Number of records per page

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json

Example list of supplies, with the representatives of each one.

{
  • "data": [
    ],
  • "pagination": {
    }
}

Add supplier to product Beta

Adds a supplier to the product. The supplier person (supplier) is required and is referenced by its UUID. The same supplier may be added more than once, as long as the descriptions differ. The commission is either a percentage or an amount: the field of the other type is zeroed and, if sent, must be zero. Omitted fields take the Monde defaults: percentage commission, zero values and over on 100%. restitutes_kandir_law applies only to products with Kandir Law retention (airline ticket, travel insurance and ground transportation), and is refused on the others. Own operation products and CVC products have no suppliers (409). Requires the "Add supplier" permission on products.

Authorizations:
bearerAuthentication
path Parameters
product_id
required
string <uuid>
Example: f9d961b8-ea88-4346-8e52-afe94267417a

Unique product identifier (UUID format).

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Idempotency-Key
required
string <uuid> ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][...
Example: 550e8400-e29b-41d4-a716-446655440000

Client-generated idempotency key (UUID v4). See the Idempotency section for more details.

Request Body schema: application/json
required
required
object

Supply supplier.

description
string or null <= 50 characters

Supply description (optional field).

restitutes_kandir_law
boolean

Indicates whether the supply restitutes Lei Kandir.

commission_type
string
Enum: "percentage" "amount"

Commission type — percentage or amount.

commission_percentage
number <double>

Commission percentage.

commission_amount
number <double>

Commission amount.

over_percentage
number <double>

Over percentage.

over_value
number <double>

Percentage applied over the over.

du_percentage
number <double>

DU card fee percentage.

rav_percentage
number <double>

RAV card fee percentage.

Responses

Request samples

Content type
application/json

Example supplier with percentage commission and over.

{
  • "supplier": {
    },
  • "description": "Tarifa net",
  • "commission_type": "percentage",
  • "commission_percentage": 10,
  • "over_percentage": 2.5,
  • "over_value": 100
}

Response samples

Content type
application/json

Example response of a product supply.

{
  • "id": "6a1f0c3e-2b4d-4e8f-9a7b-1c2d3e4f5a6b",
  • "description": "Tarifa net",
  • "commission_type": "percentage",
  • "commission_percentage": 10,
  • "commission_amount": 0,
  • "over_percentage": 2.5,
  • "over_value": 100,
  • "du_percentage": 0,
  • "rav_percentage": 0,
  • "restitutes_kandir_law": true,
  • "supplier": {
    },
  • "representations": [ ]
}

Get product supplier by ID Beta

Returns a supply of the product, with its commercial terms and representatives. The ID of a supply of another product answers 404.

Authorizations:
bearerAuthentication
path Parameters
product_id
required
string <uuid>
Example: f9d961b8-ea88-4346-8e52-afe94267417a

Unique product identifier (UUID format).

id
required
string <uuid>
Example: 6a1f0c3e-2b4d-4e8f-9a7b-1c2d3e4f5a6b

Unique identifier of the product supply (UUID format).

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json

Example response of a product supply.

{
  • "id": "6a1f0c3e-2b4d-4e8f-9a7b-1c2d3e4f5a6b",
  • "description": "Tarifa net",
  • "commission_type": "percentage",
  • "commission_percentage": 10,
  • "commission_amount": 0,
  • "over_percentage": 2.5,
  • "over_value": 100,
  • "du_percentage": 0,
  • "rav_percentage": 0,
  • "restitutes_kandir_law": true,
  • "supplier": {
    },
  • "representations": [ ]
}

Update product supplier Beta

Changes a supply of the product. Send only the fields that should change: a field omitted stays as it is, and a field sent as null is removed. The description sent as null is cleared; the supplier (supplier), restitutes_kandir_law and the commission fields cannot be removed, and sending them as null is refused (422). When commission_type changes, the commission field of the other type is zeroed. Representatives are maintained through their own path. Requires the "Edit supplier" permission on products. The response carries the updated supply when the credential also has the "View" permission on products; without it, only the id. Empty text is saved as sent; on a required field, and on a field that is not text, it is refused (422).

Authorizations:
bearerAuthentication
path Parameters
product_id
required
string <uuid>
Example: f9d961b8-ea88-4346-8e52-afe94267417a

Unique product identifier (UUID format).

id
required
string <uuid>
Example: 6a1f0c3e-2b4d-4e8f-9a7b-1c2d3e4f5a6b

Unique identifier of the product supply (UUID format).

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Idempotency-Key
required
string <uuid> ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][...
Example: 550e8400-e29b-41d4-a716-446655440000

Client-generated idempotency key (UUID v4). See the Idempotency section for more details.

Request Body schema: application/json
required
object

Supply supplier.

description
string or null <= 50 characters

Supply description (optional field).

restitutes_kandir_law
boolean

Indicates whether the supply restitutes Lei Kandir.

commission_type
string
Enum: "percentage" "amount"

Commission type — percentage or amount.

commission_percentage
number <double>

Commission percentage.

commission_amount
number <double>

Commission amount.

over_percentage
number <double>

Over percentage.

over_value
number <double>

Percentage applied over the over.

du_percentage
number <double>

DU card fee percentage.

rav_percentage
number <double>

RAV card fee percentage.

Responses

Request samples

Content type
application/json

Example update that switches the commission to an amount; the commission percentage is zeroed.

{
  • "commission_type": "amount",
  • "commission_amount": 35
}

Response samples

Content type
application/json
Example

Example response of a product supply.

{
  • "id": "6a1f0c3e-2b4d-4e8f-9a7b-1c2d3e4f5a6b",
  • "description": "Tarifa net",
  • "commission_type": "percentage",
  • "commission_percentage": 10,
  • "commission_amount": 0,
  • "over_percentage": 2.5,
  • "over_value": 100,
  • "du_percentage": 0,
  • "rav_percentage": 0,
  • "restitutes_kandir_law": true,
  • "supplier": {
    },
  • "representations": [ ]
}

Remove supplier from product Beta

Removes the supply from the product, together with its representatives. A supply used in sales cannot be removed (merge it into another supplier on the Monde Products screen), and neither can a supplier that has a billing rule for the product: both cases answer 409. Requires the "Delete supplier" permission on products.

Authorizations:
bearerAuthentication
path Parameters
product_id
required
string <uuid>
Example: f9d961b8-ea88-4346-8e52-afe94267417a

Unique product identifier (UUID format).

id
required
string <uuid>
Example: 6a1f0c3e-2b4d-4e8f-9a7b-1c2d3e4f5a6b

Unique identifier of the product supply (UUID format).

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json
{
  • "errors": [
    ]
}

List supplier representatives Beta

Returns the representatives of a supply of the product, each with its own commercial terms. Requires the permission to read products.

Authorizations:
bearerAuthentication
path Parameters
product_id
required
string <uuid>
Example: f9d961b8-ea88-4346-8e52-afe94267417a

Unique product identifier (UUID format).

supply_id
required
string <uuid>
Example: 6a1f0c3e-2b4d-4e8f-9a7b-1c2d3e4f5a6b

Unique identifier of the product supply (UUID format).

query Parameters
cursor
string
Example: cursor=eyJfcmFpbHMiOnsiZGF0YSI6WyIyMDI2LTAzLTEwIiwiNmIwZjdjMWUtMmQ0YS00ZjhiLTljMzEtNThhMGQ3ZTEzZjQyIl0sInB1ciI6ImFwaS92My9wcm9kdWN0cyNpbmRleCJ9fQ--3aa1d942d6240ca905038c019d661bc90af6836fc4a818cee3663829c75970e4

Cursor of the next page, exactly as it came in next_cursor. Without it, the query starts at the first page.

size
integer [ 1 .. 50 ]
Default: 20
Example: size=10

Number of records per page

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json

Example list of representatives.

{
  • "data": [
    ],
  • "pagination": {
    }
}

Add representative to supplier Beta

Adds a representative to the supply of the product. The representative person (representative) is required, referenced by its UUID, and cannot repeat in the same supply. The commission follows the same rules as the supply: percentage or amount, with the field of the other type zeroed, and the omitted fields with the Monde defaults. Requires the "Add representative" permission on products.

Authorizations:
bearerAuthentication
path Parameters
product_id
required
string <uuid>
Example: f9d961b8-ea88-4346-8e52-afe94267417a

Unique product identifier (UUID format).

supply_id
required
string <uuid>
Example: 6a1f0c3e-2b4d-4e8f-9a7b-1c2d3e4f5a6b

Unique identifier of the product supply (UUID format).

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Idempotency-Key
required
string <uuid> ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][...
Example: 550e8400-e29b-41d4-a716-446655440000

Client-generated idempotency key (UUID v4). See the Idempotency section for more details.

Request Body schema: application/json
required
required
object

Supply representative.

commission_type
string
Enum: "percentage" "amount"

Commission type — percentage or amount.

commission_percentage
number <double>

Commission percentage.

commission_amount
number <double>

Commission amount.

over_percentage
number <double>

Over percentage.

over_value
number <double>

Percentage applied over the over.

du_percentage
number <double>

DU card fee percentage.

rav_percentage
number <double>

RAV card fee percentage.

Responses

Request samples

Content type
application/json

Example representative with an amount commission.

{
  • "representative": {
    },
  • "commission_type": "amount",
  • "commission_amount": 50
}

Response samples

Content type
application/json

Example response of a supply representative.

{
  • "id": "8d2e1f4a-3c5b-4d6e-8f7a-9b0c1d2e3f4a",
  • "commission_type": "amount",
  • "commission_percentage": 0,
  • "commission_amount": 50,
  • "over_percentage": 0,
  • "over_value": 100,
  • "du_percentage": 0,
  • "rav_percentage": 0,
  • "representative": {
    }
}

Get supplier representative by ID Beta

Returns a representative of the supply. The ID of a representative of another supply answers 404.

Authorizations:
bearerAuthentication
path Parameters
product_id
required
string <uuid>
Example: f9d961b8-ea88-4346-8e52-afe94267417a

Unique product identifier (UUID format).

supply_id
required
string <uuid>
Example: 6a1f0c3e-2b4d-4e8f-9a7b-1c2d3e4f5a6b

Unique identifier of the product supply (UUID format).

id
required
string <uuid>
Example: 8d2e1f4a-3c5b-4d6e-8f7a-9b0c1d2e3f4a

Unique identifier of the supply representative (UUID format).

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json

Example response of a supply representative.

{
  • "id": "8d2e1f4a-3c5b-4d6e-8f7a-9b0c1d2e3f4a",
  • "commission_type": "amount",
  • "commission_percentage": 0,
  • "commission_amount": 50,
  • "over_percentage": 0,
  • "over_value": 100,
  • "du_percentage": 0,
  • "rav_percentage": 0,
  • "representative": {
    }
}

Update supplier representative Beta

Changes a representative of the supply. Send only the fields that should change: a field omitted stays as it is. The representative (representative) and the commission fields cannot be removed, and sending them as null is refused (422). Requires the "Edit representative" permission on products. The response carries the updated representative when the credential also has the "View" permission on products; without it, only the id. Empty text is saved as sent; on a required field, and on a field that is not text, it is refused (422).

Authorizations:
bearerAuthentication
path Parameters
product_id
required
string <uuid>
Example: f9d961b8-ea88-4346-8e52-afe94267417a

Unique product identifier (UUID format).

supply_id
required
string <uuid>
Example: 6a1f0c3e-2b4d-4e8f-9a7b-1c2d3e4f5a6b

Unique identifier of the product supply (UUID format).

id
required
string <uuid>
Example: 8d2e1f4a-3c5b-4d6e-8f7a-9b0c1d2e3f4a

Unique identifier of the supply representative (UUID format).

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Idempotency-Key
required
string <uuid> ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][...
Example: 550e8400-e29b-41d4-a716-446655440000

Client-generated idempotency key (UUID v4). See the Idempotency section for more details.

Request Body schema: application/json
required
object

Supply representative.

commission_type
string
Enum: "percentage" "amount"

Commission type — percentage or amount.

commission_percentage
number <double>

Commission percentage.

commission_amount
number <double>

Commission amount.

over_percentage
number <double>

Over percentage.

over_value
number <double>

Percentage applied over the over.

du_percentage
number <double>

DU card fee percentage.

rav_percentage
number <double>

RAV card fee percentage.

Responses

Request samples

Content type
application/json

Example update of the over percentage only.

{
  • "over_percentage": 1.5
}

Response samples

Content type
application/json
Example

Example response of a supply representative.

{
  • "id": "8d2e1f4a-3c5b-4d6e-8f7a-9b0c1d2e3f4a",
  • "commission_type": "amount",
  • "commission_percentage": 0,
  • "commission_amount": 50,
  • "over_percentage": 0,
  • "over_value": 100,
  • "du_percentage": 0,
  • "rav_percentage": 0,
  • "representative": {
    }
}

Remove supplier representative Beta

Removes the representative from the supply. A representative used in sales cannot be removed (409). Requires the "Delete representative" permission on products.

Authorizations:
bearerAuthentication
path Parameters
product_id
required
string <uuid>
Example: f9d961b8-ea88-4346-8e52-afe94267417a

Unique product identifier (UUID format).

supply_id
required
string <uuid>
Example: 6a1f0c3e-2b4d-4e8f-9a7b-1c2d3e4f5a6b

Unique identifier of the product supply (UUID format).

id
required
string <uuid>
Example: 8d2e1f4a-3c5b-4d6e-8f7a-9b0c1d2e3f4a

Unique identifier of the supply representative (UUID format).

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json
{
  • "errors": [
    ]
}

Cabins

Query and maintain the cabin types registered in the system to use in cruise products.

List cabins Beta

Returns the list of cabin types registered in the system.

Authorizations:
bearerAuthentication
query Parameters
cursor
string
Example: cursor=eyJfcmFpbHMiOnsiZGF0YSI6WyIyMDI2LTAzLTEwIiwiNmIwZjdjMWUtMmQ0YS00ZjhiLTljMzEtNThhMGQ3ZTEzZjQyIl0sInB1ciI6ImFwaS92My9wcm9kdWN0cyNpbmRleCJ9fQ--3aa1d942d6240ca905038c019d661bc90af6836fc4a818cee3663829c75970e4

Cursor of the next page, exactly as it came in next_cursor. Without it, the query starts at the first page.

size
integer [ 1 .. 50 ]
Default: 20
Example: size=10

Number of records per page

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json
Example

Example response containing all registered cabins.

{
  • "data": [
    ],
  • "pagination": {
    }
}

Create cabin Beta

Creates a cabin. The name is the cabin key: the cabin is read, updated and deleted by it, and it is what the sale's cruise product sends in cabin_kind.

Requires the "Edit" permission on cabins in a company that is not read-only. The response brings the created cabin.

Authorizations:
bearerAuthentication
header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Idempotency-Key
required
string <uuid> ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][...
Example: 550e8400-e29b-41d4-a716-446655440000

Client-generated idempotency key (UUID v4). See the Idempotency section for more details.

Request Body schema: application/json
required
name
string [ 1 .. 30 ] characters

Cabin name, up to 30 characters and not repeating another cabin. Line breaks are removed. Required on creation; on update, a new name renames the cabin.

Responses

Request samples

Content type
application/json

Example of a cabin creation.

{
  • "name": "Varanda"
}

Response samples

Content type
application/json

Example response of a cabin.

{
  • "name": "Varanda"
}

Get cabin by name Beta

Returns the cabin by its name, sent in the path URL-encoded (space as %20, slash as %2F).

Authorizations:
bearerAuthentication
path Parameters
name
required
string <= 30 characters
Example: Varanda

Current cabin name, URL-encoded

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json

Example response of a cabin.

{
  • "name": "Varanda"
}

Update cabin Beta

Updates the cabin by its current name, sent in the path URL-encoded. An omitted field stays as it is. A new name renames the cabin, and the sale products that use it show the new name, as in Monde.

Resending with the same Idempotency-Key after changing the name returns 404: the old path no longer exists.

Requires the "Edit" permission on cabins in a company that is not read-only. The response brings the cabin to whoever can also read cabins; to the others, only the name. Empty text is saved as sent; on a required field, and on a field that is not text, it is refused (422).

Authorizations:
bearerAuthentication
path Parameters
name
required
string <= 30 characters
Example: Varanda

Current cabin name, URL-encoded

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Idempotency-Key
required
string <uuid> ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][...
Example: 550e8400-e29b-41d4-a716-446655440000

Client-generated idempotency key (UUID v4). See the Idempotency section for more details.

Request Body schema: application/json
required
name
string [ 1 .. 30 ] characters

Cabin name, up to 30 characters and not repeating another cabin. Line breaks are removed. Required on creation; on update, a new name renames the cabin.

Responses

Request samples

Content type
application/json

Example of an update that renames the cabin.

{
  • "name": "Varanda Premium"
}

Response samples

Content type
application/json

Example response of a cabin.

{
  • "name": "Varanda"
}

Delete cabin Beta

Deletes the cabin by its current name, sent in the path URL-encoded. A cabin used in any sale product cannot be deleted: the response is 409, as in Monde.

Requires the "Delete" permission on cabins in a company that is not read-only.

Authorizations:
bearerAuthentication
path Parameters
name
required
string <= 30 characters
Example: Varanda

Current cabin name, URL-encoded

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json
{
  • "errors": [
    ]
}

Ships

Query and maintain the ships registered in the system to use in cruise products.

List ships Beta

Returns the list of ships registered in the system.

Authorizations:
bearerAuthentication
query Parameters
cursor
string
Example: cursor=eyJfcmFpbHMiOnsiZGF0YSI6WyIyMDI2LTAzLTEwIiwiNmIwZjdjMWUtMmQ0YS00ZjhiLTljMzEtNThhMGQ3ZTEzZjQyIl0sInB1ciI6ImFwaS92My9wcm9kdWN0cyNpbmRleCJ9fQ--3aa1d942d6240ca905038c019d661bc90af6836fc4a818cee3663829c75970e4

Cursor of the next page, exactly as it came in next_cursor. Without it, the query starts at the first page.

size
integer [ 1 .. 50 ]
Default: 20
Example: size=10

Number of records per page

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json
Example

Example response containing all registered ships.

{
  • "data": [
    ],
  • "pagination": {
    }
}

Create ship Beta

Creates a ship. The name is the ship key: the ship is read, updated and deleted by it, and it is what the sale's cruise product sends in ship_name.

Requires the "Edit" permission on ships in a company that is not read-only. The response brings the created ship.

Authorizations:
bearerAuthentication
header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Idempotency-Key
required
string <uuid> ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][...
Example: 550e8400-e29b-41d4-a716-446655440000

Client-generated idempotency key (UUID v4). See the Idempotency section for more details.

Request Body schema: application/json
required
name
string [ 1 .. 30 ] characters

Ship name, up to 30 characters and not repeating another ship. Line breaks are removed. Required on creation; on update, a new name renames the ship.

Responses

Request samples

Content type
application/json

Example of a ship creation.

{
  • "name": "MSC Preziosa"
}

Response samples

Content type
application/json

Example response of a ship.

{
  • "name": "MSC Preziosa"
}

Get ship by name Beta

Returns the ship by its name, sent in the path URL-encoded (space as %20, slash as %2F).

Authorizations:
bearerAuthentication
path Parameters
name
required
string <= 30 characters
Example: MSC Preziosa

Current ship name, URL-encoded

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json

Example response of a ship.

{
  • "name": "MSC Preziosa"
}

Update ship Beta

Updates the ship by its current name, sent in the path URL-encoded. An omitted field stays as it is. A new name renames the ship, and the sale products that use it show the new name, as in Monde.

Resending with the same Idempotency-Key after changing the name returns 404: the old path no longer exists.

Requires the "Edit" permission on ships in a company that is not read-only. The response brings the ship to whoever can also read ships; to the others, only the name. Empty text is saved as sent; on a required field, and on a field that is not text, it is refused (422).

Authorizations:
bearerAuthentication
path Parameters
name
required
string <= 30 characters
Example: MSC Preziosa

Current ship name, URL-encoded

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Idempotency-Key
required
string <uuid> ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][...
Example: 550e8400-e29b-41d4-a716-446655440000

Client-generated idempotency key (UUID v4). See the Idempotency section for more details.

Request Body schema: application/json
required
name
string [ 1 .. 30 ] characters

Ship name, up to 30 characters and not repeating another ship. Line breaks are removed. Required on creation; on update, a new name renames the ship.

Responses

Request samples

Content type
application/json

Example of an update that renames the ship.

{
  • "name": "MSC Preziosa II"
}

Response samples

Content type
application/json

Example response of a ship.

{
  • "name": "MSC Preziosa"
}

Delete ship Beta

Deletes the ship by its current name, sent in the path URL-encoded. A ship used in any sale product cannot be deleted: the response is 409, as in Monde.

Requires the "Delete" permission on ships in a company that is not read-only.

Authorizations:
bearerAuthentication
path Parameters
name
required
string <= 30 characters
Example: MSC Preziosa

Current ship name, URL-encoded

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json
{
  • "errors": [
    ]
}

Packages

Query and maintain the tour packages used in the sales' tour package products.

List packages Beta

Returns the list of packages registered in the system, ordered by name.

Authorizations:
bearerAuthentication
query Parameters
cursor
string
Example: cursor=eyJfcmFpbHMiOnsiZGF0YSI6WyIyMDI2LTAzLTEwIiwiNmIwZjdjMWUtMmQ0YS00ZjhiLTljMzEtNThhMGQ3ZTEzZjQyIl0sInB1ciI6ImFwaS92My9wcm9kdWN0cyNpbmRleCJ9fQ--3aa1d942d6240ca905038c019d661bc90af6836fc4a818cee3663829c75970e4

Cursor of the next page, exactly as it came in next_cursor. Without it, the query starts at the first page.

size
integer [ 1 .. 50 ]
Default: 20
Example: size=10

Number of records per page

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json
Example

Example response containing all registered packages.

{
  • "data": [
    ],
  • "pagination": {
    }
}

Create package Beta

Creates a package. The name is the package key: the package is read, updated and deleted by it, and it is what the sale's tour package product sends in package_name.

Requires the "Edit" permission on packages in a company that is not read-only. The response brings the created package.

Authorizations:
bearerAuthentication
header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Idempotency-Key
required
string <uuid> ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][...
Example: 550e8400-e29b-41d4-a716-446655440000

Client-generated idempotency key (UUID v4). See the Idempotency section for more details.

Request Body schema: application/json
required
name
string [ 1 .. 50 ] characters

Package name, up to 50 characters and not repeating another package. Line breaks are removed. Required on creation; on update, a new name renames the package.

services_included
string or null

Services included in the package. On update, null clears the field.

Responses

Request samples

Content type
application/json

Example of a package creation.

{
  • "name": "Disney 7 noites",
  • "services_included": "Aéreo, hotel e ingressos para os parques"
}

Response samples

Content type
application/json

Example response of a package.

{
  • "name": "Disney 7 noites",
  • "services_included": "Aéreo, hotel e ingressos para os parques"
}

Get package by name Beta

Returns the package by its name, sent in the path URL-encoded (space as %20, slash as %2F).

Authorizations:
bearerAuthentication
path Parameters
name
required
string <= 50 characters
Example: Disney 7 noites

Current package name, URL-encoded

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json

Example response of a package.

{
  • "name": "Disney 7 noites",
  • "services_included": "Aéreo, hotel e ingressos para os parques"
}

Update package Beta

Updates the package by its current name, sent in the path URL-encoded. An omitted field stays as it is. Included services sent null are cleared. A new name renames the package, and the sale products that use it show the new name, as in Monde.

Resending with the same Idempotency-Key after changing the name returns 404: the old path no longer exists.

Requires the "Edit" permission on packages in a company that is not read-only. The response brings the package to whoever can also read packages; to the others, only the name. Empty text is saved as sent; on a required field, and on a field that is not text, it is refused (422).

Authorizations:
bearerAuthentication
path Parameters
name
required
string <= 50 characters
Example: Disney 7 noites

Current package name, URL-encoded

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Idempotency-Key
required
string <uuid> ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][...
Example: 550e8400-e29b-41d4-a716-446655440000

Client-generated idempotency key (UUID v4). See the Idempotency section for more details.

Request Body schema: application/json
required
name
string [ 1 .. 50 ] characters

Package name, up to 50 characters and not repeating another package. Line breaks are removed. Required on creation; on update, a new name renames the package.

services_included
string or null

Services included in the package. On update, null clears the field.

Responses

Request samples

Content type
application/json

Example of an update that renames the package.

{
  • "name": "Disney 8 noites"
}

Response samples

Content type
application/json

Example response of a package.

{
  • "name": "Disney 7 noites",
  • "services_included": "Aéreo, hotel e ingressos para os parques"
}

Delete package Beta

Deletes the package by its current name, sent in the path URL-encoded. A package used in any sale product cannot be deleted: the response is 409, as in Monde.

Requires the "Delete" permission on packages in a company that is not read-only.

Authorizations:
bearerAuthentication
path Parameters
name
required
string <= 50 characters
Example: Disney 7 noites

Current package name, URL-encoded

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json
{
  • "errors": [
    ]
}

Cost Centers

Query and maintain the cost centers registered in the system to use in financial transactions.

List cost centers Beta

Returns the list of cost centers registered in the system.

Authorizations:
bearerAuthentication
query Parameters
cursor
string
Example: cursor=eyJfcmFpbHMiOnsiZGF0YSI6WyIyMDI2LTAzLTEwIiwiNmIwZjdjMWUtMmQ0YS00ZjhiLTljMzEtNThhMGQ3ZTEzZjQyIl0sInB1ciI6ImFwaS92My9wcm9kdWN0cyNpbmRleCJ9fQ--3aa1d942d6240ca905038c019d661bc90af6836fc4a818cee3663829c75970e4

Cursor of the next page, exactly as it came in next_cursor. Without it, the query starts at the first page.

size
integer [ 1 .. 50 ]
Default: 20
Example: size=10

Number of records per page

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json
Example

Example response containing all registered cost centers.

{
  • "data": [
    ],
  • "pagination": {
    }
}

Create cost center Beta

Registers a cost center. Requires the Idempotency-Key header. The registry is one for the whole system, with no company: the permission in one active company that is not read only is enough. A field the endpoint does not document is ignored.

Authorizations:
bearerAuthentication
header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Idempotency-Key
required
string <uuid> ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][...
Example: 550e8400-e29b-41d4-a716-446655440000

Client-generated idempotency key (UUID v4). See the Idempotency section for more details.

Request Body schema: application/json
required
description
required
string <= 50 characters

Cost center description, up to 50 characters. Required on creation.

Responses

Request samples

Content type
application/json

Marketing cost center.

{
  • "description": "Marketing"
}

Response samples

Content type
application/json

Example response for a specific cost center.

{
  • "id": "f9d961b8-ea88-4346-8e52-afe94267417a",
  • "description": "Administrativo"
}

Get cost center by ID Beta

Returns a specific cost center by its identifier.

Authorizations:
bearerAuthentication
path Parameters
id
required
string <uuid>
Example: f9d961b8-ea88-4346-8e52-afe94267417a

Unique cost center identifier

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json

Example response for a specific cost center.

{
  • "id": "f9d961b8-ea88-4346-8e52-afe94267417a",
  • "description": "Administrativo"
}

Update cost center Beta

Changes the description of the cost center. An omitted field stays as it is; description cannot be removed, and sent as null it is refused (422). Empty text is saved as sent; on a required field, and on a field that is not text, it is refused (422). A credential without the read permission receives only the id. Requires the Idempotency-Key header. The registry is one for the whole system, with no company: the permission in one active company that is not read only is enough. A field the endpoint does not document is ignored.

Authorizations:
bearerAuthentication
path Parameters
id
required
string <uuid>
Example: f9d961b8-ea88-4346-8e52-afe94267417a

Unique cost center identifier

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Idempotency-Key
required
string <uuid> ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][...
Example: 550e8400-e29b-41d4-a716-446655440000

Client-generated idempotency key (UUID v4). See the Idempotency section for more details.

Request Body schema: application/json
required
description
string <= 50 characters

Cost center description, up to 50 characters. Required on creation.

Responses

Request samples

Content type
application/json

Changes the description.

{
  • "description": "Marketing digital"
}

Response samples

Content type
application/json
Example

Example response for a specific cost center.

{
  • "id": "f9d961b8-ea88-4346-8e52-afe94267417a",
  • "description": "Administrativo"
}

Delete cost center Beta

Deletes the cost center. A cost center used in the apportionment of any financial entry responds 409. Does not require Idempotency-Key.

Authorizations:
bearerAuthentication
path Parameters
id
required
string <uuid>
Example: f9d961b8-ea88-4346-8e52-afe94267417a

Unique cost center identifier

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json
{
  • "errors": [
    ]
}

Currencies

Query and maintain the currencies registered in the system and their exchange rates, to use in sale products and financial transactions.

List currencies Beta

Returns the list of currencies registered in the system.

Authorizations:
bearerAuthentication
query Parameters
cursor
string
Example: cursor=eyJfcmFpbHMiOnsiZGF0YSI6WyIyMDI2LTAzLTEwIiwiNmIwZjdjMWUtMmQ0YS00ZjhiLTljMzEtNThhMGQ3ZTEzZjQyIl0sInB1ciI6ImFwaS92My9wcm9kdWN0cyNpbmRleCJ9fQ--3aa1d942d6240ca905038c019d661bc90af6836fc4a818cee3663829c75970e4

Cursor of the next page, exactly as it came in next_cursor. Without it, the query starts at the first page.

size
integer [ 1 .. 50 ]
Default: 20
Example: size=10

Number of records per page

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json
Example

Example response containing all registered currencies.

{
  • "data": [
    ],
  • "pagination": {
    }
}

Get currency by code Beta

Returns a specific currency by its ISO 4217 code.

Authorizations:
bearerAuthentication
path Parameters
code
required
string
Example: BRL

Currency code in ISO 4217 format

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json

Example response for a specific currency.

{
  • "code": "BRL",
  • "description": "Real",
  • "symbol": "R$",
  • "active": true
}

Update currency Beta

Activates or deactivates the currency by its code. The currency list is internal and fixed: code, description and symbol do not change, and sending a value different from the current one in those fields is rejected with 422. An omitted field stays as it is.

Requires the "Edit currencies and record exchange rates" permission on currencies in a company that is not read-only. The response brings the currency to whoever can also read currencies; to the others, only the code.

Authorizations:
bearerAuthentication
path Parameters
code
required
string
Example: USD

Currency code in ISO 4217 format

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Idempotency-Key
required
string <uuid> ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][...
Example: 550e8400-e29b-41d4-a716-446655440000

Client-generated idempotency key (UUID v4). See the Idempotency section for more details.

Request Body schema: application/json
required
code
string = 3 characters

Currency code. It is fixed: a value different from the current one is rejected (422)

description
string <= 100 characters

Currency description. It is fixed: a value different from the current one is rejected (422)

symbol
string or null <= 5 characters

Currency symbol. It is fixed: a value different from the current one is rejected (422)

active
boolean

Whether the currency is active

Responses

Request samples

Content type
application/json

Example of an update that deactivates the currency.

{
  • "active": false
}

Response samples

Content type
application/json

Example response for a specific currency.

{
  • "code": "BRL",
  • "description": "Real",
  • "symbol": "R$",
  • "active": true
}

Delete currency Beta

No currency is deleted: the currency list is internal and fixed, and the response is always 409. To stop using a currency, deactivate it with Update currency.

Requires the "Delete" permission on currencies in a company that is not read-only.

Authorizations:
bearerAuthentication
path Parameters
code
required
string
Example: USD

Currency code in ISO 4217 format

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json
{
  • "errors": [
    ]
}

List currency exchange rates Beta

Returns the currency's exchange rate history, latest first. The exchange rate is how many reais one unit of the currency is worth; the current one is the latest. Requires the "View" permission on currencies.

Authorizations:
bearerAuthentication
path Parameters
code
required
string
Example: USD

Currency code in ISO 4217 format

query Parameters
cursor
string
Example: cursor=eyJfcmFpbHMiOnsiZGF0YSI6WyIyMDI2LTAzLTEwIiwiNmIwZjdjMWUtMmQ0YS00ZjhiLTljMzEtNThhMGQ3ZTEzZjQyIl0sInB1ciI6ImFwaS92My9wcm9kdWN0cyNpbmRleCJ9fQ--3aa1d942d6240ca905038c019d661bc90af6836fc4a818cee3663829c75970e4

Cursor of the next page, exactly as it came in next_cursor. Without it, the query starts at the first page.

size
integer [ 1 .. 50 ]
Default: 20
Example: size=10

Number of records per page

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json

Example response with the currency's exchange rate history.

{
  • "data": [
    ],
  • "pagination": {
    }
}

Record currency exchange rate Beta

Records the currency's new exchange rate, dated at the moment of recording, as Monde's Update Exchange Rates tool. The value is how many reais one unit of the currency is worth, greater than zero, and is recorded with 4 decimal places.

Only active currencies, except the real (BRL), take exchange rates. When the value equals the current exchange rate, nothing is recorded and the response brings the current one, with 200.

Recording exchange rates is exclusive to tour operators: for travel agencies the response is 403. Requires the "Edit currencies and record exchange rates" permission on currencies in a company that is not read-only.

Authorizations:
bearerAuthentication
path Parameters
code
required
string
Example: USD

Currency code in ISO 4217 format

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Idempotency-Key
required
string <uuid> ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][...
Example: 550e8400-e29b-41d4-a716-446655440000

Client-generated idempotency key (UUID v4). See the Idempotency section for more details.

Request Body schema: application/json
required
value
required
number ( 0 .. 99999999999.9999 ]

How many reais one unit of the currency is worth, greater than zero. It is recorded with 4 decimal places

Responses

Request samples

Content type
application/json

Example of recording the currency's new exchange rate.

{
  • "value": 5.4321
}

Response samples

Content type
application/json

Example response of an exchange rate.

{
  • "id": "8c1d6f0e-6a4b-4f1e-9d55-2f3c9b7a1e10",
  • "currency": {
    },
  • "value": 5.4321,
  • "quoted_at": "2026-10-14T09:30:00"
}

Get exchange rate by ID Beta

Returns an exchange rate of the currency by its ID.

Authorizations:
bearerAuthentication
path Parameters
code
required
string
Example: USD

Currency code in ISO 4217 format

id
required
string <uuid>
Example: 8c1d6f0e-6a4b-4f1e-9d55-2f3c9b7a1e10

Exchange rate ID

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json

Example response of an exchange rate.

{
  • "id": "8c1d6f0e-6a4b-4f1e-9d55-2f3c9b7a1e10",
  • "currency": {
    },
  • "value": 5.4321,
  • "quoted_at": "2026-10-14T09:30:00"
}

Update exchange rates Beta

Records at once the new exchange rate of several currencies, as Monde's Update Exchange Rates tool. Each item carries the currency code and the value, how many reais one unit of it is worth; only active currencies, except the real (BRL), take exchange rates, and the same currency cannot repeat in the list.

Recording is all or nothing: an invalid item rejects the whole request with 422, and the error carries its position in the list, counted from 0. A currency whose value equals the current exchange rate is left out, and the response brings only the recorded exchange rates: 201 when at least one was recorded, and 200 with an empty list when every value equals the current exchange rate.

Exclusive to tour operators: for travel agencies the response is 403. Requires the "Edit currencies and record exchange rates" permission on currencies in a company that is not read-only.

Authorizations:
bearerAuthentication
header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Idempotency-Key
required
string <uuid> ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][...
Example: 550e8400-e29b-41d4-a716-446655440000

Client-generated idempotency key (UUID v4). See the Idempotency section for more details.

Request Body schema: application/json
required
required
Array of objects non-empty

The new exchange rates, one per currency

Responses

Request samples

Content type
application/json

Example of updating the dollar and euro exchange rates.

{
  • "exchange_rates": [
    ]
}

Response samples

Content type
application/json

Example response in which only the dollar changed value and was recorded.

{
  • "exchange_rates": [
    ]
}

Categories

Query and maintain the financial categories registered in the system, grouped by kind (revenue or expense) and group.

List categories Beta

Returns the list of financial categories registered in the system.

Authorizations:
bearerAuthentication
query Parameters
cursor
string
Example: cursor=eyJfcmFpbHMiOnsiZGF0YSI6WyIyMDI2LTAzLTEwIiwiNmIwZjdjMWUtMmQ0YS00ZjhiLTljMzEtNThhMGQ3ZTEzZjQyIl0sInB1ciI6ImFwaS92My9wcm9kdWN0cyNpbmRleCJ9fQ--3aa1d942d6240ca905038c019d661bc90af6836fc4a818cee3663829c75970e4

Cursor of the next page, exactly as it came in next_cursor. Without it, the query starts at the first page.

size
integer [ 1 .. 50 ]
Default: 20
Example: size=10

Number of records per page

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json
Example

Example response containing expense and revenue categories.

{
  • "data": [
    ],
  • "pagination": {
    }
}

Create category Beta

Registers a financial category in a group. The kind (expense or revenue) is the one of the group given in group_id. Requires the Idempotency-Key header. The registry is one for the whole system, with no company: the permission in one active company that is not read only is enough. A field the endpoint does not document is ignored.

Authorizations:
bearerAuthentication
header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Idempotency-Key
required
string <uuid> ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][...
Example: 550e8400-e29b-41d4-a716-446655440000

Client-generated idempotency key (UUID v4). See the Idempotency section for more details.

Request Body schema: application/json
required
description
required
string <= 50 characters

Category description, up to 50 characters. Required on creation.

group_id
required
string <uuid>

ID of the category group (see GET /category_groups). Required on creation. On update, only a group of the same kind.

pass_through
boolean

Whether the category is a pass through: amounts that only go through the agency and stay out of the result. On creation, the default is false.

Responses

Request samples

Content type
application/json

Expense category in the Administrative Expenses group.

{
  • "description": "Aluguel",
  • "group_id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91",
  • "pass_through": false
}

Response samples

Content type
application/json

Example response for a revenue category, with its group.

{
  • "id": "d4c8f9fc-22aa-4568-a281-a34d4bf67da3",
  • "description": "Venda de Pacotes",
  • "kind": "revenue",
  • "pass_through": false,
  • "group": {
    }
}

Get category by ID Beta

Returns a specific financial category by its identifier.

Authorizations:
bearerAuthentication
path Parameters
id
required
string <uuid>
Example: f9d961b8-ea88-4346-8e52-afe94267417a

Unique identifier of the category

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json

Example response for a revenue category, with its group.

{
  • "id": "d4c8f9fc-22aa-4568-a281-a34d4bf67da3",
  • "description": "Venda de Pacotes",
  • "kind": "revenue",
  • "pass_through": false,
  • "group": {
    }
}

Update category Beta

Changes the description, the pass through flag or the group of the category. The category only moves to another group of the same kind: changing the kind of a category is not allowed, as in Monde, and a group of another kind is refused with 422. An omitted field stays as it is; description, group_id and pass_through cannot be removed, and sent as null they are refused (422). Empty text is saved as sent; on a required field, and on a field that is not text, it is refused (422). A credential without the read permission receives only the id. Requires the Idempotency-Key header. The registry is one for the whole system, with no company: the permission in one active company that is not read only is enough. A field the endpoint does not document is ignored.

Authorizations:
bearerAuthentication
path Parameters
id
required
string <uuid>
Example: f9d961b8-ea88-4346-8e52-afe94267417a

Unique identifier of the category

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Idempotency-Key
required
string <uuid> ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][...
Example: 550e8400-e29b-41d4-a716-446655440000

Client-generated idempotency key (UUID v4). See the Idempotency section for more details.

Request Body schema: application/json
required
description
string <= 50 characters

Category description, up to 50 characters. Required on creation.

group_id
string <uuid>

ID of the category group (see GET /category_groups). Required on creation. On update, only a group of the same kind.

pass_through
boolean

Whether the category is a pass through: amounts that only go through the agency and stay out of the result. On creation, the default is false.

Responses

Request samples

Content type
application/json

Changes only the description; the other fields stay as they are.

{
  • "description": "Aluguel da loja"
}

Response samples

Content type
application/json
Example

Example response for a revenue category, with its group.

{
  • "id": "d4c8f9fc-22aa-4568-a281-a34d4bf67da3",
  • "description": "Venda de Pacotes",
  • "kind": "revenue",
  • "pass_through": false,
  • "group": {
    }
}

Delete category Beta

Deletes the category. A category used in any financial entry, or chosen as the default in a Monde setting, responds 409. As in Monde, a group left without categories is deleted along with it. Does not require Idempotency-Key.

Authorizations:
bearerAuthentication
path Parameters
id
required
string <uuid>
Example: f9d961b8-ea88-4346-8e52-afe94267417a

Unique identifier of the category

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json
{
  • "errors": [
    ]
}

Category Groups

Query and maintain the groups that organize the financial categories. Each group is an expense or a revenue group, and its categories inherit that kind. Uses the Categories permissions. Monde deletes on its own a group left without categories when a category is saved through it: register the group together with its first category. Through the API, deleting the last category of a group also deletes the group.

List category groups Beta

Returns the category groups, expense groups before revenue groups, by name.

Authorizations:
bearerAuthentication
query Parameters
cursor
string
Example: cursor=eyJfcmFpbHMiOnsiZGF0YSI6WyIyMDI2LTAzLTEwIiwiNmIwZjdjMWUtMmQ0YS00ZjhiLTljMzEtNThhMGQ3ZTEzZjQyIl0sInB1ciI6ImFwaS92My9wcm9kdWN0cyNpbmRleCJ9fQ--3aa1d942d6240ca905038c019d661bc90af6836fc4a818cee3663829c75970e4

Cursor of the next page, exactly as it came in next_cursor. Without it, the query starts at the first page.

size
integer [ 1 .. 50 ]
Default: 20
Example: size=10

Number of records per page

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json

Expense and revenue groups.

{
  • "data": [
    ],
  • "pagination": {
    }
}

Create category group Beta

Registers an expense or revenue category group. Requires the Idempotency-Key header. The registry is one for the whole system, with no company: the permission in one active company that is not read only is enough. A field the endpoint does not document is ignored.

Authorizations:
bearerAuthentication
header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Idempotency-Key
required
string <uuid> ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][...
Example: 550e8400-e29b-41d4-a716-446655440000

Client-generated idempotency key (UUID v4). See the Idempotency section for more details.

Request Body schema: application/json
required
name
required
string <= 50 characters

Group name, up to 50 characters. Required on creation.

kind
required
string
Enum: "expense" "revenue"

Group kind: expense or revenue. Required.

Responses

Request samples

Content type
application/json

Expense group.

{
  • "name": "Impostos",
  • "kind": "expense"
}

Response samples

Content type
application/json

Example of an expense category group.

{
  • "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91"
}

Get category group by ID Beta

Returns a category group by its identifier.

Authorizations:
bearerAuthentication
path Parameters
id
required
string <uuid>
Example: b2a6d7da-ff94-40e3-b069-812b2fd45b91

Unique group identifier

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json

Example of an expense category group.

{
  • "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91"
}

Update category group Beta

Changes the group name. The kind does not change after creation: the group's categories were already posted with that sign, and a different kind is refused with 422. An omitted field stays as it is; name and kind cannot be removed, and sent as null they are refused (422). Empty text is saved as sent; on a required field, and on a field that is not text, it is refused (422). A credential without the read permission receives only the id. Requires the Idempotency-Key header. The registry is one for the whole system, with no company: the permission in one active company that is not read only is enough. A field the endpoint does not document is ignored.

Authorizations:
bearerAuthentication
path Parameters
id
required
string <uuid>
Example: b2a6d7da-ff94-40e3-b069-812b2fd45b91

Unique group identifier

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Idempotency-Key
required
string <uuid> ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][...
Example: 550e8400-e29b-41d4-a716-446655440000

Client-generated idempotency key (UUID v4). See the Idempotency section for more details.

Request Body schema: application/json
required
name
string <= 50 characters

Group name, up to 50 characters. Required on creation.

kind
string
Enum: "expense" "revenue"

Accepted only with the current kind of the group: another kind is refused with 422.

Responses

Request samples

Content type
application/json

Changes only the name.

{
  • "name": "Tributos"
}

Response samples

Content type
application/json
Example

Example of an expense category group.

{
  • "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91"
}

Delete category group Beta

Deletes the group. As in Monde, deleting a group with categories also deletes its categories, so it asks for the confirmation in delete_categories: without it, it responds 409. If any category is used in a financial entry or in a Monde setting, nothing is deleted and the response is 409. An empty group is deleted without the confirmation. Does not require Idempotency-Key.

Authorizations:
bearerAuthentication
path Parameters
id
required
string <uuid>
Example: b2a6d7da-ff94-40e3-b069-812b2fd45b91

Unique group identifier

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Request Body schema: application/json
optional
delete_categories
boolean

Confirms that deleting the group also deletes its categories. Without it, a group with categories responds 409. Accepts only true or false: another value responds 422.

Responses

Request samples

Content type
application/json
{
  • "delete_categories": true,
  • "name": "Despesas Administrativas",
  • "kind": "expense"
}

Response samples

Content type
application/json
{
  • "errors": [
    ]
}

Cities

Query the cities the agency can use, with state, country, and official codes (IBGE and SIAFI). They are the ones registered in the agency and the ones in Monde's city list, which has the IBGE municipalities and the cities abroad. A city of the list enters the agency's registry, with the same id, when a person or invoice starts using it.

List cities Beta

Returns the cities the agency can use, the ones registered in it and the ones in Monde's city list. No permission is required: every credential can read them.

Authorizations:
bearerAuthentication
query Parameters
name
string
Example: name=sao paulo

Filters by name, case- and accent-insensitive: matches a part anywhere in the name, the city's other names in Monde's city list (e.g. New York and Nova York find Nova Iorque) and, like Monde's City field, the start of the words, the state and the country (e.g. Paraná also brings the cities of Paraná). With the filter, the city whose name is the one sent comes first, then the one that has it among its other names, the one whose name starts with it, the one that contains it and, last, the ones found by the state, the country or part of another name; within each group, the largest first.

cursor
string
Example: cursor=eyJfcmFpbHMiOnsiZGF0YSI6WyIyMDI2LTAzLTEwIiwiNmIwZjdjMWUtMmQ0YS00ZjhiLTljMzEtNThhMGQ3ZTEzZjQyIl0sInB1ciI6ImFwaS92My9wcm9kdWN0cyNpbmRleCJ9fQ--3aa1d942d6240ca905038c019d661bc90af6836fc4a818cee3663829c75970e4

Cursor of the next page, exactly as it came in next_cursor. Without it, the query starts at the first page.

size
integer [ 1 .. 50 ]
Default: 20
Example: size=10

Number of records per page

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json
Example

Example response containing Brazilian and foreign cities.

{
  • "data": [
    ],
  • "pagination": {
    }
}

Get city by ID Beta

Returns a specific city by its identifier. No permission is required: every credential can read it.

Authorizations:
bearerAuthentication
path Parameters
id
required
string <uuid>
Example: f9d961b8-ea88-4346-8e52-afe94267417a

Unique city identifier

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json

Example response for a Brazilian city, with its state and country.

{
  • "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91",
  • "name": "São Paulo",
  • "ibge": "3550308",
  • "siafi": "7107",
  • "state": {
    },
  • "country": {
    }
}

Person roles

Query, register, update, and delete the person roles of the commissions module, as in the Monde Roles screen: the role name, the companies or sellers over whose sales it is commissioned, and the people linked to it, with the commission plan, start date and goals of each one. The Seller and Intermediary roles belong to the system: they are not renamed, are not commissioned over companies or sellers, and are not deleted, but they take people. Goals are written here, as in the "Plan and Goals" of the person in Monde: the goals list of each person in people, with the "Edit" permission on roles; the Goals resource only reads them. The resource exists only in agencies: in an operator installation, every call responds 403. Reading requires the "View" permission on roles; writing, the "Edit" permission on roles in a company that is not read only; deleting, the "Delete" permission on roles.

List person roles Beta

Returns the list of registered roles, by name, with the own fields of the role.

Authorizations:
bearerAuthentication
query Parameters
cursor
string
Example: cursor=eyJfcmFpbHMiOnsiZGF0YSI6WyIyMDI2LTAzLTEwIiwiNmIwZjdjMWUtMmQ0YS00ZjhiLTljMzEtNThhMGQ3ZTEzZjQyIl0sInB1ciI6ImFwaS92My9wcm9kdWN0cyNpbmRleCJ9fQ--3aa1d942d6240ca905038c019d661bc90af6836fc4a818cee3663829c75970e4

Cursor of the next page, exactly as it came in next_cursor. Without it, the query starts at the first page.

size
integer [ 1 .. 50 ]
Default: 20
Example: size=10

Number of records per page

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json

Example response with an agency role and the two system roles.

{
  • "data": [
    ],
  • "pagination": {
    }
}

Register person role Beta

Registers a role. A role registered here is not a seller or intermediary role, so it needs at least one company or active seller in commissioned_over. Each person appears once in the role, and a commissioned person needs the start date. Each person can already come with their goals, in goals. Requires the "Edit" permission on roles.

Authorizations:
bearerAuthentication
header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Idempotency-Key
required
string <uuid> ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][...
Example: 550e8400-e29b-41d4-a716-446655440000

Client-generated idempotency key (UUID v4). See the Idempotency section for more details.

Request Body schema: application/json
required
description
required
string <= 30 characters

Role name, up to 30 characters.

Array of objects (entity_reference)

Companies and active sellers over whose sales the role is commissioned, by the id from List companies or List sellers, which is the id of the person. Required on registration, with at least one item. On update, the list sent replaces the list of the role.

Array of objects (person_role_person_write)

People linked to the role. On update, the list sent is final.

Responses

Request samples

Content type
application/json

Example registration of a role commissioned over a company, already with a linked person.

{
  • "description": "Gerente",
  • "commissioned_over": [
    ],
  • "people": [
    ]
}

Response samples

Content type
application/json

Example response for a role commissioned over a company, with one linked person.

{
  • "id": "7c1e4b2a-9d3f-4a6b-8e5c-2f1d0a9b8c7e",
  • "description": "Gerente",
  • "seller": false,
  • "intermediary": false,
  • "system": false,
  • "commissioned_over": [
    ],
  • "people": [
    ]
}

Get person role by ID Beta

Returns a specific role by its identifier, with the companies or sellers over whose sales it is commissioned and the linked people, each one with their goals in the role, per year.

Authorizations:
bearerAuthentication
path Parameters
id
required
string <uuid>
Example: 7c1e4b2a-9d3f-4a6b-8e5c-2f1d0a9b8c7e

Unique role identifier

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json

Example response for a role commissioned over a company, with one linked person.

{
  • "id": "7c1e4b2a-9d3f-4a6b-8e5c-2f1d0a9b8c7e",
  • "description": "Gerente",
  • "seller": false,
  • "intermediary": false,
  • "system": false,
  • "commissioned_over": [
    ],
  • "people": [
    ]
}

Update person role Beta

Updates a registered role. Send only what should change: an omitted field stays as it is, and a field sent as null is removed. Empty text is saved as sent; on a required field, and on a field that is not text, it is refused (422). What the role cannot be without is refused (422): description, and in each people item the person and not_commissioned. The commission_plan and start_date of an item sent as null are removed. A list sent as null counts as the empty list. The lists sent are final: in commissioned_over, a company or seller left out leaves the role; in people, an item with id keeps and updates that link (only the fields sent in it), an item without id links a new person, and a link left out is undone, along with the goals of the person in the role. In the goals of an item, the list sent is also final: a goal with id stays and changes only the fields sent in it, a goal without id comes in, and a goal left out is deleted; an omitted goals keeps the goals, and a null goals deletes them all. Swapping the years of two goals in the same update is refused (422): make the swap in two updates, going through a free year first. In a system role (Seller, Intermediary) only people changes. Requires the "Edit" permission on roles. The response brings the updated role in the same format as the get by ID when the credential can also read roles; otherwise, the update is saved and the response brings only the id.

Authorizations:
bearerAuthentication
path Parameters
id
required
string <uuid>
Example: 7c1e4b2a-9d3f-4a6b-8e5c-2f1d0a9b8c7e

Unique role identifier

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Idempotency-Key
required
string <uuid> ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][...
Example: 550e8400-e29b-41d4-a716-446655440000

Client-generated idempotency key (UUID v4). See the Idempotency section for more details.

Request Body schema: application/json
required
description
string <= 30 characters

Role name, up to 30 characters.

Array of objects (entity_reference)

Companies and active sellers over whose sales the role is commissioned, by the id from List companies or List sellers, which is the id of the person. Required on registration, with at least one item. On update, the list sent replaces the list of the role.

Array of objects (person_role_person_write)

People linked to the role. On update, the list sent is final.

Responses

Request samples

Content type
application/json
Example

Example update in which a link loses its plan and becomes not commissioned, a new person comes in, and the links not in the list are undone.

{
  • "people": [
    ]
}

Response samples

Content type
application/json
Example

Example response for a role commissioned over a company, with one linked person.

{
  • "id": "7c1e4b2a-9d3f-4a6b-8e5c-2f1d0a9b8c7e",
  • "description": "Gerente",
  • "seller": false,
  • "intermediary": false,
  • "system": false,
  • "commissioned_over": [
    ],
  • "people": [
    ]
}

Delete person role Beta

Deletes the role for good, with its person links and their goals. A system role and a role that already has a commission calculated in a sale are not deleted: the response is 409. Requires the "Delete" permission on roles.

Authorizations:
bearerAuthentication
path Parameters
id
required
string <uuid>
Example: 7c1e4b2a-9d3f-4a6b-8e5c-2f1d0a9b8c7e

Unique role identifier

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json
{
  • "errors": [
    ]
}

Sellers

Query, register, change and delete the sellers used in sales. A seller is an individual person already registered, and its identifier is the person identifier. There is a single seller registry for the whole system, with no company: the permissions apply in any active company where they are granted, and writing requires a company that is not read only.

List sellers Beta

Returns the list of sellers registered in the system (active and inactive).

Authorizations:
bearerAuthentication
query Parameters
cursor
string
Example: cursor=eyJfcmFpbHMiOnsiZGF0YSI6WyIyMDI2LTAzLTEwIiwiNmIwZjdjMWUtMmQ0YS00ZjhiLTljMzEtNThhMGQ3ZTEzZjQyIl0sInB1ciI6ImFwaS92My9wcm9kdWN0cyNpbmRleCJ9fQ--3aa1d942d6240ca905038c019d661bc90af6836fc4a818cee3663829c75970e4

Cursor of the next page, exactly as it came in next_cursor. Without it, the query starts at the first page.

size
integer [ 1 .. 50 ]
Default: 20
Example: size=10

Number of records per page

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json
Example

Example response containing active and inactive sellers.

{
  • "data": [
    ],
  • "pagination": {
    }
}

Register seller Beta

Turns an individual person already registered, given in person_id (the id of the People read), into a seller. The seller gets the same identifier as the person. As in Monde, only an individual becomes a seller, and each person only once. The seller is born active, unless active is sent as false. To register the person and the seller in a single call, along with the sale, use the seller of Create a sale. Requires the "Edit" permission on sellers.

Authorizations:
bearerAuthentication
header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Idempotency-Key
required
string <uuid> ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][...
Example: 550e8400-e29b-41d4-a716-446655440000

Client-generated idempotency key (UUID v4). See the Idempotency section for more details.

Request Body schema: application/json
required
external_id
required
string <= 50 characters

Unique identifier used to identify the record on Monde. You must provide this information and use it in future references to the same record. Any unique string is allowed, such as an identity document or UUID.

Example: "09fbbf97-4ccb-4e5d-8fe4-2eacc38138b3".

name
required
string <= 100 characters

Name.

Example: "Maria da Silva".

cpf
string = 11 characters

Brazilian Individual Taxpayer Registry (CPF), without dots, dashes, or spaces.

Example: "38107867807".

person_id
required
string <uuid>

Identifier of the individual person that becomes a seller

active
boolean
Default: true

Indicates whether the seller is born active. When omitted, the seller is born active

Responses

Request samples

Content type
application/json

Turns the given individual person into a seller, already active.

{
  • "person_id": "f9d961b8-ea88-4346-8e52-afe94267417a"
}

Response samples

Content type
application/json

Example response for a specific seller.

{
  • "id": "f9d961b8-ea88-4346-8e52-afe94267417a",
  • "active": true,
  • "created_at": "2024-03-15T10:30:00",
  • "person": {
    },
  • "created_by": {
    }
}

Get seller by ID Beta

Returns a specific seller by its identifier.

Authorizations:
bearerAuthentication
path Parameters
id
required
string <uuid>
Example: f9d961b8-ea88-4346-8e52-afe94267417a

Unique seller identifier

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json

Example response for a specific seller.

{
  • "id": "f9d961b8-ea88-4346-8e52-afe94267417a",
  • "active": true,
  • "created_at": "2024-03-15T10:30:00",
  • "person": {
    },
  • "created_by": {
    }
}

Update seller Beta

Activates or deactivates a seller. An inactive seller stays in the sales where it already is, but is no longer offered in new sales in Monde. The person of the seller does not change: sending another person in person_id is rejected with 422. A field omitted stays as it is; person_id and active cannot be removed, and sending them as null is rejected (422). Empty text is saved as sent; on a required field, and on a field that is not text, it is refused (422). Requires the "Edit" permission on sellers. The response brings the changed seller when the credential also has the "View" permission on sellers; without it, the change is saved all the same and the response brings only the seller id.

Authorizations:
bearerAuthentication
path Parameters
id
required
string <uuid>
Example: f9d961b8-ea88-4346-8e52-afe94267417a

Unique seller identifier

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Idempotency-Key
required
string <uuid> ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][...
Example: 550e8400-e29b-41d4-a716-446655440000

Client-generated idempotency key (UUID v4). See the Idempotency section for more details.

Request Body schema: application/json
required
person_id
string <uuid>

Identifier of the person of the seller. Optional; if sent, it must be the seller's own person, which does not change

active
boolean

Indicates whether the seller stays active. An inactive seller is no longer offered in new sales

Responses

Request samples

Content type
application/json

Deactivates the seller, which is no longer offered in new sales.

{
  • "active": false
}

Response samples

Content type
application/json
Example

Example response for a specific seller.

{
  • "id": "f9d961b8-ea88-4346-8e52-afe94267417a",
  • "active": true,
  • "created_at": "2024-03-15T10:30:00",
  • "person": {
    },
  • "created_by": {
    }
}

Delete seller Beta

Deletes the seller. The person stays registered; it just stops being a seller. A seller that is already in a sale cannot be deleted and answers 409: deactivate it with active: false. Requires the "Delete" permission on sellers.

Authorizations:
bearerAuthentication
path Parameters
id
required
string <uuid>
Example: f9d961b8-ea88-4346-8e52-afe94267417a

Unique seller identifier

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json
{
  • "errors": [
    ]
}

Payment Methods

Query and maintain the payment methods registered in the system to use in financial transactions.

List payment methods Beta

Returns the list of payment methods registered in the system. Internal system payment methods are not returned.

Authorizations:
bearerAuthentication
query Parameters
cursor
string
Example: cursor=eyJfcmFpbHMiOnsiZGF0YSI6WyIyMDI2LTAzLTEwIiwiNmIwZjdjMWUtMmQ0YS00ZjhiLTljMzEtNThhMGQ3ZTEzZjQyIl0sInB1ciI6ImFwaS92My9wcm9kdWN0cyNpbmRleCJ9fQ--3aa1d942d6240ca905038c019d661bc90af6836fc4a818cee3663829c75970e4

Cursor of the next page, exactly as it came in next_cursor. Without it, the query starts at the first page.

size
integer [ 1 .. 50 ]
Default: 20
Example: size=10

Number of records per page

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json
Example

Example response containing system and user-registered payment methods.

{
  • "data": [
    ],
  • "pagination": {
    }
}

Create payment method Beta

Registers an agency payment method. It is created outside the system (system equal to false) and shows in the list. Requires the Idempotency-Key header. The registry is one for the whole system, with no company: the permission in one active company that is not read only is enough. A field the endpoint does not document is ignored.

Authorizations:
bearerAuthentication
header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Idempotency-Key
required
string <uuid> ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][...
Example: 550e8400-e29b-41d4-a716-446655440000

Client-generated idempotency key (UUID v4). See the Idempotency section for more details.

Request Body schema: application/json
required
name
required
string <= 30 characters

Payment method name, up to 30 characters. Required on creation.

Responses

Request samples

Content type
application/json

Agency payment method.

{
  • "name": "Vale-viagem"
}

Response samples

Content type
application/json

Example response for a specific payment method.

{
  • "id": "fc9f5c65-59d6-42bb-8dd1-a5c0e3e51ea9",
  • "name": "Dinheiro",
  • "system": true
}

Get payment method by ID Beta

Returns a specific payment method by its identifier.

Authorizations:
bearerAuthentication
path Parameters
id
required
string <uuid>
Example: f9d961b8-ea88-4346-8e52-afe94267417a

Unique identifier of the payment method

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json

Example response for a specific payment method.

{
  • "id": "fc9f5c65-59d6-42bb-8dd1-a5c0e3e51ea9",
  • "name": "Dinheiro",
  • "system": true
}

Update payment method Beta

Changes the name of the payment method. A system payment method (system equal to true) cannot be changed and responds 409, as in Monde; an internal one, which does not show in the list, responds 404. An omitted field stays as it is; name cannot be removed, and sent as null it is refused (422). Empty text is saved as sent; on a required field, and on a field that is not text, it is refused (422). A credential without the read permission receives only the id. Requires the Idempotency-Key header. The registry is one for the whole system, with no company: the permission in one active company that is not read only is enough. A field the endpoint does not document is ignored.

Authorizations:
bearerAuthentication
path Parameters
id
required
string <uuid>
Example: fc9f5c65-59d6-42bb-8dd1-a5c0e3e51ea9

Unique identifier of the payment method

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Idempotency-Key
required
string <uuid> ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][...
Example: 550e8400-e29b-41d4-a716-446655440000

Client-generated idempotency key (UUID v4). See the Idempotency section for more details.

Request Body schema: application/json
required
name
string <= 30 characters

Payment method name, up to 30 characters. Required on creation.

Responses

Request samples

Content type
application/json

Changes the name.

{
  • "name": "Voucher"
}

Response samples

Content type
application/json
Example

Example response for a specific payment method.

{
  • "id": "fc9f5c65-59d6-42bb-8dd1-a5c0e3e51ea9",
  • "name": "Dinheiro",
  • "system": true
}

Delete payment method Beta

Deletes an agency payment method. A system payment method responds 409, as does one used in entries, account movements or rate rules; an internal one responds 404. Does not require Idempotency-Key.

Authorizations:
bearerAuthentication
path Parameters
id
required
string <uuid>
Example: fc9f5c65-59d6-42bb-8dd1-a5c0e3e51ea9

Unique identifier of the payment method

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json
{
  • "errors": [
    ]
}

Accounts and Cards

Query, create, update and delete accounts and cards: cash account, checking account and credit card, with bank and card data, the companies where each account is available, the user groups with access and the bank slip billing of the checking account.

List accounts and cards Beta

Returns the list of accounts and cards available in the companies where the credential has permission. Active and inactive accounts are returned.

Authorizations:
bearerAuthentication
query Parameters
cursor
string
Example: cursor=eyJfcmFpbHMiOnsiZGF0YSI6WyIyMDI2LTAzLTEwIiwiNmIwZjdjMWUtMmQ0YS00ZjhiLTljMzEtNThhMGQ3ZTEzZjQyIl0sInB1ciI6ImFwaS92My9wcm9kdWN0cyNpbmRleCJ9fQ--3aa1d942d6240ca905038c019d661bc90af6836fc4a818cee3663829c75970e4

Cursor of the next page, exactly as it came in next_cursor. Without it, the query starts at the first page.

size
integer [ 1 .. 50 ]
Default: 20
Example: size=10

Number of records per page

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json
Example

Example response containing a checking account and a credit card.

{
  • "data": [
    ],
  • "pagination": {
    }
}

Create account or card Beta

Registers a cash account (cashier_account), checking account (checking_account) or credit card (card_account), with the same rules as the Monde form. Each kind saves only its own fields: a field of another kind (such as agency or initial_balance on a card, or billing_accounts outside a checking account) is ignored, like a field that does not exist, and is not saved. The account becomes available in the companies of companies, and the credential needs the permission to create and edit accounts and cards in each of them. For a credit card, the invoice is generated in invoice_company, which must be one of the account companies; with a single company, it is that one. Billing (billing_accounts) only exists on checking accounts.

Authorizations:
bearerAuthentication
header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Idempotency-Key
required
string <uuid> ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][...
Example: 550e8400-e29b-41d4-a716-446655440000

Client-generated idempotency key (UUID v4). See the Idempotency section for more details.

Request Body schema: application/json
required
description
required
string <= 50 characters

Account description

currency
required
string

Currency code (ISO 4217), one of the registered currencies. It cannot change after the account has movements.

active
boolean

Whether the account is active. The default receipt account cannot be deactivated.

initial_balance
number <double>

Initial balance, with up to 2 decimal places. Does not exist on credit cards, where it is ignored. Changing it reopens the closed cash of the account and requires the Reopen Cash permission.

object (entity_reference)

Reference to a related record.

object

Bank of the checking account, by the id from List banks. It cannot change after the account has a billing setup.

agency
string

Branch of the checking account: 4 digits, numbers only.

agency_digit
string <= 1 characters

Bank branch digit

bank_operation
string

Account operation, only at Caixa Econômica Federal (bank 104), with 3 or 4 digits.

number
string <= 10 characters

Bank account number

digit
string <= 1 characters

Bank account digit

pix_key
string <= 100 characters

Account Pix key

object

Credit card operator (person), required on credit cards.

bill_expiration
integer [ 1 .. 31 ]

Card invoice due day (1 to 31), required on credit cards.

bill_closing
integer [ 1 .. 31 ]

Card invoice closing day (1 to 31), required on credit cards.

object

Company where the card invoice is generated, one of the companies. With a single company, it is that one.

required
Array of objects (entity_reference) non-empty

Companies where the account is available, by id (the same returned by the query). At least one; on update, it is the final list.

Array of objects (entity_reference)

User groups with access to the account. Without groups, the account has no restriction. A total access group cannot be linked. On update, it is the final list.

Array of objects (billing_account_write)

Bank slip billing setups, only on checking accounts; on other accounts, the list is ignored. On update, it is the final list: a billing setup that already issued bank slips cannot be left out.

kind
required
string
Enum: "cashier_account" "checking_account" "card_account"

Account kind: cashier_account (cash), checking_account or card_account (credit card). It does not change after creation.

Responses

Request samples

Content type
application/json
Example

Registers a checking account available in one company, released to a user group and with Monde Bancos billing.

{
  • "kind": "checking_account",
  • "description": "Banco do Brasil - Matriz",
  • "currency": "BRL",
  • "initial_balance": 1500,
  • "owner": {
    },
  • "bank": {
    },
  • "agency": "1412",
  • "agency_digit": "5",
  • "number": "04640",
  • "digit": "2",
  • "pix_key": "financeiro@agencia.com.br",
  • "companies": [
    ],
  • "user_groups": [
    ],
  • "billing_accounts": [
    ]
}

Response samples

Content type
application/json

Example response for a single account.

{
  • "id": "f9d961b8-ea88-4346-8e52-afe94267417a",
  • "description": "Banco do Brasil - Matriz",
  • "kind": "checking_account",
  • "active": true,
  • "currency": "BRL",
  • "initial_balance": 1500,
  • "bank_operation": null,
  • "agency": "1412",
  • "agency_digit": "5",
  • "number": "04640",
  • "digit": "2",
  • "pix_key": "financeiro@agencia.com.br",
  • "bill_expiration": null,
  • "bill_closing": null,
  • "bank": {
    },
  • "owner": {
    },
  • "card_operator": null,
  • "companies": [
    ],
  • "invoice_company": null,
  • "user_groups": [
    ],
  • "next_bank_slip_number": 1520,
  • "billing_accounts": [
    ]
}

Get account or card by ID Beta

Returns a specific account or card by its identifier, as long as it is available in a company where the credential has permission.

Authorizations:
bearerAuthentication
path Parameters
id
required
string <uuid>
Example: f9d961b8-ea88-4346-8e52-afe94267417a

Unique account identifier

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json

Example response for a single account.

{
  • "id": "f9d961b8-ea88-4346-8e52-afe94267417a",
  • "description": "Banco do Brasil - Matriz",
  • "kind": "checking_account",
  • "active": true,
  • "currency": "BRL",
  • "initial_balance": 1500,
  • "bank_operation": null,
  • "agency": "1412",
  • "agency_digit": "5",
  • "number": "04640",
  • "digit": "2",
  • "pix_key": "financeiro@agencia.com.br",
  • "bill_expiration": null,
  • "bill_closing": null,
  • "bank": {
    },
  • "owner": {
    },
  • "card_operator": null,
  • "companies": [
    ],
  • "invoice_company": null,
  • "user_groups": [
    ],
  • "next_bank_slip_number": 1520,
  • "billing_accounts": [
    ]
}

Update account or card Beta

Updates the account or card. An omitted field stays as it is, a field sent as null is removed, and the kind does not change. description, currency, active and initial_balance sent as null answer 422. Empty text is saved as sent; on a required field, and on a field that is not text, it is refused (422). A field of another account kind is ignored, as on creation: sending back what the get returned is not refused. Each list sent becomes the final list of the account: in companies and user_groups, an item left out is unlinked; in billing_accounts, a billing setup with id is updated (only in the fields sent), one without id is created and one left out is deleted. Linking or unlinking a company requires the permission to edit accounts in it. A company with open entries on the account, or the one that generates the card invoice, cannot be unlinked. Changing the initial balance reopens the closed cash of the account and, as in Monde, also requires the Reopen Cash permission of Accounts and Cards in one of the account companies; without it, the response is 403 and nothing is saved. Sending back the saved balance does not require the permission. Changing the card invoice company or due day moves the open invoices along, and changing the company requires the permission to edit accounts in both companies. The response brings the account only to credentials that can also read it; to the others, only the id.

Authorizations:
bearerAuthentication
path Parameters
id
required
string <uuid>
Example: f9d961b8-ea88-4346-8e52-afe94267417a

Unique account identifier

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Idempotency-Key
required
string <uuid> ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][...
Example: 550e8400-e29b-41d4-a716-446655440000

Client-generated idempotency key (UUID v4). See the Idempotency section for more details.

Request Body schema: application/json
required
description
string <= 50 characters

Account description

currency
string

Currency code (ISO 4217), one of the registered currencies. It cannot change after the account has movements.

active
boolean

Whether the account is active. The default receipt account cannot be deactivated.

initial_balance
number <double>

Initial balance, with up to 2 decimal places. Does not exist on credit cards, where it is ignored. Changing it reopens the closed cash of the account and requires the Reopen Cash permission.

object (entity_reference)

Reference to a related record.

object

Bank of the checking account, by the id from List banks. It cannot change after the account has a billing setup.

agency
string

Branch of the checking account: 4 digits, numbers only.

agency_digit
string <= 1 characters

Bank branch digit

bank_operation
string

Account operation, only at Caixa Econômica Federal (bank 104), with 3 or 4 digits.

number
string <= 10 characters

Bank account number

digit
string <= 1 characters

Bank account digit

pix_key
string <= 100 characters

Account Pix key

object

Credit card operator (person), required on credit cards.

bill_expiration
integer [ 1 .. 31 ]

Card invoice due day (1 to 31), required on credit cards.

bill_closing
integer [ 1 .. 31 ]

Card invoice closing day (1 to 31), required on credit cards.

object

Company where the card invoice is generated, one of the companies. With a single company, it is that one.

Array of objects (entity_reference) non-empty

Companies where the account is available, by id (the same returned by the query). At least one; on update, it is the final list.

Array of objects (entity_reference)

User groups with access to the account. Without groups, the account has no restriction. A total access group cannot be linked. On update, it is the final list.

Array of objects (billing_account_write)

Bank slip billing setups, only on checking accounts; on other accounts, the list is ignored. On update, it is the final list: a billing setup that already issued bank slips cannot be left out.

next_bank_slip_number
integer [ 1 .. 2147483647 ]

Number of the next bank slip, only when updating a checking account; on other accounts, it is ignored, and empty text is refused (422) on any account. The numbering only moves forward: a number lower than the current one, or not greater than the last issued bank slip, answers 422. Resending the current number changes nothing.

Responses

Request samples

Content type
application/json

Updates the description, the Pix key and the agreement code of an existing billing setup. The billing list sent is final: a billing setup left out would be deleted.

{
  • "description": "Banco do Brasil - Filial",
  • "pix_key": "filial@agencia.com.br",
  • "billing_accounts": [
    ]
}

Response samples

Content type
application/json
Example

Example response for a single account.

{
  • "id": "f9d961b8-ea88-4346-8e52-afe94267417a",
  • "description": "Banco do Brasil - Matriz",
  • "kind": "checking_account",
  • "active": true,
  • "currency": "BRL",
  • "initial_balance": 1500,
  • "bank_operation": null,
  • "agency": "1412",
  • "agency_digit": "5",
  • "number": "04640",
  • "digit": "2",
  • "pix_key": "financeiro@agencia.com.br",
  • "bill_expiration": null,
  • "bill_closing": null,
  • "bank": {
    },
  • "owner": {
    },
  • "card_operator": null,
  • "companies": [
    ],
  • "invoice_company": null,
  • "user_groups": [
    ],
  • "next_bank_slip_number": 1520,
  • "billing_accounts": [
    ]
}

Delete account or card Beta

Deletes the account or card from every company, so it requires the permission to delete accounts and cards in each company where the account is available. As in Monde, an account with movements, with a billing setup, released to a user group or set as the default receipt account cannot be deleted (409).

Authorizations:
bearerAuthentication
path Parameters
id
required
string <uuid>
Example: f9d961b8-ea88-4346-8e52-afe94267417a

Unique account identifier

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json
{
  • "errors": [
    ]
}

Banks

Query Monde's bank table, the same one used to set the bank of a checking account. Through the API the table is read-only: banks are registered in Monde.

List banks Beta

Returns the list of banks, ordered by bank name, as in the bank choice of the checking account form.

Authorizations:
bearerAuthentication
query Parameters
cursor
string
Example: cursor=eyJfcmFpbHMiOnsiZGF0YSI6WyIyMDI2LTAzLTEwIiwiNmIwZjdjMWUtMmQ0YS00ZjhiLTljMzEtNThhMGQ3ZTEzZjQyIl0sInB1ciI6ImFwaS92My9wcm9kdWN0cyNpbmRleCJ9fQ--3aa1d942d6240ca905038c019d661bc90af6836fc4a818cee3663829c75970e4

Cursor of the next page, exactly as it came in next_cursor. Without it, the query starts at the first page.

size
integer [ 1 .. 50 ]
Default: 20
Example: size=10

Number of records per page

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json

Example response containing banks from the reference table.

{
  • "data": [
    ],
  • "pagination": {
    }
}

Get bank by ID Beta

Returns a specific bank by its identifier.

Authorizations:
bearerAuthentication
path Parameters
id
required
string <uuid>
Example: c3b7e8eb-1199-4457-9170-923c3fe56c92

Unique identifier of the bank

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json

Example response for a specific bank.

{
  • "id": "c3b7e8eb-1199-4457-9170-923c3fe56c92",
  • "number": "001",
  • "name": "Banco do Brasil S.A."
}

Invoice (NF) Rules

Query the invoice (nota fiscal) issuing rules, with the sale fields that compose each issuance. The rules belong to no company: they apply to the whole agency, and exist only on an agency installation.

List invoice (NF) rules Beta

Returns the list of invoice (nota fiscal) rules registered in the system. Null product, supplier, and payer mean the rule applies to all.

Authorizations:
bearerAuthentication
query Parameters
cursor
string
Example: cursor=eyJfcmFpbHMiOnsiZGF0YSI6WyIyMDI2LTAzLTEwIiwiNmIwZjdjMWUtMmQ0YS00ZjhiLTljMzEtNThhMGQ3ZTEzZjQyIl0sInB1ciI6ImFwaS92My9wcm9kdWN0cyNpbmRleCJ9fQ--3aa1d942d6240ca905038c019d661bc90af6836fc4a818cee3663829c75970e4

Cursor of the next page, exactly as it came in next_cursor. Without it, the query starts at the first page.

size
integer [ 1 .. 50 ]
Default: 20
Example: size=10

Number of records per page

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json
Example

Example response containing a general rule and a rule restricted to a product and supplier.

{
  • "data": [
    ],
  • "pagination": {
    }
}

Get invoice (NF) rule by ID Beta

Returns a specific invoice (NF) rule by its identifier.

Authorizations:
bearerAuthentication
path Parameters
id
required
string <uuid>
Example: f9d961b8-ea88-4346-8e52-afe94267417a

Unique identifier of the invoice (NF) rule

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json

Example response for a specific invoice (NF) rule.

{
  • "id": "f9d961b8-ea88-4346-8e52-afe94267417a",
  • "description": "Regra padrão de pacotes",
  • "representative_scope": "any",
  • "created_at": "2024-03-15T10:30:00",
  • "product": null,
  • "supplier": null,
  • "representative": null,
  • "payer": {
    },
  • "created_by": {
    },
  • "payer_rule": {
    },
  • "supplier_rule": {
    },
  • "representative_rule": {
    }
}

Tasks

Query, create, update, and delete tasks, with assignee, linked person, category, and due date, and comment on their history. The task the credential created is always its own; the ones of other users require the See tasks of other users permission, as in Monde (see the FAQ).

List tasks Beta

Returns the list of tasks from the companies where the credential has permission (tasks without a company are visible in all of them), from the task without due date to the one due furthest away. The filters are those of the Monde Tasks screen and combine with each other: assignee, who created it, person, category, situation, overdue, period (by due, creation or completion date) and the link to a sale, travel or bill. Without status, deleted tasks are not returned. A filter with an invalid value answers 400.

Authorizations:
bearerAuthentication
query Parameters
cursor
string
Example: cursor=eyJfcmFpbHMiOnsiZGF0YSI6WyIyMDI2LTAzLTEwIiwiNmIwZjdjMWUtMmQ0YS00ZjhiLTljMzEtNThhMGQ3ZTEzZjQyIl0sInB1ciI6ImFwaS92My9wcm9kdWN0cyNpbmRleCJ9fQ--3aa1d942d6240ca905038c019d661bc90af6836fc4a818cee3663829c75970e4

Cursor of the next page, exactly as it came in next_cursor. Without it, the query starts at the first page.

size
integer [ 1 .. 50 ]
Default: 20
Example: size=10

Number of records per page

assignee_id
string <uuid>
Example: assignee_id=b2a6d7da-ff94-40e3-b069-812b2fd45b91

Returns only the tasks of this assignee, by the person identifier.

created_by_id
string <uuid>
Example: created_by_id=b2a6d7da-ff94-40e3-b069-812b2fd45b91

Returns only the tasks created by this person (the task created_by).

person_id
string <uuid>
Example: person_id=c3b7e8eb-1199-4457-9170-923c3fe56c92

Returns only the tasks linked to this person.

category_id
string
Example: category_id=11

Returns only the tasks of this category, by the identifier obtained from List task categories. uncategorized returns the tasks without a category.

status
Array of strings
Items Enum: "pending" "completed" "deleted"
Example: status=pending

Situations to return, comma-separated: pending (not completed), completed and deleted. The informed situations add up, and a deleted task only comes when deleted is among them. Without the parameter, returns the pending and the completed tasks.

overdue
boolean
Example: overdue=true

true returns only the overdue tasks: not completed and with the due date already past. false returns the ones that are not overdue. A task without due date is never overdue.

date_field
string
Enum: "due" "created_at" "completed_at"
Example: date_field=due

Date used by the period filter: due, created_at or completed_at. Required when date_from or date_to is informed.

date_from
string <date>
Example: date_from=2024-04-01

Start of the period (inclusive), in the YYYY-MM-DD format.

date_to
string <date>
Example: date_to=2024-04-30

End of the period (inclusive, the whole day), in the YYYY-MM-DD format.

sale_id
string <uuid>
Example: sale_id=8a1f2c3d-4b5e-4f60-8172-93a4b5c6d7e8

Returns only the tasks linked to this sale.

travel_id
string <uuid>
Example: travel_id=1b2c3d4e-5f60-4718-8293-a4b5c6d7e8f9

Returns only the tasks linked to this travel.

bill_id
string <uuid>
Example: bill_id=5e6f7a8b-9c0d-4e1f-a2b3-c4d5e6f7a8b9

Returns only the tasks linked to this bill (account payable or receivable).

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json
Example

Example response containing pending and completed tasks.

{
  • "data": [
    ],
  • "pagination": {
    }
}

Create task Beta

Creates a task with title and assignee; category and due date are optional, and a task without a due date is never overdue. The task's company is optional, but stating it is not: send company_identifier with the company's CNPJ, or as null for the task to apply to every company; empty is rejected. Omitting the field is rejected, because the company is not inferred. Accepts, in history, the comments the task is born with. The task can be born linked to a sale (sale_id), a travel (travel_id) and a bill (bill_id), each one optional and with no required relation to the task person (person_id). When sent together, they must match each other: the sale must belong to the travel sent, and the bill to the sale sent. Only records the credential can read are accepted; the others answer 422 as not found. The assignee is notified by email, and the task is created as pending.

Authorizations:
bearerAuthentication
header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Idempotency-Key
required
string <uuid> ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][...
Example: 550e8400-e29b-41d4-a716-446655440000

Client-generated idempotency key (UUID v4). See the Idempotency section for more details.

Request Body schema: application/json
required
company_identifier
required
string or null = 14 characters ^[0-9]{14}$

CNPJ of the company where the task will be created, digits only. Null creates the task without a company, applying to every company; the field is required and omitting it is rejected. A company where the credential has no permission at all is rejected as a CNPJ not found

title
required
string <= 100 characters

Task title

description
string

Task description

due
string <date-time>

Due date and time (null when the task has no due date, and then it is never overdue)

category_id
integer

Identifier of the task category, obtained from List task categories.

assignee_id
required
string <uuid>

Identifier of the person assigned to the task, obtained from List people. The person must be an active Monde user and, on the task of a company, have access to its tasks, as in Monde. The check applies to every change of the task, also when the assignee does not change.

person_id
string <uuid>

Identifier of the person linked to the task, obtained from List people.

sale_id
string <uuid>

Identifier of the sale to link, obtained from List sales. With travel_id, the sale must belong to that travel.

travel_id
string <uuid>

Identifier of the travel to link, obtained from List travels.

bill_id
string <uuid>

Identifier of the bill (account payable or receivable) to link, obtained from List accounts payable and receivable. With sale_id, the bill must belong to that sale.

Array of objects (task_historic_create)

Comments the task is born with

Array of objects (custom_field)

Custom fields to fill in the task, defined by the agency

Responses

Request samples

Content type
application/json
Example

Example creation of a task with a linked person, an initial comment, and a custom field.

{
  • "company_identifier": "46598887000162",
  • "title": "Enviar voucher para o cliente",
  • "description": "Confirmar os dados do embarque antes do envio.",
  • "due": "2024-04-01T09:00:00",
  • "category_id": 11,
  • "assignee_id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91",
  • "person_id": "c3b7e8eb-1199-4457-9170-923c3fe56c92",
  • "history": [
    ],
  • "custom_fields": [
    ]
}

Response samples

Content type
application/json

Example view of a task with its history and custom fields.

{
  • "id": "f9d961b8-ea88-4346-8e52-afe94267417a",
  • "number": 1042,
  • "title": "Enviar voucher para o cliente",
  • "description": "Confirmar os dados do embarque antes do envio.",
  • "due": "2024-04-01T09:00:00",
  • "completed_at": null,
  • "visualized": false,
  • "deleted": false,
  • "created_at": "2024-03-15T10:30:00",
  • "category": {
    },
  • "assignee": {
    },
  • "person": {
    },
  • "sale": {
    },
  • "travel": {
    },
  • "bill": null,
  • "company": {
    },
  • "created_by": {
    },
  • "history": [
    ],
  • "custom_fields": [
    ],
  • "attachments": []
}

Get task by ID Beta

Returns the data of a specific task, including its history, custom fields and attachments.

Authorizations:
bearerAuthentication
path Parameters
id
required
string <uuid>
Example: f9d961b8-ea88-4346-8e52-afe94267417a

Unique task identifier (UUID format).

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json

Example view of a task with its history and custom fields.

{
  • "id": "f9d961b8-ea88-4346-8e52-afe94267417a",
  • "number": 1042,
  • "title": "Enviar voucher para o cliente",
  • "description": "Confirmar os dados do embarque antes do envio.",
  • "due": "2024-04-01T09:00:00",
  • "completed_at": null,
  • "visualized": false,
  • "deleted": false,
  • "created_at": "2024-03-15T10:30:00",
  • "category": {
    },
  • "assignee": {
    },
  • "person": {
    },
  • "sale": {
    },
  • "travel": {
    },
  • "bill": null,
  • "company": {
    },
  • "created_by": {
    },
  • "history": [
    ],
  • "custom_fields": [
    ],
  • "attachments": []
}

Update task Beta

Updates an existing task. Send only the fields that should change: a field that is omitted stays as it is, and a field sent as null is removed from the task — the description, the due date, the category, the person and the links. title, assignee_id and completed cannot be removed: a task must have a title and an assignee, and sending them as null or empty is rejected (422). Empty text is saved as sent; on a required field, and on a field that is not text, it is refused (422). To complete the task send completed as true, and to reopen it, as false. company_identifier omitted keeps the task's company; with a CNPJ, it moves the task to that company and also requires the "Edit" permission on tasks there; sent as null, it leaves the task without a company, applying to every company. Custom fields are not replaced: each one sent overwrites its current value, the one sent with a null or empty value is cleared (a required one cannot be cleared: the response is 422), and the others stay. The links to a sale, travel and bill (sale_id, travel_id, bill_id) follow the creation rules: omitted, the link stays; sent as null, it is removed from the task. A task person already filled in is not replaced or removed while the task has a link: remove the links first, or in the same request. Filling in the person of a task that has none is allowed, even with a link. Comments are sent through Comment on the task. Requires the "Edit" permission on tasks. A deleted task cannot be updated: the response is 409. The task participants are notified of the change by email, as when the change is made in Monde. The response returns the updated task in the same format as the query by ID when the credential also has the "View" permission on tasks in the task's company; without it, the update is written all the same and the response returns only the id of the task. This also applies to a task the credential itself created.

Authorizations:
bearerAuthentication
path Parameters
id
required
string <uuid>
Example: f9d961b8-ea88-4346-8e52-afe94267417a

Unique task identifier (UUID format).

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Idempotency-Key
required
string <uuid> ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][...
Example: 550e8400-e29b-41d4-a716-446655440000

Client-generated idempotency key (UUID v4). See the Idempotency section for more details.

Request Body schema: application/json
required
company_identifier
string or null = 14 characters ^[0-9]{14}$

CNPJ of the company the task is moved to, digits only. Null removes the task from its company, leaving it valid for every company; omitted, it keeps the current company. A company where the credential has no permission at all is rejected as a CNPJ not found. A task of another user also requires "See tasks of other users" in the target company; without it, the answer is 403 with the Monde message

title
string <= 100 characters

Task title

description
string or null

Task description

due
string or null <date-time>

Due date and time. Null removes the due date, and the task is no longer overdue; omitted, keeps the current due date

category_id
integer or null

Identifier of the task category, obtained from List task categories. Null removes the category; omitted, keeps the current category.

assignee_id
string <uuid>

Identifier of the person assigned to the task, obtained from List people. The person must be an active Monde user and, on the task of a company, have access to its tasks, as in Monde. The check applies to every change of the task, also when the assignee does not change.

person_id
string or null <uuid>

Identifier of the person linked to the task, obtained from List people.

sale_id
string or null <uuid>

Identifier of the sale to link, with the creation rules. Null removes the link; omitted, it keeps the current one.

travel_id
string or null <uuid>

Identifier of the travel to link, with the creation rules. Null removes the link; omitted, it keeps the current one.

bill_id
string or null <uuid>

Identifier of the bill to link, with the creation rules. Null removes the link; omitted, it keeps the current one.

completed
boolean

true completes the task, with the date and time of the update; false reopens it. Completing a task that is already completed keeps the original completion date.

Array of objects (custom_field)

Task custom fields, defined by the agency. Not replaced: each field sent overwrites its current value and the ones not sent stay as they are, so an empty list changes nothing and a field cannot be cleared by this operation. Send each field by id and value.

Responses

Request samples

Content type
application/json
Example

Example update of the title, due date, assignee, and a custom field of an existing task.

{
  • "title": "Enviar voucher atualizado para o cliente",
  • "due": "2024-04-02T09:00:00",
  • "assignee_id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91",
  • "custom_fields": [
    ]
}

Response samples

Content type
application/json
Example

Example view of a task with its history and custom fields.

{
  • "id": "f9d961b8-ea88-4346-8e52-afe94267417a",
  • "number": 1042,
  • "title": "Enviar voucher para o cliente",
  • "description": "Confirmar os dados do embarque antes do envio.",
  • "due": "2024-04-01T09:00:00",
  • "completed_at": null,
  • "visualized": false,
  • "deleted": false,
  • "created_at": "2024-03-15T10:30:00",
  • "category": {
    },
  • "assignee": {
    },
  • "person": {
    },
  • "sale": {
    },
  • "travel": {
    },
  • "bill": null,
  • "company": {
    },
  • "created_by": {
    },
  • "history": [
    ],
  • "custom_fields": [
    ],
  • "attachments": []
}

Delete task Beta

Deletes the task. A deleted task no longer appears in List tasks, but it is still available in the query by ID, with deleted set to true, and it can no longer be updated or take comments. A completed task cannot be deleted: reopen it first by sending completed as false in Update task. Requires the delete tasks permission in the task's company. The task participants are notified of the deletion by email, as when the deletion is made in Monde. Does not require Idempotency-Key: repeating the request after the task is deleted responds 409.

Authorizations:
bearerAuthentication
path Parameters
id
required
string <uuid>
Example: f9d961b8-ea88-4346-8e52-afe94267417a

Unique task identifier (UUID format).

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json
{
  • "errors": [
    ]
}

Comment on the task Beta

Appends a comment to the task history and returns the task with the updated history — or only the id of the task, when the credential does not have the "View" permission on tasks in the task's company, even on a task it created. The task participants are notified of the comment by email, as when the comment is made in Monde. Requires the "Edit" permission on tasks. A deleted task does not take comments: the response is 409. The comment can carry files: send each one first through Upload attachment, with resource_type task and the task id, and send the returned ids in attachment_ids. Each attachment is linked to the comment and shows inside it in Monde. With attachments, the text is optional. The history is append-only: a recorded comment is neither changed nor deleted, and the change logs Monde generates are not sent through here.

Authorizations:
bearerAuthentication
path Parameters
task_id
required
string <uuid>
Example: f9d961b8-ea88-4346-8e52-afe94267417a

Unique task identifier (UUID format).

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Idempotency-Key
required
string <uuid> ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][...
Example: 550e8400-e29b-41d4-a716-446655440000

Client-generated idempotency key (UUID v4). See the Idempotency section for more details.

Request Body schema: application/json
required
text
string

Comment text

attachment_ids
Array of strings <uuid> [ items <uuid > ]

Identifiers of the attachments to link to the comment, returned by Upload attachment. Each one must be an attachment of this task, not deleted and not yet in a comment; the others answer 422 as not found.

Responses

Request samples

Content type
application/json
Example

Example comment appended to the history of an existing task.

{
  • "text": "Cliente confirmou os dados do embarque."
}

Response samples

Content type
application/json

Example view of a task with its history and custom fields.

{
  • "id": "f9d961b8-ea88-4346-8e52-afe94267417a",
  • "number": 1042,
  • "title": "Enviar voucher para o cliente",
  • "description": "Confirmar os dados do embarque antes do envio.",
  • "due": "2024-04-01T09:00:00",
  • "completed_at": null,
  • "visualized": false,
  • "deleted": false,
  • "created_at": "2024-03-15T10:30:00",
  • "category": {
    },
  • "assignee": {
    },
  • "person": {
    },
  • "sale": {
    },
  • "travel": {
    },
  • "bill": null,
  • "company": {
    },
  • "created_by": {
    },
  • "history": [
    ],
  • "custom_fields": [
    ],
  • "attachments": []
}

Task Categories

Query, create, update and delete task categories. Each category can be a column of the task board (kanban), and the order of the columns is also written here. Categories belong to no company: they apply to the whole agency.

List task categories Beta

Returns the list of task categories registered in the system, with the task board flag and the position of each column.

Authorizations:
bearerAuthentication
query Parameters
cursor
string
Example: cursor=eyJfcmFpbHMiOnsiZGF0YSI6WyIyMDI2LTAzLTEwIiwiNmIwZjdjMWUtMmQ0YS00ZjhiLTljMzEtNThhMGQ3ZTEzZjQyIl0sInB1ciI6ImFwaS92My9wcm9kdWN0cyNpbmRleCJ9fQ--3aa1d942d6240ca905038c019d661bc90af6836fc4a818cee3663829c75970e4

Cursor of the next page, exactly as it came in next_cursor. Without it, the query starts at the first page.

size
integer [ 1 .. 50 ]
Default: 20
Example: size=10

Number of records per page

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json

Example response containing task categories, two of them on the board.

{
  • "data": [
    ],
  • "pagination": {
    }
}

Create task category Beta

Creates a task category. As on Monde's Categories screen, the new category joins the task board as the last column; send kanban as false to keep it off the board, or kanban_position to put it in another position, shifting the other columns. The name is unique, case-insensitive, and surrounding spaces are discarded. Requires the "Edit" permission on task categories.

Authorizations:
bearerAuthentication
header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Idempotency-Key
required
string <uuid> ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][...
Example: 550e8400-e29b-41d4-a716-446655440000

Client-generated idempotency key (UUID v4). See the Idempotency section for more details.

Request Body schema: application/json
required
name
required
string <= 30 characters

Task category name, up to 30 characters. It is unique, case-insensitive, and surrounding spaces are discarded.

kanban
boolean
Default: true

Whether the category is a column of the task board (kanban). When omitted, the category joins the board.

kanban_position
integer >= 1

Position of the column on the task board, starting at 1, from left to right; the other columns shift. It goes from 1 to the number of board columns already counting this category, and is only accepted for a category that stays on the board. When omitted, a new category joins as the last column and an updated one keeps its position.

Responses

Request samples

Content type
application/json

Creates the category and puts it in the second column of the task board.

{
  • "name": "Emissão",
  • "kanban_position": 2
}

Response samples

Content type
application/json

Example response with a specific task category.

{
  • "id": 42,
  • "name": "Emissão",
  • "kanban": true,
  • "kanban_position": 2
}

Get task category by ID Beta

Returns the data of a specific task category.

Authorizations:
bearerAuthentication
path Parameters
id
required
integer
Example: 42

Unique task category identifier.

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json

Example response with a specific task category.

{
  • "id": 42,
  • "name": "Emissão",
  • "kanban": true,
  • "kanban_position": 2
}

Update task category Beta

Updates a task category. Send only the fields that must change: an omitted field stays as it is. The name and kanban cannot be removed: sent as null they are refused (422), as are an empty name and kanban or kanban_position sent as an empty text. kanban_position is null only off the board: sent as null for a category that stays on the board, it is refused (422). Renaming the category takes its tasks along. With kanban_position, the column moves to that position of the board and the others shift; with kanban as false, the category leaves the board, and its tasks stay in the category. Requires the "Edit" permission on task categories. The response brings the updated category in the same format as the query by ID when the credential also has the "View" permission on task categories; without it, the change is saved anyway and the response brings only the id.

Authorizations:
bearerAuthentication
path Parameters
id
required
integer
Example: 42

Unique task category identifier.

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Idempotency-Key
required
string <uuid> ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][...
Example: 550e8400-e29b-41d4-a716-446655440000

Client-generated idempotency key (UUID v4). See the Idempotency section for more details.

Request Body schema: application/json
required
name
string <= 30 characters

Task category name, up to 30 characters. It is unique, case-insensitive, and surrounding spaces are discarded.

kanban
boolean

Whether the category is a column of the task board (kanban). When it returns to the board without kanban_position, the column gets back the position it had.

kanban_position
integer or null >= 1

Position of the column on the task board, starting at 1, from left to right; the other columns shift. It goes from 1 to the number of board columns already counting this category, and is only accepted for a category that stays on the board. When omitted, a new category joins as the last column and an updated one keeps its position.

Responses

Request samples

Content type
application/json
Example

Changes only the category name; its tasks follow.

{
  • "name": "Emissão de bilhetes"
}

Response samples

Content type
application/json
Example

Example response with a specific task category.

{
  • "id": 42,
  • "name": "Emissão",
  • "kanban": true,
  • "kanban_position": 2
}

Delete task category Beta

Deletes the task category for good, and its column leaves the board. As in Monde, only a category without tasks can be deleted, counting completed and deleted tasks too: move the tasks to another category first. Requires the "Delete" permission on task categories.

Authorizations:
bearerAuthentication
path Parameters
id
required
integer
Example: 42

Unique task category identifier.

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json
{
  • "errors": [
    ]
}

Travels

Query, create, update and delete travels, with customer, seller, situation and the period calculated from the linked sales, and link or unlink sales. The travel the credential created, or with a sale it created, is always its own; the ones of other sellers require the Consult sales of other sellers permission, as in Monde, also to update, delete and link (see the FAQ).

List travels Beta

Returns the list of travels from the companies where the credential has permission. Dates and situation are calculated from the active products of the linked non-canceled sales. Supports filtering by date on the trip start or end through the date_field, date_from and date_to parameters.

Authorizations:
bearerAuthentication
query Parameters
date_field
string
Enum: "start_date" "end_date"
Example: date_field=start_date

Date field used by the filter. Accepted values: start_date (trip start) and end_date (trip end), both calculated from the linked sales. Required when date_from or date_to is provided.

date_from
string <date>
Example: date_from=2024-01-01

Filter travels whose field chosen in date_field is on or after this date, in ISO 8601 format (YYYY-MM-DD).

date_to
string <date>
Example: date_to=2024-12-31

Filter travels whose field chosen in date_field is on or before this date, in ISO 8601 format (YYYY-MM-DD).

cursor
string
Example: cursor=eyJfcmFpbHMiOnsiZGF0YSI6WyIyMDI2LTAzLTEwIiwiNmIwZjdjMWUtMmQ0YS00ZjhiLTljMzEtNThhMGQ3ZTEzZjQyIl0sInB1ciI6ImFwaS92My9wcm9kdWN0cyNpbmRleCJ9fQ--3aa1d942d6240ca905038c019d661bc90af6836fc4a818cee3663829c75970e4

Cursor of the next page, exactly as it came in next_cursor. Without it, the query starts at the first page.

size
integer [ 1 .. 50 ]
Default: 20
Example: size=10

Number of records per page

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json
Example

Example response containing upcoming and finished travels.

{
  • "data": [
    ],
  • "pagination": {
    }
}

Create travel Beta

Creates a travel in the company given in company_identifier, with the same rules as Monde: description (up to 60 characters), customer (customer_id, a person) and seller (seller_id, an active seller) are required. The seller comes in the body because the API credential is not a Monde user. The travel number is generated on save. The travel is created without sales: link them afterwards with POST /travels/{id}/sales/{sale_id}. Requires the "Edit" permission of Travels in the company. The travel created by the credential is its own: it updates, deletes and links sales to it without the Consult sales of other sellers permission. A travel created by another credential follows that permission, like those of other sellers.

Authorizations:
bearerAuthentication
header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Idempotency-Key
required
string <uuid> ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][...
Example: 550e8400-e29b-41d4-a716-446655440000

Client-generated idempotency key (UUID v4). See the Idempotency section for more details.

Request Body schema: application/json
required
company_identifier
required
string = 14 characters ^[0-9]{14}$

CNPJ of the travel's company, digits only. A company where the credential has no permission at all is rejected as a CNPJ not found

description
required
string <= 60 characters

Travel description, up to 60 characters

customer_id
required
string <uuid>

ID of the person who is the travel customer, the same as in GET /people. Sending the customer requires the "Read all people" permission: without it, the customer is refused (422) as one that does not exist.

seller_id
required
string <uuid>

ID of the travel seller, the same as in GET /sellers. Must be an active seller; on update, the current seller of the travel sent back is accepted even if inactive

observations
string

Travel observations

Array of objects (custom_field)

Custom fields to fill in the travel, defined by the agency. The required ones must be sent on creation

Responses

Request samples

Content type
application/json

Travel with description, customer, seller and observations.

{
  • "company_identifier": "46598887000162",
  • "description": "Lua de mel - Cancún",
  • "customer_id": "e5d9aaed-33bb-4679-b392-b45e5cd78eb4",
  • "seller_id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91",
  • "observations": "Cliente prefere assentos na janela."
}

Response samples

Content type
application/json

Newly created travel, still without linked sales: no dates and no situation.

{
  • "id": "f9d961b8-ea88-4346-8e52-afe94267417a",
  • "number": "000043",
  • "description": "Lua de mel - Cancún",
  • "situation": null,
  • "start_date": null,
  • "end_date": null,
  • "observations": "Cliente prefere assentos na janela.",
  • "created_at": "2024-03-15T10:30:00",
  • "customer": {
    },
  • "seller": {
    },
  • "company": {
    },
  • "created_by": null,
  • "sales": [ ],
  • "passengers": [ ],
  • "attachments": [ ],
  • "custom_fields": [ ]
}

Get travel by ID Beta

Returns a specific travel with its scalar fields, its attachments and the references to the linked sales and passengers. The amounts per passenger belong to each sale, retrieved through the sale endpoint.

Authorizations:
bearerAuthentication
path Parameters
id
required
string <uuid>
Example: f9d961b8-ea88-4346-8e52-afe94267417a

Unique identifier of the travel to retrieve

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json

Example travel with references to the linked sales and passengers.

{
  • "id": "f9d961b8-ea88-4346-8e52-afe94267417a",
  • "number": "000042",
  • "description": "Lua de mel - Cancún",
  • "situation": "upcoming",
  • "start_date": "2024-05-10",
  • "end_date": "2024-05-24",
  • "observations": "Cliente prefere assentos na janela.",
  • "created_at": "2024-03-15T10:30:00",
  • "customer": {
    },
  • "seller": {
    },
  • "company": {
    },
  • "created_by": {
    },
  • "sales": [
    ],
  • "passengers": [
    ],
  • "attachments": [],
  • "custom_fields": [
    ]
}

Update travel Beta

Updates an existing travel. Send only the fields that should change: an omitted field stays as it is. The description, customer, seller and company, which a travel cannot be without, answer 422 when sent as null or as an empty text, as in tasks. Observations are the exception: sent as null, they are cleared. Empty text is saved as sent; on a required field, and on a field that is not text, it is refused (422). The company does not change after the travel is created, as in Monde: company_identifier is only accepted with the travel's own CNPJ. Requires the "Edit" permission of Travels in the company of the travel and, for a travel of another seller, the Consult sales of other sellers permission; without it, the travel answers 404. The response brings the updated travel in the same format as the get by ID when the credential can also query it; otherwise, the change is saved all the same and the response brings only the travel id.

Authorizations:
bearerAuthentication
path Parameters
id
required
string <uuid>
Example: f9d961b8-ea88-4346-8e52-afe94267417a

Unique identifier of the travel

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Idempotency-Key
required
string <uuid> ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][...
Example: 550e8400-e29b-41d4-a716-446655440000

Client-generated idempotency key (UUID v4). See the Idempotency section for more details.

Request Body schema: application/json
required
company_identifier
string = 14 characters ^[0-9]{14}$

CNPJ of the travel's company, digits only. The company does not change after the travel is created: only the travel's own CNPJ is accepted

description
string <= 60 characters

Travel description, up to 60 characters

customer_id
string <uuid>

ID of the person who is the travel customer, the same as in GET /people. Sending the customer requires the "Read all people" permission: without it, the customer is refused (422) as one that does not exist.

seller_id
string <uuid>

ID of the travel seller, the same as in GET /sellers. Must be an active seller; on update, the current seller of the travel sent back is accepted even if inactive

observations
string or null

Travel observations. Sent as null, they are cleared; an empty text is saved as sent

Array of objects (custom_field)

Travel custom fields, defined by the agency. Not replaced: each field sent overwrites its current value and the ones not sent stay as they are. A required field cannot be sent empty. Send each field by id and value.

Responses

Request samples

Content type
application/json

Only the fields sent change.

{
  • "description": "Lua de mel - Cancún e Tulum",
  • "observations": "Incluir o passeio a Tulum."
}

Response samples

Content type
application/json
Example

Example travel with references to the linked sales and passengers.

{
  • "id": "f9d961b8-ea88-4346-8e52-afe94267417a",
  • "number": "000042",
  • "description": "Lua de mel - Cancún",
  • "situation": "upcoming",
  • "start_date": "2024-05-10",
  • "end_date": "2024-05-24",
  • "observations": "Cliente prefere assentos na janela.",
  • "created_at": "2024-03-15T10:30:00",
  • "customer": {
    },
  • "seller": {
    },
  • "company": {
    },
  • "created_by": {
    },
  • "sales": [
    ],
  • "passengers": [
    ],
  • "attachments": [],
  • "custom_fields": [
    ]
}

Delete travel Beta

Deletes the travel for good. The linked sales leave the travel first, and each one records the unlinking in its log. A travel with attachments, including the ones already deleted, is not deleted (409), as in Monde: permanently delete the attachments in Monde first. When the company of the travel is set to accept only sales registered within a travel, a travel with linked sales cannot be deleted through the API (409): in Monde, only the administrator deletes it. Requires the "Delete" permission of Travels in the company of the travel and, for a travel of another seller, the Consult sales of other sellers permission; without it, the travel answers 404.

Authorizations:
bearerAuthentication
path Parameters
id
required
string <uuid>
Example: f9d961b8-ea88-4346-8e52-afe94267417a

Unique identifier of the travel

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json
{
  • "errors": [
    ]
}

Link sale to travel Beta

Links the sale to the travel, like the Link sale button in Monde. As in Monde, the credential must be able to open the sale: one it created or, for a sale of another seller, with the View and Open sales of other sellers permissions of Sales. A sale the credential cannot open, or of another company, answers 404, as nonexistent. A deleted sale, or one without any active product, answers 422. A sale already in this travel answers 409. A sale in another travel is moved to this one, as in Monde, without checking the credential access to the origin travel, and its leaving is recorded in the origin travel log. The link is recorded in the travel log and in the sale log. Requires the "Edit" permission of Travels in the company of the travel and, for a travel of another seller, the Consult sales of other sellers permission. The response brings the travel with the updated list of sales, or only its id to a credential that cannot query it.

Authorizations:
bearerAuthentication
path Parameters
id
required
string <uuid>
Example: f9d961b8-ea88-4346-8e52-afe94267417a

Unique identifier of the travel

sale_id
required
string <uuid>
Example: 212b54b8-27df-4859-80a9-79ad855bcd09

Unique identifier of the sale

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Idempotency-Key
required
string <uuid> ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][...
Example: 550e8400-e29b-41d4-a716-446655440000

Client-generated idempotency key (UUID v4). See the Idempotency section for more details.

Responses

Response samples

Content type
application/json
Example

Example travel with references to the linked sales and passengers.

{
  • "id": "f9d961b8-ea88-4346-8e52-afe94267417a",
  • "number": "000042",
  • "description": "Lua de mel - Cancún",
  • "situation": "upcoming",
  • "start_date": "2024-05-10",
  • "end_date": "2024-05-24",
  • "observations": "Cliente prefere assentos na janela.",
  • "created_at": "2024-03-15T10:30:00",
  • "customer": {
    },
  • "seller": {
    },
  • "company": {
    },
  • "created_by": {
    },
  • "sales": [
    ],
  • "passengers": [
    ],
  • "attachments": [],
  • "custom_fields": [
    ]
}

Unlink sale from travel Beta

Removes the sale from the travel, and the unlinking is recorded in the travel log and in the sale log. A sale that is not in this travel, or that the credential cannot open (as in the link), answers 404. When the travel's company is set to accept only sales registered within a travel, the sale cannot be unlinked through the API (409): in Monde, only the administrator unlinks it; link it to another travel to move it. Requires the "Edit" permission of Travels in the company of the travel and, for a travel of another seller, the Consult sales of other sellers permission.

Authorizations:
bearerAuthentication
path Parameters
id
required
string <uuid>
Example: f9d961b8-ea88-4346-8e52-afe94267417a

Unique identifier of the travel

sale_id
required
string <uuid>
Example: 212b54b8-27df-4859-80a9-79ad855bcd09

Unique identifier of the sale

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json
{
  • "errors": [
    ]
}

Quotes

Query, create, update, duplicate and delete the quotes registered in the system, with validity, status and the public viewing link.

List quotes Beta

Returns the list of quotes from the companies where the credential has permission.

Authorizations:
bearerAuthentication
query Parameters
cursor
string
Example: cursor=eyJfcmFpbHMiOnsiZGF0YSI6WyIyMDI2LTAzLTEwIiwiNmIwZjdjMWUtMmQ0YS00ZjhiLTljMzEtNThhMGQ3ZTEzZjQyIl0sInB1ciI6ImFwaS92My9wcm9kdWN0cyNpbmRleCJ9fQ--3aa1d942d6240ca905038c019d661bc90af6836fc4a818cee3663829c75970e4

Cursor of the next page, exactly as it came in next_cursor. Without it, the query starts at the first page.

size
integer [ 1 .. 50 ]
Default: 20
Example: size=10

Number of records per page

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json
Example

Example response containing active and disabled quotes.

{
  • "data": [
    ],
  • "pagination": {
    }
}

Create quote Beta

Creates a quote in the company given in company_identifier, with the rules of the Quotes screen of Monde Web. The quote owner (user_id) is required, because the API credential is not a Monde user: the owner is who sees, changes and deletes the quote in Monde, besides the administrators. Title, subtitle and validity (valid_until) are required, and the validity cannot be in the past. Without details, the content starts from the content template of the company, the one saved by the administrator on the Quote Settings screen of Monde Web or, when the company never saved its settings, the default template. The quote is created active, unless active is sent as false, and already has the public link in public_url. Requires the create/edit quotes permission in the company.

Authorizations:
bearerAuthentication
header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Idempotency-Key
required
string <uuid> ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][...
Example: 550e8400-e29b-41d4-a716-446655440000

Client-generated idempotency key (UUID v4). See the Idempotency section for more details.

Request Body schema: application/json
required
company_identifier
required
string = 14 characters ^[0-9]{14}$

CNPJ of the company where the quote will be created, digits only. The company cannot be read only. A company where the credential has no permission at all is refused as a CNPJ not found.

user_id
required
string <uuid>

Identifier of the user who owns the quote, the same person id returned by List people. The person must be an active Monde user with access to the quote's company.

person_id
string <uuid>

Identifier of the quote's person (customer), from List people. Optional. Sending a person requires the "Read all people" permission: without it, the person is refused (422) as one that does not exist.

title
required
string

Quote title

subtitle
required
string

Quote subtitle

valid_until
required
string <date>

Quote validity date (YYYY-MM-DD). Cannot be in the past.

details
string

Quote content, in HTML. The HTML is cleaned before saving, with the same rules as the guides content: content with no text or image left after the cleaning is refused. On creation, without it the content template of the company is used, the one saved by the administrator on the Quote Settings screen of Monde Web; sent as an empty text, it is refused.

active
boolean
Default: true

Indicates whether the quote is active

internal_observations
string

Internal observations (not shown in the public link)

Responses

Request samples

Content type
application/json

Example of creating a quote with a person and internal notes.

{
  • "company_identifier": "46598887000162",
  • "user_id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91",
  • "person_id": "212b54b8-27df-4859-80a9-79ad855bcd09",
  • "title": "Cancún",
  • "subtitle": "Lua de mel - 14 noites",
  • "valid_until": "2035-05-31",
  • "details": "<p>Pacote com aéreo, hospedagem all inclusive e traslados.</p>",
  • "internal_observations": "Cliente pediu retorno até sexta."
}

Response samples

Content type
application/json

Example response for a specific quote.

{
  • "id": 42,
  • "title": "Cancún",
  • "subtitle": "Lua de mel - 14 noites",
  • "details": "Pacote com aéreo, hospedagem all inclusive e traslados.",
  • "valid_until": "2024-05-31",
  • "active": true,
  • "internal_observations": "Cliente pediu retorno até sexta.",
  • "created_at": "2024-03-15T10:30:00",
  • "updated_at": "2024-03-16T08:15:00",
  • "person": {
    },
  • "company": {
    },
  • "user": {
    }
}

Get quote by ID Beta

Returns a specific quote by its identifier.

Authorizations:
bearerAuthentication
path Parameters
id
required
integer
Example: 42

Unique identifier of the quote

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json

Example response for a specific quote.

{
  • "id": 42,
  • "title": "Cancún",
  • "subtitle": "Lua de mel - 14 noites",
  • "details": "Pacote com aéreo, hospedagem all inclusive e traslados.",
  • "valid_until": "2024-05-31",
  • "active": true,
  • "internal_observations": "Cliente pediu retorno até sexta.",
  • "created_at": "2024-03-15T10:30:00",
  • "updated_at": "2024-03-16T08:15:00",
  • "person": {
    },
  • "company": {
    },
  • "user": {
    }
}

Update quote Beta

Changes an existing quote. Send only the fields that must change: a field omitted stays as it is, and a field sent as null is removed. The optional person (person_id) and internal notes (internal_observations) sent as null are cleared. What a quote cannot be without — title, subtitle, details, valid_until, active, user_id and company_identifier — cannot be removed: sent as null, it is refused (422). Empty text is saved as sent; on a required field, and on a field that is not text, it is refused (422). As in the Monde Web screen, the quote is only saved with a validity from today on: an expired quote needs a new valid_until in any change. An image taken out of the content (details) no longer belongs to the quote and is deleted one hour later. With company_identifier, the quote moves to that company, which also requires the create/edit quotes permission there. The owner must have access to the target company: without user_id, the quote only moves when the current owner also has access to it; otherwise the change is refused (422), and an owner with access must be sent in user_id. Requires the create/edit quotes permission in the quote's company. The response brings the changed quote in the same format as the read by ID when the credential also has the "Read all quotes" permission in its company; without it, the change is saved the same way and the response brings only the id.

Authorizations:
bearerAuthentication
path Parameters
id
required
integer
Example: 42

Unique identifier of the quote

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Idempotency-Key
required
string <uuid> ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][...
Example: 550e8400-e29b-41d4-a716-446655440000

Client-generated idempotency key (UUID v4). See the Idempotency section for more details.

Request Body schema: application/json
required
company_identifier
string = 14 characters ^[0-9]{14}$

CNPJ of the company the quote moves to, digits only. Omitted keeps the current company; null or empty is refused. A company where the credential has no permission at all is refused as a CNPJ not found.

user_id
string <uuid>

Identifier of the user who owns the quote, the same person id returned by List people. The person must be an active Monde user with access to the quote's company.

person_id
string or null <uuid>

Identifier of the quote's person (customer), from List people. Null removes the person from the quote, and an empty text is refused (422); omitted keeps the current one. Sending a person requires the "Read all people" permission: without it, the person is refused (422) as one that does not exist.

title
string

Quote title

subtitle
string

Quote subtitle

valid_until
string <date>

Quote validity date (YYYY-MM-DD). Cannot be in the past.

details
string

Quote content, in HTML. The HTML is cleaned before saving, with the same rules as the guides content: content with no text or image left after the cleaning is refused. On creation, without it the content template of the company is used, the one saved by the administrator on the Quote Settings screen of Monde Web; sent as an empty text, it is refused.

active
boolean

Indicates whether the quote is active

internal_observations
string or null

Internal notes (not shown on the public link). Null clears the field, and an empty text is saved as sent; omitted keeps what the quote has.

Responses

Request samples

Content type
application/json
Example

Example of an update that changes only the subtitle and the validity, keeping the other fields.

{
  • "subtitle": "Lua de mel - 10 noites",
  • "valid_until": "2035-06-15"
}

Response samples

Content type
application/json
Example

Example response for a specific quote.

{
  • "id": 42,
  • "title": "Cancún",
  • "subtitle": "Lua de mel - 14 noites",
  • "details": "Pacote com aéreo, hospedagem all inclusive e traslados.",
  • "valid_until": "2024-05-31",
  • "active": true,
  • "internal_observations": "Cliente pediu retorno até sexta.",
  • "created_at": "2024-03-15T10:30:00",
  • "updated_at": "2024-03-16T08:15:00",
  • "person": {
    },
  • "company": {
    },
  • "user": {
    }
}

Delete quote Beta

Deletes the quote for good, with its images. The public link stops working and the quote cannot be recovered. Requires the delete quotes permission in the quote's company.

Authorizations:
bearerAuthentication
path Parameters
id
required
integer
Example: 42

Unique identifier of the quote

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json
{
  • "errors": [
    ]
}

Duplicate quote Beta

Creates a copy of the quote, like the Duplicate action of the Quotes screen of Monde Web. The copy is created in the same company, with the same subtitle, content, images, status and internal notes, the title prefixed with "(cópia)" and a new public link. The person and the validity are not copied: the validity (valid_until) is required and the person (person_id) is optional. The copy owner (user_id) is also required. Requires the create/edit quotes permission in the quote's company. The response brings the copy in the same format as the read by ID when the credential also has the "Read all quotes" permission in the company; without it, the copy is created the same way and the response brings only its id.

Authorizations:
bearerAuthentication
path Parameters
id
required
integer
Example: 42

Unique identifier of the quote

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Idempotency-Key
required
string <uuid> ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][...
Example: 550e8400-e29b-41d4-a716-446655440000

Client-generated idempotency key (UUID v4). See the Idempotency section for more details.

Request Body schema: application/json
required
user_id
required
string <uuid>

Identifier of the user who owns the copy, the same person id returned by List people. The person must be an active Monde user with access to the quote's company.

valid_until
required
string <date>

Quote validity date (YYYY-MM-DD). Cannot be in the past.

person_id
string <uuid>

Identifier of the copy's person (customer), from List people. Optional: without it, the copy has no person. Sending a person requires the "Read all people" permission: without it, the person is refused (422) as one that does not exist.

Responses

Request samples

Content type
application/json

Example of a duplication with the new validity and another person.

{
  • "user_id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91",
  • "valid_until": "2035-07-31",
  • "person_id": "7f1c2d3e-4b5a-4c6d-8e9f-0a1b2c3d4e5f"
}

Response samples

Content type
application/json

Example of a response with the created copy.

{
  • "id": 43,
  • "title": "(cópia) Cancún",
  • "subtitle": "Lua de mel - 14 noites",
  • "details": "<p>Pacote com aéreo, hospedagem all inclusive e traslados.</p>",
  • "valid_until": "2035-07-31",
  • "active": true,
  • "internal_observations": "Cliente pediu retorno até sexta.",
  • "created_at": "2024-04-02T11:00:00",
  • "updated_at": "2024-04-02T11:00:00",
  • "person": {
    },
  • "company": {
    },
  • "user": {
    }
}

Guides

List, create, update, duplicate, and delete the agency's travel guides: HTML content with a public viewing link, like the quotes one, but without a linked person and without a validity date. Guides are a feature of the Monde Pro license and exist only in the companies that purchased it. With a read-only Monde Pro license, the company's guides are read, but not created, updated, duplicated, or deleted.

List guides Beta

Returns the list of guides from the companies where the credential has permission, from the most recently updated to the oldest.

Authorizations:
bearerAuthentication
query Parameters
cursor
string
Example: cursor=eyJfcmFpbHMiOnsiZGF0YSI6WyIyMDI2LTAzLTEwIiwiNmIwZjdjMWUtMmQ0YS00ZjhiLTljMzEtNThhMGQ3ZTEzZjQyIl0sInB1ciI6ImFwaS92My9wcm9kdWN0cyNpbmRleCJ9fQ--3aa1d942d6240ca905038c019d661bc90af6836fc4a818cee3663829c75970e4

Cursor of the next page, exactly as it came in next_cursor. Without it, the query starts at the first page.

size
integer [ 1 .. 50 ]
Default: 20
Example: size=10

Number of records per page

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json
Example

Example response containing an active and a deactivated guide.

{
  • "data": [
    ],
  • "pagination": {
    }
}

Create guide Beta

Creates a guide in the company given in company_identifier. The guide owner (user_id) is required, because the API credential is not a Monde user: the owner is who updates and deletes the guide in Monde, besides the administrators. The guide is created active, unless active is sent as false, and already with the public link in public_url. Requires the create/edit guides permission in the company.

Authorizations:
bearerAuthentication
header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Idempotency-Key
required
string <uuid> ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][...
Example: 550e8400-e29b-41d4-a716-446655440000

Client-generated idempotency key (UUID v4). See the Idempotency section for more details.

Request Body schema: application/json
required
company_identifier
required
string = 14 characters ^[0-9]{14}$

CNPJ of the company where the guide will be created, digits only. The company must have the Monde Pro license, and neither the company nor the Monde Pro license can be read-only. A company where the credential has no permission at all is rejected as a CNPJ not found.

user_id
required
string <uuid>

Identifier of the user who owns the guide, the same person id obtained in List people. The person must be an active Monde user with access to the guide's company.

title
required
string

Guide title

subtitle
string

Guide subtitle. Optional.

details
required
string

Guide content, in HTML. The HTML is cleaned before it is saved: paragraphs, headings, lists, tables, links, bold, italic, quotes, and code pass, and everything else becomes text or is discarded. A guide has two heading levels, <h3> and <h4>: <h1> and <h2> become <h3>, and <h5> and <h6> become <h4>. From the style, only the center or right alignment of paragraphs and headings passes. Three blocks also pass, never one inside another: the highlight box (<div data-block="highlight">), the section with a background image (<div data-block="banner">, where the first image becomes the background), and the two columns (<div data-block="columns"> with exactly two <div data-block="column">). Outside this format, the div is removed and its content stays. An image without data-quote-image is discarded. Content with no text or image left after the cleaning is rejected.

active
boolean
Default: true

Whether the guide is active. The public link only opens an active guide.

cover_kind
string
Enum: "default" "image" "color"

Cover of the public link: default (the default cover), image (an image), or color (a background color). The image can only be chosen in Monde Web: through the API, image only works on a guide that already has one. Switching to another option deletes the image. Sending only cover_color already chooses color.

cover_color
string

Background color of the cover, in hexadecimal (#1f4e79). Only applies to the color cover; with the others, it is discarded. The title is black on a light background and white on a dark one.

hide_cover_text
boolean

Hides the title and subtitle on the cover, for an image whose artwork already has the title. Only applies to the image cover; with the others, it stays false.

internal_observations
string

Internal observations (not shown on the public link)

Responses

Request samples

Content type
application/json

Example of creating a guide with internal observations.

{
  • "company_identifier": "46598887000162",
  • "user_id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91",
  • "title": "Lisboa",
  • "subtitle": "Roteiro de 5 dias",
  • "details": "<h3>Dia 1</h3><p>Chegada e passeio pela Baixa.</p>",
  • "internal_observations": "Enviar junto com o voucher.",
  • "cover_color": "#1f4e79"
}

Response samples

Content type
application/json

Example response of a specific guide.

{
  • "id": 42,
  • "title": "Lisboa",
  • "subtitle": "Roteiro de 5 dias",
  • "details": "<h3>Dia 1</h3><p>Chegada e passeio pela Baixa.</p>",
  • "active": true,
  • "internal_observations": "Enviar junto com o voucher.",
  • "cover_kind": "color",
  • "cover_color": "#1f4e79",
  • "hide_cover_text": false,
  • "cover_image_url": null,
  • "created_at": "2024-03-15T10:30:00",
  • "updated_at": "2024-03-16T08:15:00",
  • "company": {
    },
  • "user": {
    }
}

Get guide by ID Beta

Returns a specific guide by its identifier.

Authorizations:
bearerAuthentication
path Parameters
id
required
integer
Example: 42

Unique guide identifier

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json

Example response of a specific guide.

{
  • "id": 42,
  • "title": "Lisboa",
  • "subtitle": "Roteiro de 5 dias",
  • "details": "<h3>Dia 1</h3><p>Chegada e passeio pela Baixa.</p>",
  • "active": true,
  • "internal_observations": "Enviar junto com o voucher.",
  • "cover_kind": "color",
  • "cover_color": "#1f4e79",
  • "hide_cover_text": false,
  • "cover_image_url": null,
  • "created_at": "2024-03-15T10:30:00",
  • "updated_at": "2024-03-16T08:15:00",
  • "company": {
    },
  • "user": {
    }
}

Update guide Beta

Updates an existing guide. Send only the fields that should change: a field that is omitted stays as it is, and a field sent as null is removed. The optional subtitle (subtitle) and internal observations (internal_observations) sent as null are cleared. What a guide cannot be without — title, details, active, user_id and company_identifier — cannot be removed: sent as null, it is rejected (422). Empty text is saved as sent; on a required field, and on a field that is not text, it is refused (422). An image taken out of the content (details) no longer belongs to the guide and is deleted one hour later. With company_identifier, the guide moves to that company, which also requires the create/edit guides permission there. The owner must have access to the target company: without user_id, the guide only moves when the current owner also has access to it; otherwise the change is refused (422), and an owner with access must be sent in user_id. Requires the create/edit guides permission in the guide's company. The response returns the updated guide in the same format as the query by ID when the credential also has the "Read all guides" permission in the guide's company; without it, the update is written all the same and the response returns only the id of the guide.

Authorizations:
bearerAuthentication
path Parameters
id
required
integer
Example: 42

Unique guide identifier

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Idempotency-Key
required
string <uuid> ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][...
Example: 550e8400-e29b-41d4-a716-446655440000

Client-generated idempotency key (UUID v4). See the Idempotency section for more details.

Request Body schema: application/json
required
company_identifier
string = 14 characters ^[0-9]{14}$

CNPJ of the company the guide moves to, digits only. Omitted, it keeps the current company; null or empty is refused. A company where the credential has no permission at all is rejected as a CNPJ not found.

user_id
string <uuid>

Identifier of the user who owns the guide, the same person id obtained in List people. The person must be an active Monde user with access to the guide's company.

title
string

Guide title

subtitle
string or null

Guide subtitle. Optional.

details
string

Guide content, in HTML. The HTML is cleaned before it is saved: paragraphs, headings, lists, tables, links, bold, italic, quotes, and code pass, and everything else becomes text or is discarded. A guide has two heading levels, <h3> and <h4>: <h1> and <h2> become <h3>, and <h5> and <h6> become <h4>. From the style, only the center or right alignment of paragraphs and headings passes. Three blocks also pass, never one inside another: the highlight box (<div data-block="highlight">), the section with a background image (<div data-block="banner">, where the first image becomes the background), and the two columns (<div data-block="columns"> with exactly two <div data-block="column">). Outside this format, the div is removed and its content stays. An image without data-quote-image is discarded. Content with no text or image left after the cleaning is rejected.

active
boolean

Whether the guide is active. The public link only opens an active guide.

cover_kind
string
Enum: "default" "image" "color"

Cover of the public link: default (the default cover), image (an image), or color (a background color). The image can only be chosen in Monde Web: through the API, image only works on a guide that already has one. Switching to another option deletes the image. Sending only cover_color already chooses color.

cover_color
string or null

Background color of the cover, in hexadecimal (#1f4e79). Only applies to the color cover; with the others, it is discarded. The title is black on a light background and white on a dark one.

hide_cover_text
boolean

Hides the title and subtitle on the cover, for an image whose artwork already has the title. Only applies to the image cover; with the others, it stays false.

internal_observations
string or null

Internal observations (not shown on the public link). Null clears the field, and an empty text is saved as sent; omitted, it keeps what the guide has.

Responses

Request samples

Content type
application/json
Example

Example of an update that changes only the title and the subtitle, keeping the other fields.

{
  • "title": "Lisboa e Sintra",
  • "subtitle": "Roteiro de 6 dias"
}

Response samples

Content type
application/json
Example

Example response of a specific guide.

{
  • "id": 42,
  • "title": "Lisboa",
  • "subtitle": "Roteiro de 5 dias",
  • "details": "<h3>Dia 1</h3><p>Chegada e passeio pela Baixa.</p>",
  • "active": true,
  • "internal_observations": "Enviar junto com o voucher.",
  • "cover_kind": "color",
  • "cover_color": "#1f4e79",
  • "hide_cover_text": false,
  • "cover_image_url": null,
  • "created_at": "2024-03-15T10:30:00",
  • "updated_at": "2024-03-16T08:15:00",
  • "company": {
    },
  • "user": {
    }
}

Delete guide Beta

Deletes the guide permanently, along with its images. The public link stops working and the guide cannot be recovered. Requires the delete guides permission in the guide's company.

Authorizations:
bearerAuthentication
path Parameters
id
required
integer
Example: 42

Unique guide identifier

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json
{
  • "errors": [
    ]
}

Duplicate guide Beta

Creates a copy of the guide, like the Duplicate action of the Guides screen of Monde Web. The copy is created in the same company, with the same subtitle, content, images, status and internal notes, the title prefixed with "(cópia)" and a new public link. The copy owner (user_id) is required. Requires the create/edit guides permission in the guide's company. The response brings the copy in the same format as the read by ID when the credential also has the "Read all guides" permission in the company; without it, the copy is created the same way and the response brings only its id.

Authorizations:
bearerAuthentication
path Parameters
id
required
integer
Example: 42

Unique guide identifier

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Idempotency-Key
required
string <uuid> ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][...
Example: 550e8400-e29b-41d4-a716-446655440000

Client-generated idempotency key (UUID v4). See the Idempotency section for more details.

Request Body schema: application/json
required
user_id
required
string <uuid>

Identifier of the user who owns the copy, the same person id returned by List people. The person must be an active Monde user with access to the guide's company.

Responses

Request samples

Content type
application/json

Example of a duplication informing the copy owner.

{
  • "user_id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91"
}

Response samples

Content type
application/json

Example of a response with the created copy.

{
  • "id": 43,
  • "title": "(cópia) Lisboa",
  • "subtitle": "Roteiro de 5 dias",
  • "details": "<h3>Dia 1</h3><p>Chegada e passeio pela Baixa.</p>",
  • "active": true,
  • "internal_observations": "Enviar junto com o voucher.",
  • "cover_kind": "color",
  • "cover_color": "#1f4e79",
  • "hide_cover_text": false,
  • "cover_image_url": null,
  • "created_at": "2024-04-02T11:00:00",
  • "updated_at": "2024-04-02T11:00:00",
  • "company": {
    },
  • "user": {
    }
}

Billing Rules

Query the billing rules, with the rule owner, closing period and due date conditions. Rules apply to the whole agency, with no company.

List billing rules Beta

Returns the list of billing rules registered in the system. Each rule belongs to a person (or to all, when null) of one of the kinds client, supplier, or representative.

Authorizations:
bearerAuthentication
query Parameters
cursor
string
Example: cursor=eyJfcmFpbHMiOnsiZGF0YSI6WyIyMDI2LTAzLTEwIiwiNmIwZjdjMWUtMmQ0YS00ZjhiLTljMzEtNThhMGQ3ZTEzZjQyIl0sInB1ciI6ImFwaS92My9wcm9kdWN0cyNpbmRleCJ9fQ--3aa1d942d6240ca905038c019d661bc90af6836fc4a818cee3663829c75970e4

Cursor of the next page, exactly as it came in next_cursor. Without it, the query starts at the first page.

size
integer [ 1 .. 50 ]
Default: 20
Example: size=10

Number of records per page

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json
Example

Example response containing supplier and client rules.

{
  • "data": [
    ],
  • "pagination": {
    }
}

Get billing rule by ID Beta

Returns a specific billing rule by its identifier.

Authorizations:
bearerAuthentication
path Parameters
id
required
string <uuid>
Example: f9d961b8-ea88-4346-8e52-afe94267417a

Unique identifier of the billing rule

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json

Example response for a specific billing rule.

{
  • "id": "f9d961b8-ea88-4346-8e52-afe94267417a",
  • "description": "Faturamento semanal aéreo",
  • "person_kind": "supplier",
  • "destination": "national",
  • "movement": "to_pay",
  • "cost_center": null,
  • "closing": {
    },
  • "due_date": {
    },
  • "person": null,
  • "product": null,
  • "supplier": {
    },
  • "requester": null
}

Integrations

Query the vendor integrations, which import the sales made in the vendor's system. The vendor's secrets (password, token, API keys and PIN) are never returned: the query only says whether they are filled.

List integrations Beta

Returns the list of integrations from the companies where the credential has permission (integrations without a company apply to all of them). The additional fields, with the vendor access data, are only in the query by ID.

Authorizations:
bearerAuthentication
query Parameters
cursor
string
Example: cursor=eyJfcmFpbHMiOnsiZGF0YSI6WyIyMDI2LTAzLTEwIiwiNmIwZjdjMWUtMmQ0YS00ZjhiLTljMzEtNThhMGQ3ZTEzZjQyIl0sInB1ciI6ImFwaS92My9wcm9kdWN0cyNpbmRleCJ9fQ--3aa1d942d6240ca905038c019d661bc90af6836fc4a818cee3663829c75970e4

Cursor of the next page, exactly as it came in next_cursor. Without it, the query starts at the first page.

size
integer [ 1 .. 50 ]
Default: 20
Example: size=10

Number of records per page

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json
Example

Example response containing vendor and searcher integrations.

{
  • "data": [
    ],
  • "pagination": {
    }
}

Get integration by ID Beta

Returns a specific integration by its identifier, with the additional fields the vendor declares. Only the service address and the agency's identification at the vendor come back with a value. The other fields, such as user, password, token, API keys and PIN, are never returned: filled says whether they are filled.

Authorizations:
bearerAuthentication
path Parameters
id
required
string <uuid>
Example: f9d961b8-ea88-4346-8e52-afe94267417a

Integration unique identifier

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json

Example response of a specific integration, with the user and the password omitted.

{
  • "id": "f9d961b8-ea88-4346-8e52-afe94267417a",
  • "description": "Assist Card Matriz",
  • "active": true,
  • "vendor_id": "b2359357-cff7-4d43-b6d2-99adf2ff373b",
  • "vendor_name": "Assist Card",
  • "person": {
    },
  • "company": {
    },
  • "additional_fields": [
    ]
}

People

Query the people registered in the system, with contact data, documents, and additional information.

List people Beta

Returns the list of people registered in the system. It is a lean listing: it carries only own scalars and the references ({id, name}) of the strong entities (birthplace, seller, promoter, registered by, and the address city). Weak entities (contacts, labels, custom fields, attachments, credit cards, and Kandir Law tax withholding) appear only when getting the person by ID (GET /people/{id}).

Authorizations:
bearerAuthentication
query Parameters
name
string
Example: name=Maria da Silva

Filters by name, case-, accent- and position-insensitive (substring match).

cpf_cnpj
string
Example: cpf_cnpj=38107867807

Filters by CPF or CNPJ (matches either one). Provide digits only, without dots, slashes, dashes or spaces.

passport_number
string
Example: passport_number=FG225776

Filters by passport number, case- and accent-insensitive (substring match).

phone
string
Example: phone=11934567890

Filters by any of the phone numbers (landline, business or mobile). Provide digits only; matches any part of the stored number, regardless of formatting.

kind
string
Enum: "individual" "company"
Example: kind=individual

Filters by person kind: individual or company.

code
integer
Example: code=1024

Filters by the person's sequential code (exact match).

email
string
Example: email=contato@exemplo.com

Filters by email, case- and accent-insensitive (substring match).

label_id
string <uuid>
Example: label_id=2d0b3c4e-5f60-4172-9384-0b1c2d3e4f50

Filters the people who have the given label (UUID, the id from List labels).

birthday_from
string <date>
Example: birthday_from=2026-12-28

Start of the birthday window (YYYY-MM-DD). Returns the people whose birth day and month fall between birthday_from and birthday_to, whatever the year, including a window that crosses the turn of the year. Replaces Monde's Birthdays report: for today's birthdays, send today's date in both parameters. Send both together; the window can be up to 366 days long.

birthday_to
string <date>
Example: birthday_to=2027-01-05

End of the birthday window (YYYY-MM-DD), inclusive. See birthday_from.

cursor
string
Example: cursor=eyJfcmFpbHMiOnsiZGF0YSI6WyIyMDI2LTAzLTEwIiwiNmIwZjdjMWUtMmQ0YS00ZjhiLTljMzEtNThhMGQ3ZTEzZjQyIl0sInB1ciI6ImFwaS92My9wcm9kdWN0cyNpbmRleCJ9fQ--3aa1d942d6240ca905038c019d661bc90af6836fc4a818cee3663829c75970e4

Cursor of the next page, exactly as it came in next_cursor. Without it, the query starts at the first page.

size
integer [ 1 .. 50 ]
Default: 20
Example: size=10

Number of records per page

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json
Example

Example query response containing an individual and a legal person.

{
  • "data": [
    ],
  • "pagination": {
    }
}

Create a person Beta

Creates an individual or a legal person. Every request creates a new registration: the external_id, when provided, must be free, and the CPF/CNPJ cannot belong to any person already registered. The response returns the created person in the same format as the get by ID. Sending seller also requires the "Change seller" permission, and promoter, the "Change promoter" one, as in Monde; without it, the answer is 403. Sending credit_cards or kandir_law also requires the "View financial tab" permission on people, and adding cards, the "Register credit card" one, as in Monde, where the cards and the Kandir law sit on the Financial tab of the person; without it, the answer is 403 with the Monde message. Without "View financial tab", the response does not bring credit_cards nor kandir_law, and without "View credit card data", it does not bring credit_cards: the field does not come.

Authorizations:
bearerAuthentication
header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Idempotency-Key
required
string <uuid> ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][...
Example: 550e8400-e29b-41d4-a716-446655440000

Client-generated idempotency key (UUID v4). See the Idempotency section for more details.

Request Body schema: application/json
required
person_kind
required
string
Enum: "individual" "company"

Indicates whether it is a person (individual) or legal entity (company).

external_id
string <= 50 characters

Unique identifier used to identify the record on Monde. You must provide this information and use it in future references to the same record. Any unique string is allowed, such as an identity document or UUID.

Example: "09fbbf97-4ccb-4e5d-8fe4-2eacc38138b3".

name
required
string <= 100 characters

Name or trade name, according to the person kind.

Example: "Maria da Silva" or "Epic Journey".

legal_name
string or null <= 100 characters

Legal name.

Example: "Epic Journey S.A.".

gender
string or null
Enum: "female" "male" null

Gender.

birthdate
string or null <date>

Birthdate in ISO 8601 format (YYYY-MM-DD).

Example: "1990-02-12".

cpf_cnpj
string [ 11 .. 14 ] characters

Brazilian Individual Taxpayer Registry (CPF) or National Registry of Legal Entities (CNPJ), according to the person kind, without dots, slashes, dashes or spaces.

Example: "38107867807" or "50559280000140".

rg_ie
string or null <= 20 characters

Brazilian Identity Card (RG) or Brazilian State Registration (IE), according to the person kind, without dots, dashes, or spaces.

Example: "461196037" or "123456789012".

passport_number
string or null <= 20 characters

Passport number, without dots, dashes, or spaces.

Example: "FG225776".

passport_expiration_date
string or null <date>

Passport expiration date in ISO 8601 format (YYYY-MM-DD).

Example: "2035-12-01".

foreigner
boolean
Default: false

Indicates whether the person or company is foreign. Use true for individuals who do not have Brazilian nationality or companies that are not based in Brazil.

foreign_identity_document
string or null <= 30 characters

Identity document of the foreigner, issued in their country of origin. Without dots, dashes or spaces.

Example: "41234567".

business_phone
string or null <= 20 characters

Business phone

object or null (person_birthplace)

Place of birth: the city where the person was born. Provide the IBGE code or, when it is not available, the city name with state and country. Without the IBGE code, the city is looked up by name, ignoring accents and case, among the cities the agency can use: in Brazil, in the state; abroad, in the country. The city is not registered: a name that matches none is refused (422).

object or null (person_additional_data)

Additional data of the individual person. Absent (null) for legal person.

website
string or null <= 50 characters

Website (legal person)

tax_identification_number
string or null <= 20 characters

Tax identification number (foreign legal person)

object or null (person_tax_withholding)

Tax withholdings of the legal person. Absent (null) for individual person.

object or null (person_airline)

Airline data of the legal person (suppliers). Absent (null) for individual person.

email
string or null <= 200 characters

Email address.

Example: "contact@example.com".

phone_number
string or null <= 20 characters

Phone number, without dashes or spaces. For international numbers, use + and the country code.

Examples: "1134567890", "+33170180123".

mobile_number
string or null <= 20 characters

Mobile phone number, without dashes or spaces. For international numbers, use + and the country code.

Examples: "11934567890", "+447911123456".

object or null

Address.

city_inscription
string or null <= 15 characters

City inscription

observations
string or null

Person observations

charge_billet_fee
boolean
Default: false

Indicates whether the bank slip fee is charged to the person

object (entity_reference)

Seller responsible for the person

object (entity_reference)

Person promoter (operator plans)

Array of objects (entity_reference)

Labels assigned to the person.

Array of objects (person_contact)

People linked to this registration as contacts. Each person must already be registered and cannot repeat in the list.

Array of objects (person_custom_field)

Custom fields of people, defined by the agency. Send each field by id and value. The active fields marked as required must come filled in.

Array of objects (person_credit_card_write)

Credit cards of the person, individual or company. The number and the security code are stored encrypted and never come back in the response, which brings only the last four digits. The card is valid until the last day of the expiration month, and an expired card is refused. Requires the "View financial tab" and "Register credit card" permissions on people.

Array of objects (person_cost_center_write)

Cost centers of the corporate client: its departments accepted in the cost center of the passenger and of the invoice item when it is the payer. They are not the cost centers of the agency, from /cost_centers. Only a company has cost centers, and a name does not repeat in the list, regardless of case.

Array of objects (person_kandir_law_write)

Kandir law withholdings (Brazilian law 9,430/1996, art. 64) of the company, one per product, in the same format as the get by ID. Only the active Airfare, Travel Insurance and Ground Transportation products accept a withholding. A percentage left out is zero, and a negative one is refused. The total of each group is the sum of IR, CSLL, PIS and COFINS and is not informed. Requires the "View financial tab" permission on people.

Responses

Request samples

Content type
application/json
Example

Example of an individual person registration with address, place of birth, documents and parentage.

{
  • "person_kind": "individual",
  • "external_id": "CRM-4471",
  • "name": "Maria da Silva",
  • "cpf_cnpj": "38107867807",
  • "rg_ie": "461196037",
  • "gender": "female",
  • "birthdate": "1990-02-12",
  • "passport_number": "FG225776",
  • "passport_expiration_date": "2035-12-01",
  • "foreigner": false,
  • "email": "maria@exemplo.com",
  • "phone_number": "1134567890",
  • "mobile_number": "11934567890",
  • "business_phone": "1134567891",
  • "city_inscription": "123456789",
  • "observations": "Cliente preferencial.",
  • "charge_billet_fee": false,
  • "address": {
    },
  • "birthplace": {
    },
  • "additional_data": {
    },
  • "seller": {
    },
  • "labels": [
    ],
  • "contacts": [
    ],
  • "custom_fields": [
    ],
  • "credit_cards": [
    ]
}

Response samples

Content type
application/json

Example of the complete individual person, with the grouped blocks and the weak entities.

{
  • "id": "f9d961b8-ea88-4346-8e52-afe94267417a",
  • "code": 1042,
  • "person_kind": "individual",
  • "name": "Carlos Souza",
  • "legal_name": null,
  • "cpf_cnpj": "12345678909",
  • "gender": "male",
  • "birthdate": "1985-07-22",
  • "rg_ie": "203456789",
  • "city_inscription": null,
  • "tax_identification_number": null,
  • "passport_number": "BR123456",
  • "passport_expiration_date": "2028-10-01",
  • "foreigner": false,
  • "foreign_identity_document": null,
  • "email": "carlos@exemplo.com.br",
  • "phone_number": "4133334444",
  • "mobile_number": "41999998888",
  • "business_phone": "4130302020",
  • "website": null,
  • "cvc_code": null,
  • "observations": "Cliente preferencial.",
  • "charge_billet_fee": false,
  • "created_at": "2021-11-05T10:30:00",
  • "address": {
    },
  • "additional_data": {
    },
  • "last_contacts": {
    },
  • "tax_withholding": null,
  • "airline": null,
  • "birthplace": {
    },
  • "seller": {
    },
  • "promoter": null,
  • "created_by": {
    },
  • "contacts": [
    ],
  • "labels": [
    ],
  • "custom_fields": [
    ],
  • "attachments": [],
  • "credit_cards": [
    ],
  • "cost_centers": null,
  • "kandir_law": null,
  • "invoice_rules": [
    ],
  • "photo": {
    }
}

Get person by ID Beta

Returns the full data of a person by its identifier, including the grouped blocks (additional data, last contacts, withholdings, and airline) and the weak entities (contacts, labels, custom fields, attachments, credit cards (always masked), and Kandir Law tax withholding). Like the Financial tab in Monde, credit_cards and kandir_law only come with the "View financial tab" permission on people, and credit_cards, also with the "View credit card data" one. Without the permission, the field does not come: it is left out, not sent as null.

Authorizations:
bearerAuthentication
path Parameters
id
required
string <uuid>
Example: f9d961b8-ea88-4346-8e52-afe94267417a

Unique person identifier (UUID).

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json

Example of the complete individual person, with the grouped blocks and the weak entities.

{
  • "id": "f9d961b8-ea88-4346-8e52-afe94267417a",
  • "code": 1042,
  • "person_kind": "individual",
  • "name": "Carlos Souza",
  • "legal_name": null,
  • "cpf_cnpj": "12345678909",
  • "gender": "male",
  • "birthdate": "1985-07-22",
  • "rg_ie": "203456789",
  • "city_inscription": null,
  • "tax_identification_number": null,
  • "passport_number": "BR123456",
  • "passport_expiration_date": "2028-10-01",
  • "foreigner": false,
  • "foreign_identity_document": null,
  • "email": "carlos@exemplo.com.br",
  • "phone_number": "4133334444",
  • "mobile_number": "41999998888",
  • "business_phone": "4130302020",
  • "website": null,
  • "cvc_code": null,
  • "observations": "Cliente preferencial.",
  • "charge_billet_fee": false,
  • "created_at": "2021-11-05T10:30:00",
  • "address": {
    },
  • "additional_data": {
    },
  • "last_contacts": {
    },
  • "tax_withholding": null,
  • "airline": null,
  • "birthplace": {
    },
  • "seller": {
    },
  • "promoter": null,
  • "created_by": {
    },
  • "contacts": [
    ],
  • "labels": [
    ],
  • "custom_fields": [
    ],
  • "attachments": [],
  • "credit_cards": [
    ],
  • "cost_centers": null,
  • "kandir_law": null,
  • "invoice_rules": [
    ],
  • "photo": {
    }
}

Update a person Beta

Updates a person already registered. Send only the fields that must change: a field left out stays as it is, and a field sent as null is removed. Empty text is saved as sent; on a required field, and on a field that is not text, it is refused (422), the codes that locate the city (city_ibge, city_name, state_code, country_code) and the code of airline, which is unique among people, included. An object sent as null removes everything it writes (address, birthplace, additional_data, airline), and a null field inside it, only that data; the city is removed when city_ibge and city_name come null. A null seller or promoter removes the seller or the promoter. These cannot be removed, and sending them as null is refused (422): name, person_kind, foreigner, charge_billet_fee, the external_id (it can be replaced by another one, but not removed), the tax_withholding flags and, when the person is a Monde user, the email. The kind of the person does not change: person_kind, when provided, must be the one the person already is. The external_id starts identifying the person, as long as it does not identify another one; the CPF/CNPJ and the airline code cannot belong to another person. As in Monde, the stored CPF/CNPJ is checked on every update: on a person with an invalid document, the update answers 422 on the cpf_cnpj field until it is sent corrected, or null to remove it. When the person is a Monde user, the email cannot be the one of another user either. The labels, contacts, credit_cards, cost_centers and kandir_law lists work by replacement: the list sent becomes the list of the person, an empty or null list removes every item and leaving the field out keeps the current ones. Custom fields do not replace: every one sent is written over the current value, one sent with a null or empty value is cleared (a required one is refused), and the remaining ones stay. The response returns the updated person in the same format as the get by ID when the credential also has the "View" permission on people; without it, the update is written all the same and the response returns only the id of the person. A person that is a company of the system and the email of a person that is an active Monde user are only changed by an administrator, as in Monde: the update answers 403 with the reason. Changing or removing (null) seller also requires the "Change seller" permission, and changing or removing promoter, the "Change promoter" one; the one resent equal to the current one, and a null one on a person without seller or promoter, ask no permission. Sending credit_cards or kandir_law with some item, or empty or null when they remove what the person has, also requires the "View financial tab" permission on people, and each card operation, its own permission, as in Monde: adding a card (item without id) requires "Register credit card"; changing a card (item with id and some field different from the stored one, or with number or cvv, which always count as a change; one resent as the query returns it asks nothing) requires "View credit card data" and "Edit credit card"; and a list that leaves out a card the person has, removing it, requires "Remove credit card". A card cited only by its id stays as it is and asks no permission of its own. Without the permission, the answer is 403 with the Monde message, and nothing is changed. In the response, without "View financial tab", credit_cards and kandir_law do not come, and without "View credit card data", credit_cards does not come: the field is left out, not sent as null.

Authorizations:
bearerAuthentication
path Parameters
id
required
string <uuid>
Example: f9d961b8-ea88-4346-8e52-afe94267417a

Unique person identifier (UUID).

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Idempotency-Key
required
string <uuid> ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][...
Example: 550e8400-e29b-41d4-a716-446655440000

Client-generated idempotency key (UUID v4). See the Idempotency section for more details.

Request Body schema: application/json
required
person_kind
string
Enum: "individual" "company"

Indicates whether it is a person (individual) or legal entity (company).

external_id
string <= 50 characters

Unique identifier used to identify the record on Monde. You must provide this information and use it in future references to the same record. Any unique string is allowed, such as an identity document or UUID.

Example: "09fbbf97-4ccb-4e5d-8fe4-2eacc38138b3".

name
string <= 100 characters

Name or trade name, according to the person kind.

Example: "Maria da Silva" or "Epic Journey".

legal_name
string or null <= 100 characters

Legal name.

Example: "Epic Journey S.A.".

gender
string or null
Enum: "female" "male" null

Gender.

birthdate
string or null <date>

Birthdate in ISO 8601 format (YYYY-MM-DD).

Example: "1990-02-12".

cpf_cnpj
string [ 11 .. 14 ] characters

Brazilian Individual Taxpayer Registry (CPF) or National Registry of Legal Entities (CNPJ), according to the person kind, without dots, slashes, dashes or spaces.

Example: "38107867807" or "50559280000140".

rg_ie
string or null <= 20 characters

Brazilian Identity Card (RG) or Brazilian State Registration (IE), according to the person kind, without dots, dashes, or spaces.

Example: "461196037" or "123456789012".

passport_number
string or null <= 20 characters

Passport number, without dots, dashes, or spaces.

Example: "FG225776".

passport_expiration_date
string or null <date>

Passport expiration date in ISO 8601 format (YYYY-MM-DD).

Example: "2035-12-01".

foreigner
boolean
Default: false

Indicates whether the person or company is foreign. Use true for individuals who do not have Brazilian nationality or companies that are not based in Brazil.

foreign_identity_document
string or null <= 30 characters

Identity document of the foreigner, issued in their country of origin. Without dots, dashes or spaces.

Example: "41234567".

business_phone
string or null <= 20 characters

Business phone

object or null (person_birthplace)

Place of birth: the city where the person was born. Provide the IBGE code or, when it is not available, the city name with state and country. Without the IBGE code, the city is looked up by name, ignoring accents and case, among the cities the agency can use: in Brazil, in the state; abroad, in the country. The city is not registered: a name that matches none is refused (422).

object or null (person_additional_data)

Additional data of the individual person. Absent (null) for legal person.

website
string or null <= 50 characters

Website (legal person)

tax_identification_number
string or null <= 20 characters

Tax identification number (foreign legal person)

object or null (person_tax_withholding)

Tax withholdings of the legal person. Absent (null) for individual person.

object or null (person_airline)

Airline data of the legal person (suppliers). Absent (null) for individual person.

email
string or null <= 200 characters

Email address.

Example: "contact@example.com".

phone_number
string or null <= 20 characters

Phone number, without dashes or spaces. For international numbers, use + and the country code.

Examples: "1134567890", "+33170180123".

mobile_number
string or null <= 20 characters

Mobile phone number, without dashes or spaces. For international numbers, use + and the country code.

Examples: "11934567890", "+447911123456".

object or null

Address.

city_inscription
string or null <= 15 characters

City inscription

observations
string or null

Person observations

charge_billet_fee
boolean
Default: false

Indicates whether the bank slip fee is charged to the person

entity_reference (object) or null

Seller responsible for the person

entity_reference (object) or null

Person promoter (operator plans)

Array of objects or null (entity_reference)

Labels of the person. The list sent replaces the current one: a label left out of it is removed. Send an empty or null list to remove every label; leave the field out to keep the current ones. Each label must already be registered.

Array of objects or null (person_contact)

People linked to this registration as contacts. The list sent replaces the current one: a contact left out of it is undone. The role of each contact is the one that comes in the list: leaving it out leaves the contact with no role. Send an empty or null list to undo every contact; leave the field out to keep the current ones. Each person must already be registered and cannot repeat in the list. The links in which this person is the contact of somebody else are not affected.

Array of objects (person_custom_field)

Custom fields of people, defined by the agency. Unlike the other lists, it does not replace: every field sent is written over the current value and the ones left out stay as they are, so an empty or null list changes nothing. A field sent with a null or empty value is cleared, except a required one, which is refused. Send each field by id and value.

Array of objects or null (person_credit_card_write)

Credit cards of the person. The list sent replaces the current one: since the read does not return the number, a card the person already has is cited by its id (the same one the get by ID returns), with only the fields to change; an item without id is a new card, and a card left out of the list is deleted. Send an empty or null list to delete them all; leave the field out to keep the current ones. An expired card can be changed, but not added. Requires the "View financial tab" permission on people and, depending on the operation, "Register credit card" (item without id), "View credit card data" and "Edit credit card" (item with id that changes some field) and "Remove credit card" (a card of the person left out of the list).

Array of objects or null (person_cost_center_write)

Cost centers of the corporate client (not the ones of the agency, from /cost_centers). The list sent replaces the current one: a name the person already has, regardless of case, keeps that cost center; a new name adds one; a cost center left out of the list is deleted. Passengers and invoice items that already stored a name do not change. Send an empty or null list to delete them all; leave the field out to keep the current ones. Only a company has cost centers.

Array of objects or null (person_kandir_law_write)

Kandir law withholdings of the company, one per product. The list sent replaces the current one: the product identifies the withholding, so a product the person already has changes its withholding, and the group, scope and tax left out stay as they are (a percentage sent null is refused); a new product adds a withholding, with the percentages left out set to zero; a withholding left out of the list is deleted. Send an empty or null list to delete them all; leave the field out to keep the current ones. Requires the "View financial tab" permission on people when it brings some withholding or removes the ones the person has.

Responses

Request samples

Content type
application/json

Example of updating the contact details, address, labels and custom fields of a person already registered.

{
  • "name": "Maria da Silva Souza",
  • "email": "maria.souza@exemplo.com",
  • "mobile_number": "11934567890",
  • "observations": "Cliente preferencial.",
  • "address": {
    },
  • "labels": [
    ],
  • "contacts": [
    ],
  • "custom_fields": [
    ]
}

Response samples

Content type
application/json
Example

Example of the complete individual person, with the grouped blocks and the weak entities.

{
  • "id": "f9d961b8-ea88-4346-8e52-afe94267417a",
  • "code": 1042,
  • "person_kind": "individual",
  • "name": "Carlos Souza",
  • "legal_name": null,
  • "cpf_cnpj": "12345678909",
  • "gender": "male",
  • "birthdate": "1985-07-22",
  • "rg_ie": "203456789",
  • "city_inscription": null,
  • "tax_identification_number": null,
  • "passport_number": "BR123456",
  • "passport_expiration_date": "2028-10-01",
  • "foreigner": false,
  • "foreign_identity_document": null,
  • "email": "carlos@exemplo.com.br",
  • "phone_number": "4133334444",
  • "mobile_number": "41999998888",
  • "business_phone": "4130302020",
  • "website": null,
  • "cvc_code": null,
  • "observations": "Cliente preferencial.",
  • "charge_billet_fee": false,
  • "created_at": "2021-11-05T10:30:00",
  • "address": {
    },
  • "additional_data": {
    },
  • "last_contacts": {
    },
  • "tax_withholding": null,
  • "airline": null,
  • "birthplace": {
    },
  • "seller": {
    },
  • "promoter": null,
  • "created_by": {
    },
  • "contacts": [
    ],
  • "labels": [
    ],
  • "custom_fields": [
    ],
  • "attachments": [],
  • "credit_cards": [
    ],
  • "cost_centers": null,
  • "kandir_law": null,
  • "invoice_rules": [
    ],
  • "photo": {
    }
}

Delete a person Beta

Deletes the person permanently. Only a person without related records can be deleted — sales (as customer, passenger, intermediary or supplier), financial entries, invoices, quotes, tasks, commissions, cards, accounts, attachments (including the ones already removed), among others — and that is neither a system user nor a system company. In those cases the response is 409 and nothing is changed. Along with the person, its contacts, labels and external_id are removed, as well as the links in which it appears as a contact of another person; it also leaves the invoice rules and cost centers it was part of, stops being the seller or the promoter of other people and is no longer set on the integrations where it appeared. The deletion is recorded in the person history. It does not require Idempotency-Key: repeating the request after the deletion responds 404.

Authorizations:
bearerAuthentication
path Parameters
id
required
string <uuid>
Example: f9d961b8-ea88-4346-8e52-afe94267417a

Unique person identifier (UUID).

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json
{
  • "errors": [
    ]
}

Download person photo Beta

Returns the individual's photo (or the company's logo) as an image, with the Content-Type of the stored format. Requires the permission to read people. This call does not require the Content-Type header.

Authorizations:
bearerAuthentication
path Parameters
person_id
required
string <uuid>
Example: f9d961b8-ea88-4346-8e52-afe94267417a

Unique person identifier (UUID).

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Responses

Response samples

Content type
application/json
{
  • "errors": [
    ]
}

Upload person photo Beta

Stores the individual's photo (or the company's logo), replacing any existing one. The image goes in the file field of a multipart/form-data request and must be a JPEG of up to 150 KB, the same limits as Monde, which only displays images in that format. Requires the permission to edit people, in a company that is not read-only. The change is recorded in the person's history.

Authorizations:
bearerAuthentication
path Parameters
person_id
required
string <uuid>
Example: f9d961b8-ea88-4346-8e52-afe94267417a

Unique person identifier (UUID).

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "multipart/form-data"
Example: multipart/form-data

Request content type. Must be multipart/form-data.

Idempotency-Key
required
string <uuid> ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][...
Example: 550e8400-e29b-41d4-a716-446655440000

Client-generated idempotency key (UUID v4). See the Idempotency section for more details.

Request Body schema: multipart/form-data
required
file
required
string <binary>

The image, as JPEG, up to 150 KB.

Responses

Response samples

Content type
application/json

Example of the complete individual person, with the grouped blocks and the weak entities.

{
  • "id": "f9d961b8-ea88-4346-8e52-afe94267417a",
  • "code": 1042,
  • "person_kind": "individual",
  • "name": "Carlos Souza",
  • "legal_name": null,
  • "cpf_cnpj": "12345678909",
  • "gender": "male",
  • "birthdate": "1985-07-22",
  • "rg_ie": "203456789",
  • "city_inscription": null,
  • "tax_identification_number": null,
  • "passport_number": "BR123456",
  • "passport_expiration_date": "2028-10-01",
  • "foreigner": false,
  • "foreign_identity_document": null,
  • "email": "carlos@exemplo.com.br",
  • "phone_number": "4133334444",
  • "mobile_number": "41999998888",
  • "business_phone": "4130302020",
  • "website": null,
  • "cvc_code": null,
  • "observations": "Cliente preferencial.",
  • "charge_billet_fee": false,
  • "created_at": "2021-11-05T10:30:00",
  • "address": {
    },
  • "additional_data": {
    },
  • "last_contacts": {
    },
  • "tax_withholding": null,
  • "airline": null,
  • "birthplace": {
    },
  • "seller": {
    },
  • "promoter": null,
  • "created_by": {
    },
  • "contacts": [
    ],
  • "labels": [
    ],
  • "custom_fields": [
    ],
  • "attachments": [],
  • "credit_cards": [
    ],
  • "cost_centers": null,
  • "kandir_law": null,
  • "invoice_rules": [
    ],
  • "photo": {
    }
}

Remove person photo Beta

Removes the individual's photo (or the company's logo). Requires the permission to edit people, in a company that is not read-only. The removal is recorded in the person's history.

Authorizations:
bearerAuthentication
path Parameters
person_id
required
string <uuid>
Example: f9d961b8-ea88-4346-8e52-afe94267417a

Unique person identifier (UUID).

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json
{
  • "errors": [
    ]
}

Convert an individual into a company, or the reverse Beta

Converts the person into the kind given in person_kind, like the Converter para Pessoa Jurídica / Converter para Pessoa Física action of Monde's people list. Data that only the original kind has is erased: converting to a company erases CPF, RG, gender, business phone, passport and its expiration, RG issuer and issue date, and birthplace; converting to an individual erases CNPJ, state registration, legal name and website. A system user cannot become a company, and a system company does not change kind. Requires the permission to edit people, in a company that is not read-only. The kind does not change through Update person, only here.

Authorizations:
bearerAuthentication
path Parameters
person_id
required
string <uuid>
Example: f9d961b8-ea88-4346-8e52-afe94267417a

Unique person identifier (UUID).

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Idempotency-Key
required
string <uuid> ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][...
Example: 550e8400-e29b-41d4-a716-446655440000

Client-generated idempotency key (UUID v4). See the Idempotency section for more details.

Request Body schema: application/json
required
person_kind
required
string
Enum: "individual" "company"

Target kind: individual or company. Must differ from the current kind.

Responses

Request samples

Content type
application/json
{
  • "person_kind": "company"
}

Response samples

Content type
application/json

Example of the complete individual person, with the grouped blocks and the weak entities.

{
  • "id": "f9d961b8-ea88-4346-8e52-afe94267417a",
  • "code": 1042,
  • "person_kind": "individual",
  • "name": "Carlos Souza",
  • "legal_name": null,
  • "cpf_cnpj": "12345678909",
  • "gender": "male",
  • "birthdate": "1985-07-22",
  • "rg_ie": "203456789",
  • "city_inscription": null,
  • "tax_identification_number": null,
  • "passport_number": "BR123456",
  • "passport_expiration_date": "2028-10-01",
  • "foreigner": false,
  • "foreign_identity_document": null,
  • "email": "carlos@exemplo.com.br",
  • "phone_number": "4133334444",
  • "mobile_number": "41999998888",
  • "business_phone": "4130302020",
  • "website": null,
  • "cvc_code": null,
  • "observations": "Cliente preferencial.",
  • "charge_billet_fee": false,
  • "created_at": "2021-11-05T10:30:00",
  • "address": {
    },
  • "additional_data": {
    },
  • "last_contacts": {
    },
  • "tax_withholding": null,
  • "airline": null,
  • "birthplace": {
    },
  • "seller": {
    },
  • "promoter": null,
  • "created_by": {
    },
  • "contacts": [
    ],
  • "labels": [
    ],
  • "custom_fields": [
    ],
  • "attachments": [],
  • "credit_cards": [
    ],
  • "cost_centers": null,
  • "kandir_law": null,
  • "invoice_rules": [
    ],
  • "photo": {
    }
}

Labels

Query, create, change and delete the labels used to classify people. There is a single label registry for the whole system, with no company: the permissions apply in any active company where they are granted, and writing requires a company that is not read only.

List labels Beta

Returns the list of labels registered in the system.

Authorizations:
bearerAuthentication
query Parameters
cursor
string
Example: cursor=eyJfcmFpbHMiOnsiZGF0YSI6WyIyMDI2LTAzLTEwIiwiNmIwZjdjMWUtMmQ0YS00ZjhiLTljMzEtNThhMGQ3ZTEzZjQyIl0sInB1ciI6ImFwaS92My9wcm9kdWN0cyNpbmRleCJ9fQ--3aa1d942d6240ca905038c019d661bc90af6836fc4a818cee3663829c75970e4

Cursor of the next page, exactly as it came in next_cursor. Without it, the query starts at the first page.

size
integer [ 1 .. 50 ]
Default: 20
Example: size=10

Number of records per page

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Responses

Response samples

Content type
application/json
Example

Example response containing every registered label.

{
  • "data": [
    ],
  • "pagination": {
    }
}

Create label Beta

Creates a label. The name is required, has up to 38 characters and cannot repeat the name of another label. Requires the "Edit" permission on labels.

Authorizations:
bearerAuthentication
header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string
Value: "application/json"
Example: application/json

Request content type. Must be application/json.

Idempotency-Key
required
string <uuid> ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][...
Example: 550e8400-e29b-41d4-a716-446655440000

Client-generated idempotency key (UUID v4). See the Idempotency section for more details.

Request Body schema: application/json
required
name
required
string <= 38 characters

Label name, with up to 38 characters and different from the name of the other labels

Responses

Request samples

Content type
application/json

Creates the VIP label.

{
  • "name": "VIP"
}

Response samples

Content type
application/json

Example response for a specific label.

{
  • "id": "2d0b3c4e-5f60-4172-9384-0b1c2d3e4f50",
  • "name": "VIP"
}

Get label by ID Beta

Returns a specific label by its identifier.

Authorizations:
bearerAuthentication
path Parameters
id
required
string <uuid>
Example: f9d961b8-ea88-4346-8e52-afe94267417a

Unique identifier of the label

header Parameters
Authorization
required
string
Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz

Access credential provided by the travel agency, in the Bearer scheme.

Content-Type
required
string