Welcome to the Monde API! This documentation provides details of available endpoints for integrating your system with us.
https://web.monde.com.br/api/v3. string, integer, float, boolean, etc. .) as the decimal separator, with only two decimal places. Example: 99999.99. required. "") 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). 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). Each endpoint has a badge indicating whether you can already use it:
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
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.
550e8400-e29b-41d4-a716-446655440000).X-Idempotent-Replay: true header.409 Conflict.422 Unprocessable Content), the key becomes available again: sending the same request with the same key is processed again.422 Unprocessable Content.To keep the service stable for everyone, this API limits how many requests each client can make in a short time window.
/64 network: every address in the same /64 network adds up to the same limit.429 Too Many Requests and an error message.429, wait before retrying and use an increasing wait time between attempts (exponential backoff). 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.
cursor.has_next_page is true, repeat the request sending cursor with the next_cursor value from the previous response.has_next_page is false, next_cursor comes back null and the walk is over.size sets how many records come per page: from 1 to 50. Without the parameter, it is 20.400.Operations for uploading, downloading and deleting attachments associated with resources.
429.
Idempotency-Key and apply exponential backoff.
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.
403 with the Monde message.
| 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. |
| 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. |
| resource_id required | string <uuid> ID of the resource that will receive the attachment. |
| file required | string <binary> Binary file to attach.
|
| 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 (-). |
{ "resource_type": "sale", "resource_id": "c52a1c51-80e2-4a28-925e-2102a7b5d4e1", "file": "@voucher.pdf", "description": "voucher" }
{- "id": "0685f968-4afb-4574-be1b-3a1e5fc10d94",
- "description": "voucher",
- "extension": "pdf",
- "content_type": "application/pdf",
}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.
| id required | string <uuid> Example: b8c9d0e1-f2a3-4455-c6d7-e8f9a0b1c2d3 Attachment identifier. |
| 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. |
| description required | string New name of the attachment. It cannot be blank. |
{- "description": "Comprovante de pagamento"
}{- "id": "0685f968-4afb-4574-be1b-3a1e5fc10d94",
- "description": "voucher",
- "extension": "pdf",
- "content_type": "application/pdf",
}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:
404.| id required | string <uuid> Example: b8c9d0e1-f2a3-4455-c6d7-e8f9a0b1c2d3 Attachment identifier. |
| Authorization required | string Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz Access credential provided by the travel agency, in the Bearer scheme. |
{- "errors": [
- "The access credentials are not valid."
]
}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:
| id required | string <uuid> Example: b8c9d0e1-f2a3-4455-c6d7-e8f9a0b1c2d3 Attachment identifier. |
| Authorization required | string Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz Access credential provided by the travel agency, in the Bearer scheme. |
{- "errors": [
- "The access credentials are not valid."
]
}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.
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).
Returns a paginated list of sales. By default, returns only opened and closed sales; to include canceled sales, use the status parameter.
| 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:
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:
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 |
| 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 |
| cursor | string Example: cursor=eyJfcmFpbHMiOnsiZGF0YSI6WyIyMDI2LTAzLTEwIiwiNmIwZjdjMWUtMmQ0YS00ZjhiLTljMzEtNThhMGQ3ZTEzZjQyIl0sInB1ciI6ImFwaS92My9wcm9kdWN0cyNpbmRleCJ9fQ--3aa1d942d6240ca905038c019d661bc90af6836fc4a818cee3663829c75970e4 Cursor of the next page, exactly as it came in |
| size | integer [ 1 .. 50 ] Default: 20 Example: size=10 Number of records per page |
| 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. |
{- "data": [
- {
- "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": {
- "products": 19188.57,
- "fees": 598.84,
- "discount": 225,
- "revenue": 1500,
- "balance": 0,
- "final_amount": 19870.43
}
}
], - "pagination": {
- "size": 20,
- "has_next_page": false,
- "next_cursor": null
}
}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.
status: closed to create the sale already closed, honoring the closing rules. Without this field the sale is created open.
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.
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.
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.
| 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. |
| 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. |
| sale_date required | string <date> (sale_date) Sale date in ISO 8601 format (YYYY-MM-DD). |
| status | string Default: "opened" Enum: "opened" "closed" Sale status on creation. Defaults to |
| 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 | |
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. | |
object or null Own operation product of the sale. At most one per sale, and the product must be the same as | |
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 | |
Array of objects (commission_create) Commissions to record on the sale. Only accepted when |
{- "company_identifier": "46598887000162",
- "sale_date": "2026-11-06",
- "seller": {
- "external_id": "a8a41bec-e2a2-4d6a-b2f9-8fbc29169e46",
- "name": "João da Silva",
- "cpf": "83115137168"
}, - "payer": {
- "person_kind": "individual",
- "external_id": "cce45f2c-30e3-43a6-bbf1-af340188a04c",
- "name": "Márcio da Veiga",
- "legal_name": null,
- "gender": "male",
- "birthdate": "1990-02-12",
- "cpf_cnpj": "50957153848",
- "rg_ie": "202571476",
- "passport_number": "BC826174",
- "passport_expiration_date": "2030-07-15",
- "foreigner": false,
- "foreign_identity_document": null,
- "email": "contato@marcio.com",
- "phone_number": "11999990001",
- "mobile_number": "11999990002",
- "address": {
- "postal_code": "08330410",
- "street": "Avenida Andrômeda",
- "street_number": "100",
- "neighborhood": "Cidade Satélite Santa Bárbara",
- "additional_info": "Apartamento 501",
- "city_ibge": "3550308",
- "city_name": "São Paulo",
- "state_code": "SP",
- "country_code": "BR"
}
}, - "intermediary": {
- "person_kind": "individual",
- "external_id": "8a9de5ce-dac6-4721-851b-7366bf9ff5b0",
- "name": "Isabel Ribas",
- "legal_name": null,
- "gender": "female",
- "birthdate": "1984-03-22",
- "cpf_cnpj": "05619249883",
- "rg_ie": "417277556",
- "passport_number": "XM468760",
- "passport_expiration_date": "2035-07-22",
- "foreigner": false,
- "foreign_identity_document": null,
- "email": "contato@isabel.com",
- "phone_number": "11999990003",
- "mobile_number": "11999990004",
- "address": {
- "postal_code": "12239420",
- "street": "Rua Maria Martins Ottoboni",
- "street_number": "100",
- "neighborhood": "Campo dos Alemães",
- "additional_info": "Sala 7",
- "city_ibge": "3549904",
- "city_name": "São José dos Campos",
- "state_code": "SP",
- "country_code": "BR"
}
}, - "approver": {
- "person_kind": "individual",
- "external_id": "b7f3c1a2-9d84-4e60-8c15-2a6f0e3d4b91",
- "name": "Renata Furtado",
- "legal_name": null,
- "gender": "female",
- "birthdate": "1979-11-08",
- "cpf_cnpj": "68432197807",
- "rg_ie": "331948027",
- "passport_number": "YK517293",
- "passport_expiration_date": "2032-04-30",
- "foreigner": false,
- "foreign_identity_document": null,
- "email": "contato@renata.com",
- "phone_number": "11999990005",
- "mobile_number": "11999990006",
- "address": {
- "postal_code": "13070170",
- "street": "Rua Antônio Lapa",
- "street_number": "100",
- "neighborhood": "Cambuí",
- "additional_info": "Sala 3",
- "city_ibge": "3509502",
- "city_name": "Campinas",
- "state_code": "SP",
- "country_code": "BR"
}
}, - "requester": {
- "external_id": "9f2c7a41-8b53-4e06-a1d9-63f0e2b5c748",
- "name": "Beatriz Nogueira",
- "gender": "female",
- "birthdate": "1988-06-19",
- "cpf": "47690215858",
- "rg": "289104537",
- "passport_number": "RT902184",
- "passport_expiration_date": "2033-09-10",
- "foreigner": false,
- "foreign_identity_document": null,
- "email": "contato@beatriz.com",
- "phone_number": "11999990007",
- "mobile_number": "11999990008",
- "address": {
- "postal_code": "01310100",
- "street": "Avenida Paulista",
- "street_number": "1000",
- "neighborhood": "Bela Vista",
- "additional_info": "Conjunto 4",
- "city_ibge": "3550308",
- "city_name": "São Paulo",
- "state_code": "SP",
- "country_code": "BR"
}
}, - "insurances": [
- {
- "local_id": "a1b2c3d4-e5f6-7890-1234-567890abcdef",
- "document": "14296922",
- "begin_date": "2026-11-11",
- "end_date": "2026-11-26",
- "destination": "international",
- "included_services": "Plano: Max BRL R$ 60.000,00 com cobertura de despesas médicas\nCódigo: 1234",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 50.07,
- "intermediary_commission_amount": 25.04,
- "agency_service_fee": 100,
- "discount_amount": 10,
- "supplier": {
- "external_id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b",
- "name": "Epic Journey Turismo",
- "legal_name": "Epic Journey Turismo S.A.",
- "cnpj": "11402447000103",
- "ie": "1234567890",
- "foreigner": false,
- "email": "contato@epicjourney.com.br",
- "phone_number": "11999990005",
- "mobile_number": "11999990006",
- "address": {
- "postal_code": "01310932",
- "street": "Avenida Paulista",
- "street_number": "1000",
- "neighborhood": "Bela Vista",
- "additional_info": "10° andar",
- "city_ibge": "3550308",
- "city_name": "São Paulo",
- "state_code": "SP",
- "country_code": "BR"
}
}, - "representative": {
- "external_id": "028ea1ef-3f8e-4c7f-93da-463794a5afda",
- "name": "Epic Journey Operadora",
- "legal_name": "Epic Journey Operadora Ltd.",
- "cnpj": "18258223000119",
- "ie": "1234567890",
- "foreigner": false,
- "email": "contato@epicjourneyoperadora.com",
- "phone_number": "11999990007",
- "mobile_number": "11999990008",
- "address": {
- "postal_code": "01310932",
- "street": "Avenida Paulista",
- "street_number": "5000",
- "neighborhood": "Bela Vista",
- "additional_info": "7° andar",
- "city_ibge": "3550308",
- "city_name": "São Paulo",
- "state_code": "SP",
- "country_code": "BR"
}
}, - "passengers": [
- {
- "document": "9921508090000",
- "amount": 625.95,
- "fees": 31.3,
- "rav_fee": 15,
- "rav_fee_discount": 5,
- "agency_fee": 10,
- "person": {
- "external_id": "322ff2c2-43e0-4376-bea5-20f88b673b6d",
- "name": "Maria da Silva",
- "gender": "female",
- "birthdate": "1990-10-01",
- "cpf": "38107867807",
- "rg": "461196037",
- "passport_number": "FG225776",
- "passport_expiration_date": "2035-12-01",
- "foreigner": false,
- "foreign_identity_document": null,
- "email": "maria.silva@example.com",
- "phone_number": "11999990009",
- "mobile_number": "11999990010",
- "address": {
- "postal_code": "04078011",
- "street": "Avenida Divino Salvador",
- "street_number": "5000",
- "neighborhood": "Planalto Paulista",
- "additional_info": "Casa 2",
- "city_ibge": "3550308",
- "city_name": "São Paulo",
- "state_code": "SP",
- "country_code": "BR"
}
}
}
]
}
], - "cruises": [
- {
- "local_id": "b2c3d4e5-f6a7-8901-2345-678901bcdef0",
- "booking_number": "987568489",
- "departure_date": "2026-11-12",
- "arrival_date": "2026-11-26",
- "ship_name": "MXS Example Seaview",
- "cruise_destination": "Bahamas",
- "accommodation_kind": "Duplo Casal",
- "cabin_number": "1234",
- "cabin_kind": "Royal Suite",
- "cabin_category": "7A",
- "included_services": "Pacote: All Inclusive\nCódigo: 1234",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 835.88,
- "intermediary_commission_amount": 417.94,
- "agency_service_fee": 100,
- "discount_amount": 100,
- "supplier": {
- "external_id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b",
- "name": "Epic Journey Turismo",
- "legal_name": "Epic Journey Turismo S.A.",
- "cnpj": "11402447000103",
- "ie": "1234567890",
- "foreigner": false,
- "email": "contato@epicjourney.com.br",
- "phone_number": "11999990005",
- "mobile_number": "11999990006",
- "address": {
- "postal_code": "01310932",
- "street": "Avenida Paulista",
- "street_number": "1000",
- "neighborhood": "Bela Vista",
- "additional_info": "10° andar",
- "city_ibge": "3550308",
- "city_name": "São Paulo",
- "state_code": "SP",
- "country_code": "BR"
}
}, - "representative": {
- "external_id": "028ea1ef-3f8e-4c7f-93da-463794a5afda",
- "name": "Epic Journey Operadora",
- "legal_name": "Epic Journey Operadora Ltd.",
- "cnpj": "18258223000119",
- "ie": "1234567890",
- "foreigner": false,
- "email": "contato@epicjourneyoperadora.com",
- "phone_number": "11999990007",
- "mobile_number": "11999990008",
- "address": {
- "postal_code": "01310932",
- "street": "Avenida Paulista",
- "street_number": "5000",
- "neighborhood": "Bela Vista",
- "additional_info": "7° andar",
- "city_ibge": "3550308",
- "city_name": "São Paulo",
- "state_code": "SP",
- "country_code": "BR"
}
}, - "passengers": [
- {
- "document": "CRZ-90412",
- "amount": 8358.77,
- "fees": 209,
- "tip": 50,
- "rav_fee": 40,
- "rav_fee_discount": 10,
- "agency_fee": 20,
- "person": {
- "external_id": "322ff2c2-43e0-4376-bea5-20f88b673b6d",
- "name": "Maria da Silva",
- "gender": "female",
- "birthdate": "1990-10-01",
- "cpf": "38107867807",
- "rg": "461196037",
- "passport_number": "FG225776",
- "passport_expiration_date": "2035-12-01",
- "foreigner": false,
- "foreign_identity_document": null,
- "email": "maria.silva@example.com",
- "phone_number": "11999990009",
- "mobile_number": "11999990010",
- "address": {
- "postal_code": "04078011",
- "street": "Avenida Divino Salvador",
- "street_number": "5000",
- "neighborhood": "Planalto Paulista",
- "additional_info": "Casa 2",
- "city_ibge": "3550308",
- "city_name": "São Paulo",
- "state_code": "SP",
- "country_code": "BR"
}
}
}
]
}
], - "hotels": [
- {
- "local_id": "c3d4e5f6-a7b8-9012-3456-789012cdef01",
- "booking_number": "1020506090",
- "check_in": "2026-11-29",
- "check_out": "2026-12-06",
- "destination": "international",
- "accommodation_kind": "Duplo Casal",
- "room_category": "Deluxe",
- "meal_plan": "All Inclusive",
- "included_services": "Epic Journey Hotel: Avenida Rebouças, 397, São Paulo, SP, Brasil\nQuarto com vista para cidade.",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 563.07,
- "intermediary_commission_amount": 281.54,
- "agency_service_fee": 100,
- "discount_amount": 50,
- "supplier": {
- "external_id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b",
- "name": "Epic Journey Turismo",
- "legal_name": "Epic Journey Turismo S.A.",
- "cnpj": "11402447000103",
- "ie": "1234567890",
- "foreigner": false,
- "email": "contato@epicjourney.com.br",
- "phone_number": "11999990005",
- "mobile_number": "11999990006",
- "address": {
- "postal_code": "01310932",
- "street": "Avenida Paulista",
- "street_number": "1000",
- "neighborhood": "Bela Vista",
- "additional_info": "10° andar",
- "city_ibge": "3550308",
- "city_name": "São Paulo",
- "state_code": "SP",
- "country_code": "BR"
}
}, - "representative": {
- "external_id": "028ea1ef-3f8e-4c7f-93da-463794a5afda",
- "name": "Epic Journey Operadora",
- "legal_name": "Epic Journey Operadora Ltd.",
- "cnpj": "18258223000119",
- "ie": "1234567890",
- "foreigner": false,
- "email": "contato@epicjourneyoperadora.com",
- "phone_number": "11999990007",
- "mobile_number": "11999990008",
- "address": {
- "postal_code": "01310932",
- "street": "Avenida Paulista",
- "street_number": "5000",
- "neighborhood": "Bela Vista",
- "additional_info": "7° andar",
- "city_ibge": "3550308",
- "city_name": "São Paulo",
- "state_code": "SP",
- "country_code": "BR"
}
}, - "passengers": [
- {
- "document": "HTL-55821",
- "amount": 5630.73,
- "fees": 281.54,
- "other_fees": 30,
- "rav_fee": 60,
- "rav_fee_discount": 15,
- "agency_fee": 563.07,
- "person": {
- "external_id": "322ff2c2-43e0-4376-bea5-20f88b673b6d",
- "name": "Maria da Silva",
- "gender": "female",
- "birthdate": "1990-10-01",
- "cpf": "38107867807",
- "rg": "461196037",
- "passport_number": "FG225776",
- "passport_expiration_date": "2035-12-01",
- "foreigner": false,
- "foreign_identity_document": null,
- "email": "maria.silva@example.com",
- "phone_number": "11999990009",
- "mobile_number": "11999990010",
- "address": {
- "postal_code": "04078011",
- "street": "Avenida Divino Salvador",
- "street_number": "5000",
- "neighborhood": "Planalto Paulista",
- "additional_info": "Casa 2",
- "city_ibge": "3550308",
- "city_name": "São Paulo",
- "state_code": "SP",
- "country_code": "BR"
}
}
}
]
}
], - "airline_tickets": [
- {
- "local_id": "d4e5f6a7-b8c9-0123-4567-890123def012",
- "locator": "WABCJJ",
- "destination": "international",
- "included_services": "3 bagagens despachadas sem custo\nAssento com reclinação total\nAcesso ao Lounge",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 136.07,
- "intermediary_commission_amount": 68.04,
- "agency_service_fee": 100,
- "discount_amount": 20,
- "cc_rav_fee": 27.22,
- "cc_du_fee": 27.22,
- "supplier": {
- "airline_code": "AA",
- "airline_number": "001",
- "name": "American Airlines",
- "legal_name": "American Airlines Inc.",
- "cnpj": "73765430000178",
- "ie": "1234567890",
- "foreigner": false,
- "email": "contato@americanairlines.com.br",
- "phone_number": "11999990023",
- "mobile_number": "11999990024",
- "address": {
- "postal_code": "04543013",
- "street": "Avenida Brigadeiro Faria Lima",
- "street_number": "2232",
- "neighborhood": "Jardim Paulistano",
- "additional_info": "9° andar",
- "city_ibge": "3550308",
- "city_name": "São Paulo",
- "state_code": "SP",
- "country_code": "BR"
}
}, - "representative": {
- "external_id": "028ea1ef-3f8e-4c7f-93da-463794a5afda",
- "name": "Epic Journey Operadora",
- "legal_name": "Epic Journey Operadora Ltd.",
- "cnpj": "18258223000119",
- "ie": "1234567890",
- "foreigner": false,
- "email": "contato@epicjourneyoperadora.com",
- "phone_number": "11999990007",
- "mobile_number": "11999990008",
- "address": {
- "postal_code": "01310932",
- "street": "Avenida Paulista",
- "street_number": "5000",
- "neighborhood": "Bela Vista",
- "additional_info": "7° andar",
- "city_ibge": "3550308",
- "city_name": "São Paulo",
- "state_code": "SP",
- "country_code": "BR"
}
}, - "segments": [
- {
- "airline_code": "AA",
- "flight_number": "1234",
- "class": "A",
- "origin": "NAS",
- "departure_date": "2026-11-11T16:20:16",
- "destination": "JFK",
- "arrival_date": "2026-11-11T16:20:16",
- "seats": [
- {
- "seat_number": "A27",
- "ticket_number": "99526874895"
}
]
}
], - "passengers": [
- {
- "ticket_number": "99526874895",
- "original_ticket_number": "99526874894",
- "emission_name": "Maria da Silva",
- "amount": 1360.67,
- "boarding_fee": 136.06,
- "rav_fee": 204.01,
- "du_fee": 104.01,
- "person": {
- "external_id": "322ff2c2-43e0-4376-bea5-20f88b673b6d",
- "name": "Maria da Silva",
- "gender": "female",
- "birthdate": "1990-10-01",
- "cpf": "38107867807",
- "rg": "461196037",
- "passport_number": "FG225776",
- "passport_expiration_date": "2035-12-01",
- "foreigner": false,
- "foreign_identity_document": null,
- "email": "maria.silva@example.com",
- "phone_number": "11999990009",
- "mobile_number": "11999990010",
- "address": {
- "postal_code": "04078011",
- "street": "Avenida Divino Salvador",
- "street_number": "5000",
- "neighborhood": "Planalto Paulista",
- "additional_info": "Casa 2",
- "city_ibge": "3550308",
- "city_name": "São Paulo",
- "state_code": "SP",
- "country_code": "BR"
}
}
}
]
}
], - "train_tickets": [
- {
- "local_id": "e5f6a7b8-c9d0-1234-5678-901234ef0123",
- "document": "RE9988777",
- "included_services": "Refeição inclusa\nWi-Fi gratuito\nVagão silencioso",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 15,
- "intermediary_commission_amount": 7.5,
- "agency_service_fee": 100,
- "discount_amount": 5,
- "segments": [
- {
- "railway_operator": "SNCF",
- "origin": "Paris Gare de Lyon",
- "departure_date": "2026-11-11T16:20:16",
- "destination": "Nice-Ville",
- "arrival_date": "2026-11-11T22:20:16"
}
], - "supplier": {
- "external_id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b",
- "name": "Epic Journey Turismo",
- "legal_name": "Epic Journey Turismo S.A.",
- "cnpj": "11402447000103",
- "ie": "1234567890",
- "foreigner": false,
- "email": "contato@epicjourney.com.br",
- "phone_number": "11999990005",
- "mobile_number": "11999990006",
- "address": {
- "postal_code": "01310932",
- "street": "Avenida Paulista",
- "street_number": "1000",
- "neighborhood": "Bela Vista",
- "additional_info": "10° andar",
- "city_ibge": "3550308",
- "city_name": "São Paulo",
- "state_code": "SP",
- "country_code": "BR"
}
}, - "representative": {
- "external_id": "028ea1ef-3f8e-4c7f-93da-463794a5afda",
- "name": "Epic Journey Operadora",
- "legal_name": "Epic Journey Operadora Ltd.",
- "cnpj": "18258223000119",
- "ie": "1234567890",
- "foreigner": false,
- "email": "contato@epicjourneyoperadora.com",
- "phone_number": "11999990007",
- "mobile_number": "11999990008",
- "address": {
- "postal_code": "01310932",
- "street": "Avenida Paulista",
- "street_number": "5000",
- "neighborhood": "Bela Vista",
- "additional_info": "7° andar",
- "city_ibge": "3550308",
- "city_name": "São Paulo",
- "state_code": "SP",
- "country_code": "BR"
}
}, - "passengers": [
- {
- "amount": 240.5,
- "fees": 24.05,
- "rav_fee": 10,
- "rav_fee_discount": 2,
- "agency_fee": 5,
- "document": "RE9988777",
- "person": {
- "external_id": "322ff2c2-43e0-4376-bea5-20f88b673b6d",
- "name": "Maria da Silva",
- "gender": "female",
- "birthdate": "1990-10-01",
- "cpf": "38107867807",
- "rg": "461196037",
- "passport_number": "FG225776",
- "passport_expiration_date": "2035-12-01",
- "foreigner": false,
- "foreign_identity_document": null,
- "email": "maria.silva@example.com",
- "phone_number": "11999990009",
- "mobile_number": "11999990010",
- "address": {
- "postal_code": "04078011",
- "street": "Avenida Divino Salvador",
- "street_number": "5000",
- "neighborhood": "Planalto Paulista",
- "additional_info": "Casa 2",
- "city_ibge": "3550308",
- "city_name": "São Paulo",
- "state_code": "SP",
- "country_code": "BR"
}
}
}
]
}
], - "ground_transportations": [
- {
- "local_id": "f6a7b8c9-d0e1-2345-6789-012345f01234",
- "document": "GT123456",
- "included_services": "Refeição inclusa\nWi-Fi gratuito.",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 8.55,
- "intermediary_commission_amount": 4.28,
- "agency_service_fee": 100,
- "discount_amount": 5,
- "segments": [
- {
- "coach_company": "Viação UTIL",
- "service_class": "LE",
- "origin": "Terminal Rodoviário Novo Rio",
- "departure_date": "2026-11-09T16:20:16",
- "destination": "Terminal Rodoviário de Santos",
- "arrival_date": "2026-11-09T22:20:16",
- "seats": [
- {
- "seat_number": "27",
- "ticket_number": "0001234567"
}
]
}
], - "supplier": {
- "external_id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b",
- "name": "Epic Journey Turismo",
- "legal_name": "Epic Journey Turismo S.A.",
- "cnpj": "11402447000103",
- "ie": "1234567890",
- "foreigner": false,
- "email": "contato@epicjourney.com.br",
- "phone_number": "11999990005",
- "mobile_number": "11999990006",
- "address": {
- "postal_code": "01310932",
- "street": "Avenida Paulista",
- "street_number": "1000",
- "neighborhood": "Bela Vista",
- "additional_info": "10° andar",
- "city_ibge": "3550308",
- "city_name": "São Paulo",
- "state_code": "SP",
- "country_code": "BR"
}
}, - "representative": {
- "external_id": "028ea1ef-3f8e-4c7f-93da-463794a5afda",
- "name": "Epic Journey Operadora",
- "legal_name": "Epic Journey Operadora Ltd.",
- "cnpj": "18258223000119",
- "ie": "1234567890",
- "foreigner": false,
- "email": "contato@epicjourneyoperadora.com",
- "phone_number": "11999990007",
- "mobile_number": "11999990008",
- "address": {
- "postal_code": "01310932",
- "street": "Avenida Paulista",
- "street_number": "5000",
- "neighborhood": "Bela Vista",
- "additional_info": "7° andar",
- "city_ibge": "3550308",
- "city_name": "São Paulo",
- "state_code": "SP",
- "country_code": "BR"
}
}, - "passengers": [
- {
- "amount": 121.95,
- "fees": 12.19,
- "rav_fee": 5,
- "rav_fee_discount": 1,
- "agency_fee": 3,
- "document": "0001234567",
- "person": {
- "external_id": "322ff2c2-43e0-4376-bea5-20f88b673b6d",
- "name": "Maria da Silva",
- "gender": "female",
- "birthdate": "1990-10-01",
- "cpf": "38107867807",
- "rg": "461196037",
- "passport_number": "FG225776",
- "passport_expiration_date": "2035-12-01",
- "foreigner": false,
- "foreign_identity_document": null,
- "email": "maria.silva@example.com",
- "phone_number": "11999990009",
- "mobile_number": "11999990010",
- "address": {
- "postal_code": "04078011",
- "street": "Avenida Divino Salvador",
- "street_number": "5000",
- "neighborhood": "Planalto Paulista",
- "additional_info": "Casa 2",
- "city_ibge": "3550308",
- "city_name": "São Paulo",
- "state_code": "SP",
- "country_code": "BR"
}
}
}
]
}
], - "car_rentals": [
- {
- "local_id": "a7b8c9d0-e1f2-3456-7890-123456a01234",
- "document": "CR123456789",
- "pickup_date": "2026-11-11",
- "pickup_location": "Aeroporto de Congonhas",
- "dropoff_date": "2026-11-18",
- "dropoff_location": "Aeroporto de Congonhas",
- "destination": "national",
- "vehicle_category": "Econômico",
- "included_services": "Quilometragem livre\nSeguro básico incluso\nTanque cheio na retirada",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 35,
- "intermediary_commission_amount": 17.5,
- "agency_service_fee": 100,
- "discount_amount": 10,
- "supplier": {
- "external_id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b",
- "name": "Epic Journey Turismo",
- "legal_name": "Epic Journey Turismo S.A.",
- "cnpj": "11402447000103",
- "ie": "1234567890",
- "foreigner": false,
- "email": "contato@epicjourney.com.br",
- "phone_number": "11999990005",
- "mobile_number": "11999990006",
- "address": {
- "postal_code": "01310932",
- "street": "Avenida Paulista",
- "street_number": "1000",
- "neighborhood": "Bela Vista",
- "additional_info": "10° andar",
- "city_ibge": "3550308",
- "city_name": "São Paulo",
- "state_code": "SP",
- "country_code": "BR"
}
}, - "representative": {
- "external_id": "028ea1ef-3f8e-4c7f-93da-463794a5afda",
- "name": "Epic Journey Operadora",
- "legal_name": "Epic Journey Operadora Ltd.",
- "cnpj": "18258223000119",
- "ie": "1234567890",
- "foreigner": false,
- "email": "contato@epicjourneyoperadora.com",
- "phone_number": "11999990007",
- "mobile_number": "11999990008",
- "address": {
- "postal_code": "01310932",
- "street": "Avenida Paulista",
- "street_number": "5000",
- "neighborhood": "Bela Vista",
- "additional_info": "7° andar",
- "city_ibge": "3550308",
- "city_name": "São Paulo",
- "state_code": "SP",
- "country_code": "BR"
}
}, - "passengers": [
- {
- "document": "LOC-77310",
- "amount": 350,
- "fees": 17.5,
- "other_fees": 8,
- "rav_fee": 7,
- "rav_fee_discount": 2,
- "agency_fee": 5,
- "person": {
- "external_id": "322ff2c2-43e0-4376-bea5-20f88b673b6d",
- "name": "Maria da Silva",
- "gender": "female",
- "birthdate": "1990-10-01",
- "cpf": "38107867807",
- "rg": "461196037",
- "passport_number": "FG225776",
- "passport_expiration_date": "2035-12-01",
- "foreigner": false,
- "foreign_identity_document": null,
- "email": "maria.silva@example.com",
- "phone_number": "11999990009",
- "mobile_number": "11999990010",
- "address": {
- "postal_code": "04078011",
- "street": "Avenida Divino Salvador",
- "street_number": "5000",
- "neighborhood": "Planalto Paulista",
- "additional_info": "Casa 2",
- "city_ibge": "3550308",
- "city_name": "São Paulo",
- "state_code": "SP",
- "country_code": "BR"
}
}
}
]
}
], - "travel_packages": [
- {
- "local_id": "b8c9d0e1-f2a3-4567-8901-234567a01234",
- "document": "TP123456789",
- "begin_date": "2026-11-16",
- "end_date": "2026-11-23",
- "destination": "international",
- "package_name": "Pacote Europa Clássica",
- "transport": "scheduled_flight",
- "included_services": "Hospedagem: Hotéis 4 estrelas\nRefeições: Café da manhã e jantar\nPasseios: City tour em 5 cidades\nSeguro viagem internacional",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 250,
- "intermediary_commission_amount": 125,
- "agency_service_fee": 100,
- "discount_amount": 25,
- "supplier": {
- "external_id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b",
- "name": "Epic Journey Turismo",
- "legal_name": "Epic Journey Turismo S.A.",
- "cnpj": "11402447000103",
- "ie": "1234567890",
- "foreigner": false,
- "email": "contato@epicjourney.com.br",
- "phone_number": "11999990005",
- "mobile_number": "11999990006",
- "address": {
- "postal_code": "01310932",
- "street": "Avenida Paulista",
- "street_number": "1000",
- "neighborhood": "Bela Vista",
- "additional_info": "10° andar",
- "city_ibge": "3550308",
- "city_name": "São Paulo",
- "state_code": "SP",
- "country_code": "BR"
}
}, - "representative": {
- "external_id": "028ea1ef-3f8e-4c7f-93da-463794a5afda",
- "name": "Epic Journey Operadora",
- "legal_name": "Epic Journey Operadora Ltd.",
- "cnpj": "18258223000119",
- "ie": "1234567890",
- "foreigner": false,
- "email": "contato@epicjourneyoperadora.com",
- "phone_number": "11999990007",
- "mobile_number": "11999990008",
- "address": {
- "postal_code": "01310932",
- "street": "Avenida Paulista",
- "street_number": "5000",
- "neighborhood": "Bela Vista",
- "additional_info": "7° andar",
- "city_ibge": "3550308",
- "city_name": "São Paulo",
- "state_code": "SP",
- "country_code": "BR"
}
}, - "passengers": [
- {
- "amount": 2500,
- "fees": 125,
- "other_fees": 25,
- "rav_fee": 50,
- "rav_fee_discount": 10,
- "agency_fee": 30,
- "document": "PCT2024050001",
- "person": {
- "external_id": "322ff2c2-43e0-4376-bea5-20f88b673b6d",
- "name": "Maria da Silva",
- "gender": "female",
- "birthdate": "1990-10-01",
- "cpf": "38107867807",
- "rg": "461196037",
- "passport_number": "FG225776",
- "passport_expiration_date": "2035-12-01",
- "foreigner": false,
- "foreign_identity_document": null,
- "email": "maria.silva@example.com",
- "phone_number": "11999990009",
- "mobile_number": "11999990010",
- "address": {
- "postal_code": "04078011",
- "street": "Avenida Divino Salvador",
- "street_number": "5000",
- "neighborhood": "Planalto Paulista",
- "additional_info": "Casa 2",
- "city_ibge": "3550308",
- "city_name": "São Paulo",
- "state_code": "SP",
- "country_code": "BR"
}
}
}
]
}
], - "excursions": [
- {
- "local_id": "c1d2e3f4-a5b6-4c78-9d0e-1f2a3b4c5d6e",
- "document": "EXC123456",
- "departure_date": "2026-11-11T08:00:00",
- "arrival_date": "2026-11-11T18:00:00",
- "observations": "Saída do hotel às 8h.",
- "included_services": "Guia local incluso\nTransporte incluso",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 35,
- "intermediary_commission_amount": 17.5,
- "agency_service_fee": 20,
- "discount_amount": 5,
- "supplier": {
- "external_id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b",
- "name": "Epic Journey Turismo",
- "legal_name": "Epic Journey Turismo S.A.",
- "cnpj": "11402447000103",
- "ie": "1234567890",
- "foreigner": false,
- "email": "contato@epicjourney.com.br",
- "phone_number": "11999990005",
- "mobile_number": "11999990006",
- "address": {
- "postal_code": "01310932",
- "street": "Avenida Paulista",
- "street_number": "1000",
- "neighborhood": "Bela Vista",
- "additional_info": "10° andar",
- "city_ibge": "3550308",
- "city_name": "São Paulo",
- "state_code": "SP",
- "country_code": "BR"
}
}, - "representative": {
- "external_id": "028ea1ef-3f8e-4c7f-93da-463794a5afda",
- "name": "Epic Journey Operadora",
- "legal_name": "Epic Journey Operadora Ltd.",
- "cnpj": "18258223000119",
- "ie": "1234567890",
- "foreigner": false,
- "email": "contato@epicjourneyoperadora.com",
- "phone_number": "11999990007",
- "mobile_number": "11999990008",
- "address": {
- "postal_code": "01310932",
- "street": "Avenida Paulista",
- "street_number": "5000",
- "neighborhood": "Bela Vista",
- "additional_info": "7° andar",
- "city_ibge": "3550308",
- "city_name": "São Paulo",
- "state_code": "SP",
- "country_code": "BR"
}
}, - "passengers": [
- {
- "amount": 350,
- "fees": 17.5,
- "rav_fee": 10,
- "rav_fee_discount": 2,
- "agency_fee": 5,
- "document": "EXC2024060034",
- "person": {
- "external_id": "322ff2c2-43e0-4376-bea5-20f88b673b6d",
- "name": "Maria da Silva",
- "gender": "female",
- "birthdate": "1990-10-01",
- "cpf": "38107867807",
- "rg": "461196037",
- "passport_number": "FG225776",
- "passport_expiration_date": "2035-12-01",
- "foreigner": false,
- "foreign_identity_document": null,
- "email": "maria.silva@example.com",
- "phone_number": "11999990009",
- "mobile_number": "11999990010",
- "address": {
- "postal_code": "04078011",
- "street": "Avenida Divino Salvador",
- "street_number": "5000",
- "neighborhood": "Planalto Paulista",
- "additional_info": "Casa 2",
- "city_ibge": "3550308",
- "city_name": "São Paulo",
- "state_code": "SP",
- "country_code": "BR"
}
}
}
]
}
], - "payments": [
- {
- "local_id": "pagamento-1",
- "agency": {
- "credit_card": {
- "due_date": "2026-12-06",
- "settlement_date": "2026-11-06",
- "card_brand": "mastercard",
- "card_last_digits": "5678",
- "authorization": "ABC123",
- "bank_account": {
- "bank_code": "237",
- "agency_number": "1234",
- "agency_digit": "5",
- "account_number": "56789",
- "account_digit": "0"
}, - "products": [
- {
- "sale_product_local_id": "e5f6a7b8-c9d0-1234-5678-901234ef0123",
- "amount": 264.55
}
]
}
}
}, - {
- "local_id": "pagamento-2",
- "agency": {
- "bank_slip": {
- "due_date": "2026-12-06",
- "settlement_date": "2026-11-06",
- "bank_account": {
- "bank_code": "237",
- "agency_number": "1234",
- "agency_digit": "5",
- "account_number": "56789",
- "account_digit": "0"
}, - "products": [
- {
- "sale_product_local_id": "a7b8c9d0-e1f2-3456-7890-123456a01234",
- "amount": 350
}
]
}
}
}, - {
- "local_id": "pagamento-3",
- "agency": {
- "bank_deposit": {
- "due_date": "2026-12-06",
- "settlement_date": "2026-11-06",
- "observations": "TED",
- "bank_account": {
- "bank_code": "237",
- "agency_number": "1234",
- "agency_digit": "5",
- "account_number": "56789",
- "account_digit": "0"
}, - "products": [
- {
- "sale_product_local_id": "c3d4e5f6-a7b8-9012-3456-789012cdef01",
- "amount": 6475.34
}, - {
- "sale_product_local_id": "a1b2c3d4-e5f6-7890-1234-567890abcdef",
- "amount": 625.95
}
]
}
}
}, - {
- "local_id": "pagamento-4",
- "vendor": {
- "credit_card": {
- "card_last_digits": "1234",
- "authorization": "XYZ789",
- "installments": 2,
- "products": [
- {
- "sale_product_local_id": "b2c3d4e5-f6a7-8901-2345-678901bcdef0",
- "amount": 8358.77
}
]
}
}
}, - {
- "local_id": "pagamento-5",
- "vendor": {
- "others": {
- "details": "Fatura",
- "payer": {
- "person_kind": "individual",
- "external_id": "cce45f2c-30e3-43a6-bbf1-af340188a04c",
- "name": "Márcio da Veiga"
}, - "products": [
- {
- "sale_product_local_id": "b8c9d0e1-f2a3-4567-8901-234567a01234",
- "amount": 2500
}
]
}
}
}, - {
- "local_id": "pagamento-6",
- "vendor": {
- "credit": {
- "products": [
- {
- "sale_product_local_id": "f6a7b8c9-d0e1-2345-6789-012345f01234",
- "amount": 134.14
}
]
}
}
}
]
}{- "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": {
- "products": 19188.57,
- "fees": 598.84,
- "discount": 225,
- "revenue": 1500,
- "balance": 0,
- "final_amount": 19870.43
}, - "company": {
- "id": "e5d9aaed-33bb-4679-b392-b45e5cd78eb4"
}, - "created_by": {
- "id": "b4c3d2e1-6f7a-4b9c-8d1e-2f3a4b5c6d7e"
}, - "operation": {
- "id": "8936058a-2906-4239-9a7f-e22ccc2c195e"
}, - "seller": {
- "id": "7c9e1a04-53b6-4f28-9d71-0e5a2c8b4f13"
}, - "payer": {
- "id": "2f8b6d51-9c04-4e37-a1b8-63d95e70c2a4"
}, - "intermediary": {
- "id": "d40a7f92-1e63-4b85-8c27-5a9f3e01b6d8"
}, - "requester": {
- "id": "b17c5e38-6a90-4d21-9f43-8e2b70c5a916"
}, - "approver": {
- "id": "95e2a7c1-4b38-4f60-8d19-27a6f3e0b5c4"
}, - "promoter": {
- "id": "6a3f9d27-8c51-4e04-b2f7-72e5c8a91b30"
}, - "travel": {
- "id": "7c1d9f30-5a2b-4e68-9d47-2f8b6c0a1e35"
}, - "custom_fields": [
- {
- "id": 12345,
- "value": "Reunião comercial"
}
], - "insurances": [
- {
- "id": "1a2b3c4d-5e6f-4708-9a1b-2c3d4e5f6071",
- "local_id": "a1b2c3d4-e5f6-7890-1234-567890abcdef",
- "document": "14296922",
- "begin_date": "2026-11-11",
- "end_date": "2026-11-26",
- "destination": "international",
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Embarque confirmado.",
- "included_services": "Plano: Max BRL R$ 60.000,00 com cobertura de despesas médicas\nCódigo: 1234",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 50.07,
- "commission_percentage": 10,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 25.04,
- "intermediary_commission_percentage": 5,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 100,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 10,
- "cc_rav_fee": 0,
- "totals": {
- "fees": 25,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 10,
- "products": 625.95,
- "customer_amount": 650.95,
- "amount": 650.95
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}, - "passengers": [
- {
- "document": "9921508090000",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "fees": 25,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "amount": 625.95,
- "customer_amount": 650.95,
- "total_amount": 650.95,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "cruises": [
- {
- "id": "2b3c4d5e-6f70-4819-ab2c-3d4e5f607182",
- "local_id": "b2c3d4e5-f6a7-8901-2345-678901bcdef0",
- "booking_number": "987568489",
- "departure_date": "2026-11-12",
- "arrival_date": "2026-11-26",
- "ship_name": "MXS Example Seaview",
- "cruise_destination": "Bahamas",
- "accommodation_kind": "Duplo Casal",
- "cabin_number": "1234",
- "cabin_kind": "Royal Suite",
- "cabin_category": "7A",
- "meal_plan": "All inclusive",
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Cabine confirmada.",
- "included_services": "Pacote: All Inclusive\nCódigo: 1234",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 835.88,
- "commission_percentage": 10,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 417.94,
- "intermediary_commission_percentage": 5,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 100,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 100,
- "cc_rav_fee": 0,
- "totals": {
- "fees": 120,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 100,
- "products": 8358.77,
- "customer_amount": 8478.77,
- "amount": 8478.77
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}, - "passengers": [
- {
- "document": "CRZ-90412",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "fees": 120,
- "tip": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "amount": 8358.77,
- "customer_amount": 8478.77,
- "total_amount": 8478.77,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "hotels": [
- {
- "id": "3c4d5e6f-7081-492a-bc3d-4e5f60718293",
- "local_id": "c3d4e5f6-a7b8-9012-3456-789012cdef01",
- "booking_number": "1020506090",
- "check_in": "2026-11-29",
- "check_out": "2026-12-06",
- "destination": "international",
- "accommodation_kind": "Duplo Casal",
- "room_category": "Deluxe",
- "meal_plan": "All Inclusive",
- "nights": 8,
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Reserva garantida.",
- "included_services": "Epic Journey Hotel: Avenida Rebouças, 397, São Paulo, SP, Brasil\nQuarto com vista para cidade.",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 563.07,
- "commission_percentage": 10,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 281.54,
- "intermediary_commission_percentage": 5,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 100,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 50,
- "cc_rav_fee": 0,
- "totals": {
- "fees": 281.54,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 563.07,
- "discount": 50,
- "products": 5630.73,
- "customer_amount": 6475.34,
- "amount": 6475.34
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}, - "passengers": [
- {
- "document": "HTL-55821",
- "emission_name": "Maria da Silva",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "fees": 281.54,
- "other_fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 563.07,
- "amount": 5630.73,
- "customer_amount": 6475.34,
- "total_amount": 6475.34,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "airline_tickets": [
- {
- "id": "4d5e6f70-8192-4a3b-cd4e-5f6071829304",
- "local_id": "d4e5f6a7-b8c9-0123-4567-890123def012",
- "locator": "WABCJJ",
- "destination": "international",
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Bilhete emitido.",
- "included_services": "3 bagagens despachadas sem custo\nAssento com reclinação total\nAcesso ao Lounge",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 136.07,
- "commission_percentage": 10,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 68.04,
- "intermediary_commission_percentage": 5,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 100,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 20,
- "cc_rav_fee": 27.22,
- "cc_du_fee": 27.22,
- "totals": {
- "fees": 136.06,
- "rav_fee": 204.01,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 20,
- "products": 1360.67,
- "du_fee": 104.01,
- "du_fee_discount": 0,
- "customer_amount": 1804.75,
- "amount": 1804.75
}, - "supplier": {
- "id": "3d7b0c94-2a68-4f15-8e93-1c5a6d20b7f4"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}, - "segments": [
- {
- "airline_code": "AA",
- "flight_number": "1234",
- "class": "A",
- "origin": "NAS",
- "departure_date": "2026-11-11T16:20:16",
- "destination": "JFK",
- "arrival_date": "2026-11-11T16:20:16"
}
], - "passengers": [
- {
- "ticket_number": "99526874895",
- "emission_name": "Maria da Silva",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "boarding_fee": 136.06,
- "other_fees": 0,
- "rav_fee": 204.01,
- "rav_fee_discount": 0,
- "du_fee": 104.01,
- "du_fee_discount": 0,
- "agency_fee": 0,
- "amount": 1360.67,
- "customer_amount": 1804.75,
- "total_amount": 1804.75,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "train_tickets": [
- {
- "id": "5e6f7081-92a3-4b4c-de5f-607182930415",
- "local_id": "e5f6a7b8-c9d0-1234-5678-901234ef0123",
- "document": "RE9988777",
- "departure_date": "2026-11-11T16:20:16",
- "arrival_date": "2026-11-14T16:20:16",
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Bilhete emitido.",
- "included_services": "Refeição inclusa\nWi-Fi gratuito\nVagão silencioso",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 15,
- "commission_percentage": 10,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 7.5,
- "intermediary_commission_percentage": 5,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 100,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 5,
- "cc_rav_fee": 0,
- "totals": {
- "fees": 24.05,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 5,
- "products": 240.5,
- "customer_amount": 264.55,
- "amount": 264.55
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}, - "passengers": [
- {
- "document": "RE9988777",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "fees": 24.05,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "amount": 240.5,
- "customer_amount": 264.55,
- "total_amount": 264.55,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "ground_transportations": [
- {
- "id": "6f708192-a3b4-4c5d-ef60-718293041526",
- "local_id": "f6a7b8c9-d0e1-2345-6789-012345f01234",
- "document": "GT123456",
- "departure_date": "2026-11-11T16:20:16",
- "arrival_date": "2026-11-14T16:20:16",
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Bilhete emitido.",
- "included_services": "Refeição inclusa\nWi-Fi gratuito.",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 8.55,
- "commission_percentage": 10,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 4.28,
- "intermediary_commission_percentage": 5,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 100,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 5,
- "cc_rav_fee": 0,
- "totals": {
- "fees": 12.19,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 5,
- "products": 121.95,
- "customer_amount": 134.14,
- "amount": 134.14
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}, - "passengers": [
- {
- "document": "0001234567",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "fees": 12.19,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "amount": 121.95,
- "customer_amount": 134.14,
- "total_amount": 134.14,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "car_rentals": [
- {
- "id": "708192a3-b4c5-4d6e-f071-829304152637",
- "local_id": "a7b8c9d0-e1f2-3456-7890-123456a01234",
- "document": "CR123456789",
- "pickup_date": "2026-11-11",
- "pickup_location": "Aeroporto de Congonhas",
- "dropoff_date": "2026-11-18",
- "dropoff_location": "Aeroporto de Congonhas",
- "destination": "national",
- "vehicle_category": "Econômico",
- "rental_days": 7,
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Retirada confirmada.",
- "included_services": "Quilometragem livre\nSeguro básico incluso\nTanque cheio na retirada",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 35,
- "commission_percentage": 10,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 17.5,
- "intermediary_commission_percentage": 5,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 100,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 10,
- "cc_rav_fee": 0,
- "totals": {
- "fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 10,
- "products": 350,
- "customer_amount": 350,
- "amount": 350
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}, - "passengers": [
- {
- "document": "LOC-77310",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "fees": 0,
- "other_fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "amount": 350,
- "customer_amount": 350,
- "total_amount": 350,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "travel_packages": [
- {
- "id": "8192a3b4-c5d6-4e7f-0182-930415263748",
- "local_id": "b8c9d0e1-f2a3-4567-8901-234567a01234",
- "document": "TP123456789",
- "begin_date": "2026-11-16",
- "end_date": "2026-11-23",
- "destination": "international",
- "package_name": "Pacote Europa Clássica",
- "transport": "scheduled_flight",
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Pacote confirmado.",
- "included_services": "Hospedagem: Hotéis 4 estrelas\nRefeições: Café da manhã e jantar\nPasseios: City tour em 5 cidades\nSeguro viagem internacional",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 250,
- "commission_percentage": 10,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 125,
- "intermediary_commission_percentage": 5,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 100,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 25,
- "cc_rav_fee": 0,
- "totals": {
- "fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 25,
- "products": 2500,
- "customer_amount": 2500,
- "amount": 2500
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}, - "passengers": [
- {
- "document": "PCT2024050001",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "fees": 0,
- "other_fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "amount": 2500,
- "customer_amount": 2500,
- "total_amount": 2500,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "others": [
- {
- "id": "8f7e6d5c-4b3a-4218-9f0e-1d2c3b4a5968",
- "product": {
- "id": "a3b2c1d0-9e8f-4756-b4a3-2c1d0e9f8a7b"
}, - "document": "OUT123456",
- "destination": "Salvador",
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Passeio confirmado.",
- "included_services": "Guia local incluso",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 12,
- "commission_percentage": 2,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 4,
- "intermediary_commission_percentage": 2,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 50,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 0,
- "cc_rav_fee": 0,
- "quantity": null,
- "unit_price": null,
- "unit_fee": null,
- "totals": {
- "fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 0,
- "products": 2500,
- "customer_amount": 2500,
- "amount": 2500
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}, - "passengers": [
- {
- "document": "OUT2024060012",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "amount": 2500,
- "customer_amount": 2500,
- "total_amount": 2500,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "excursions": [
- {
- "id": "d0e1f2a3-b4c5-4906-a1b2-3c4d5e6f7081",
- "local_id": "c1d2e3f4-a5b6-4c78-9d0e-1f2a3b4c5d6e",
- "document": "EXC123456",
- "departure_date": "2026-11-11T16:20:16",
- "arrival_date": "2026-11-11T16:20:16",
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Passeio confirmado.",
- "included_services": "Guia local incluso\nTransporte incluso",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 10,
- "commission_percentage": 10,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 5,
- "intermediary_commission_percentage": 5,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 20,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 0,
- "cc_rav_fee": 0,
- "totals": {
- "fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 0,
- "products": 350,
- "customer_amount": 350,
- "amount": 350
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}, - "passengers": [
- {
- "document": "EXC2024060034",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "amount": 350,
- "customer_amount": 350,
- "total_amount": 350,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "cvc_packages": [
- {
- "id": "5c4b3a29-1e0d-4982-7c6b-5a4938271605",
- "product": {
- "id": "c5d4e3f2-1a0b-4978-d6c5-4e3f2a1b0c9d"
}, - "package_name": "CVC Caribe 7 noites",
- "receipt_number": "89100000183488",
- "departure_date": "2026-11-21T16:20:16",
- "arrival_date": "2026-11-28T16:20:16",
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Pacote confirmado.",
- "included_services": "Hospedagem all inclusive\nTraslados inclusos",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 490,
- "commission_percentage": 12,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 0,
- "intermediary_commission_percentage": 0,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 0,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 0,
- "cc_rav_fee": 0,
- "quantity": 2,
- "unit_price": 1500,
- "unit_fee": 80,
- "totals": {
- "fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 0,
- "products": 3160,
- "customer_amount": 3160,
- "amount": 3160
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}
}
], - "operations": [
- {
- "id": "6d5c4b3a-2f1e-4093-8d7c-6b5a49382716",
- "product": {
- "id": "b4c3d2e1-0f9a-4867-c5b4-3d2e1f0a9b8c"
}, - "document": "OP-000123",
- "departure_date": "2026-11-13T16:20:16",
- "arrival_date": "2026-11-13T16:20:16",
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "observations": "City tour confirmado.",
- "included_services": "Guia local incluso\nTransporte incluso",
- "currency": "BRL",
- "exchange_rate": 1,
- "intermediary_commission_amount": 0,
- "intermediary_commission_percentage": 0,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 0,
- "agency_card_rate": 0,
- "discount_amount": 0,
- "quantity": null,
- "unit_price": null,
- "unit_fee": null,
- "totals": {
- "fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 0,
- "products": 2500,
- "customer_amount": 2500,
- "amount": 2500
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "passengers": [
- {
- "document": "OP2024060056",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "fees": 0,
- "amount": 2500,
- "customer_amount": 2500,
- "total_amount": 2500,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "payments": {
- "agency": {
- "bills": [
- {
- "id": "9f2c8b71-4d3e-4a56-b8c9-1e2f3a4b5c6d",
- "local_id": "pagamento-1"
}, - {
- "id": "1a77b3c2-5e6f-4708-9a1b-2c3d4e5f6071",
- "local_id": "pagamento-2"
}, - {
- "id": "4b5c6d7e-8f90-41a2-b3c4-d5e6f7081920",
- "local_id": "pagamento-3"
}
], - "refunds": [
- {
- "id": "3b41c2d5-6e7f-4809-a1b2-c3d4e5f60718"
}
], - "credit": [
- {
- "id": "c2d3e4f5-a6b7-4c8d-9e0f-1a2b3c4d5e6f",
- "due_date": "2026-12-06",
- "document": "CRED-000123",
- "amount": 6475.34,
- "payer": {
- "id": "2f8b6d51-9c04-4e37-a1b8-63d95e70c2a4"
}, - "origin_sale": {
- "id": "3d4e5f60-7182-4394-83a5-c3d4e5f6a7b8"
}, - "products": [
- {
- "amount": 6475.34,
- "sale_product": {
- "id": "3c4d5e6f-7081-492a-bc3d-4e5f60718293"
}
}
]
}
], - "to_invoice": [
- {
- "bill": {
- "id": "4f5a6b7c-8d9e-4f01-a2b3-c4d5e6f70819"
}, - "cost_center": "Diretoria",
- "amount": 2350,
- "products": [
- {
- "amount": 2500,
- "sale_product": {
- "id": "8f7e6d5c-4b3a-4218-9f0e-1d2c3b4a5968"
}
}, - {
- "amount": -150,
- "sale_product": {
- "id": "1a2b3c4d-5e6f-4708-9a1b-2c3d4e5f6071"
}
}
]
}
], - "retained_by_intermediary": [
- {
- "id": "7d8e9f0a-1b2c-4d3e-8f4a-5b6c7d8e9f01",
- "due_date": "2026-12-06",
- "amount": 195,
- "payer": {
- "id": "2f8b6d51-9c04-4e37-a1b8-63d95e70c2a4"
}, - "products": [
- {
- "amount": 625.95,
- "sale_product": {
- "id": "1a2b3c4d-5e6f-4708-9a1b-2c3d4e5f6071"
}
}
]
}
], - "legacy": [
- {
- "id": "d3e4f5a6-b7c8-4d9e-8f01-2b3c4d5e6f70",
- "due_date": "2026-10-07",
- "amount": 300,
- "check": null,
- "card": {
- "brand": "mastercard",
- "last_digits": "5678",
- "authorization": "ABC123"
}, - "payer": {
- "id": "2f8b6d51-9c04-4e37-a1b8-63d95e70c2a4"
}, - "payment_method": {
- "id": "fc9f5c65-59d6-42bb-8dd1-a5c0e3e51ea9"
}, - "products": [
- {
- "amount": 8358.77,
- "sale_product": {
- "id": "2b3c4d5e-6f70-4819-ab2c-3d4e5f607182"
}
}
]
}
]
}, - "vendor": {
- "credit_card": [
- {
- "id": "e4f5a6b7-c8d9-4e0f-9a12-3c4d5e6f7081",
- "local_id": "pagamento-4",
- "due_date": "2026-12-06",
- "card_last_digits": "1234",
- "authorization": "XYZ789",
- "installments": 2,
- "payer": {
- "id": "2f8b6d51-9c04-4e37-a1b8-63d95e70c2a4"
}, - "products": [
- {
- "amount": 8358.77,
- "sale_product": {
- "id": "2b3c4d5e-6f70-4819-ab2c-3d4e5f607182"
}
}, - {
- "amount": 2500,
- "sale_product": {
- "id": "8f7e6d5c-4b3a-4218-9f0e-1d2c3b4a5968"
}
}, - {
- "amount": 3160,
- "sale_product": {
- "id": "5c4b3a29-1e0d-4982-7c6b-5a4938271605"
}
}, - {
- "amount": 2500,
- "sale_product": {
- "id": "6d5c4b3a-2f1e-4093-8d7c-6b5a49382716"
}
}
]
}
], - "check": [
- {
- "id": "f5a6b7c8-d9e0-4f1a-8b23-4d5e6f708192",
- "due_date": "2026-12-06",
- "bank_code": "341",
- "check_number": 654321,
- "payer": {
- "id": "2f8b6d51-9c04-4e37-a1b8-63d95e70c2a4"
}, - "products": [
- {
- "amount": 134.14,
- "sale_product": {
- "id": "6f708192-a3b4-4c5d-ef60-718293041526"
}
}
]
}
], - "credit": [
- {
- "id": "a6b7c8d9-e0f1-4a2b-9c34-5e6f708192a3",
- "local_id": "pagamento-6",
- "due_date": "2026-12-06",
- "document": "CRED-000123",
- "payer": {
- "id": "2f8b6d51-9c04-4e37-a1b8-63d95e70c2a4"
}, - "products": [
- {
- "amount": 134.14,
- "sale_product": {
- "id": "6f708192-a3b4-4c5d-ef60-718293041526"
}
}
]
}
], - "others": [
- {
- "id": "b7c8d9e0-f1a2-4b3c-8d45-6f708192a3b4",
- "local_id": "pagamento-5",
- "due_date": "2026-12-06",
- "details": "Fatura",
- "payer": {
- "id": "2f8b6d51-9c04-4e37-a1b8-63d95e70c2a4"
}, - "products": [
- {
- "amount": 2500,
- "sale_product": {
- "id": "8192a3b4-c5d6-4e7f-0182-930415263748"
}
}
]
}
]
}
}, - "commissions": [
- {
- "description": "Plano: Padrão, cálculo: 10%",
- "amount": 700,
- "retained_amount": 0,
- "balance": 700,
- "person": {
- "id": "0a1b2c3d-4e5f-4061-8072-90a1b2c3d4e5"
}
}, - {
- "description": "Comissão Intermediário",
- "amount": 49.75,
- "retained_amount": 0,
- "balance": 49.75,
- "person": {
- "id": "1b2c3d4e-5f60-4172-8183-a1b2c3d4e5f6"
}
}, - {
- "description": null,
- "amount": -100,
- "retained_amount": 0,
- "balance": -100,
- "person": {
- "id": "2c3d4e5f-6071-4283-8294-b2c3d4e5f6a7"
}
}
], - "financial": {
- "observations": "Teste de observações financeiras",
- "vendor_bills": [
- {
- "id": "c8b7a695-4d3e-4f21-b0a9-8e7d6c5b4a39"
}
], - "standalone_bills": [
- {
- "id": "f1e2d3c4-b5a6-4978-8f6e-5d4c3b2a1e0f"
}
], - "vendor_items": [
- {
- "id": "4a6d2e18-9c3f-4b75-8e01-2d7f5a9c3b16",
- "kind": "invoice",
- "description": null,
- "due_date": "2026-11-10",
- "amount": -320,
- "currency": "BRL",
- "sale_product": {
- "id": "5d7e2a91-4c3b-4f8e-9a16-2b0c8d3e7f45"
}, - "person": {
- "id": "0a1b2c3d-4e5f-4061-8072-90a1b2c3d4e5"
}, - "bill": {
- "id": "c8b7a695-4d3e-4f21-b0a9-8e7d6c5b4a39"
}, - "payment": null
}, - {
- "id": "8e3c1f52-7a4b-4d29-b6e0-3f9a2c7d1b84",
- "kind": "lei_kandir",
- "description": null,
- "due_date": "2026-11-20",
- "amount": -12.5,
- "currency": "BRL",
- "sale_product": {
- "id": "5d7e2a91-4c3b-4f8e-9a16-2b0c8d3e7f45"
}, - "person": {
- "id": "0a1b2c3d-4e5f-4061-8072-90a1b2c3d4e5"
}, - "bill": null,
- "payment": null
}
]
}
}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.
| id required | string <uuid> Example: 212b54b8-27df-4859-80a9-79ad855bcd09 Unique sale identifier (UUID format). |
| 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. |
{- "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": {
- "products": 19188.57,
- "fees": 598.84,
- "discount": 225,
- "revenue": 1500,
- "balance": 0,
- "final_amount": 19870.43
}, - "company": {
- "id": "e5d9aaed-33bb-4679-b392-b45e5cd78eb4"
}, - "created_by": {
- "id": "b4c3d2e1-6f7a-4b9c-8d1e-2f3a4b5c6d7e"
}, - "operation": {
- "id": "8936058a-2906-4239-9a7f-e22ccc2c195e"
}, - "seller": {
- "id": "7c9e1a04-53b6-4f28-9d71-0e5a2c8b4f13"
}, - "payer": {
- "id": "2f8b6d51-9c04-4e37-a1b8-63d95e70c2a4"
}, - "intermediary": {
- "id": "d40a7f92-1e63-4b85-8c27-5a9f3e01b6d8"
}, - "requester": {
- "id": "b17c5e38-6a90-4d21-9f43-8e2b70c5a916"
}, - "approver": {
- "id": "95e2a7c1-4b38-4f60-8d19-27a6f3e0b5c4"
}, - "promoter": {
- "id": "6a3f9d27-8c51-4e04-b2f7-72e5c8a91b30"
}, - "travel": {
- "id": "7c1d9f30-5a2b-4e68-9d47-2f8b6c0a1e35"
}, - "custom_fields": [
- {
- "id": 12345,
- "value": "Reunião comercial"
}
], - "insurances": [
- {
- "id": "1a2b3c4d-5e6f-4708-9a1b-2c3d4e5f6071",
- "local_id": "a1b2c3d4-e5f6-7890-1234-567890abcdef",
- "document": "14296922",
- "begin_date": "2026-11-11",
- "end_date": "2026-11-26",
- "destination": "international",
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Embarque confirmado.",
- "included_services": "Plano: Max BRL R$ 60.000,00 com cobertura de despesas médicas\nCódigo: 1234",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 50.07,
- "commission_percentage": 10,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 25.04,
- "intermediary_commission_percentage": 5,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 100,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 10,
- "cc_rav_fee": 0,
- "totals": {
- "fees": 25,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 10,
- "products": 625.95,
- "customer_amount": 650.95,
- "amount": 650.95
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}, - "passengers": [
- {
- "document": "9921508090000",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "fees": 25,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "amount": 625.95,
- "customer_amount": 650.95,
- "total_amount": 650.95,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "cruises": [
- {
- "id": "2b3c4d5e-6f70-4819-ab2c-3d4e5f607182",
- "local_id": "b2c3d4e5-f6a7-8901-2345-678901bcdef0",
- "booking_number": "987568489",
- "departure_date": "2026-11-12",
- "arrival_date": "2026-11-26",
- "ship_name": "MXS Example Seaview",
- "cruise_destination": "Bahamas",
- "accommodation_kind": "Duplo Casal",
- "cabin_number": "1234",
- "cabin_kind": "Royal Suite",
- "cabin_category": "7A",
- "meal_plan": "All inclusive",
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Cabine confirmada.",
- "included_services": "Pacote: All Inclusive\nCódigo: 1234",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 835.88,
- "commission_percentage": 10,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 417.94,
- "intermediary_commission_percentage": 5,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 100,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 100,
- "cc_rav_fee": 0,
- "totals": {
- "fees": 120,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 100,
- "products": 8358.77,
- "customer_amount": 8478.77,
- "amount": 8478.77
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}, - "passengers": [
- {
- "document": "CRZ-90412",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "fees": 120,
- "tip": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "amount": 8358.77,
- "customer_amount": 8478.77,
- "total_amount": 8478.77,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "hotels": [
- {
- "id": "3c4d5e6f-7081-492a-bc3d-4e5f60718293",
- "local_id": "c3d4e5f6-a7b8-9012-3456-789012cdef01",
- "booking_number": "1020506090",
- "check_in": "2026-11-29",
- "check_out": "2026-12-06",
- "destination": "international",
- "accommodation_kind": "Duplo Casal",
- "room_category": "Deluxe",
- "meal_plan": "All Inclusive",
- "nights": 8,
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Reserva garantida.",
- "included_services": "Epic Journey Hotel: Avenida Rebouças, 397, São Paulo, SP, Brasil\nQuarto com vista para cidade.",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 563.07,
- "commission_percentage": 10,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 281.54,
- "intermediary_commission_percentage": 5,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 100,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 50,
- "cc_rav_fee": 0,
- "totals": {
- "fees": 281.54,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 563.07,
- "discount": 50,
- "products": 5630.73,
- "customer_amount": 6475.34,
- "amount": 6475.34
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}, - "passengers": [
- {
- "document": "HTL-55821",
- "emission_name": "Maria da Silva",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "fees": 281.54,
- "other_fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 563.07,
- "amount": 5630.73,
- "customer_amount": 6475.34,
- "total_amount": 6475.34,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "airline_tickets": [
- {
- "id": "4d5e6f70-8192-4a3b-cd4e-5f6071829304",
- "local_id": "d4e5f6a7-b8c9-0123-4567-890123def012",
- "locator": "WABCJJ",
- "destination": "international",
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Bilhete emitido.",
- "included_services": "3 bagagens despachadas sem custo\nAssento com reclinação total\nAcesso ao Lounge",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 136.07,
- "commission_percentage": 10,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 68.04,
- "intermediary_commission_percentage": 5,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 100,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 20,
- "cc_rav_fee": 27.22,
- "cc_du_fee": 27.22,
- "totals": {
- "fees": 136.06,
- "rav_fee": 204.01,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 20,
- "products": 1360.67,
- "du_fee": 104.01,
- "du_fee_discount": 0,
- "customer_amount": 1804.75,
- "amount": 1804.75
}, - "supplier": {
- "id": "3d7b0c94-2a68-4f15-8e93-1c5a6d20b7f4"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}, - "segments": [
- {
- "airline_code": "AA",
- "flight_number": "1234",
- "class": "A",
- "origin": "NAS",
- "departure_date": "2026-11-11T16:20:16",
- "destination": "JFK",
- "arrival_date": "2026-11-11T16:20:16"
}
], - "passengers": [
- {
- "ticket_number": "99526874895",
- "emission_name": "Maria da Silva",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "boarding_fee": 136.06,
- "other_fees": 0,
- "rav_fee": 204.01,
- "rav_fee_discount": 0,
- "du_fee": 104.01,
- "du_fee_discount": 0,
- "agency_fee": 0,
- "amount": 1360.67,
- "customer_amount": 1804.75,
- "total_amount": 1804.75,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "train_tickets": [
- {
- "id": "5e6f7081-92a3-4b4c-de5f-607182930415",
- "local_id": "e5f6a7b8-c9d0-1234-5678-901234ef0123",
- "document": "RE9988777",
- "departure_date": "2026-11-11T16:20:16",
- "arrival_date": "2026-11-14T16:20:16",
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Bilhete emitido.",
- "included_services": "Refeição inclusa\nWi-Fi gratuito\nVagão silencioso",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 15,
- "commission_percentage": 10,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 7.5,
- "intermediary_commission_percentage": 5,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 100,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 5,
- "cc_rav_fee": 0,
- "totals": {
- "fees": 24.05,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 5,
- "products": 240.5,
- "customer_amount": 264.55,
- "amount": 264.55
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}, - "passengers": [
- {
- "document": "RE9988777",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "fees": 24.05,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "amount": 240.5,
- "customer_amount": 264.55,
- "total_amount": 264.55,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "ground_transportations": [
- {
- "id": "6f708192-a3b4-4c5d-ef60-718293041526",
- "local_id": "f6a7b8c9-d0e1-2345-6789-012345f01234",
- "document": "GT123456",
- "departure_date": "2026-11-11T16:20:16",
- "arrival_date": "2026-11-14T16:20:16",
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Bilhete emitido.",
- "included_services": "Refeição inclusa\nWi-Fi gratuito.",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 8.55,
- "commission_percentage": 10,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 4.28,
- "intermediary_commission_percentage": 5,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 100,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 5,
- "cc_rav_fee": 0,
- "totals": {
- "fees": 12.19,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 5,
- "products": 121.95,
- "customer_amount": 134.14,
- "amount": 134.14
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}, - "passengers": [
- {
- "document": "0001234567",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "fees": 12.19,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "amount": 121.95,
- "customer_amount": 134.14,
- "total_amount": 134.14,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "car_rentals": [
- {
- "id": "708192a3-b4c5-4d6e-f071-829304152637",
- "local_id": "a7b8c9d0-e1f2-3456-7890-123456a01234",
- "document": "CR123456789",
- "pickup_date": "2026-11-11",
- "pickup_location": "Aeroporto de Congonhas",
- "dropoff_date": "2026-11-18",
- "dropoff_location": "Aeroporto de Congonhas",
- "destination": "national",
- "vehicle_category": "Econômico",
- "rental_days": 7,
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Retirada confirmada.",
- "included_services": "Quilometragem livre\nSeguro básico incluso\nTanque cheio na retirada",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 35,
- "commission_percentage": 10,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 17.5,
- "intermediary_commission_percentage": 5,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 100,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 10,
- "cc_rav_fee": 0,
- "totals": {
- "fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 10,
- "products": 350,
- "customer_amount": 350,
- "amount": 350
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}, - "passengers": [
- {
- "document": "LOC-77310",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "fees": 0,
- "other_fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "amount": 350,
- "customer_amount": 350,
- "total_amount": 350,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "travel_packages": [
- {
- "id": "8192a3b4-c5d6-4e7f-0182-930415263748",
- "local_id": "b8c9d0e1-f2a3-4567-8901-234567a01234",
- "document": "TP123456789",
- "begin_date": "2026-11-16",
- "end_date": "2026-11-23",
- "destination": "international",
- "package_name": "Pacote Europa Clássica",
- "transport": "scheduled_flight",
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Pacote confirmado.",
- "included_services": "Hospedagem: Hotéis 4 estrelas\nRefeições: Café da manhã e jantar\nPasseios: City tour em 5 cidades\nSeguro viagem internacional",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 250,
- "commission_percentage": 10,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 125,
- "intermediary_commission_percentage": 5,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 100,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 25,
- "cc_rav_fee": 0,
- "totals": {
- "fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 25,
- "products": 2500,
- "customer_amount": 2500,
- "amount": 2500
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}, - "passengers": [
- {
- "document": "PCT2024050001",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "fees": 0,
- "other_fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "amount": 2500,
- "customer_amount": 2500,
- "total_amount": 2500,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "others": [
- {
- "id": "8f7e6d5c-4b3a-4218-9f0e-1d2c3b4a5968",
- "product": {
- "id": "a3b2c1d0-9e8f-4756-b4a3-2c1d0e9f8a7b"
}, - "document": "OUT123456",
- "destination": "Salvador",
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Passeio confirmado.",
- "included_services": "Guia local incluso",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 12,
- "commission_percentage": 2,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 4,
- "intermediary_commission_percentage": 2,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 50,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 0,
- "cc_rav_fee": 0,
- "quantity": null,
- "unit_price": null,
- "unit_fee": null,
- "totals": {
- "fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 0,
- "products": 2500,
- "customer_amount": 2500,
- "amount": 2500
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}, - "passengers": [
- {
- "document": "OUT2024060012",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "amount": 2500,
- "customer_amount": 2500,
- "total_amount": 2500,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "excursions": [
- {
- "id": "d0e1f2a3-b4c5-4906-a1b2-3c4d5e6f7081",
- "local_id": "c1d2e3f4-a5b6-4c78-9d0e-1f2a3b4c5d6e",
- "document": "EXC123456",
- "departure_date": "2026-11-11T16:20:16",
- "arrival_date": "2026-11-11T16:20:16",
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Passeio confirmado.",
- "included_services": "Guia local incluso\nTransporte incluso",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 10,
- "commission_percentage": 10,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 5,
- "intermediary_commission_percentage": 5,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 20,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 0,
- "cc_rav_fee": 0,
- "totals": {
- "fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 0,
- "products": 350,
- "customer_amount": 350,
- "amount": 350
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}, - "passengers": [
- {
- "document": "EXC2024060034",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "amount": 350,
- "customer_amount": 350,
- "total_amount": 350,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "cvc_packages": [
- {
- "id": "5c4b3a29-1e0d-4982-7c6b-5a4938271605",
- "product": {
- "id": "c5d4e3f2-1a0b-4978-d6c5-4e3f2a1b0c9d"
}, - "package_name": "CVC Caribe 7 noites",
- "receipt_number": "89100000183488",
- "departure_date": "2026-11-21T16:20:16",
- "arrival_date": "2026-11-28T16:20:16",
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Pacote confirmado.",
- "included_services": "Hospedagem all inclusive\nTraslados inclusos",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 490,
- "commission_percentage": 12,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 0,
- "intermediary_commission_percentage": 0,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 0,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 0,
- "cc_rav_fee": 0,
- "quantity": 2,
- "unit_price": 1500,
- "unit_fee": 80,
- "totals": {
- "fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 0,
- "products": 3160,
- "customer_amount": 3160,
- "amount": 3160
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}
}
], - "operations": [
- {
- "id": "6d5c4b3a-2f1e-4093-8d7c-6b5a49382716",
- "product": {
- "id": "b4c3d2e1-0f9a-4867-c5b4-3d2e1f0a9b8c"
}, - "document": "OP-000123",
- "departure_date": "2026-11-13T16:20:16",
- "arrival_date": "2026-11-13T16:20:16",
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "observations": "City tour confirmado.",
- "included_services": "Guia local incluso\nTransporte incluso",
- "currency": "BRL",
- "exchange_rate": 1,
- "intermediary_commission_amount": 0,
- "intermediary_commission_percentage": 0,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 0,
- "agency_card_rate": 0,
- "discount_amount": 0,
- "quantity": null,
- "unit_price": null,
- "unit_fee": null,
- "totals": {
- "fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 0,
- "products": 2500,
- "customer_amount": 2500,
- "amount": 2500
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "passengers": [
- {
- "document": "OP2024060056",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "fees": 0,
- "amount": 2500,
- "customer_amount": 2500,
- "total_amount": 2500,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "payments": {
- "agency": {
- "bills": [
- {
- "id": "9f2c8b71-4d3e-4a56-b8c9-1e2f3a4b5c6d",
- "local_id": "pagamento-1"
}, - {
- "id": "1a77b3c2-5e6f-4708-9a1b-2c3d4e5f6071",
- "local_id": "pagamento-2"
}, - {
- "id": "4b5c6d7e-8f90-41a2-b3c4-d5e6f7081920",
- "local_id": "pagamento-3"
}
], - "refunds": [
- {
- "id": "3b41c2d5-6e7f-4809-a1b2-c3d4e5f60718"
}
], - "credit": [
- {
- "id": "c2d3e4f5-a6b7-4c8d-9e0f-1a2b3c4d5e6f",
- "due_date": "2026-12-06",
- "document": "CRED-000123",
- "amount": 6475.34,
- "payer": {
- "id": "2f8b6d51-9c04-4e37-a1b8-63d95e70c2a4"
}, - "origin_sale": {
- "id": "3d4e5f60-7182-4394-83a5-c3d4e5f6a7b8"
}, - "products": [
- {
- "amount": 6475.34,
- "sale_product": {
- "id": "3c4d5e6f-7081-492a-bc3d-4e5f60718293"
}
}
]
}
], - "to_invoice": [
- {
- "bill": {
- "id": "4f5a6b7c-8d9e-4f01-a2b3-c4d5e6f70819"
}, - "cost_center": "Diretoria",
- "amount": 2350,
- "products": [
- {
- "amount": 2500,
- "sale_product": {
- "id": "8f7e6d5c-4b3a-4218-9f0e-1d2c3b4a5968"
}
}, - {
- "amount": -150,
- "sale_product": {
- "id": "1a2b3c4d-5e6f-4708-9a1b-2c3d4e5f6071"
}
}
]
}
], - "retained_by_intermediary": [
- {
- "id": "7d8e9f0a-1b2c-4d3e-8f4a-5b6c7d8e9f01",
- "due_date": "2026-12-06",
- "amount": 195,
- "payer": {
- "id": "2f8b6d51-9c04-4e37-a1b8-63d95e70c2a4"
}, - "products": [
- {
- "amount": 625.95,
- "sale_product": {
- "id": "1a2b3c4d-5e6f-4708-9a1b-2c3d4e5f6071"
}
}
]
}
], - "legacy": [
- {
- "id": "d3e4f5a6-b7c8-4d9e-8f01-2b3c4d5e6f70",
- "due_date": "2026-10-07",
- "amount": 300,
- "check": null,
- "card": {
- "brand": "mastercard",
- "last_digits": "5678",
- "authorization": "ABC123"
}, - "payer": {
- "id": "2f8b6d51-9c04-4e37-a1b8-63d95e70c2a4"
}, - "payment_method": {
- "id": "fc9f5c65-59d6-42bb-8dd1-a5c0e3e51ea9"
}, - "products": [
- {
- "amount": 8358.77,
- "sale_product": {
- "id": "2b3c4d5e-6f70-4819-ab2c-3d4e5f607182"
}
}
]
}
]
}, - "vendor": {
- "credit_card": [
- {
- "id": "e4f5a6b7-c8d9-4e0f-9a12-3c4d5e6f7081",
- "local_id": "pagamento-4",
- "due_date": "2026-12-06",
- "card_last_digits": "1234",
- "authorization": "XYZ789",
- "installments": 2,
- "payer": {
- "id": "2f8b6d51-9c04-4e37-a1b8-63d95e70c2a4"
}, - "products": [
- {
- "amount": 8358.77,
- "sale_product": {
- "id": "2b3c4d5e-6f70-4819-ab2c-3d4e5f607182"
}
}, - {
- "amount": 2500,
- "sale_product": {
- "id": "8f7e6d5c-4b3a-4218-9f0e-1d2c3b4a5968"
}
}, - {
- "amount": 3160,
- "sale_product": {
- "id": "5c4b3a29-1e0d-4982-7c6b-5a4938271605"
}
}, - {
- "amount": 2500,
- "sale_product": {
- "id": "6d5c4b3a-2f1e-4093-8d7c-6b5a49382716"
}
}
]
}
], - "check": [
- {
- "id": "f5a6b7c8-d9e0-4f1a-8b23-4d5e6f708192",
- "due_date": "2026-12-06",
- "bank_code": "341",
- "check_number": 654321,
- "payer": {
- "id": "2f8b6d51-9c04-4e37-a1b8-63d95e70c2a4"
}, - "products": [
- {
- "amount": 134.14,
- "sale_product": {
- "id": "6f708192-a3b4-4c5d-ef60-718293041526"
}
}
]
}
], - "credit": [
- {
- "id": "a6b7c8d9-e0f1-4a2b-9c34-5e6f708192a3",
- "local_id": "pagamento-6",
- "due_date": "2026-12-06",
- "document": "CRED-000123",
- "payer": {
- "id": "2f8b6d51-9c04-4e37-a1b8-63d95e70c2a4"
}, - "products": [
- {
- "amount": 134.14,
- "sale_product": {
- "id": "6f708192-a3b4-4c5d-ef60-718293041526"
}
}
]
}
], - "others": [
- {
- "id": "b7c8d9e0-f1a2-4b3c-8d45-6f708192a3b4",
- "local_id": "pagamento-5",
- "due_date": "2026-12-06",
- "details": "Fatura",
- "payer": {
- "id": "2f8b6d51-9c04-4e37-a1b8-63d95e70c2a4"
}, - "products": [
- {
- "amount": 2500,
- "sale_product": {
- "id": "8192a3b4-c5d6-4e7f-0182-930415263748"
}
}
]
}
]
}
}, - "commissions": [
- {
- "description": "Plano: Padrão, cálculo: 10%",
- "amount": 700,
- "retained_amount": 0,
- "balance": 700,
- "person": {
- "id": "0a1b2c3d-4e5f-4061-8072-90a1b2c3d4e5"
}
}, - {
- "description": "Comissão Intermediário",
- "amount": 49.75,
- "retained_amount": 0,
- "balance": 49.75,
- "person": {
- "id": "1b2c3d4e-5f60-4172-8183-a1b2c3d4e5f6"
}
}, - {
- "description": null,
- "amount": -100,
- "retained_amount": 0,
- "balance": -100,
- "person": {
- "id": "2c3d4e5f-6071-4283-8294-b2c3d4e5f6a7"
}
}
], - "financial": {
- "observations": "Teste de observações financeiras",
- "vendor_bills": [
- {
- "id": "c8b7a695-4d3e-4f21-b0a9-8e7d6c5b4a39"
}
], - "standalone_bills": [
- {
- "id": "f1e2d3c4-b5a6-4978-8f6e-5d4c3b2a1e0f"
}
], - "vendor_items": [
- {
- "id": "4a6d2e18-9c3f-4b75-8e01-2d7f5a9c3b16",
- "kind": "invoice",
- "description": null,
- "due_date": "2026-11-10",
- "amount": -320,
- "currency": "BRL",
- "sale_product": {
- "id": "5d7e2a91-4c3b-4f8e-9a16-2b0c8d3e7f45"
}, - "person": {
- "id": "0a1b2c3d-4e5f-4061-8072-90a1b2c3d4e5"
}, - "bill": {
- "id": "c8b7a695-4d3e-4f21-b0a9-8e7d6c5b4a39"
}, - "payment": null
}, - {
- "id": "8e3c1f52-7a4b-4d29-b6e0-3f9a2c7d1b84",
- "kind": "lei_kandir",
- "description": null,
- "due_date": "2026-11-20",
- "amount": -12.5,
- "currency": "BRL",
- "sale_product": {
- "id": "5d7e2a91-4c3b-4f8e-9a16-2b0c8d3e7f45"
}, - "person": {
- "id": "0a1b2c3d-4e5f-4061-8072-90a1b2c3d4e5"
}, - "bill": null,
- "payment": null
}
]
}
}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:
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.
| id required | string <uuid> Example: 212b54b8-27df-4859-80a9-79ad855bcd09 Unique sale identifier (UUID format). |
| 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. |
{- "errors": [
- "The access credentials are not valid."
]
}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).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.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.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.id, the one from the response that created it or from the get. The payer only changes if the sale is left without payments.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.company_identifier. It is refused when the sale has a payment with a bill, an invoiced supplier amount or is linked to a travel.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.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.| id required | string <uuid> Example: 212b54b8-27df-4859-80a9-79ad855bcd09 Unique sale identifier (UUID format). |
| 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. |
| 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). |
| 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. |
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": {
- "person_kind": "individual",
- "external_id": "b7f3c1a2-9d84-4e60-8c15-2a6f0e3d4b91",
- "name": "Renata Furtado",
- "legal_name": null,
- "gender": "female",
- "birthdate": "1979-11-08",
- "cpf_cnpj": "68432197807",
- "rg_ie": "331948027",
- "passport_number": "YK517293",
- "passport_expiration_date": "2032-04-30",
- "foreigner": false,
- "foreign_identity_document": null,
- "email": "contato@renata.com",
- "phone_number": "11999990005",
- "mobile_number": "11999990006",
- "address": {
- "postal_code": "13070170",
- "street": "Rua Antônio Lapa",
- "street_number": "100",
- "neighborhood": "Cambuí",
- "additional_info": "Sala 3",
- "city_ibge": "3509502",
- "city_name": "Campinas",
- "state_code": "SP",
- "country_code": "BR"
}
}, - "custom_fields": [
- {
- "id": 12345,
- "value": "Reunião anual"
}
]
}{- "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": {
- "products": 19188.57,
- "fees": 598.84,
- "discount": 225,
- "revenue": 1500,
- "balance": 0,
- "final_amount": 19870.43
}, - "company": {
- "id": "e5d9aaed-33bb-4679-b392-b45e5cd78eb4"
}, - "created_by": {
- "id": "b4c3d2e1-6f7a-4b9c-8d1e-2f3a4b5c6d7e"
}, - "operation": {
- "id": "8936058a-2906-4239-9a7f-e22ccc2c195e"
}, - "seller": {
- "id": "7c9e1a04-53b6-4f28-9d71-0e5a2c8b4f13"
}, - "payer": {
- "id": "2f8b6d51-9c04-4e37-a1b8-63d95e70c2a4"
}, - "intermediary": {
- "id": "d40a7f92-1e63-4b85-8c27-5a9f3e01b6d8"
}, - "requester": {
- "id": "b17c5e38-6a90-4d21-9f43-8e2b70c5a916"
}, - "approver": {
- "id": "95e2a7c1-4b38-4f60-8d19-27a6f3e0b5c4"
}, - "promoter": {
- "id": "6a3f9d27-8c51-4e04-b2f7-72e5c8a91b30"
}, - "travel": {
- "id": "7c1d9f30-5a2b-4e68-9d47-2f8b6c0a1e35"
}, - "custom_fields": [
- {
- "id": 12345,
- "value": "Reunião comercial"
}
], - "insurances": [
- {
- "id": "1a2b3c4d-5e6f-4708-9a1b-2c3d4e5f6071",
- "local_id": "a1b2c3d4-e5f6-7890-1234-567890abcdef",
- "document": "14296922",
- "begin_date": "2026-11-11",
- "end_date": "2026-11-26",
- "destination": "international",
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Embarque confirmado.",
- "included_services": "Plano: Max BRL R$ 60.000,00 com cobertura de despesas médicas\nCódigo: 1234",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 50.07,
- "commission_percentage": 10,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 25.04,
- "intermediary_commission_percentage": 5,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 100,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 10,
- "cc_rav_fee": 0,
- "totals": {
- "fees": 25,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 10,
- "products": 625.95,
- "customer_amount": 650.95,
- "amount": 650.95
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}, - "passengers": [
- {
- "document": "9921508090000",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "fees": 25,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "amount": 625.95,
- "customer_amount": 650.95,
- "total_amount": 650.95,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "cruises": [
- {
- "id": "2b3c4d5e-6f70-4819-ab2c-3d4e5f607182",
- "local_id": "b2c3d4e5-f6a7-8901-2345-678901bcdef0",
- "booking_number": "987568489",
- "departure_date": "2026-11-12",
- "arrival_date": "2026-11-26",
- "ship_name": "MXS Example Seaview",
- "cruise_destination": "Bahamas",
- "accommodation_kind": "Duplo Casal",
- "cabin_number": "1234",
- "cabin_kind": "Royal Suite",
- "cabin_category": "7A",
- "meal_plan": "All inclusive",
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Cabine confirmada.",
- "included_services": "Pacote: All Inclusive\nCódigo: 1234",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 835.88,
- "commission_percentage": 10,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 417.94,
- "intermediary_commission_percentage": 5,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 100,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 100,
- "cc_rav_fee": 0,
- "totals": {
- "fees": 120,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 100,
- "products": 8358.77,
- "customer_amount": 8478.77,
- "amount": 8478.77
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}, - "passengers": [
- {
- "document": "CRZ-90412",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "fees": 120,
- "tip": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "amount": 8358.77,
- "customer_amount": 8478.77,
- "total_amount": 8478.77,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "hotels": [
- {
- "id": "3c4d5e6f-7081-492a-bc3d-4e5f60718293",
- "local_id": "c3d4e5f6-a7b8-9012-3456-789012cdef01",
- "booking_number": "1020506090",
- "check_in": "2026-11-29",
- "check_out": "2026-12-06",
- "destination": "international",
- "accommodation_kind": "Duplo Casal",
- "room_category": "Deluxe",
- "meal_plan": "All Inclusive",
- "nights": 8,
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Reserva garantida.",
- "included_services": "Epic Journey Hotel: Avenida Rebouças, 397, São Paulo, SP, Brasil\nQuarto com vista para cidade.",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 563.07,
- "commission_percentage": 10,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 281.54,
- "intermediary_commission_percentage": 5,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 100,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 50,
- "cc_rav_fee": 0,
- "totals": {
- "fees": 281.54,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 563.07,
- "discount": 50,
- "products": 5630.73,
- "customer_amount": 6475.34,
- "amount": 6475.34
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}, - "passengers": [
- {
- "document": "HTL-55821",
- "emission_name": "Maria da Silva",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "fees": 281.54,
- "other_fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 563.07,
- "amount": 5630.73,
- "customer_amount": 6475.34,
- "total_amount": 6475.34,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "airline_tickets": [
- {
- "id": "4d5e6f70-8192-4a3b-cd4e-5f6071829304",
- "local_id": "d4e5f6a7-b8c9-0123-4567-890123def012",
- "locator": "WABCJJ",
- "destination": "international",
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Bilhete emitido.",
- "included_services": "3 bagagens despachadas sem custo\nAssento com reclinação total\nAcesso ao Lounge",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 136.07,
- "commission_percentage": 10,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 68.04,
- "intermediary_commission_percentage": 5,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 100,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 20,
- "cc_rav_fee": 27.22,
- "cc_du_fee": 27.22,
- "totals": {
- "fees": 136.06,
- "rav_fee": 204.01,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 20,
- "products": 1360.67,
- "du_fee": 104.01,
- "du_fee_discount": 0,
- "customer_amount": 1804.75,
- "amount": 1804.75
}, - "supplier": {
- "id": "3d7b0c94-2a68-4f15-8e93-1c5a6d20b7f4"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}, - "segments": [
- {
- "airline_code": "AA",
- "flight_number": "1234",
- "class": "A",
- "origin": "NAS",
- "departure_date": "2026-11-11T16:20:16",
- "destination": "JFK",
- "arrival_date": "2026-11-11T16:20:16"
}
], - "passengers": [
- {
- "ticket_number": "99526874895",
- "emission_name": "Maria da Silva",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "boarding_fee": 136.06,
- "other_fees": 0,
- "rav_fee": 204.01,
- "rav_fee_discount": 0,
- "du_fee": 104.01,
- "du_fee_discount": 0,
- "agency_fee": 0,
- "amount": 1360.67,
- "customer_amount": 1804.75,
- "total_amount": 1804.75,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "train_tickets": [
- {
- "id": "5e6f7081-92a3-4b4c-de5f-607182930415",
- "local_id": "e5f6a7b8-c9d0-1234-5678-901234ef0123",
- "document": "RE9988777",
- "departure_date": "2026-11-11T16:20:16",
- "arrival_date": "2026-11-14T16:20:16",
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Bilhete emitido.",
- "included_services": "Refeição inclusa\nWi-Fi gratuito\nVagão silencioso",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 15,
- "commission_percentage": 10,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 7.5,
- "intermediary_commission_percentage": 5,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 100,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 5,
- "cc_rav_fee": 0,
- "totals": {
- "fees": 24.05,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 5,
- "products": 240.5,
- "customer_amount": 264.55,
- "amount": 264.55
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}, - "passengers": [
- {
- "document": "RE9988777",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "fees": 24.05,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "amount": 240.5,
- "customer_amount": 264.55,
- "total_amount": 264.55,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "ground_transportations": [
- {
- "id": "6f708192-a3b4-4c5d-ef60-718293041526",
- "local_id": "f6a7b8c9-d0e1-2345-6789-012345f01234",
- "document": "GT123456",
- "departure_date": "2026-11-11T16:20:16",
- "arrival_date": "2026-11-14T16:20:16",
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Bilhete emitido.",
- "included_services": "Refeição inclusa\nWi-Fi gratuito.",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 8.55,
- "commission_percentage": 10,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 4.28,
- "intermediary_commission_percentage": 5,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 100,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 5,
- "cc_rav_fee": 0,
- "totals": {
- "fees": 12.19,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 5,
- "products": 121.95,
- "customer_amount": 134.14,
- "amount": 134.14
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}, - "passengers": [
- {
- "document": "0001234567",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "fees": 12.19,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "amount": 121.95,
- "customer_amount": 134.14,
- "total_amount": 134.14,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "car_rentals": [
- {
- "id": "708192a3-b4c5-4d6e-f071-829304152637",
- "local_id": "a7b8c9d0-e1f2-3456-7890-123456a01234",
- "document": "CR123456789",
- "pickup_date": "2026-11-11",
- "pickup_location": "Aeroporto de Congonhas",
- "dropoff_date": "2026-11-18",
- "dropoff_location": "Aeroporto de Congonhas",
- "destination": "national",
- "vehicle_category": "Econômico",
- "rental_days": 7,
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Retirada confirmada.",
- "included_services": "Quilometragem livre\nSeguro básico incluso\nTanque cheio na retirada",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 35,
- "commission_percentage": 10,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 17.5,
- "intermediary_commission_percentage": 5,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 100,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 10,
- "cc_rav_fee": 0,
- "totals": {
- "fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 10,
- "products": 350,
- "customer_amount": 350,
- "amount": 350
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}, - "passengers": [
- {
- "document": "LOC-77310",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "fees": 0,
- "other_fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "amount": 350,
- "customer_amount": 350,
- "total_amount": 350,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "travel_packages": [
- {
- "id": "8192a3b4-c5d6-4e7f-0182-930415263748",
- "local_id": "b8c9d0e1-f2a3-4567-8901-234567a01234",
- "document": "TP123456789",
- "begin_date": "2026-11-16",
- "end_date": "2026-11-23",
- "destination": "international",
- "package_name": "Pacote Europa Clássica",
- "transport": "scheduled_flight",
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Pacote confirmado.",
- "included_services": "Hospedagem: Hotéis 4 estrelas\nRefeições: Café da manhã e jantar\nPasseios: City tour em 5 cidades\nSeguro viagem internacional",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 250,
- "commission_percentage": 10,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 125,
- "intermediary_commission_percentage": 5,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 100,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 25,
- "cc_rav_fee": 0,
- "totals": {
- "fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 25,
- "products": 2500,
- "customer_amount": 2500,
- "amount": 2500
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}, - "passengers": [
- {
- "document": "PCT2024050001",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "fees": 0,
- "other_fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "amount": 2500,
- "customer_amount": 2500,
- "total_amount": 2500,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "others": [
- {
- "id": "8f7e6d5c-4b3a-4218-9f0e-1d2c3b4a5968",
- "product": {
- "id": "a3b2c1d0-9e8f-4756-b4a3-2c1d0e9f8a7b"
}, - "document": "OUT123456",
- "destination": "Salvador",
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Passeio confirmado.",
- "included_services": "Guia local incluso",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 12,
- "commission_percentage": 2,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 4,
- "intermediary_commission_percentage": 2,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 50,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 0,
- "cc_rav_fee": 0,
- "quantity": null,
- "unit_price": null,
- "unit_fee": null,
- "totals": {
- "fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 0,
- "products": 2500,
- "customer_amount": 2500,
- "amount": 2500
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}, - "passengers": [
- {
- "document": "OUT2024060012",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "amount": 2500,
- "customer_amount": 2500,
- "total_amount": 2500,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "excursions": [
- {
- "id": "d0e1f2a3-b4c5-4906-a1b2-3c4d5e6f7081",
- "local_id": "c1d2e3f4-a5b6-4c78-9d0e-1f2a3b4c5d6e",
- "document": "EXC123456",
- "departure_date": "2026-11-11T16:20:16",
- "arrival_date": "2026-11-11T16:20:16",
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Passeio confirmado.",
- "included_services": "Guia local incluso\nTransporte incluso",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 10,
- "commission_percentage": 10,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 5,
- "intermediary_commission_percentage": 5,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 20,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 0,
- "cc_rav_fee": 0,
- "totals": {
- "fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 0,
- "products": 350,
- "customer_amount": 350,
- "amount": 350
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}, - "passengers": [
- {
- "document": "EXC2024060034",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "amount": 350,
- "customer_amount": 350,
- "total_amount": 350,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "cvc_packages": [
- {
- "id": "5c4b3a29-1e0d-4982-7c6b-5a4938271605",
- "product": {
- "id": "c5d4e3f2-1a0b-4978-d6c5-4e3f2a1b0c9d"
}, - "package_name": "CVC Caribe 7 noites",
- "receipt_number": "89100000183488",
- "departure_date": "2026-11-21T16:20:16",
- "arrival_date": "2026-11-28T16:20:16",
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Pacote confirmado.",
- "included_services": "Hospedagem all inclusive\nTraslados inclusos",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 490,
- "commission_percentage": 12,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 0,
- "intermediary_commission_percentage": 0,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 0,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 0,
- "cc_rav_fee": 0,
- "quantity": 2,
- "unit_price": 1500,
- "unit_fee": 80,
- "totals": {
- "fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 0,
- "products": 3160,
- "customer_amount": 3160,
- "amount": 3160
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}
}
], - "operations": [
- {
- "id": "6d5c4b3a-2f1e-4093-8d7c-6b5a49382716",
- "product": {
- "id": "b4c3d2e1-0f9a-4867-c5b4-3d2e1f0a9b8c"
}, - "document": "OP-000123",
- "departure_date": "2026-11-13T16:20:16",
- "arrival_date": "2026-11-13T16:20:16",
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "observations": "City tour confirmado.",
- "included_services": "Guia local incluso\nTransporte incluso",
- "currency": "BRL",
- "exchange_rate": 1,
- "intermediary_commission_amount": 0,
- "intermediary_commission_percentage": 0,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 0,
- "agency_card_rate": 0,
- "discount_amount": 0,
- "quantity": null,
- "unit_price": null,
- "unit_fee": null,
- "totals": {
- "fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 0,
- "products": 2500,
- "customer_amount": 2500,
- "amount": 2500
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "passengers": [
- {
- "document": "OP2024060056",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "fees": 0,
- "amount": 2500,
- "customer_amount": 2500,
- "total_amount": 2500,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "payments": {
- "agency": {
- "bills": [
- {
- "id": "9f2c8b71-4d3e-4a56-b8c9-1e2f3a4b5c6d",
- "local_id": "pagamento-1"
}, - {
- "id": "1a77b3c2-5e6f-4708-9a1b-2c3d4e5f6071",
- "local_id": "pagamento-2"
}, - {
- "id": "4b5c6d7e-8f90-41a2-b3c4-d5e6f7081920",
- "local_id": "pagamento-3"
}
], - "refunds": [
- {
- "id": "3b41c2d5-6e7f-4809-a1b2-c3d4e5f60718"
}
], - "credit": [
- {
- "id": "c2d3e4f5-a6b7-4c8d-9e0f-1a2b3c4d5e6f",
- "due_date": "2026-12-06",
- "document": "CRED-000123",
- "amount": 6475.34,
- "payer": {
- "id": "2f8b6d51-9c04-4e37-a1b8-63d95e70c2a4"
}, - "origin_sale": {
- "id": "3d4e5f60-7182-4394-83a5-c3d4e5f6a7b8"
}, - "products": [
- {
- "amount": 6475.34,
- "sale_product": {
- "id": "3c4d5e6f-7081-492a-bc3d-4e5f60718293"
}
}
]
}
], - "to_invoice": [
- {
- "bill": {
- "id": "4f5a6b7c-8d9e-4f01-a2b3-c4d5e6f70819"
}, - "cost_center": "Diretoria",
- "amount": 2350,
- "products": [
- {
- "amount": 2500,
- "sale_product": {
- "id": "8f7e6d5c-4b3a-4218-9f0e-1d2c3b4a5968"
}
}, - {
- "amount": -150,
- "sale_product": {
- "id": "1a2b3c4d-5e6f-4708-9a1b-2c3d4e5f6071"
}
}
]
}
], - "retained_by_intermediary": [
- {
- "id": "7d8e9f0a-1b2c-4d3e-8f4a-5b6c7d8e9f01",
- "due_date": "2026-12-06",
- "amount": 195,
- "payer": {
- "id": "2f8b6d51-9c04-4e37-a1b8-63d95e70c2a4"
}, - "products": [
- {
- "amount": 625.95,
- "sale_product": {
- "id": "1a2b3c4d-5e6f-4708-9a1b-2c3d4e5f6071"
}
}
]
}
], - "legacy": [
- {
- "id": "d3e4f5a6-b7c8-4d9e-8f01-2b3c4d5e6f70",
- "due_date": "2026-10-07",
- "amount": 300,
- "check": null,
- "card": {
- "brand": "mastercard",
- "last_digits": "5678",
- "authorization": "ABC123"
}, - "payer": {
- "id": "2f8b6d51-9c04-4e37-a1b8-63d95e70c2a4"
}, - "payment_method": {
- "id": "fc9f5c65-59d6-42bb-8dd1-a5c0e3e51ea9"
}, - "products": [
- {
- "amount": 8358.77,
- "sale_product": {
- "id": "2b3c4d5e-6f70-4819-ab2c-3d4e5f607182"
}
}
]
}
]
}, - "vendor": {
- "credit_card": [
- {
- "id": "e4f5a6b7-c8d9-4e0f-9a12-3c4d5e6f7081",
- "local_id": "pagamento-4",
- "due_date": "2026-12-06",
- "card_last_digits": "1234",
- "authorization": "XYZ789",
- "installments": 2,
- "payer": {
- "id": "2f8b6d51-9c04-4e37-a1b8-63d95e70c2a4"
}, - "products": [
- {
- "amount": 8358.77,
- "sale_product": {
- "id": "2b3c4d5e-6f70-4819-ab2c-3d4e5f607182"
}
}, - {
- "amount": 2500,
- "sale_product": {
- "id": "8f7e6d5c-4b3a-4218-9f0e-1d2c3b4a5968"
}
}, - {
- "amount": 3160,
- "sale_product": {
- "id": "5c4b3a29-1e0d-4982-7c6b-5a4938271605"
}
}, - {
- "amount": 2500,
- "sale_product": {
- "id": "6d5c4b3a-2f1e-4093-8d7c-6b5a49382716"
}
}
]
}
], - "check": [
- {
- "id": "f5a6b7c8-d9e0-4f1a-8b23-4d5e6f708192",
- "due_date": "2026-12-06",
- "bank_code": "341",
- "check_number": 654321,
- "payer": {
- "id": "2f8b6d51-9c04-4e37-a1b8-63d95e70c2a4"
}, - "products": [
- {
- "amount": 134.14,
- "sale_product": {
- "id": "6f708192-a3b4-4c5d-ef60-718293041526"
}
}
]
}
], - "credit": [
- {
- "id": "a6b7c8d9-e0f1-4a2b-9c34-5e6f708192a3",
- "local_id": "pagamento-6",
- "due_date": "2026-12-06",
- "document": "CRED-000123",
- "payer": {
- "id": "2f8b6d51-9c04-4e37-a1b8-63d95e70c2a4"
}, - "products": [
- {
- "amount": 134.14,
- "sale_product": {
- "id": "6f708192-a3b4-4c5d-ef60-718293041526"
}
}
]
}
], - "others": [
- {
- "id": "b7c8d9e0-f1a2-4b3c-8d45-6f708192a3b4",
- "local_id": "pagamento-5",
- "due_date": "2026-12-06",
- "details": "Fatura",
- "payer": {
- "id": "2f8b6d51-9c04-4e37-a1b8-63d95e70c2a4"
}, - "products": [
- {
- "amount": 2500,
- "sale_product": {
- "id": "8192a3b4-c5d6-4e7f-0182-930415263748"
}
}
]
}
]
}
}, - "commissions": [
- {
- "description": "Plano: Padrão, cálculo: 10%",
- "amount": 700,
- "retained_amount": 0,
- "balance": 700,
- "person": {
- "id": "0a1b2c3d-4e5f-4061-8072-90a1b2c3d4e5"
}
}, - {
- "description": "Comissão Intermediário",
- "amount": 49.75,
- "retained_amount": 0,
- "balance": 49.75,
- "person": {
- "id": "1b2c3d4e-5f60-4172-8183-a1b2c3d4e5f6"
}
}, - {
- "description": null,
- "amount": -100,
- "retained_amount": 0,
- "balance": -100,
- "person": {
- "id": "2c3d4e5f-6071-4283-8294-b2c3d4e5f6a7"
}
}
], - "financial": {
- "observations": "Teste de observações financeiras",
- "vendor_bills": [
- {
- "id": "c8b7a695-4d3e-4f21-b0a9-8e7d6c5b4a39"
}
], - "standalone_bills": [
- {
- "id": "f1e2d3c4-b5a6-4978-8f6e-5d4c3b2a1e0f"
}
], - "vendor_items": [
- {
- "id": "4a6d2e18-9c3f-4b75-8e01-2d7f5a9c3b16",
- "kind": "invoice",
- "description": null,
- "due_date": "2026-11-10",
- "amount": -320,
- "currency": "BRL",
- "sale_product": {
- "id": "5d7e2a91-4c3b-4f8e-9a16-2b0c8d3e7f45"
}, - "person": {
- "id": "0a1b2c3d-4e5f-4061-8072-90a1b2c3d4e5"
}, - "bill": {
- "id": "c8b7a695-4d3e-4f21-b0a9-8e7d6c5b4a39"
}, - "payment": null
}, - {
- "id": "8e3c1f52-7a4b-4d29-b6e0-3f9a2c7d1b84",
- "kind": "lei_kandir",
- "description": null,
- "due_date": "2026-11-20",
- "amount": -12.5,
- "currency": "BRL",
- "sale_product": {
- "id": "5d7e2a91-4c3b-4f8e-9a16-2b0c8d3e7f45"
}, - "person": {
- "id": "0a1b2c3d-4e5f-4061-8072-90a1b2c3d4e5"
}, - "bill": null,
- "payment": null
}
]
}
}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 incanceled_at. A product without passengers is canceled right away. The optionscalculate_commission,delete_supplier_balanceandsupplier_fineonly apply when the request leaves every passenger canceled, that is, when the list cancels the ones still missing.delete_customer_balancealso 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
PATCH.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.
passengers is refused (422). To cancel the whole product, list every active passenger.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.canceled when every passenger is canceled; until then it stays active, with the canceled passengers marked in canceled_at.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.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.delete_supplier_balance and supplier_fine are refused.Closed sale
409).Response
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.
| sale_id required | string <uuid> Example: 212b54b8-27df-4859-80a9-79ad855bcd09 Sale identifier (UUID), the |
| product_id required | string <uuid> Example: 5d7e2a91-4c3b-4f8e-9a16-2b0c8d3e7f45 Sale product identifier (UUID), the product |
| 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. |
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 |
| 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 |
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": [
- {
- "person": {
- "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91"
}, - "canceled_at": "2026-10-14"
}, - {
- "person": {
- "id": "c0d4b1e3-5a6f-4b7c-8d9e-0f1a2b3c4d5e"
}, - "canceled_at": "2026-10-15"
}
], - "delete_customer_balance": true
}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": [
- {
- "id": "5d7e2a91-4c3b-4f8e-9a16-2b0c8d3e7f45",
- "status": "active",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 120.5,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "passengers": [
- {
- "canceled_at": "2026-10-14",
- "person": {
- "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91"
}
}, - {
- "canceled_at": null,
- "person": {
- "id": "c0d4b1e3-5a6f-4b7c-8d9e-0f1a2b3c4d5e"
}
}
]
}
]
}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
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).{}).person.id as in the cancellation, must be a canceled passenger of the product.canceled_at nor the cancellation options (422): the reactivation undoes the cancellation as it was recorded.Financial records
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.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.
| sale_id required | string <uuid> Example: 212b54b8-27df-4859-80a9-79ad855bcd09 Sale identifier (UUID), the |
| product_id required | string <uuid> Example: 5d7e2a91-4c3b-4f8e-9a16-2b0c8d3e7f45 Sale product identifier (UUID), the product |
| 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. |
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. |
Reactivates only one canceled passenger, referenced by the person id. The fine and the deleted balance stay while there is a canceled passenger.
{- "passengers": [
- {
- "person": {
- "id": "c0d4b1e3-5a6f-4b7c-8d9e-0f1a2b3c4d5e"
}
}
]
}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": [
- {
- "id": "5d7e2a91-4c3b-4f8e-9a16-2b0c8d3e7f45",
- "status": "active",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "passengers": [
- {
- "canceled_at": null,
- "person": {
- "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91"
}
}, - {
- "canceled_at": null,
- "person": {
- "id": "c0d4b1e3-5a6f-4b7c-8d9e-0f1a2b3c4d5e"
}
}
]
}
]
}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
bill and payment null). With the automatic vendor invoice, an item still to be invoiced is also edited, as in Monde.409: the due date and description that apply are those of the entry, which is changed in Update account payable or receivable.409: the due date is the one of the payment, which is changed in the payments of the sale, in Update sale.generated_credit) answers 409: it is handled in the credit of the person.409. An item that is not a vendor item of this sale, including a customer item and one awaiting deletion, answers 404.Response
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).
| sale_id required | string <uuid> Example: 212b54b8-27df-4859-80a9-79ad855bcd09 Sale identifier (UUID), the |
| id required | string <uuid> Example: 8e3c1f52-7a4b-4d29-b6e0-3f9a2c7d1b84 Vendor item identifier (UUID), the |
| 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. |
| due_date | string <date> New due date of the item, in ISO 8601 format (YYYY-MM-DD). The due date is required: |
| description | string or null <= 100 characters New description of the item, up to 100 characters. |
Changes the due date and the description of an item still to be invoiced.
{- "due_date": "2026-12-15",
- "description": "Faturar em dezembro"
}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": {
- "observations": null,
- "vendor_bills": [
- {
- "id": "c8b7a695-4d3e-4f21-b0a9-8e7d6c5b4a39"
}
], - "standalone_bills": [ ],
- "vendor_items": [
- {
- "id": "4a6d2e18-9c3f-4b75-8e01-2d7f5a9c3b16",
- "kind": "invoice",
- "description": null,
- "due_date": "2026-11-10",
- "amount": -320,
- "currency": "BRL",
- "sale_product": {
- "id": "5d7e2a91-4c3b-4f8e-9a16-2b0c8d3e7f45"
}, - "person": {
- "id": "0a1b2c3d-4e5f-4061-8072-90a1b2c3d4e5"
}, - "bill": {
- "id": "c8b7a695-4d3e-4f21-b0a9-8e7d6c5b4a39"
}, - "payment": null
}, - {
- "id": "8e3c1f52-7a4b-4d29-b6e0-3f9a2c7d1b84",
- "kind": "invoice",
- "description": "Faturar em dezembro",
- "due_date": "2026-12-15",
- "amount": -650.95,
- "currency": "BRL",
- "sale_product": {
- "id": "5d7e2a91-4c3b-4f8e-9a16-2b0c8d3e7f45"
}, - "person": {
- "id": "0a1b2c3d-4e5f-4061-8072-90a1b2c3d4e5"
}, - "bill": null,
- "payment": null
}
]
}
}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
409; try again later.Refusals
409, as does a closed or settled invoice the item is in.product_id answers 422, pointing to the item.Response
Location header. A credential that cannot read the invoice receives only its id.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.
| sale_id required | string <uuid> Example: 212b54b8-27df-4859-80a9-79ad855bcd09 Sale identifier (UUID), the |
| 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. |
| kind required | string Enum: "advance" "deposit" What to generate, as in Monde:
|
| product_id | string <uuid> Product of the sale (UUID, the |
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. |
Generates the standalone payment with the whole balance of the item.
{- "kind": "advance",
- "items": [
- {
- "id": "8e3c1f52-7a4b-4d29-b6e0-3f9a2c7d1b84",
- "amount": 650.95
}
]
}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": {
- "id": "d1e2f3a4-b5c6-4788-e9f0-a1b2c3d4e5f6"
}, - "company": {
- "id": "0a1b2c3d-4e5f-4677-8899-aabbccddeeff"
}, - "account": null,
- "payment_method": null,
- "operation": null,
- "invoice_rule": null,
- "created_by": {
- "id": "e5f6a7b8-c9d0-4122-f3a4-b5c6d7e8f9a0"
}, - "movements": [ ],
- "apportionments": {
- "per_company": [ ],
- "per_cost_center": [ ]
}, - "custom_fields": [ ],
- "attachments": [ ],
- "categories": [ ],
- "commissions": [ ],
- "items": [
- {
- "description": "Diárias de Hospedagem",
- "cost_center": null,
- "checked": false,
- "amount": -4,
- "sale": {
- "id": "8b9c0d1e-2f3a-4b5c-8d6e-7f8a9b0c1d2e"
}, - "sale_product": {
- "id": "f0a1b2c3-d4e5-4966-a7b8-c9d0e1f2a3b4"
}, - "cvc_statement": null
}
], - "credit_card_items": [ ]
}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
202.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.payments list neither keeps nor removes it. It leaves through the to-invoice removal.Refusals
409: the to-invoice payment is only added to an open sale.422, as Monde only offers the to-invoice payment when there is a balance.422, pointing to the product, as do a zero sum and a cost center the payer does not have.Response
id.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).
| sale_id required | string <uuid> Example: 212b54b8-27df-4859-80a9-79ad855bcd09 Sale identifier (UUID), the |
| 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. |
| payer_id | string <uuid> (sale_to_invoice_payer_id) Payer (person UUID, the |
| 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. |
Invoices to the payer of the sale the customer balance of a product, without a cost center.
{- "products": [
- {
- "sale_product_id": "5d7e2a91-4c3b-4f8e-9a16-2b0c8d3e7f45",
- "amount": 650.95
}
]
}{- "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": {
- "products": 19188.57,
- "fees": 598.84,
- "discount": 225,
- "revenue": 1500,
- "balance": 0,
- "final_amount": 19870.43
}, - "company": {
- "id": "e5d9aaed-33bb-4679-b392-b45e5cd78eb4"
}, - "created_by": {
- "id": "b4c3d2e1-6f7a-4b9c-8d1e-2f3a4b5c6d7e"
}, - "operation": {
- "id": "8936058a-2906-4239-9a7f-e22ccc2c195e"
}, - "seller": {
- "id": "7c9e1a04-53b6-4f28-9d71-0e5a2c8b4f13"
}, - "payer": {
- "id": "2f8b6d51-9c04-4e37-a1b8-63d95e70c2a4"
}, - "intermediary": {
- "id": "d40a7f92-1e63-4b85-8c27-5a9f3e01b6d8"
}, - "requester": {
- "id": "b17c5e38-6a90-4d21-9f43-8e2b70c5a916"
}, - "approver": {
- "id": "95e2a7c1-4b38-4f60-8d19-27a6f3e0b5c4"
}, - "promoter": {
- "id": "6a3f9d27-8c51-4e04-b2f7-72e5c8a91b30"
}, - "travel": {
- "id": "7c1d9f30-5a2b-4e68-9d47-2f8b6c0a1e35"
}, - "custom_fields": [
- {
- "id": 12345,
- "value": "Reunião comercial"
}
], - "insurances": [
- {
- "id": "1a2b3c4d-5e6f-4708-9a1b-2c3d4e5f6071",
- "local_id": "a1b2c3d4-e5f6-7890-1234-567890abcdef",
- "document": "14296922",
- "begin_date": "2026-11-11",
- "end_date": "2026-11-26",
- "destination": "international",
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Embarque confirmado.",
- "included_services": "Plano: Max BRL R$ 60.000,00 com cobertura de despesas médicas\nCódigo: 1234",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 50.07,
- "commission_percentage": 10,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 25.04,
- "intermediary_commission_percentage": 5,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 100,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 10,
- "cc_rav_fee": 0,
- "totals": {
- "fees": 25,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 10,
- "products": 625.95,
- "customer_amount": 650.95,
- "amount": 650.95
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}, - "passengers": [
- {
- "document": "9921508090000",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "fees": 25,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "amount": 625.95,
- "customer_amount": 650.95,
- "total_amount": 650.95,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "cruises": [
- {
- "id": "2b3c4d5e-6f70-4819-ab2c-3d4e5f607182",
- "local_id": "b2c3d4e5-f6a7-8901-2345-678901bcdef0",
- "booking_number": "987568489",
- "departure_date": "2026-11-12",
- "arrival_date": "2026-11-26",
- "ship_name": "MXS Example Seaview",
- "cruise_destination": "Bahamas",
- "accommodation_kind": "Duplo Casal",
- "cabin_number": "1234",
- "cabin_kind": "Royal Suite",
- "cabin_category": "7A",
- "meal_plan": "All inclusive",
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Cabine confirmada.",
- "included_services": "Pacote: All Inclusive\nCódigo: 1234",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 835.88,
- "commission_percentage": 10,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 417.94,
- "intermediary_commission_percentage": 5,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 100,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 100,
- "cc_rav_fee": 0,
- "totals": {
- "fees": 120,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 100,
- "products": 8358.77,
- "customer_amount": 8478.77,
- "amount": 8478.77
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}, - "passengers": [
- {
- "document": "CRZ-90412",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "fees": 120,
- "tip": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "amount": 8358.77,
- "customer_amount": 8478.77,
- "total_amount": 8478.77,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "hotels": [
- {
- "id": "3c4d5e6f-7081-492a-bc3d-4e5f60718293",
- "local_id": "c3d4e5f6-a7b8-9012-3456-789012cdef01",
- "booking_number": "1020506090",
- "check_in": "2026-11-29",
- "check_out": "2026-12-06",
- "destination": "international",
- "accommodation_kind": "Duplo Casal",
- "room_category": "Deluxe",
- "meal_plan": "All Inclusive",
- "nights": 8,
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Reserva garantida.",
- "included_services": "Epic Journey Hotel: Avenida Rebouças, 397, São Paulo, SP, Brasil\nQuarto com vista para cidade.",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 563.07,
- "commission_percentage": 10,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 281.54,
- "intermediary_commission_percentage": 5,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 100,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 50,
- "cc_rav_fee": 0,
- "totals": {
- "fees": 281.54,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 563.07,
- "discount": 50,
- "products": 5630.73,
- "customer_amount": 6475.34,
- "amount": 6475.34
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}, - "passengers": [
- {
- "document": "HTL-55821",
- "emission_name": "Maria da Silva",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "fees": 281.54,
- "other_fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 563.07,
- "amount": 5630.73,
- "customer_amount": 6475.34,
- "total_amount": 6475.34,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "airline_tickets": [
- {
- "id": "4d5e6f70-8192-4a3b-cd4e-5f6071829304",
- "local_id": "d4e5f6a7-b8c9-0123-4567-890123def012",
- "locator": "WABCJJ",
- "destination": "international",
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Bilhete emitido.",
- "included_services": "3 bagagens despachadas sem custo\nAssento com reclinação total\nAcesso ao Lounge",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 136.07,
- "commission_percentage": 10,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 68.04,
- "intermediary_commission_percentage": 5,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 100,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 20,
- "cc_rav_fee": 27.22,
- "cc_du_fee": 27.22,
- "totals": {
- "fees": 136.06,
- "rav_fee": 204.01,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 20,
- "products": 1360.67,
- "du_fee": 104.01,
- "du_fee_discount": 0,
- "customer_amount": 1804.75,
- "amount": 1804.75
}, - "supplier": {
- "id": "3d7b0c94-2a68-4f15-8e93-1c5a6d20b7f4"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}, - "segments": [
- {
- "airline_code": "AA",
- "flight_number": "1234",
- "class": "A",
- "origin": "NAS",
- "departure_date": "2026-11-11T16:20:16",
- "destination": "JFK",
- "arrival_date": "2026-11-11T16:20:16"
}
], - "passengers": [
- {
- "ticket_number": "99526874895",
- "emission_name": "Maria da Silva",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "boarding_fee": 136.06,
- "other_fees": 0,
- "rav_fee": 204.01,
- "rav_fee_discount": 0,
- "du_fee": 104.01,
- "du_fee_discount": 0,
- "agency_fee": 0,
- "amount": 1360.67,
- "customer_amount": 1804.75,
- "total_amount": 1804.75,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "train_tickets": [
- {
- "id": "5e6f7081-92a3-4b4c-de5f-607182930415",
- "local_id": "e5f6a7b8-c9d0-1234-5678-901234ef0123",
- "document": "RE9988777",
- "departure_date": "2026-11-11T16:20:16",
- "arrival_date": "2026-11-14T16:20:16",
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Bilhete emitido.",
- "included_services": "Refeição inclusa\nWi-Fi gratuito\nVagão silencioso",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 15,
- "commission_percentage": 10,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 7.5,
- "intermediary_commission_percentage": 5,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 100,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 5,
- "cc_rav_fee": 0,
- "totals": {
- "fees": 24.05,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 5,
- "products": 240.5,
- "customer_amount": 264.55,
- "amount": 264.55
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}, - "passengers": [
- {
- "document": "RE9988777",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "fees": 24.05,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "amount": 240.5,
- "customer_amount": 264.55,
- "total_amount": 264.55,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "ground_transportations": [
- {
- "id": "6f708192-a3b4-4c5d-ef60-718293041526",
- "local_id": "f6a7b8c9-d0e1-2345-6789-012345f01234",
- "document": "GT123456",
- "departure_date": "2026-11-11T16:20:16",
- "arrival_date": "2026-11-14T16:20:16",
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Bilhete emitido.",
- "included_services": "Refeição inclusa\nWi-Fi gratuito.",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 8.55,
- "commission_percentage": 10,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 4.28,
- "intermediary_commission_percentage": 5,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 100,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 5,
- "cc_rav_fee": 0,
- "totals": {
- "fees": 12.19,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 5,
- "products": 121.95,
- "customer_amount": 134.14,
- "amount": 134.14
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}, - "passengers": [
- {
- "document": "0001234567",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "fees": 12.19,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "amount": 121.95,
- "customer_amount": 134.14,
- "total_amount": 134.14,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "car_rentals": [
- {
- "id": "708192a3-b4c5-4d6e-f071-829304152637",
- "local_id": "a7b8c9d0-e1f2-3456-7890-123456a01234",
- "document": "CR123456789",
- "pickup_date": "2026-11-11",
- "pickup_location": "Aeroporto de Congonhas",
- "dropoff_date": "2026-11-18",
- "dropoff_location": "Aeroporto de Congonhas",
- "destination": "national",
- "vehicle_category": "Econômico",
- "rental_days": 7,
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Retirada confirmada.",
- "included_services": "Quilometragem livre\nSeguro básico incluso\nTanque cheio na retirada",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 35,
- "commission_percentage": 10,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 17.5,
- "intermediary_commission_percentage": 5,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 100,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 10,
- "cc_rav_fee": 0,
- "totals": {
- "fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 10,
- "products": 350,
- "customer_amount": 350,
- "amount": 350
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}, - "passengers": [
- {
- "document": "LOC-77310",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "fees": 0,
- "other_fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "amount": 350,
- "customer_amount": 350,
- "total_amount": 350,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "travel_packages": [
- {
- "id": "8192a3b4-c5d6-4e7f-0182-930415263748",
- "local_id": "b8c9d0e1-f2a3-4567-8901-234567a01234",
- "document": "TP123456789",
- "begin_date": "2026-11-16",
- "end_date": "2026-11-23",
- "destination": "international",
- "package_name": "Pacote Europa Clássica",
- "transport": "scheduled_flight",
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Pacote confirmado.",
- "included_services": "Hospedagem: Hotéis 4 estrelas\nRefeições: Café da manhã e jantar\nPasseios: City tour em 5 cidades\nSeguro viagem internacional",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 250,
- "commission_percentage": 10,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 125,
- "intermediary_commission_percentage": 5,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 100,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 25,
- "cc_rav_fee": 0,
- "totals": {
- "fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 25,
- "products": 2500,
- "customer_amount": 2500,
- "amount": 2500
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}, - "passengers": [
- {
- "document": "PCT2024050001",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "fees": 0,
- "other_fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "amount": 2500,
- "customer_amount": 2500,
- "total_amount": 2500,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "others": [
- {
- "id": "8f7e6d5c-4b3a-4218-9f0e-1d2c3b4a5968",
- "product": {
- "id": "a3b2c1d0-9e8f-4756-b4a3-2c1d0e9f8a7b"
}, - "document": "OUT123456",
- "destination": "Salvador",
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Passeio confirmado.",
- "included_services": "Guia local incluso",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 12,
- "commission_percentage": 2,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 4,
- "intermediary_commission_percentage": 2,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 50,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 0,
- "cc_rav_fee": 0,
- "quantity": null,
- "unit_price": null,
- "unit_fee": null,
- "totals": {
- "fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 0,
- "products": 2500,
- "customer_amount": 2500,
- "amount": 2500
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}, - "passengers": [
- {
- "document": "OUT2024060012",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "amount": 2500,
- "customer_amount": 2500,
- "total_amount": 2500,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "excursions": [
- {
- "id": "d0e1f2a3-b4c5-4906-a1b2-3c4d5e6f7081",
- "local_id": "c1d2e3f4-a5b6-4c78-9d0e-1f2a3b4c5d6e",
- "document": "EXC123456",
- "departure_date": "2026-11-11T16:20:16",
- "arrival_date": "2026-11-11T16:20:16",
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Passeio confirmado.",
- "included_services": "Guia local incluso\nTransporte incluso",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 10,
- "commission_percentage": 10,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 5,
- "intermediary_commission_percentage": 5,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 20,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 0,
- "cc_rav_fee": 0,
- "totals": {
- "fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 0,
- "products": 350,
- "customer_amount": 350,
- "amount": 350
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}, - "passengers": [
- {
- "document": "EXC2024060034",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "amount": 350,
- "customer_amount": 350,
- "total_amount": 350,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "cvc_packages": [
- {
- "id": "5c4b3a29-1e0d-4982-7c6b-5a4938271605",
- "product": {
- "id": "c5d4e3f2-1a0b-4978-d6c5-4e3f2a1b0c9d"
}, - "package_name": "CVC Caribe 7 noites",
- "receipt_number": "89100000183488",
- "departure_date": "2026-11-21T16:20:16",
- "arrival_date": "2026-11-28T16:20:16",
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Pacote confirmado.",
- "included_services": "Hospedagem all inclusive\nTraslados inclusos",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 490,
- "commission_percentage": 12,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 0,
- "intermediary_commission_percentage": 0,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 0,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 0,
- "cc_rav_fee": 0,
- "quantity": 2,
- "unit_price": 1500,
- "unit_fee": 80,
- "totals": {
- "fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 0,
- "products": 3160,
- "customer_amount": 3160,
- "amount": 3160
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}
}
], - "operations": [
- {
- "id": "6d5c4b3a-2f1e-4093-8d7c-6b5a49382716",
- "product": {
- "id": "b4c3d2e1-0f9a-4867-c5b4-3d2e1f0a9b8c"
}, - "document": "OP-000123",
- "departure_date": "2026-11-13T16:20:16",
- "arrival_date": "2026-11-13T16:20:16",
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "observations": "City tour confirmado.",
- "included_services": "Guia local incluso\nTransporte incluso",
- "currency": "BRL",
- "exchange_rate": 1,
- "intermediary_commission_amount": 0,
- "intermediary_commission_percentage": 0,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 0,
- "agency_card_rate": 0,
- "discount_amount": 0,
- "quantity": null,
- "unit_price": null,
- "unit_fee": null,
- "totals": {
- "fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 0,
- "products": 2500,
- "customer_amount": 2500,
- "amount": 2500
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "passengers": [
- {
- "document": "OP2024060056",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "fees": 0,
- "amount": 2500,
- "customer_amount": 2500,
- "total_amount": 2500,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "payments": {
- "agency": {
- "bills": [
- {
- "id": "9f2c8b71-4d3e-4a56-b8c9-1e2f3a4b5c6d",
- "local_id": "pagamento-1"
}, - {
- "id": "1a77b3c2-5e6f-4708-9a1b-2c3d4e5f6071",
- "local_id": "pagamento-2"
}, - {
- "id": "4b5c6d7e-8f90-41a2-b3c4-d5e6f7081920",
- "local_id": "pagamento-3"
}
], - "refunds": [
- {
- "id": "3b41c2d5-6e7f-4809-a1b2-c3d4e5f60718"
}
], - "credit": [
- {
- "id": "c2d3e4f5-a6b7-4c8d-9e0f-1a2b3c4d5e6f",
- "due_date": "2026-12-06",
- "document": "CRED-000123",
- "amount": 6475.34,
- "payer": {
- "id": "2f8b6d51-9c04-4e37-a1b8-63d95e70c2a4"
}, - "origin_sale": {
- "id": "3d4e5f60-7182-4394-83a5-c3d4e5f6a7b8"
}, - "products": [
- {
- "amount": 6475.34,
- "sale_product": {
- "id": "3c4d5e6f-7081-492a-bc3d-4e5f60718293"
}
}
]
}
], - "to_invoice": [
- {
- "bill": {
- "id": "4f5a6b7c-8d9e-4f01-a2b3-c4d5e6f70819"
}, - "cost_center": "Diretoria",
- "amount": 2350,
- "products": [
- {
- "amount": 2500,
- "sale_product": {
- "id": "8f7e6d5c-4b3a-4218-9f0e-1d2c3b4a5968"
}
}, - {
- "amount": -150,
- "sale_product": {
- "id": "1a2b3c4d-5e6f-4708-9a1b-2c3d4e5f6071"
}
}
]
}
], - "retained_by_intermediary": [
- {
- "id": "7d8e9f0a-1b2c-4d3e-8f4a-5b6c7d8e9f01",
- "due_date": "2026-12-06",
- "amount": 195,
- "payer": {
- "id": "2f8b6d51-9c04-4e37-a1b8-63d95e70c2a4"
}, - "products": [
- {
- "amount": 625.95,
- "sale_product": {
- "id": "1a2b3c4d-5e6f-4708-9a1b-2c3d4e5f6071"
}
}
]
}
], - "legacy": [
- {
- "id": "d3e4f5a6-b7c8-4d9e-8f01-2b3c4d5e6f70",
- "due_date": "2026-10-07",
- "amount": 300,
- "check": null,
- "card": {
- "brand": "mastercard",
- "last_digits": "5678",
- "authorization": "ABC123"
}, - "payer": {
- "id": "2f8b6d51-9c04-4e37-a1b8-63d95e70c2a4"
}, - "payment_method": {
- "id": "fc9f5c65-59d6-42bb-8dd1-a5c0e3e51ea9"
}, - "products": [
- {
- "amount": 8358.77,
- "sale_product": {
- "id": "2b3c4d5e-6f70-4819-ab2c-3d4e5f607182"
}
}
]
}
]
}, - "vendor": {
- "credit_card": [
- {
- "id": "e4f5a6b7-c8d9-4e0f-9a12-3c4d5e6f7081",
- "local_id": "pagamento-4",
- "due_date": "2026-12-06",
- "card_last_digits": "1234",
- "authorization": "XYZ789",
- "installments": 2,
- "payer": {
- "id": "2f8b6d51-9c04-4e37-a1b8-63d95e70c2a4"
}, - "products": [
- {
- "amount": 8358.77,
- "sale_product": {
- "id": "2b3c4d5e-6f70-4819-ab2c-3d4e5f607182"
}
}, - {
- "amount": 2500,
- "sale_product": {
- "id": "8f7e6d5c-4b3a-4218-9f0e-1d2c3b4a5968"
}
}, - {
- "amount": 3160,
- "sale_product": {
- "id": "5c4b3a29-1e0d-4982-7c6b-5a4938271605"
}
}, - {
- "amount": 2500,
- "sale_product": {
- "id": "6d5c4b3a-2f1e-4093-8d7c-6b5a49382716"
}
}
]
}
], - "check": [
- {
- "id": "f5a6b7c8-d9e0-4f1a-8b23-4d5e6f708192",
- "due_date": "2026-12-06",
- "bank_code": "341",
- "check_number": 654321,
- "payer": {
- "id": "2f8b6d51-9c04-4e37-a1b8-63d95e70c2a4"
}, - "products": [
- {
- "amount": 134.14,
- "sale_product": {
- "id": "6f708192-a3b4-4c5d-ef60-718293041526"
}
}
]
}
], - "credit": [
- {
- "id": "a6b7c8d9-e0f1-4a2b-9c34-5e6f708192a3",
- "local_id": "pagamento-6",
- "due_date": "2026-12-06",
- "document": "CRED-000123",
- "payer": {
- "id": "2f8b6d51-9c04-4e37-a1b8-63d95e70c2a4"
}, - "products": [
- {
- "amount": 134.14,
- "sale_product": {
- "id": "6f708192-a3b4-4c5d-ef60-718293041526"
}
}
]
}
], - "others": [
- {
- "id": "b7c8d9e0-f1a2-4b3c-8d45-6f708192a3b4",
- "local_id": "pagamento-5",
- "due_date": "2026-12-06",
- "details": "Fatura",
- "payer": {
- "id": "2f8b6d51-9c04-4e37-a1b8-63d95e70c2a4"
}, - "products": [
- {
- "amount": 2500,
- "sale_product": {
- "id": "8192a3b4-c5d6-4e7f-0182-930415263748"
}
}
]
}
]
}
}, - "commissions": [
- {
- "description": "Plano: Padrão, cálculo: 10%",
- "amount": 700,
- "retained_amount": 0,
- "balance": 700,
- "person": {
- "id": "0a1b2c3d-4e5f-4061-8072-90a1b2c3d4e5"
}
}, - {
- "description": "Comissão Intermediário",
- "amount": 49.75,
- "retained_amount": 0,
- "balance": 49.75,
- "person": {
- "id": "1b2c3d4e-5f60-4172-8183-a1b2c3d4e5f6"
}
}, - {
- "description": null,
- "amount": -100,
- "retained_amount": 0,
- "balance": -100,
- "person": {
- "id": "2c3d4e5f-6071-4283-8294-b2c3d4e5f6a7"
}
}
], - "financial": {
- "observations": "Teste de observações financeiras",
- "vendor_bills": [
- {
- "id": "c8b7a695-4d3e-4f21-b0a9-8e7d6c5b4a39"
}
], - "standalone_bills": [
- {
- "id": "f1e2d3c4-b5a6-4978-8f6e-5d4c3b2a1e0f"
}
], - "vendor_items": [
- {
- "id": "4a6d2e18-9c3f-4b75-8e01-2d7f5a9c3b16",
- "kind": "invoice",
- "description": null,
- "due_date": "2026-11-10",
- "amount": -320,
- "currency": "BRL",
- "sale_product": {
- "id": "5d7e2a91-4c3b-4f8e-9a16-2b0c8d3e7f45"
}, - "person": {
- "id": "0a1b2c3d-4e5f-4061-8072-90a1b2c3d4e5"
}, - "bill": {
- "id": "c8b7a695-4d3e-4f21-b0a9-8e7d6c5b4a39"
}, - "payment": null
}, - {
- "id": "8e3c1f52-7a4b-4d29-b6e0-3f9a2c7d1b84",
- "kind": "lei_kandir",
- "description": null,
- "due_date": "2026-11-20",
- "amount": -12.5,
- "currency": "BRL",
- "sale_product": {
- "id": "5d7e2a91-4c3b-4f8e-9a16-2b0c8d3e7f45"
}, - "person": {
- "id": "0a1b2c3d-4e5f-4061-8072-90a1b2c3d4e5"
}, - "bill": null,
- "payment": null
}
]
}
}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
202.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
409.422.422).Response
id.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).
| sale_id required | string <uuid> Example: 212b54b8-27df-4859-80a9-79ad855bcd09 Sale identifier (UUID), the |
| 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. |
| payer_id | string <uuid> (sale_to_invoice_payer_id) Payer (person UUID, the |
| 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. |
Returns to the customer, through the customer invoice, the negative balance of a product.
{- "description": "Reembolso do seguro",
- "products": [
- {
- "sale_product_id": "8f7e6d5c-4b3a-4218-9f0e-1d2c3b4a5968",
- "amount": -150
}
]
}{- "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": {
- "products": 19188.57,
- "fees": 598.84,
- "discount": 225,
- "revenue": 1500,
- "balance": 0,
- "final_amount": 19870.43
}, - "company": {
- "id": "e5d9aaed-33bb-4679-b392-b45e5cd78eb4"
}, - "created_by": {
- "id": "b4c3d2e1-6f7a-4b9c-8d1e-2f3a4b5c6d7e"
}, - "operation": {
- "id": "8936058a-2906-4239-9a7f-e22ccc2c195e"
}, - "seller": {
- "id": "7c9e1a04-53b6-4f28-9d71-0e5a2c8b4f13"
}, - "payer": {
- "id": "2f8b6d51-9c04-4e37-a1b8-63d95e70c2a4"
}, - "intermediary": {
- "id": "d40a7f92-1e63-4b85-8c27-5a9f3e01b6d8"
}, - "requester": {
- "id": "b17c5e38-6a90-4d21-9f43-8e2b70c5a916"
}, - "approver": {
- "id": "95e2a7c1-4b38-4f60-8d19-27a6f3e0b5c4"
}, - "promoter": {
- "id": "6a3f9d27-8c51-4e04-b2f7-72e5c8a91b30"
}, - "travel": {
- "id": "7c1d9f30-5a2b-4e68-9d47-2f8b6c0a1e35"
}, - "custom_fields": [
- {
- "id": 12345,
- "value": "Reunião comercial"
}
], - "insurances": [
- {
- "id": "1a2b3c4d-5e6f-4708-9a1b-2c3d4e5f6071",
- "local_id": "a1b2c3d4-e5f6-7890-1234-567890abcdef",
- "document": "14296922",
- "begin_date": "2026-11-11",
- "end_date": "2026-11-26",
- "destination": "international",
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Embarque confirmado.",
- "included_services": "Plano: Max BRL R$ 60.000,00 com cobertura de despesas médicas\nCódigo: 1234",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 50.07,
- "commission_percentage": 10,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 25.04,
- "intermediary_commission_percentage": 5,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 100,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 10,
- "cc_rav_fee": 0,
- "totals": {
- "fees": 25,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 10,
- "products": 625.95,
- "customer_amount": 650.95,
- "amount": 650.95
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}, - "passengers": [
- {
- "document": "9921508090000",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "fees": 25,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "amount": 625.95,
- "customer_amount": 650.95,
- "total_amount": 650.95,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "cruises": [
- {
- "id": "2b3c4d5e-6f70-4819-ab2c-3d4e5f607182",
- "local_id": "b2c3d4e5-f6a7-8901-2345-678901bcdef0",
- "booking_number": "987568489",
- "departure_date": "2026-11-12",
- "arrival_date": "2026-11-26",
- "ship_name": "MXS Example Seaview",
- "cruise_destination": "Bahamas",
- "accommodation_kind": "Duplo Casal",
- "cabin_number": "1234",
- "cabin_kind": "Royal Suite",
- "cabin_category": "7A",
- "meal_plan": "All inclusive",
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Cabine confirmada.",
- "included_services": "Pacote: All Inclusive\nCódigo: 1234",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 835.88,
- "commission_percentage": 10,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 417.94,
- "intermediary_commission_percentage": 5,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 100,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 100,
- "cc_rav_fee": 0,
- "totals": {
- "fees": 120,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 100,
- "products": 8358.77,
- "customer_amount": 8478.77,
- "amount": 8478.77
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}, - "passengers": [
- {
- "document": "CRZ-90412",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "fees": 120,
- "tip": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "amount": 8358.77,
- "customer_amount": 8478.77,
- "total_amount": 8478.77,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "hotels": [
- {
- "id": "3c4d5e6f-7081-492a-bc3d-4e5f60718293",
- "local_id": "c3d4e5f6-a7b8-9012-3456-789012cdef01",
- "booking_number": "1020506090",
- "check_in": "2026-11-29",
- "check_out": "2026-12-06",
- "destination": "international",
- "accommodation_kind": "Duplo Casal",
- "room_category": "Deluxe",
- "meal_plan": "All Inclusive",
- "nights": 8,
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Reserva garantida.",
- "included_services": "Epic Journey Hotel: Avenida Rebouças, 397, São Paulo, SP, Brasil\nQuarto com vista para cidade.",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 563.07,
- "commission_percentage": 10,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 281.54,
- "intermediary_commission_percentage": 5,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 100,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 50,
- "cc_rav_fee": 0,
- "totals": {
- "fees": 281.54,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 563.07,
- "discount": 50,
- "products": 5630.73,
- "customer_amount": 6475.34,
- "amount": 6475.34
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}, - "passengers": [
- {
- "document": "HTL-55821",
- "emission_name": "Maria da Silva",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "fees": 281.54,
- "other_fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 563.07,
- "amount": 5630.73,
- "customer_amount": 6475.34,
- "total_amount": 6475.34,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "airline_tickets": [
- {
- "id": "4d5e6f70-8192-4a3b-cd4e-5f6071829304",
- "local_id": "d4e5f6a7-b8c9-0123-4567-890123def012",
- "locator": "WABCJJ",
- "destination": "international",
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Bilhete emitido.",
- "included_services": "3 bagagens despachadas sem custo\nAssento com reclinação total\nAcesso ao Lounge",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 136.07,
- "commission_percentage": 10,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 68.04,
- "intermediary_commission_percentage": 5,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 100,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 20,
- "cc_rav_fee": 27.22,
- "cc_du_fee": 27.22,
- "totals": {
- "fees": 136.06,
- "rav_fee": 204.01,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 20,
- "products": 1360.67,
- "du_fee": 104.01,
- "du_fee_discount": 0,
- "customer_amount": 1804.75,
- "amount": 1804.75
}, - "supplier": {
- "id": "3d7b0c94-2a68-4f15-8e93-1c5a6d20b7f4"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}, - "segments": [
- {
- "airline_code": "AA",
- "flight_number": "1234",
- "class": "A",
- "origin": "NAS",
- "departure_date": "2026-11-11T16:20:16",
- "destination": "JFK",
- "arrival_date": "2026-11-11T16:20:16"
}
], - "passengers": [
- {
- "ticket_number": "99526874895",
- "emission_name": "Maria da Silva",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "boarding_fee": 136.06,
- "other_fees": 0,
- "rav_fee": 204.01,
- "rav_fee_discount": 0,
- "du_fee": 104.01,
- "du_fee_discount": 0,
- "agency_fee": 0,
- "amount": 1360.67,
- "customer_amount": 1804.75,
- "total_amount": 1804.75,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "train_tickets": [
- {
- "id": "5e6f7081-92a3-4b4c-de5f-607182930415",
- "local_id": "e5f6a7b8-c9d0-1234-5678-901234ef0123",
- "document": "RE9988777",
- "departure_date": "2026-11-11T16:20:16",
- "arrival_date": "2026-11-14T16:20:16",
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Bilhete emitido.",
- "included_services": "Refeição inclusa\nWi-Fi gratuito\nVagão silencioso",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 15,
- "commission_percentage": 10,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 7.5,
- "intermediary_commission_percentage": 5,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 100,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 5,
- "cc_rav_fee": 0,
- "totals": {
- "fees": 24.05,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 5,
- "products": 240.5,
- "customer_amount": 264.55,
- "amount": 264.55
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}, - "passengers": [
- {
- "document": "RE9988777",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "fees": 24.05,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "amount": 240.5,
- "customer_amount": 264.55,
- "total_amount": 264.55,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "ground_transportations": [
- {
- "id": "6f708192-a3b4-4c5d-ef60-718293041526",
- "local_id": "f6a7b8c9-d0e1-2345-6789-012345f01234",
- "document": "GT123456",
- "departure_date": "2026-11-11T16:20:16",
- "arrival_date": "2026-11-14T16:20:16",
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Bilhete emitido.",
- "included_services": "Refeição inclusa\nWi-Fi gratuito.",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 8.55,
- "commission_percentage": 10,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 4.28,
- "intermediary_commission_percentage": 5,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 100,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 5,
- "cc_rav_fee": 0,
- "totals": {
- "fees": 12.19,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 5,
- "products": 121.95,
- "customer_amount": 134.14,
- "amount": 134.14
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}, - "passengers": [
- {
- "document": "0001234567",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "fees": 12.19,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "amount": 121.95,
- "customer_amount": 134.14,
- "total_amount": 134.14,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "car_rentals": [
- {
- "id": "708192a3-b4c5-4d6e-f071-829304152637",
- "local_id": "a7b8c9d0-e1f2-3456-7890-123456a01234",
- "document": "CR123456789",
- "pickup_date": "2026-11-11",
- "pickup_location": "Aeroporto de Congonhas",
- "dropoff_date": "2026-11-18",
- "dropoff_location": "Aeroporto de Congonhas",
- "destination": "national",
- "vehicle_category": "Econômico",
- "rental_days": 7,
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Retirada confirmada.",
- "included_services": "Quilometragem livre\nSeguro básico incluso\nTanque cheio na retirada",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 35,
- "commission_percentage": 10,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 17.5,
- "intermediary_commission_percentage": 5,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 100,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 10,
- "cc_rav_fee": 0,
- "totals": {
- "fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 10,
- "products": 350,
- "customer_amount": 350,
- "amount": 350
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}, - "passengers": [
- {
- "document": "LOC-77310",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "fees": 0,
- "other_fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "amount": 350,
- "customer_amount": 350,
- "total_amount": 350,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "travel_packages": [
- {
- "id": "8192a3b4-c5d6-4e7f-0182-930415263748",
- "local_id": "b8c9d0e1-f2a3-4567-8901-234567a01234",
- "document": "TP123456789",
- "begin_date": "2026-11-16",
- "end_date": "2026-11-23",
- "destination": "international",
- "package_name": "Pacote Europa Clássica",
- "transport": "scheduled_flight",
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Pacote confirmado.",
- "included_services": "Hospedagem: Hotéis 4 estrelas\nRefeições: Café da manhã e jantar\nPasseios: City tour em 5 cidades\nSeguro viagem internacional",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 250,
- "commission_percentage": 10,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 125,
- "intermediary_commission_percentage": 5,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 100,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 25,
- "cc_rav_fee": 0,
- "totals": {
- "fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 25,
- "products": 2500,
- "customer_amount": 2500,
- "amount": 2500
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}, - "passengers": [
- {
- "document": "PCT2024050001",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "fees": 0,
- "other_fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "amount": 2500,
- "customer_amount": 2500,
- "total_amount": 2500,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "others": [
- {
- "id": "8f7e6d5c-4b3a-4218-9f0e-1d2c3b4a5968",
- "product": {
- "id": "a3b2c1d0-9e8f-4756-b4a3-2c1d0e9f8a7b"
}, - "document": "OUT123456",
- "destination": "Salvador",
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Passeio confirmado.",
- "included_services": "Guia local incluso",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 12,
- "commission_percentage": 2,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 4,
- "intermediary_commission_percentage": 2,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 50,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 0,
- "cc_rav_fee": 0,
- "quantity": null,
- "unit_price": null,
- "unit_fee": null,
- "totals": {
- "fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 0,
- "products": 2500,
- "customer_amount": 2500,
- "amount": 2500
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}, - "passengers": [
- {
- "document": "OUT2024060012",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "amount": 2500,
- "customer_amount": 2500,
- "total_amount": 2500,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "excursions": [
- {
- "id": "d0e1f2a3-b4c5-4906-a1b2-3c4d5e6f7081",
- "local_id": "c1d2e3f4-a5b6-4c78-9d0e-1f2a3b4c5d6e",
- "document": "EXC123456",
- "departure_date": "2026-11-11T16:20:16",
- "arrival_date": "2026-11-11T16:20:16",
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Passeio confirmado.",
- "included_services": "Guia local incluso\nTransporte incluso",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 10,
- "commission_percentage": 10,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 5,
- "intermediary_commission_percentage": 5,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 20,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 0,
- "cc_rav_fee": 0,
- "totals": {
- "fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 0,
- "products": 350,
- "customer_amount": 350,
- "amount": 350
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}, - "passengers": [
- {
- "document": "EXC2024060034",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "amount": 350,
- "customer_amount": 350,
- "total_amount": 350,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "cvc_packages": [
- {
- "id": "5c4b3a29-1e0d-4982-7c6b-5a4938271605",
- "product": {
- "id": "c5d4e3f2-1a0b-4978-d6c5-4e3f2a1b0c9d"
}, - "package_name": "CVC Caribe 7 noites",
- "receipt_number": "89100000183488",
- "departure_date": "2026-11-21T16:20:16",
- "arrival_date": "2026-11-28T16:20:16",
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Pacote confirmado.",
- "included_services": "Hospedagem all inclusive\nTraslados inclusos",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 490,
- "commission_percentage": 12,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 0,
- "intermediary_commission_percentage": 0,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 0,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 0,
- "cc_rav_fee": 0,
- "quantity": 2,
- "unit_price": 1500,
- "unit_fee": 80,
- "totals": {
- "fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 0,
- "products": 3160,
- "customer_amount": 3160,
- "amount": 3160
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}
}
], - "operations": [
- {
- "id": "6d5c4b3a-2f1e-4093-8d7c-6b5a49382716",
- "product": {
- "id": "b4c3d2e1-0f9a-4867-c5b4-3d2e1f0a9b8c"
}, - "document": "OP-000123",
- "departure_date": "2026-11-13T16:20:16",
- "arrival_date": "2026-11-13T16:20:16",
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "observations": "City tour confirmado.",
- "included_services": "Guia local incluso\nTransporte incluso",
- "currency": "BRL",
- "exchange_rate": 1,
- "intermediary_commission_amount": 0,
- "intermediary_commission_percentage": 0,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 0,
- "agency_card_rate": 0,
- "discount_amount": 0,
- "quantity": null,
- "unit_price": null,
- "unit_fee": null,
- "totals": {
- "fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 0,
- "products": 2500,
- "customer_amount": 2500,
- "amount": 2500
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "passengers": [
- {
- "document": "OP2024060056",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "fees": 0,
- "amount": 2500,
- "customer_amount": 2500,
- "total_amount": 2500,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "payments": {
- "agency": {
- "bills": [
- {
- "id": "9f2c8b71-4d3e-4a56-b8c9-1e2f3a4b5c6d",
- "local_id": "pagamento-1"
}, - {
- "id": "1a77b3c2-5e6f-4708-9a1b-2c3d4e5f6071",
- "local_id": "pagamento-2"
}, - {
- "id": "4b5c6d7e-8f90-41a2-b3c4-d5e6f7081920",
- "local_id": "pagamento-3"
}
], - "refunds": [
- {
- "id": "3b41c2d5-6e7f-4809-a1b2-c3d4e5f60718"
}
], - "credit": [
- {
- "id": "c2d3e4f5-a6b7-4c8d-9e0f-1a2b3c4d5e6f",
- "due_date": "2026-12-06",
- "document": "CRED-000123",
- "amount": 6475.34,
- "payer": {
- "id": "2f8b6d51-9c04-4e37-a1b8-63d95e70c2a4"
}, - "origin_sale": {
- "id": "3d4e5f60-7182-4394-83a5-c3d4e5f6a7b8"
}, - "products": [
- {
- "amount": 6475.34,
- "sale_product": {
- "id": "3c4d5e6f-7081-492a-bc3d-4e5f60718293"
}
}
]
}
], - "to_invoice": [
- {
- "bill": {
- "id": "4f5a6b7c-8d9e-4f01-a2b3-c4d5e6f70819"
}, - "cost_center": "Diretoria",
- "amount": 2350,
- "products": [
- {
- "amount": 2500,
- "sale_product": {
- "id": "8f7e6d5c-4b3a-4218-9f0e-1d2c3b4a5968"
}
}, - {
- "amount": -150,
- "sale_product": {
- "id": "1a2b3c4d-5e6f-4708-9a1b-2c3d4e5f6071"
}
}
]
}
], - "retained_by_intermediary": [
- {
- "id": "7d8e9f0a-1b2c-4d3e-8f4a-5b6c7d8e9f01",
- "due_date": "2026-12-06",
- "amount": 195,
- "payer": {
- "id": "2f8b6d51-9c04-4e37-a1b8-63d95e70c2a4"
}, - "products": [
- {
- "amount": 625.95,
- "sale_product": {
- "id": "1a2b3c4d-5e6f-4708-9a1b-2c3d4e5f6071"
}
}
]
}
], - "legacy": [
- {
- "id": "d3e4f5a6-b7c8-4d9e-8f01-2b3c4d5e6f70",
- "due_date": "2026-10-07",
- "amount": 300,
- "check": null,
- "card": {
- "brand": "mastercard",
- "last_digits": "5678",
- "authorization": "ABC123"
}, - "payer": {
- "id": "2f8b6d51-9c04-4e37-a1b8-63d95e70c2a4"
}, - "payment_method": {
- "id": "fc9f5c65-59d6-42bb-8dd1-a5c0e3e51ea9"
}, - "products": [
- {
- "amount": 8358.77,
- "sale_product": {
- "id": "2b3c4d5e-6f70-4819-ab2c-3d4e5f607182"
}
}
]
}
]
}, - "vendor": {
- "credit_card": [
- {
- "id": "e4f5a6b7-c8d9-4e0f-9a12-3c4d5e6f7081",
- "local_id": "pagamento-4",
- "due_date": "2026-12-06",
- "card_last_digits": "1234",
- "authorization": "XYZ789",
- "installments": 2,
- "payer": {
- "id": "2f8b6d51-9c04-4e37-a1b8-63d95e70c2a4"
}, - "products": [
- {
- "amount": 8358.77,
- "sale_product": {
- "id": "2b3c4d5e-6f70-4819-ab2c-3d4e5f607182"
}
}, - {
- "amount": 2500,
- "sale_product": {
- "id": "8f7e6d5c-4b3a-4218-9f0e-1d2c3b4a5968"
}
}, - {
- "amount": 3160,
- "sale_product": {
- "id": "5c4b3a29-1e0d-4982-7c6b-5a4938271605"
}
}, - {
- "amount": 2500,
- "sale_product": {
- "id": "6d5c4b3a-2f1e-4093-8d7c-6b5a49382716"
}
}
]
}
], - "check": [
- {
- "id": "f5a6b7c8-d9e0-4f1a-8b23-4d5e6f708192",
- "due_date": "2026-12-06",
- "bank_code": "341",
- "check_number": 654321,
- "payer": {
- "id": "2f8b6d51-9c04-4e37-a1b8-63d95e70c2a4"
}, - "products": [
- {
- "amount": 134.14,
- "sale_product": {
- "id": "6f708192-a3b4-4c5d-ef60-718293041526"
}
}
]
}
], - "credit": [
- {
- "id": "a6b7c8d9-e0f1-4a2b-9c34-5e6f708192a3",
- "local_id": "pagamento-6",
- "due_date": "2026-12-06",
- "document": "CRED-000123",
- "payer": {
- "id": "2f8b6d51-9c04-4e37-a1b8-63d95e70c2a4"
}, - "products": [
- {
- "amount": 134.14,
- "sale_product": {
- "id": "6f708192-a3b4-4c5d-ef60-718293041526"
}
}
]
}
], - "others": [
- {
- "id": "b7c8d9e0-f1a2-4b3c-8d45-6f708192a3b4",
- "local_id": "pagamento-5",
- "due_date": "2026-12-06",
- "details": "Fatura",
- "payer": {
- "id": "2f8b6d51-9c04-4e37-a1b8-63d95e70c2a4"
}, - "products": [
- {
- "amount": 2500,
- "sale_product": {
- "id": "8192a3b4-c5d6-4e7f-0182-930415263748"
}
}
]
}
]
}
}, - "commissions": [
- {
- "description": "Plano: Padrão, cálculo: 10%",
- "amount": 700,
- "retained_amount": 0,
- "balance": 700,
- "person": {
- "id": "0a1b2c3d-4e5f-4061-8072-90a1b2c3d4e5"
}
}, - {
- "description": "Comissão Intermediário",
- "amount": 49.75,
- "retained_amount": 0,
- "balance": 49.75,
- "person": {
- "id": "1b2c3d4e-5f60-4172-8183-a1b2c3d4e5f6"
}
}, - {
- "description": null,
- "amount": -100,
- "retained_amount": 0,
- "balance": -100,
- "person": {
- "id": "2c3d4e5f-6071-4283-8294-b2c3d4e5f6a7"
}
}
], - "financial": {
- "observations": "Teste de observações financeiras",
- "vendor_bills": [
- {
- "id": "c8b7a695-4d3e-4f21-b0a9-8e7d6c5b4a39"
}
], - "standalone_bills": [
- {
- "id": "f1e2d3c4-b5a6-4978-8f6e-5d4c3b2a1e0f"
}
], - "vendor_items": [
- {
- "id": "4a6d2e18-9c3f-4b75-8e01-2d7f5a9c3b16",
- "kind": "invoice",
- "description": null,
- "due_date": "2026-11-10",
- "amount": -320,
- "currency": "BRL",
- "sale_product": {
- "id": "5d7e2a91-4c3b-4f8e-9a16-2b0c8d3e7f45"
}, - "person": {
- "id": "0a1b2c3d-4e5f-4061-8072-90a1b2c3d4e5"
}, - "bill": {
- "id": "c8b7a695-4d3e-4f21-b0a9-8e7d6c5b4a39"
}, - "payment": null
}, - {
- "id": "8e3c1f52-7a4b-4d29-b6e0-3f9a2c7d1b84",
- "kind": "lei_kandir",
- "description": null,
- "due_date": "2026-11-20",
- "amount": -12.5,
- "currency": "BRL",
- "sale_product": {
- "id": "5d7e2a91-4c3b-4f8e-9a16-2b0c8d3e7f45"
}, - "person": {
- "id": "0a1b2c3d-4e5f-4061-8072-90a1b2c3d4e5"
}, - "bill": null,
- "payment": null
}
]
}
}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
Refusals
409.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.409: reopen the invoice first, through Reopen a client invoice.409, unless remove_settlement comes as true: then the settlement of the invoice is undone.422, as does a confirmation that is neither true nor false.Response
id.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).
| sale_id required | string <uuid> Example: 212b54b8-27df-4859-80a9-79ad855bcd09 Sale identifier (UUID), the |
| 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. |
| bill_id required | string <uuid> Customer invoice of the line (UUID, the |
| cost_center | string or null Cost center of the line, its |
| reopen_sale | boolean Default: false Confirms reopening the closed sale, as Monde asks before deleting. With |
| 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 |
Removes the to-invoice line of the customer invoice that has no cost center.
{- "bill_id": "4f5a6b7c-8d9e-4f01-a2b3-c4d5e6f70819",
- "cost_center": null
}{- "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": {
- "products": 19188.57,
- "fees": 598.84,
- "discount": 225,
- "revenue": 1500,
- "balance": 0,
- "final_amount": 19870.43
}, - "company": {
- "id": "e5d9aaed-33bb-4679-b392-b45e5cd78eb4"
}, - "created_by": {
- "id": "b4c3d2e1-6f7a-4b9c-8d1e-2f3a4b5c6d7e"
}, - "operation": {
- "id": "8936058a-2906-4239-9a7f-e22ccc2c195e"
}, - "seller": {
- "id": "7c9e1a04-53b6-4f28-9d71-0e5a2c8b4f13"
}, - "payer": {
- "id": "2f8b6d51-9c04-4e37-a1b8-63d95e70c2a4"
}, - "intermediary": {
- "id": "d40a7f92-1e63-4b85-8c27-5a9f3e01b6d8"
}, - "requester": {
- "id": "b17c5e38-6a90-4d21-9f43-8e2b70c5a916"
}, - "approver": {
- "id": "95e2a7c1-4b38-4f60-8d19-27a6f3e0b5c4"
}, - "promoter": {
- "id": "6a3f9d27-8c51-4e04-b2f7-72e5c8a91b30"
}, - "travel": {
- "id": "7c1d9f30-5a2b-4e68-9d47-2f8b6c0a1e35"
}, - "custom_fields": [
- {
- "id": 12345,
- "value": "Reunião comercial"
}
], - "insurances": [
- {
- "id": "1a2b3c4d-5e6f-4708-9a1b-2c3d4e5f6071",
- "local_id": "a1b2c3d4-e5f6-7890-1234-567890abcdef",
- "document": "14296922",
- "begin_date": "2026-11-11",
- "end_date": "2026-11-26",
- "destination": "international",
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Embarque confirmado.",
- "included_services": "Plano: Max BRL R$ 60.000,00 com cobertura de despesas médicas\nCódigo: 1234",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 50.07,
- "commission_percentage": 10,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 25.04,
- "intermediary_commission_percentage": 5,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 100,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 10,
- "cc_rav_fee": 0,
- "totals": {
- "fees": 25,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 10,
- "products": 625.95,
- "customer_amount": 650.95,
- "amount": 650.95
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}, - "passengers": [
- {
- "document": "9921508090000",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "fees": 25,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "amount": 625.95,
- "customer_amount": 650.95,
- "total_amount": 650.95,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "cruises": [
- {
- "id": "2b3c4d5e-6f70-4819-ab2c-3d4e5f607182",
- "local_id": "b2c3d4e5-f6a7-8901-2345-678901bcdef0",
- "booking_number": "987568489",
- "departure_date": "2026-11-12",
- "arrival_date": "2026-11-26",
- "ship_name": "MXS Example Seaview",
- "cruise_destination": "Bahamas",
- "accommodation_kind": "Duplo Casal",
- "cabin_number": "1234",
- "cabin_kind": "Royal Suite",
- "cabin_category": "7A",
- "meal_plan": "All inclusive",
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Cabine confirmada.",
- "included_services": "Pacote: All Inclusive\nCódigo: 1234",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 835.88,
- "commission_percentage": 10,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 417.94,
- "intermediary_commission_percentage": 5,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 100,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 100,
- "cc_rav_fee": 0,
- "totals": {
- "fees": 120,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 100,
- "products": 8358.77,
- "customer_amount": 8478.77,
- "amount": 8478.77
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}, - "passengers": [
- {
- "document": "CRZ-90412",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "fees": 120,
- "tip": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "amount": 8358.77,
- "customer_amount": 8478.77,
- "total_amount": 8478.77,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "hotels": [
- {
- "id": "3c4d5e6f-7081-492a-bc3d-4e5f60718293",
- "local_id": "c3d4e5f6-a7b8-9012-3456-789012cdef01",
- "booking_number": "1020506090",
- "check_in": "2026-11-29",
- "check_out": "2026-12-06",
- "destination": "international",
- "accommodation_kind": "Duplo Casal",
- "room_category": "Deluxe",
- "meal_plan": "All Inclusive",
- "nights": 8,
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Reserva garantida.",
- "included_services": "Epic Journey Hotel: Avenida Rebouças, 397, São Paulo, SP, Brasil\nQuarto com vista para cidade.",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 563.07,
- "commission_percentage": 10,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 281.54,
- "intermediary_commission_percentage": 5,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 100,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 50,
- "cc_rav_fee": 0,
- "totals": {
- "fees": 281.54,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 563.07,
- "discount": 50,
- "products": 5630.73,
- "customer_amount": 6475.34,
- "amount": 6475.34
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}, - "passengers": [
- {
- "document": "HTL-55821",
- "emission_name": "Maria da Silva",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "fees": 281.54,
- "other_fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 563.07,
- "amount": 5630.73,
- "customer_amount": 6475.34,
- "total_amount": 6475.34,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "airline_tickets": [
- {
- "id": "4d5e6f70-8192-4a3b-cd4e-5f6071829304",
- "local_id": "d4e5f6a7-b8c9-0123-4567-890123def012",
- "locator": "WABCJJ",
- "destination": "international",
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Bilhete emitido.",
- "included_services": "3 bagagens despachadas sem custo\nAssento com reclinação total\nAcesso ao Lounge",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 136.07,
- "commission_percentage": 10,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 68.04,
- "intermediary_commission_percentage": 5,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 100,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 20,
- "cc_rav_fee": 27.22,
- "cc_du_fee": 27.22,
- "totals": {
- "fees": 136.06,
- "rav_fee": 204.01,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 20,
- "products": 1360.67,
- "du_fee": 104.01,
- "du_fee_discount": 0,
- "customer_amount": 1804.75,
- "amount": 1804.75
}, - "supplier": {
- "id": "3d7b0c94-2a68-4f15-8e93-1c5a6d20b7f4"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}, - "segments": [
- {
- "airline_code": "AA",
- "flight_number": "1234",
- "class": "A",
- "origin": "NAS",
- "departure_date": "2026-11-11T16:20:16",
- "destination": "JFK",
- "arrival_date": "2026-11-11T16:20:16"
}
], - "passengers": [
- {
- "ticket_number": "99526874895",
- "emission_name": "Maria da Silva",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "boarding_fee": 136.06,
- "other_fees": 0,
- "rav_fee": 204.01,
- "rav_fee_discount": 0,
- "du_fee": 104.01,
- "du_fee_discount": 0,
- "agency_fee": 0,
- "amount": 1360.67,
- "customer_amount": 1804.75,
- "total_amount": 1804.75,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "train_tickets": [
- {
- "id": "5e6f7081-92a3-4b4c-de5f-607182930415",
- "local_id": "e5f6a7b8-c9d0-1234-5678-901234ef0123",
- "document": "RE9988777",
- "departure_date": "2026-11-11T16:20:16",
- "arrival_date": "2026-11-14T16:20:16",
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Bilhete emitido.",
- "included_services": "Refeição inclusa\nWi-Fi gratuito\nVagão silencioso",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 15,
- "commission_percentage": 10,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 7.5,
- "intermediary_commission_percentage": 5,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 100,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 5,
- "cc_rav_fee": 0,
- "totals": {
- "fees": 24.05,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 5,
- "products": 240.5,
- "customer_amount": 264.55,
- "amount": 264.55
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}, - "passengers": [
- {
- "document": "RE9988777",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "fees": 24.05,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "amount": 240.5,
- "customer_amount": 264.55,
- "total_amount": 264.55,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "ground_transportations": [
- {
- "id": "6f708192-a3b4-4c5d-ef60-718293041526",
- "local_id": "f6a7b8c9-d0e1-2345-6789-012345f01234",
- "document": "GT123456",
- "departure_date": "2026-11-11T16:20:16",
- "arrival_date": "2026-11-14T16:20:16",
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Bilhete emitido.",
- "included_services": "Refeição inclusa\nWi-Fi gratuito.",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 8.55,
- "commission_percentage": 10,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 4.28,
- "intermediary_commission_percentage": 5,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 100,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 5,
- "cc_rav_fee": 0,
- "totals": {
- "fees": 12.19,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 5,
- "products": 121.95,
- "customer_amount": 134.14,
- "amount": 134.14
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}, - "passengers": [
- {
- "document": "0001234567",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "fees": 12.19,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "amount": 121.95,
- "customer_amount": 134.14,
- "total_amount": 134.14,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "car_rentals": [
- {
- "id": "708192a3-b4c5-4d6e-f071-829304152637",
- "local_id": "a7b8c9d0-e1f2-3456-7890-123456a01234",
- "document": "CR123456789",
- "pickup_date": "2026-11-11",
- "pickup_location": "Aeroporto de Congonhas",
- "dropoff_date": "2026-11-18",
- "dropoff_location": "Aeroporto de Congonhas",
- "destination": "national",
- "vehicle_category": "Econômico",
- "rental_days": 7,
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Retirada confirmada.",
- "included_services": "Quilometragem livre\nSeguro básico incluso\nTanque cheio na retirada",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 35,
- "commission_percentage": 10,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 17.5,
- "intermediary_commission_percentage": 5,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 100,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 10,
- "cc_rav_fee": 0,
- "totals": {
- "fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 10,
- "products": 350,
- "customer_amount": 350,
- "amount": 350
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}, - "passengers": [
- {
- "document": "LOC-77310",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "fees": 0,
- "other_fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "amount": 350,
- "customer_amount": 350,
- "total_amount": 350,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "travel_packages": [
- {
- "id": "8192a3b4-c5d6-4e7f-0182-930415263748",
- "local_id": "b8c9d0e1-f2a3-4567-8901-234567a01234",
- "document": "TP123456789",
- "begin_date": "2026-11-16",
- "end_date": "2026-11-23",
- "destination": "international",
- "package_name": "Pacote Europa Clássica",
- "transport": "scheduled_flight",
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Pacote confirmado.",
- "included_services": "Hospedagem: Hotéis 4 estrelas\nRefeições: Café da manhã e jantar\nPasseios: City tour em 5 cidades\nSeguro viagem internacional",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 250,
- "commission_percentage": 10,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 125,
- "intermediary_commission_percentage": 5,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 100,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 25,
- "cc_rav_fee": 0,
- "totals": {
- "fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 25,
- "products": 2500,
- "customer_amount": 2500,
- "amount": 2500
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}, - "passengers": [
- {
- "document": "PCT2024050001",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "fees": 0,
- "other_fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "amount": 2500,
- "customer_amount": 2500,
- "total_amount": 2500,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "others": [
- {
- "id": "8f7e6d5c-4b3a-4218-9f0e-1d2c3b4a5968",
- "product": {
- "id": "a3b2c1d0-9e8f-4756-b4a3-2c1d0e9f8a7b"
}, - "document": "OUT123456",
- "destination": "Salvador",
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Passeio confirmado.",
- "included_services": "Guia local incluso",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 12,
- "commission_percentage": 2,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 4,
- "intermediary_commission_percentage": 2,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 50,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 0,
- "cc_rav_fee": 0,
- "quantity": null,
- "unit_price": null,
- "unit_fee": null,
- "totals": {
- "fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 0,
- "products": 2500,
- "customer_amount": 2500,
- "amount": 2500
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}, - "passengers": [
- {
- "document": "OUT2024060012",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "amount": 2500,
- "customer_amount": 2500,
- "total_amount": 2500,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "excursions": [
- {
- "id": "d0e1f2a3-b4c5-4906-a1b2-3c4d5e6f7081",
- "local_id": "c1d2e3f4-a5b6-4c78-9d0e-1f2a3b4c5d6e",
- "document": "EXC123456",
- "departure_date": "2026-11-11T16:20:16",
- "arrival_date": "2026-11-11T16:20:16",
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Passeio confirmado.",
- "included_services": "Guia local incluso\nTransporte incluso",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 10,
- "commission_percentage": 10,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 5,
- "intermediary_commission_percentage": 5,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 20,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 0,
- "cc_rav_fee": 0,
- "totals": {
- "fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 0,
- "products": 350,
- "customer_amount": 350,
- "amount": 350
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}, - "passengers": [
- {
- "document": "EXC2024060034",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "amount": 350,
- "customer_amount": 350,
- "total_amount": 350,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "cvc_packages": [
- {
- "id": "5c4b3a29-1e0d-4982-7c6b-5a4938271605",
- "product": {
- "id": "c5d4e3f2-1a0b-4978-d6c5-4e3f2a1b0c9d"
}, - "package_name": "CVC Caribe 7 noites",
- "receipt_number": "89100000183488",
- "departure_date": "2026-11-21T16:20:16",
- "arrival_date": "2026-11-28T16:20:16",
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "delete_supplier_balance": false,
- "supplier_fine": 0,
- "supplier_fine_origin_currency": 0,
- "observations": "Pacote confirmado.",
- "included_services": "Hospedagem all inclusive\nTraslados inclusos",
- "currency": "BRL",
- "exchange_rate": 1,
- "commission_amount": 490,
- "commission_percentage": 12,
- "over_amount": 0,
- "over_percentage": 0,
- "over": 0,
- "intermediary_commission_amount": 0,
- "intermediary_commission_percentage": 0,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 0,
- "agency_card_rate": 0,
- "deductions": 0,
- "discount_amount": 0,
- "cc_rav_fee": 0,
- "quantity": 2,
- "unit_price": 1500,
- "unit_fee": 80,
- "totals": {
- "fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 0,
- "products": 3160,
- "customer_amount": 3160,
- "amount": 3160
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "representative": {
- "id": "028ea1ef-3f8e-4c7f-93da-463794a5afda"
}
}
], - "operations": [
- {
- "id": "6d5c4b3a-2f1e-4093-8d7c-6b5a49382716",
- "product": {
- "id": "b4c3d2e1-0f9a-4867-c5b4-3d2e1f0a9b8c"
}, - "document": "OP-000123",
- "departure_date": "2026-11-13T16:20:16",
- "arrival_date": "2026-11-13T16:20:16",
- "status": "active",
- "issue_date": "2026-11-06",
- "canceled_at": null,
- "calculate_commission": true,
- "deleted_balance": 0,
- "observations": "City tour confirmado.",
- "included_services": "Guia local incluso\nTransporte incluso",
- "currency": "BRL",
- "exchange_rate": 1,
- "intermediary_commission_amount": 0,
- "intermediary_commission_percentage": 0,
- "intermediary_over_amount": 0,
- "intermediary_over_percentage": 0,
- "intermediary_over": 0,
- "agency_service_fee": 0,
- "agency_card_rate": 0,
- "discount_amount": 0,
- "quantity": null,
- "unit_price": null,
- "unit_fee": null,
- "totals": {
- "fees": 0,
- "rav_fee": 0,
- "rav_fee_discount": 0,
- "agency_fee": 0,
- "discount": 0,
- "products": 2500,
- "customer_amount": 2500,
- "amount": 2500
}, - "supplier": {
- "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}, - "passengers": [
- {
- "document": "OP2024060056",
- "cost_center": "Corporativa EXT",
- "canceled_at": null,
- "fees": 0,
- "amount": 2500,
- "customer_amount": 2500,
- "total_amount": 2500,
- "person": {
- "id": "322ff2c2-43e0-4376-bea5-20f88b673b6d"
}
}
]
}
], - "payments": {
- "agency": {
- "bills": [
- {
- "id": "9f2c8b71-4d3e-4a56-b8c9-1e2f3a4b5c6d",
- "local_id": "pagamento-1"
}, - {
- "id": "1a77b3c2-5e6f-4708-9a1b-2c3d4e5f6071",
- "local_id": "pagamento-2"
}, - {
- "id": "4b5c6d7e-8f90-41a2-b3c4-d5e6f7081920",
- "local_id": "pagamento-3"
}
], - "refunds": [
- {
- "id": "3b41c2d5-6e7f-4809-a1b2-c3d4e5f60718"
}
], - "credit": [
- {
- "id": "c2d3e4f5-a6b7-4c8d-9e0f-1a2b3c4d5e6f",
- "due_date": "2026-12-06",
- "document": "CRED-000123",
- "amount": 6475.34,
- "payer": {
- "id": "2f8b6d51-9c04-4e37-a1b8-63d95e70c2a4"
}, - "origin_sale": {
- "id": "3d4e5f60-7182-4394-83a5-c3d4e5f6a7b8"
}, - "products": [
- {
- "amount": 6475.34,
- "sale_product": {
- "id": "3c4d5e6f-7081-492a-bc3d-4e5f60718293"
}
}
]
}
], - "to_invoice": [
- {
- "bill": {
- "id": "4f5a6b7c-8d9e-4f01-a2b3-c4d5e6f70819"
}, - "cost_center": "Diretoria",
- "amount": 2350,
- "products": [
- {
- "amount": 2500,
- "sale_product": {
- "id": "8f7e6d5c-4b3a-4218-9f0e-1d2c3b4a5968"
}
}, - {
- "amount": -150,
- "sale_product": {
- "id": "1a2b3c4d-5e6f-4708-9a1b-2c3d4e5f6071"
}
}
]
}
], - "retained_by_intermediary": [
- {
- "id": "7d8e9f0a-1b2c-4d3e-8f4a-5b6c7d8e9f01",
- "due_date": "2026-12-06",
- "amount": 195,
- "payer": {
- "id": "2f8b6d51-9c04-4e37-a1b8-63d95e70c2a4"
}, - "products": [
- {
- "amount": 625.95,
- "sale_product": {
- "id": "1a2b3c4d-5e6f-4708-9a1b-2c3d4e5f6071"
}
}
]
}
], - "legacy": [
- {
- "id": "d3e4f5a6-b7c8-4d9e-8f01-2b3c4d5e6f70",
- "due_date": "2026-10-07",
- "amount": 300,
- "check": null,
- "card": {
- "brand": "mastercard",
- "last_digits": "5678",
- "authorization": "ABC123"
}, - "payer": {
- "id": "2f8b6d51-9c04-4e37-a1b8-63d95e70c2a4"
}, - "payment_method": {
- "id": "fc9f5c65-59d6-42bb-8dd1-a5c0e3e51ea9"
}, - "products": [
- {
- "amount": 8358.77,
- "sale_product": {
- "id": "2b3c4d5e-6f70-4819-ab2c-3d4e5f607182"
}
}
]
}
]
}, - "vendor": {
- "credit_card": [
- {
- "id": "e4f5a6b7-c8d9-4e0f-9a12-3c4d5e6f7081",
- "local_id": "pagamento-4",
- "due_date": "2026-12-06",
- "card_last_digits": "1234",
- "authorization": "XYZ789",
- "installments": 2,
- "payer": {
- "id": "2f8b6d51-9c04-4e37-a1b8-63d95e70c2a4"
}, - "products": [
- {
- "amount": 8358.77,
- "sale_product": {
- "id": "2b3c4d5e-6f70-4819-ab2c-3d4e5f607182"
}
}, - {
- "amount": 2500,
- "sale_product": {
- "id": "8f7e6d5c-4b3a-4218-9f0e-1d2c3b4a5968"
}
}, - {
- "amount": 3160,
- "sale_product": {
- "id": "5c4b3a29-1e0d-4982-7c6b-5a4938271605"
}
}, - {
- "amount": 2500,
- "sale_product": {
- "id": "6d5c4b3a-2f1e-4093-8d7c-6b5a49382716"
}
}
]
}
], - "check": [
- {
- "id": "f5a6b7c8-d9e0-4f1a-8b23-4d5e6f708192",
- "due_date": "2026-12-06",
- "bank_code": "341",
- "check_number": 654321,
- "payer": {
- "id": "2f8b6d51-9c04-4e37-a1b8-63d95e70c2a4"
}, - "products": [
- {
- "amount": 134.14,
- "sale_product": {
- "id": "6f708192-a3b4-4c5d-ef60-718293041526"
}
}
]
}
], - "credit": [
- {
- "id": "a6b7c8d9-e0f1-4a2b-9c34-5e6f708192a3",
- "local_id": "pagamento-6",
- "due_date": "2026-12-06",
- "document": "CRED-000123",
- "payer": {
- "id": "2f8b6d51-9c04-4e37-a1b8-63d95e70c2a4"
}, - "products": [
- {
- "amount": 134.14,
- "sale_product": {
- "id": "6f708192-a3b4-4c5d-ef60-718293041526"
}
}
]
}
], - "others": [
- {
- "id": "b7c8d9e0-f1a2-4b3c-8d45-6f708192a3b4",
- "local_id": "pagamento-5",
- "due_date": "2026-12-06",
- "details": "Fatura",
- "payer": {
- "id": "2f8b6d51-9c04-4e37-a1b8-63d95e70c2a4"
}, - "products": [
- {
- "amount": 2500,
- "sale_product": {
- "id": "8192a3b4-c5d6-4e7f-0182-930415263748"
}
}
]
}
]
}
}, - "commissions": [
- {
- "description": "Plano: Padrão, cálculo: 10%",
- "amount": 700,
- "retained_amount": 0,
- "balance": 700,
- "person": {
- "id": "0a1b2c3d-4e5f-4061-8072-90a1b2c3d4e5"
}
}, - {
- "description": "Comissão Intermediário",
- "amount": 49.75,
- "retained_amount": 0,
- "balance": 49.75,
- "person": {
- "id": "1b2c3d4e-5f60-4172-8183-a1b2c3d4e5f6"
}
}, - {
- "description": null,
- "amount": -100,
- "retained_amount": 0,
- "balance": -100,
- "person": {
- "id": "2c3d4e5f-6071-4283-8294-b2c3d4e5f6a7"
}
}
], - "financial": {
- "observations": "Teste de observações financeiras",
- "vendor_bills": [
- {
- "id": "c8b7a695-4d3e-4f21-b0a9-8e7d6c5b4a39"
}
], - "standalone_bills": [
- {
- "id": "f1e2d3c4-b5a6-4978-8f6e-5d4c3b2a1e0f"
}
], - "vendor_items": [
- {
- "id": "4a6d2e18-9c3f-4b75-8e01-2d7f5a9c3b16",
- "kind": "invoice",
- "description": null,
- "due_date": "2026-11-10",
- "amount": -320,
- "currency": "BRL",
- "sale_product": {
- "id": "5d7e2a91-4c3b-4f8e-9a16-2b0c8d3e7f45"
}, - "person": {
- "id": "0a1b2c3d-4e5f-4061-8072-90a1b2c3d4e5"
}, - "bill": {
- "id": "c8b7a695-4d3e-4f21-b0a9-8e7d6c5b4a39"
}, - "payment": null
}, - {
- "id": "8e3c1f52-7a4b-4d29-b6e0-3f9a2c7d1b84",
- "kind": "lei_kandir",
- "description": null,
- "due_date": "2026-11-20",
- "amount": -12.5,
- "currency": "BRL",
- "sale_product": {
- "id": "5d7e2a91-4c3b-4f8e-9a16-2b0c8d3e7f45"
}, - "person": {
- "id": "0a1b2c3d-4e5f-4061-8072-90a1b2c3d4e5"
}, - "bill": null,
- "payment": null
}
]
}
}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.
| 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. |
{- "data": [
- {
- "key": "external_number",
- "label": "Ferrovia",
- "active": true
}, - {
- "key": "additional1",
- "label": "Nº Pedido",
- "active": true
}, - {
- "key": "additional2",
- "label": null,
- "active": false
}
]
}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.
Returns the list of available products in the system, with the ability to filter by product kind.
| 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:
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 |
| size | integer [ 1 .. 50 ] Default: 20 Example: size=10 Number of records per page |
| 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. |
Example response containing products of different kinds.
{- "data": [
- {
- "id": "f9d961b8-ea88-4346-8e52-afe94267417a",
- "name": "Seguro Viagem",
- "kind": "insurance",
- "passengers": true,
- "system": true,
- "active": true,
- "nbs_code": null,
- "included_services": "Cobertura completa para viagens internacionais"
}, - {
- "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91",
- "name": "Cruzeiro",
- "kind": "cruise",
- "passengers": true,
- "system": true,
- "active": true,
- "nbs_code": null,
- "included_services": null
}, - {
- "id": "c3b7e8eb-1199-5457-c170-923c3fe56c92",
- "name": "Diárias de Hospedagem",
- "kind": "hotel",
- "passengers": true,
- "system": true,
- "active": true,
- "nbs_code": null,
- "included_services": "Hotel 5 estrelas em Copacabana"
}, - {
- "id": "979cc2d4-4e37-4d36-b6de-eb1e9e1080f0",
- "name": "Passagem Aérea",
- "kind": "airline_ticket",
- "passengers": true,
- "system": true,
- "active": true,
- "nbs_code": null,
- "included_services": null
}, - {
- "id": "20febcb5-85ef-427d-9a4e-da407062432d",
- "name": "Operação Própria",
- "kind": "operation",
- "passengers": true,
- "system": false,
- "active": true,
- "nbs_code": null,
- "included_services": "Turismo de aventura"
}, - {
- "id": "3b857f74-8c82-4391-bc95-2245fc4ba341",
- "name": "Outros",
- "kind": "others",
- "passengers": true,
- "system": true,
- "active": true,
- "nbs_code": null,
- "included_services": null
}, - {
- "id": "bdaaf1b2-ee48-4b20-810a-10ccc27875b0",
- "name": "Aluguel de Carro",
- "kind": "car_rental",
- "passengers": true,
- "system": true,
- "active": true,
- "nbs_code": null,
- "included_services": "Locação de veículo econômico"
}, - {
- "id": "ae36c79c-37cd-4185-af57-448a75683ba1",
- "name": "Pacote Turístico",
- "kind": "travel_package",
- "passengers": true,
- "system": true,
- "active": true,
- "nbs_code": null,
- "included_services": "Pacote completo de viagem"
}, - {
- "id": "49dd6ca0-9eca-4718-906e-c32805d8d677",
- "name": "Produto CVC",
- "kind": "cvc_package",
- "passengers": false,
- "system": true,
- "active": true,
- "nbs_code": null,
- "included_services": "Produto exclusivo CVC"
}, - {
- "id": "4f1c9a27-58aa-4d3e-9f0b-1c7d6e2b8a94",
- "name": "Excursão",
- "kind": "excursion",
- "passengers": true,
- "system": true,
- "active": true,
- "nbs_code": null,
- "included_services": "Passeio com guia acompanhante"
}, - {
- "id": "d9d27b79-649e-4ef9-b198-f32baaa9f9d2",
- "name": "Visto",
- "kind": "visa",
- "passengers": true,
- "system": true,
- "active": true,
- "nbs_code": null,
- "included_services": null
}
], - "pagination": {
- "size": 20,
- "has_next_page": false,
- "next_cursor": null
}
}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.
| 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. |
| 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:
|
| passengers | boolean Default: true Whether the product has passengers. Defaults to |
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"
}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": [
- {
- "id": "6a1f0c3e-2b4d-4e8f-9a7b-1c2d3e4f5a6b",
- "description": "Fornecimento padrão",
- "commission_type": "percentage",
- "commission_percentage": 10,
- "commission_amount": 0,
- "over_percentage": 0,
- "over_value": 100,
- "du_percentage": 0,
- "rav_percentage": 0,
- "restitutes_kandir_law": true,
- "supplier": {
- "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91"
}, - "representations": [
- {
- "id": "8d2e1f4a-3c5b-4d6e-8f7a-9b0c1d2e3f4a",
- "commission_type": "percentage",
- "commission_percentage": 5,
- "commission_amount": 0,
- "over_percentage": 0,
- "over_value": 100,
- "du_percentage": 0,
- "rav_percentage": 0,
- "representative": {
- "id": "c3b7e8eb-1199-5457-c170-923c3fe56c92"
}
}
]
}
]
}Returns the complete data for a specific product, including its supplies with the supplier, the commission data and the representatives.
| id required | string <uuid> Example: f9d961b8-ea88-4346-8e52-afe94267417a Unique product identifier (UUID format). |
| 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. |
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": [
- {
- "id": "6a1f0c3e-2b4d-4e8f-9a7b-1c2d3e4f5a6b",
- "description": "Fornecimento padrão",
- "commission_type": "percentage",
- "commission_percentage": 10,
- "commission_amount": 0,
- "over_percentage": 0,
- "over_value": 100,
- "du_percentage": 0,
- "rav_percentage": 0,
- "restitutes_kandir_law": true,
- "supplier": {
- "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91"
}, - "representations": [
- {
- "id": "8d2e1f4a-3c5b-4d6e-8f7a-9b0c1d2e3f4a",
- "commission_type": "percentage",
- "commission_percentage": 5,
- "commission_amount": 0,
- "over_percentage": 0,
- "over_value": 100,
- "du_percentage": 0,
- "rav_percentage": 0,
- "representative": {
- "id": "c3b7e8eb-1199-5457-c170-923c3fe56c92"
}
}
]
}
]
}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).
| id required | string <uuid> Example: f9d961b8-ea88-4346-8e52-afe94267417a Unique product identifier (UUID format). |
| 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. |
| 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:
|
| passengers | boolean Default: true Whether the product has passengers. Defaults to |
Example update that only deactivates the product, keeping the other fields.
{- "active": false
}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": [
- {
- "id": "6a1f0c3e-2b4d-4e8f-9a7b-1c2d3e4f5a6b",
- "description": "Fornecimento padrão",
- "commission_type": "percentage",
- "commission_percentage": 10,
- "commission_amount": 0,
- "over_percentage": 0,
- "over_value": 100,
- "du_percentage": 0,
- "rav_percentage": 0,
- "restitutes_kandir_law": true,
- "supplier": {
- "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91"
}, - "representations": [
- {
- "id": "8d2e1f4a-3c5b-4d6e-8f7a-9b0c1d2e3f4a",
- "commission_type": "percentage",
- "commission_percentage": 5,
- "commission_amount": 0,
- "over_percentage": 0,
- "over_value": 100,
- "du_percentage": 0,
- "rav_percentage": 0,
- "representative": {
- "id": "c3b7e8eb-1199-5457-c170-923c3fe56c92"
}
}
]
}
]
}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.
| id required | string <uuid> Example: f9d961b8-ea88-4346-8e52-afe94267417a Unique product identifier (UUID format). |
| 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. |
{- "errors": [
- "The access credentials are not valid."
]
}Returns the suppliers (supplies) of the product, each with its commercial terms and representatives. Requires the permission to read products.
| product_id required | string <uuid> Example: f9d961b8-ea88-4346-8e52-afe94267417a Unique product identifier (UUID format). |
| cursor | string Example: cursor=eyJfcmFpbHMiOnsiZGF0YSI6WyIyMDI2LTAzLTEwIiwiNmIwZjdjMWUtMmQ0YS00ZjhiLTljMzEtNThhMGQ3ZTEzZjQyIl0sInB1ciI6ImFwaS92My9wcm9kdWN0cyNpbmRleCJ9fQ--3aa1d942d6240ca905038c019d661bc90af6836fc4a818cee3663829c75970e4 Cursor of the next page, exactly as it came in |
| size | integer [ 1 .. 50 ] Default: 20 Example: size=10 Number of records per page |
| 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. |
Example list of supplies, with the representatives of each one.
{- "data": [
- {
- "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": {
- "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91"
}, - "representations": [
- {
- "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": {
- "id": "c3b7e8eb-1199-5457-c170-923c3fe56c92"
}
}
]
}
], - "pagination": {
- "size": 20,
- "has_next_page": false,
- "next_cursor": null
}
}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.
| product_id required | string <uuid> Example: f9d961b8-ea88-4346-8e52-afe94267417a Unique product identifier (UUID format). |
| 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. |
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. |
Example supplier with percentage commission and over.
{- "supplier": {
- "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91"
}, - "description": "Tarifa net",
- "commission_type": "percentage",
- "commission_percentage": 10,
- "over_percentage": 2.5,
- "over_value": 100
}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": {
- "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91"
}, - "representations": [ ]
}Returns a supply of the product, with its commercial terms and representatives. The ID of a supply of another product answers 404.
| 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). |
| 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. |
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": {
- "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91"
}, - "representations": [ ]
}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).
| 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). |
| 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. |
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. |
Example update that switches the commission to an amount; the commission percentage is zeroed.
{- "commission_type": "amount",
- "commission_amount": 35
}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": {
- "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91"
}, - "representations": [ ]
}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.
| 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). |
| 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. |
{- "errors": [
- "The access credentials are not valid."
]
}Returns the representatives of a supply of the product, each with its own commercial terms. Requires the permission to read products.
| 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). |
| cursor | string Example: cursor=eyJfcmFpbHMiOnsiZGF0YSI6WyIyMDI2LTAzLTEwIiwiNmIwZjdjMWUtMmQ0YS00ZjhiLTljMzEtNThhMGQ3ZTEzZjQyIl0sInB1ciI6ImFwaS92My9wcm9kdWN0cyNpbmRleCJ9fQ--3aa1d942d6240ca905038c019d661bc90af6836fc4a818cee3663829c75970e4 Cursor of the next page, exactly as it came in |
| size | integer [ 1 .. 50 ] Default: 20 Example: size=10 Number of records per page |
| 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. |
Example list of representatives.
{- "data": [
- {
- "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": {
- "id": "c3b7e8eb-1199-5457-c170-923c3fe56c92"
}
}
], - "pagination": {
- "size": 20,
- "has_next_page": false,
- "next_cursor": null
}
}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.
| 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). |
| 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. |
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. |
Example representative with an amount commission.
{- "representative": {
- "id": "c3b7e8eb-1199-5457-c170-923c3fe56c92"
}, - "commission_type": "amount",
- "commission_amount": 50
}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": {
- "id": "c3b7e8eb-1199-5457-c170-923c3fe56c92"
}
}Returns a representative of the supply. The ID of a representative of another supply answers 404.
| 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). |
| 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. |
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": {
- "id": "c3b7e8eb-1199-5457-c170-923c3fe56c92"
}
}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).
| 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). |
| 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. |
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. |
Example update of the over percentage only.
{- "over_percentage": 1.5
}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": {
- "id": "c3b7e8eb-1199-5457-c170-923c3fe56c92"
}
}Removes the representative from the supply. A representative used in sales cannot be removed (409). Requires the "Delete representative" permission on products.
| 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). |
| 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. |
{- "errors": [
- "The access credentials are not valid."
]
}Returns the list of cabin types registered in the system.
| cursor | string Example: cursor=eyJfcmFpbHMiOnsiZGF0YSI6WyIyMDI2LTAzLTEwIiwiNmIwZjdjMWUtMmQ0YS00ZjhiLTljMzEtNThhMGQ3ZTEzZjQyIl0sInB1ciI6ImFwaS92My9wcm9kdWN0cyNpbmRleCJ9fQ--3aa1d942d6240ca905038c019d661bc90af6836fc4a818cee3663829c75970e4 Cursor of the next page, exactly as it came in |
| size | integer [ 1 .. 50 ] Default: 20 Example: size=10 Number of records per page |
| 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. |
Example response containing all registered cabins.
{- "data": [
- {
- "name": "Externa"
}, - {
- "name": "Interna"
}, - {
- "name": "Suíte"
}, - {
- "name": "Varanda"
}
], - "pagination": {
- "size": 20,
- "has_next_page": false,
- "next_cursor": null
}
}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.
| 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. |
| 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. |
Example of a cabin creation.
{- "name": "Varanda"
}Example response of a cabin.
{- "name": "Varanda"
}Returns the cabin by its name, sent in the path URL-encoded (space as %20, slash as %2F).
| name required | string <= 30 characters Example: Varanda Current cabin name, URL-encoded |
| 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. |
Example response of a cabin.
{- "name": "Varanda"
}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).
| name required | string <= 30 characters Example: Varanda Current cabin name, URL-encoded |
| 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. |
| 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. |
Example of an update that renames the cabin.
{- "name": "Varanda Premium"
}Example response of a cabin.
{- "name": "Varanda"
}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.
| name required | string <= 30 characters Example: Varanda Current cabin name, URL-encoded |
| 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. |
{- "errors": [
- "The access credentials are not valid."
]
}Returns the list of ships registered in the system.
| cursor | string Example: cursor=eyJfcmFpbHMiOnsiZGF0YSI6WyIyMDI2LTAzLTEwIiwiNmIwZjdjMWUtMmQ0YS00ZjhiLTljMzEtNThhMGQ3ZTEzZjQyIl0sInB1ciI6ImFwaS92My9wcm9kdWN0cyNpbmRleCJ9fQ--3aa1d942d6240ca905038c019d661bc90af6836fc4a818cee3663829c75970e4 Cursor of the next page, exactly as it came in |
| size | integer [ 1 .. 50 ] Default: 20 Example: size=10 Number of records per page |
| 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. |
Example response containing all registered ships.
{- "data": [
- {
- "name": "Costa Diadema"
}, - {
- "name": "MSC Preziosa"
}, - {
- "name": "MSC Seaview"
}
], - "pagination": {
- "size": 20,
- "has_next_page": false,
- "next_cursor": null
}
}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.
| 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. |
| 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. |
Example of a ship creation.
{- "name": "MSC Preziosa"
}Example response of a ship.
{- "name": "MSC Preziosa"
}Returns the ship by its name, sent in the path URL-encoded (space as %20, slash as %2F).
| name required | string <= 30 characters Example: MSC Preziosa Current ship name, URL-encoded |
| 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. |
Example response of a ship.
{- "name": "MSC Preziosa"
}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).
| name required | string <= 30 characters Example: MSC Preziosa Current ship name, URL-encoded |
| 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. |
| 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. |
Example of an update that renames the ship.
{- "name": "MSC Preziosa II"
}Example response of a ship.
{- "name": "MSC Preziosa"
}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.
| name required | string <= 30 characters Example: MSC Preziosa Current ship name, URL-encoded |
| 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. |
{- "errors": [
- "The access credentials are not valid."
]
}Returns the list of packages registered in the system, ordered by name.
| cursor | string Example: cursor=eyJfcmFpbHMiOnsiZGF0YSI6WyIyMDI2LTAzLTEwIiwiNmIwZjdjMWUtMmQ0YS00ZjhiLTljMzEtNThhMGQ3ZTEzZjQyIl0sInB1ciI6ImFwaS92My9wcm9kdWN0cyNpbmRleCJ9fQ--3aa1d942d6240ca905038c019d661bc90af6836fc4a818cee3663829c75970e4 Cursor of the next page, exactly as it came in |
| size | integer [ 1 .. 50 ] Default: 20 Example: size=10 Number of records per page |
| 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. |
Example response containing all registered packages.
{- "data": [
- {
- "name": "Bariloche 5 noites",
- "services_included": null
}, - {
- "name": "Disney 7 noites",
- "services_included": "Aéreo, hotel e ingressos para os parques"
}
], - "pagination": {
- "size": 20,
- "has_next_page": false,
- "next_cursor": null
}
}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.
| 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. |
| 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. |
Example of a package creation.
{- "name": "Disney 7 noites",
- "services_included": "Aéreo, hotel e ingressos para os parques"
}Example response of a package.
{- "name": "Disney 7 noites",
- "services_included": "Aéreo, hotel e ingressos para os parques"
}Returns the package by its name, sent in the path URL-encoded (space as %20, slash as %2F).
| name required | string <= 50 characters Example: Disney 7 noites Current package name, URL-encoded |
| 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. |
Example response of a package.
{- "name": "Disney 7 noites",
- "services_included": "Aéreo, hotel e ingressos para os parques"
}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).
| name required | string <= 50 characters Example: Disney 7 noites Current package name, URL-encoded |
| 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. |
| 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. |
Example of an update that renames the package.
{- "name": "Disney 8 noites"
}Example response of a package.
{- "name": "Disney 7 noites",
- "services_included": "Aéreo, hotel e ingressos para os parques"
}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.
| name required | string <= 50 characters Example: Disney 7 noites Current package name, URL-encoded |
| 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. |
{- "errors": [
- "The access credentials are not valid."
]
}Query and maintain the cost centers registered in the system to use in financial transactions.
Returns the list of cost centers registered in the system.
| cursor | string Example: cursor=eyJfcmFpbHMiOnsiZGF0YSI6WyIyMDI2LTAzLTEwIiwiNmIwZjdjMWUtMmQ0YS00ZjhiLTljMzEtNThhMGQ3ZTEzZjQyIl0sInB1ciI6ImFwaS92My9wcm9kdWN0cyNpbmRleCJ9fQ--3aa1d942d6240ca905038c019d661bc90af6836fc4a818cee3663829c75970e4 Cursor of the next page, exactly as it came in |
| size | integer [ 1 .. 50 ] Default: 20 Example: size=10 Number of records per page |
| 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. |
Example response containing all registered cost centers.
{- "data": [
- {
- "id": "f9d961b8-ea88-4346-8e52-afe94267417a",
- "description": "Administrativo"
}, - {
- "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91",
- "description": "Comercial"
}, - {
- "id": "c3b7e8eb-1199-4457-9170-923c3fe56c92",
- "description": "Marketing"
}
], - "pagination": {
- "size": 20,
- "has_next_page": false,
- "next_cursor": null
}
}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.
| 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. |
| description required | string <= 50 characters Cost center description, up to 50 characters. Required on creation. |
Marketing cost center.
{- "description": "Marketing"
}Example response for a specific cost center.
{- "id": "f9d961b8-ea88-4346-8e52-afe94267417a",
- "description": "Administrativo"
}Returns a specific cost center by its identifier.
| id required | string <uuid> Example: f9d961b8-ea88-4346-8e52-afe94267417a Unique cost center identifier |
| 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. |
Example response for a specific cost center.
{- "id": "f9d961b8-ea88-4346-8e52-afe94267417a",
- "description": "Administrativo"
}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.
| id required | string <uuid> Example: f9d961b8-ea88-4346-8e52-afe94267417a Unique cost center identifier |
| 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. |
| description | string <= 50 characters Cost center description, up to 50 characters. Required on creation. |
Changes the description.
{- "description": "Marketing digital"
}Example response for a specific cost center.
{- "id": "f9d961b8-ea88-4346-8e52-afe94267417a",
- "description": "Administrativo"
}Deletes the cost center. A cost center used in the apportionment of any financial entry responds 409. Does not require Idempotency-Key.
| id required | string <uuid> Example: f9d961b8-ea88-4346-8e52-afe94267417a Unique cost center identifier |
| 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. |
{- "errors": [
- "The access credentials are not valid."
]
}Query and maintain the currencies registered in the system and their exchange rates, to use in sale products and financial transactions.
Returns the list of currencies registered in the system.
| cursor | string Example: cursor=eyJfcmFpbHMiOnsiZGF0YSI6WyIyMDI2LTAzLTEwIiwiNmIwZjdjMWUtMmQ0YS00ZjhiLTljMzEtNThhMGQ3ZTEzZjQyIl0sInB1ciI6ImFwaS92My9wcm9kdWN0cyNpbmRleCJ9fQ--3aa1d942d6240ca905038c019d661bc90af6836fc4a818cee3663829c75970e4 Cursor of the next page, exactly as it came in |
| size | integer [ 1 .. 50 ] Default: 20 Example: size=10 Number of records per page |
| 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. |
Example response containing all registered currencies.
{- "data": [
- {
- "code": "BRL",
- "description": "Real",
- "symbol": "R$",
- "active": true
}, - {
- "code": "USD",
- "description": "Dólar Americano",
- "symbol": "US$",
- "active": true
}, - {
- "code": "EUR",
- "description": "Euro",
- "symbol": "€",
- "active": false
}
], - "pagination": {
- "size": 20,
- "has_next_page": false,
- "next_cursor": null
}
}Returns a specific currency by its ISO 4217 code.
| code required | string Example: BRL Currency code in ISO 4217 format |
| 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. |
Example response for a specific currency.
{- "code": "BRL",
- "description": "Real",
- "symbol": "R$",
- "active": true
}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.
| code required | string Example: USD Currency code in ISO 4217 format |
| 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. |
| 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 |
Example of an update that deactivates the currency.
{- "active": false
}Example response for a specific currency.
{- "code": "BRL",
- "description": "Real",
- "symbol": "R$",
- "active": true
}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.
| code required | string Example: USD Currency code in ISO 4217 format |
| 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. |
{- "errors": [
- "The access credentials are not valid."
]
}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.
| code required | string Example: USD Currency code in ISO 4217 format |
| cursor | string Example: cursor=eyJfcmFpbHMiOnsiZGF0YSI6WyIyMDI2LTAzLTEwIiwiNmIwZjdjMWUtMmQ0YS00ZjhiLTljMzEtNThhMGQ3ZTEzZjQyIl0sInB1ciI6ImFwaS92My9wcm9kdWN0cyNpbmRleCJ9fQ--3aa1d942d6240ca905038c019d661bc90af6836fc4a818cee3663829c75970e4 Cursor of the next page, exactly as it came in |
| size | integer [ 1 .. 50 ] Default: 20 Example: size=10 Number of records per page |
| 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. |
Example response with the currency's exchange rate history.
{- "data": [
- {
- "id": "8c1d6f0e-6a4b-4f1e-9d55-2f3c9b7a1e10",
- "currency": {
- "code": "USD"
}, - "value": 5.4321,
- "quoted_at": "2026-10-14T09:30:00"
}, - {
- "id": "2b7e4c1a-0f3d-4e8b-a6c2-91d5e7f30b44",
- "currency": {
- "code": "USD"
}, - "value": 5.38,
- "quoted_at": "2026-10-13T09:15:00"
}
], - "pagination": {
- "size": 20,
- "has_next_page": false,
- "next_cursor": null
}
}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.
| code required | string Example: USD Currency code in ISO 4217 format |
| 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. |
| 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 |
Example of recording the currency's new exchange rate.
{- "value": 5.4321
}Example response of an exchange rate.
{- "id": "8c1d6f0e-6a4b-4f1e-9d55-2f3c9b7a1e10",
- "currency": {
- "code": "USD"
}, - "value": 5.4321,
- "quoted_at": "2026-10-14T09:30:00"
}Returns an exchange rate of the currency by its ID.
| code required | string Example: USD Currency code in ISO 4217 format |
| id required | string <uuid> Example: 8c1d6f0e-6a4b-4f1e-9d55-2f3c9b7a1e10 Exchange rate ID |
| 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. |
Example response of an exchange rate.
{- "id": "8c1d6f0e-6a4b-4f1e-9d55-2f3c9b7a1e10",
- "currency": {
- "code": "USD"
}, - "value": 5.4321,
- "quoted_at": "2026-10-14T09:30:00"
}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.
| 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. |
required | Array of objects non-empty The new exchange rates, one per currency |
Example of updating the dollar and euro exchange rates.
{- "exchange_rates": [
- {
- "currency_code": "USD",
- "value": 5.4321
}, - {
- "currency_code": "EUR",
- "value": 6.1234
}
]
}Example response in which only the dollar changed value and was recorded.
{- "exchange_rates": [
- {
- "id": "8c1d6f0e-6a4b-4f1e-9d55-2f3c9b7a1e10",
- "currency": {
- "code": "USD"
}, - "value": 5.4321,
- "quoted_at": "2026-10-14T09:30:00"
}
]
}Query and maintain the financial categories registered in the system, grouped by kind (revenue or expense) and group.
Returns the list of financial categories registered in the system.
| cursor | string Example: cursor=eyJfcmFpbHMiOnsiZGF0YSI6WyIyMDI2LTAzLTEwIiwiNmIwZjdjMWUtMmQ0YS00ZjhiLTljMzEtNThhMGQ3ZTEzZjQyIl0sInB1ciI6ImFwaS92My9wcm9kdWN0cyNpbmRleCJ9fQ--3aa1d942d6240ca905038c019d661bc90af6836fc4a818cee3663829c75970e4 Cursor of the next page, exactly as it came in |
| size | integer [ 1 .. 50 ] Default: 20 Example: size=10 Number of records per page |
| 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. |
Example response containing expense and revenue categories.
{- "data": [
- {
- "id": "f9d961b8-ea88-4346-8e52-afe94267417a",
- "description": "Aluguel",
- "kind": "expense",
- "pass_through": false
}, - {
- "id": "c3b7e8eb-1199-4457-9170-923c3fe56c92",
- "description": "Comissões a Repassar",
- "kind": "expense",
- "pass_through": true
}, - {
- "id": "d4c8f9fc-22aa-4568-a281-a34d4bf67da3",
- "description": "Venda de Pacotes",
- "kind": "revenue",
- "pass_through": false
}
], - "pagination": {
- "size": 20,
- "has_next_page": false,
- "next_cursor": null
}
}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.
| 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. |
| 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 |
| 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 |
Expense category in the Administrative Expenses group.
{- "description": "Aluguel",
- "group_id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91",
- "pass_through": false
}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": {
- "id": "e5d9aaed-33bb-4679-b392-b45e5cd78eb4",
- "name": "Receitas Operacionais"
}
}Returns a specific financial category by its identifier.
| id required | string <uuid> Example: f9d961b8-ea88-4346-8e52-afe94267417a Unique identifier of the category |
| 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. |
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": {
- "id": "e5d9aaed-33bb-4679-b392-b45e5cd78eb4",
- "name": "Receitas Operacionais"
}
}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.
| id required | string <uuid> Example: f9d961b8-ea88-4346-8e52-afe94267417a Unique identifier of the category |
| 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. |
| description | string <= 50 characters Category description, up to 50 characters. Required on creation. |
| group_id | string <uuid> ID of the category group (see |
| 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 |
Changes only the description; the other fields stay as they are.
{- "description": "Aluguel da loja"
}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": {
- "id": "e5d9aaed-33bb-4679-b392-b45e5cd78eb4",
- "name": "Receitas Operacionais"
}
}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.
| id required | string <uuid> Example: f9d961b8-ea88-4346-8e52-afe94267417a Unique identifier of the category |
| 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. |
{- "errors": [
- "The access credentials are not valid."
]
}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.
Returns the category groups, expense groups before revenue groups, by name.
| cursor | string Example: cursor=eyJfcmFpbHMiOnsiZGF0YSI6WyIyMDI2LTAzLTEwIiwiNmIwZjdjMWUtMmQ0YS00ZjhiLTljMzEtNThhMGQ3ZTEzZjQyIl0sInB1ciI6ImFwaS92My9wcm9kdWN0cyNpbmRleCJ9fQ--3aa1d942d6240ca905038c019d661bc90af6836fc4a818cee3663829c75970e4 Cursor of the next page, exactly as it came in |
| size | integer [ 1 .. 50 ] Default: 20 Example: size=10 Number of records per page |
| 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. |
Expense and revenue groups.
{- "data": [
- {
- "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91",
- "name": "Despesas Administrativas",
- "kind": "expense"
}, - {
- "id": "c3b7e8eb-1199-4457-9170-923c3fe56c92",
- "name": "Receitas de Vendas",
- "kind": "revenue"
}
], - "pagination": {
- "size": 20,
- "has_next_page": false,
- "next_cursor": null
}
}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.
| 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. |
| name required | string <= 50 characters Group name, up to 50 characters. Required on creation. |
| kind required | string Enum: "expense" "revenue" Group kind: |
Expense group.
{- "name": "Impostos",
- "kind": "expense"
}Example of an expense category group.
{- "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91"
}Returns a category group by its identifier.
| id required | string <uuid> Example: b2a6d7da-ff94-40e3-b069-812b2fd45b91 Unique group identifier |
| 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. |
Example of an expense category group.
{- "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91"
}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.
| id required | string <uuid> Example: b2a6d7da-ff94-40e3-b069-812b2fd45b91 Unique group identifier |
| 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. |
| 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. |
Changes only the name.
{- "name": "Tributos"
}Example of an expense category group.
{- "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91"
}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.
| id required | string <uuid> Example: b2a6d7da-ff94-40e3-b069-812b2fd45b91 Unique group identifier |
| 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. |
| delete_categories | boolean Confirms that deleting the group also deletes its categories. Without it, a group with categories responds 409. Accepts only |
{- "delete_categories": true,
- "name": "Despesas Administrativas",
- "kind": "expense"
}{- "errors": [
- "The access credentials are not valid."
]
}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.
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.
| 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. |
| cursor | string Example: cursor=eyJfcmFpbHMiOnsiZGF0YSI6WyIyMDI2LTAzLTEwIiwiNmIwZjdjMWUtMmQ0YS00ZjhiLTljMzEtNThhMGQ3ZTEzZjQyIl0sInB1ciI6ImFwaS92My9wcm9kdWN0cyNpbmRleCJ9fQ--3aa1d942d6240ca905038c019d661bc90af6836fc4a818cee3663829c75970e4 Cursor of the next page, exactly as it came in |
| size | integer [ 1 .. 50 ] Default: 20 Example: size=10 Number of records per page |
| 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. |
Example response containing Brazilian and foreign cities.
{- "data": [
- {
- "id": "f9d961b8-ea88-4346-8e52-afe94267417a",
- "name": "Miami, FL",
- "ibge": null,
- "siafi": null
}, - {
- "id": "a1b2c3d4-e5f6-4708-b9c0-d1e2f3a4b5c6",
- "name": "Rio de Janeiro",
- "ibge": "3304557",
- "siafi": "6001"
}, - {
- "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91",
- "name": "São Paulo",
- "ibge": "3550308",
- "siafi": "7107"
}
], - "pagination": {
- "size": 20,
- "has_next_page": false,
- "next_cursor": null
}
}Returns a specific city by its identifier. No permission is required: every credential can read it.
| id required | string <uuid> Example: f9d961b8-ea88-4346-8e52-afe94267417a Unique city identifier |
| 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. |
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": {
- "id": "f6e0bbfe-44cc-478a-c4a3-c56f6de89fc5",
- "acronym": "SP",
- "name": "São Paulo"
}, - "country": {
- "id": "c3b7e8eb-1199-4457-9170-923c3fe56c92",
- "name": "Brasil",
- "code": "BR",
- "code_3": "BRA",
- "sisbacen": 1058
}
}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.
Returns the list of registered roles, by name, with the own fields of the role.
| cursor | string Example: cursor=eyJfcmFpbHMiOnsiZGF0YSI6WyIyMDI2LTAzLTEwIiwiNmIwZjdjMWUtMmQ0YS00ZjhiLTljMzEtNThhMGQ3ZTEzZjQyIl0sInB1ciI6ImFwaS92My9wcm9kdWN0cyNpbmRleCJ9fQ--3aa1d942d6240ca905038c019d661bc90af6836fc4a818cee3663829c75970e4 Cursor of the next page, exactly as it came in |
| size | integer [ 1 .. 50 ] Default: 20 Example: size=10 Number of records per page |
| 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. |
Example response with an agency role and the two system roles.
{- "data": [
- {
- "id": "7c1e4b2a-9d3f-4a6b-8e5c-2f1d0a9b8c7e",
- "description": "Gerente",
- "seller": false,
- "intermediary": false,
- "system": false
}, - {
- "id": "32c878b4-291d-4b4a-9854-47212d172761",
- "description": "Intermediário",
- "seller": false,
- "intermediary": true,
- "system": true
}, - {
- "id": "f453b283-750d-4c5d-a493-a6bf8064090e",
- "description": "Vendedor",
- "seller": true,
- "intermediary": false,
- "system": true
}
], - "pagination": {
- "size": 20,
- "has_next_page": false,
- "next_cursor": null
}
}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.
| 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. |
| 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 | |
Array of objects (person_role_person_write) People linked to the role. On update, the list sent is final. |
Example registration of a role commissioned over a company, already with a linked person.
{- "description": "Gerente",
- "commissioned_over": [
- {
- "id": "a1b2c3d4-e5f6-4708-b9c0-d1e2f3a4b5c6"
}
], - "people": [
- {
- "person": {
- "id": "3f2e1d0c-9b8a-4765-a4b3-c2d1e0f9a8b7"
}, - "commission_plan": {
- "id": "6b5a4c3d-2e1f-4a0b-9c8d-7e6f5a4b3c2d"
}, - "start_date": "2026-01-01"
}
]
}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": [
- {
- "id": "a1b2c3d4-e5f6-4708-b9c0-d1e2f3a4b5c6"
}
], - "people": [
- {
- "id": "0e9d8c7b-6a5f-4e3d-2c1b-0a9f8e7d6c5b",
- "person": {
- "id": "3f2e1d0c-9b8a-4765-a4b3-c2d1e0f9a8b7"
}, - "commission_plan": {
- "id": "6b5a4c3d-2e1f-4a0b-9c8d-7e6f5a4b3c2d"
}, - "start_date": "2026-01-01",
- "not_commissioned": false,
- "goals": [
- {
- "id": "1d2c3b4a-5f6e-4d7c-8b9a-0f1e2d3c4b5a",
- "year": 2026,
- "months": {
- "january": 50000,
- "february": 50000,
- "march": 60000,
- "april": 50000,
- "may": 50000,
- "june": 50000,
- "july": 80000,
- "august": 50000,
- "september": 50000,
- "october": 50000,
- "november": 50000,
- "december": 90000
}
}
]
}
]
}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.
| id required | string <uuid> Example: 7c1e4b2a-9d3f-4a6b-8e5c-2f1d0a9b8c7e Unique role identifier |
| 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. |
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": [
- {
- "id": "a1b2c3d4-e5f6-4708-b9c0-d1e2f3a4b5c6"
}
], - "people": [
- {
- "id": "0e9d8c7b-6a5f-4e3d-2c1b-0a9f8e7d6c5b",
- "person": {
- "id": "3f2e1d0c-9b8a-4765-a4b3-c2d1e0f9a8b7"
}, - "commission_plan": {
- "id": "6b5a4c3d-2e1f-4a0b-9c8d-7e6f5a4b3c2d"
}, - "start_date": "2026-01-01",
- "not_commissioned": false,
- "goals": [
- {
- "id": "1d2c3b4a-5f6e-4d7c-8b9a-0f1e2d3c4b5a",
- "year": 2026,
- "months": {
- "january": 50000,
- "february": 50000,
- "march": 60000,
- "april": 50000,
- "may": 50000,
- "june": 50000,
- "july": 80000,
- "august": 50000,
- "september": 50000,
- "october": 50000,
- "november": 50000,
- "december": 90000
}
}
]
}
]
}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.
| id required | string <uuid> Example: 7c1e4b2a-9d3f-4a6b-8e5c-2f1d0a9b8c7e Unique role identifier |
| 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. |
| 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 | |
Array of objects (person_role_person_write) People linked to the role. On update, the list sent is final. |
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": [
- {
- "id": "0e9d8c7b-6a5f-4e3d-2c1b-0a9f8e7d6c5b",
- "commission_plan": null,
- "not_commissioned": true,
- "start_date": null
}, - {
- "person": {
- "id": "9a8b7c6d-5e4f-4321-8a9b-0c1d2e3f4a5b"
}, - "start_date": "2026-03-01"
}
]
}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": [
- {
- "id": "a1b2c3d4-e5f6-4708-b9c0-d1e2f3a4b5c6"
}
], - "people": [
- {
- "id": "0e9d8c7b-6a5f-4e3d-2c1b-0a9f8e7d6c5b",
- "person": {
- "id": "3f2e1d0c-9b8a-4765-a4b3-c2d1e0f9a8b7"
}, - "commission_plan": {
- "id": "6b5a4c3d-2e1f-4a0b-9c8d-7e6f5a4b3c2d"
}, - "start_date": "2026-01-01",
- "not_commissioned": false,
- "goals": [
- {
- "id": "1d2c3b4a-5f6e-4d7c-8b9a-0f1e2d3c4b5a",
- "year": 2026,
- "months": {
- "january": 50000,
- "february": 50000,
- "march": 60000,
- "april": 50000,
- "may": 50000,
- "june": 50000,
- "july": 80000,
- "august": 50000,
- "september": 50000,
- "october": 50000,
- "november": 50000,
- "december": 90000
}
}
]
}
]
}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.
| id required | string <uuid> Example: 7c1e4b2a-9d3f-4a6b-8e5c-2f1d0a9b8c7e Unique role identifier |
| 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. |
{- "errors": [
- "The access credentials are not valid."
]
}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.
Returns the list of sellers registered in the system (active and inactive).
| cursor | string Example: cursor=eyJfcmFpbHMiOnsiZGF0YSI6WyIyMDI2LTAzLTEwIiwiNmIwZjdjMWUtMmQ0YS00ZjhiLTljMzEtNThhMGQ3ZTEzZjQyIl0sInB1ciI6ImFwaS92My9wcm9kdWN0cyNpbmRleCJ9fQ--3aa1d942d6240ca905038c019d661bc90af6836fc4a818cee3663829c75970e4 Cursor of the next page, exactly as it came in |
| size | integer [ 1 .. 50 ] Default: 20 Example: size=10 Number of records per page |
| 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. |
Example response containing active and inactive sellers.
{- "data": [
- {
- "id": "f9d961b8-ea88-4346-8e52-afe94267417a",
- "active": true,
- "created_at": "2024-03-15T10:30:00"
}, - {
- "id": "c3b7e8eb-1199-4457-9170-923c3fe56c92",
- "active": false,
- "created_at": "2023-11-02T16:45:00"
}
], - "pagination": {
- "size": 20,
- "has_next_page": false,
- "next_cursor": null
}
}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.
| 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. |
| 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. |
| name required | string <= 100 characters Name. |
| cpf | string = 11 characters Brazilian Individual Taxpayer Registry (CPF), without dots, dashes, or spaces. |
| 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 |
Turns the given individual person into a seller, already active.
{- "person_id": "f9d961b8-ea88-4346-8e52-afe94267417a"
}Example response for a specific seller.
{- "id": "f9d961b8-ea88-4346-8e52-afe94267417a",
- "active": true,
- "created_at": "2024-03-15T10:30:00",
- "person": {
- "id": "f9d961b8-ea88-4346-8e52-afe94267417a"
}, - "created_by": {
- "id": "212b54b8-27df-4859-80a9-79ad855bcd09"
}
}Returns a specific seller by its identifier.
| id required | string <uuid> Example: f9d961b8-ea88-4346-8e52-afe94267417a Unique seller identifier |
| 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. |
Example response for a specific seller.
{- "id": "f9d961b8-ea88-4346-8e52-afe94267417a",
- "active": true,
- "created_at": "2024-03-15T10:30:00",
- "person": {
- "id": "f9d961b8-ea88-4346-8e52-afe94267417a"
}, - "created_by": {
- "id": "212b54b8-27df-4859-80a9-79ad855bcd09"
}
}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.
| id required | string <uuid> Example: f9d961b8-ea88-4346-8e52-afe94267417a Unique seller identifier |
| 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. |
| 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 |
Deactivates the seller, which is no longer offered in new sales.
{- "active": false
}Example response for a specific seller.
{- "id": "f9d961b8-ea88-4346-8e52-afe94267417a",
- "active": true,
- "created_at": "2024-03-15T10:30:00",
- "person": {
- "id": "f9d961b8-ea88-4346-8e52-afe94267417a"
}, - "created_by": {
- "id": "212b54b8-27df-4859-80a9-79ad855bcd09"
}
}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.
| id required | string <uuid> Example: f9d961b8-ea88-4346-8e52-afe94267417a Unique seller identifier |
| 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. |
{- "errors": [
- "The access credentials are not valid."
]
}Query and maintain the payment methods registered in the system to use in financial transactions.
Returns the list of payment methods registered in the system. Internal system payment methods are not returned.
| cursor | string Example: cursor=eyJfcmFpbHMiOnsiZGF0YSI6WyIyMDI2LTAzLTEwIiwiNmIwZjdjMWUtMmQ0YS00ZjhiLTljMzEtNThhMGQ3ZTEzZjQyIl0sInB1ciI6ImFwaS92My9wcm9kdWN0cyNpbmRleCJ9fQ--3aa1d942d6240ca905038c019d661bc90af6836fc4a818cee3663829c75970e4 Cursor of the next page, exactly as it came in |
| size | integer [ 1 .. 50 ] Default: 20 Example: size=10 Number of records per page |
| 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. |
Example response containing system and user-registered payment methods.
{- "data": [
- {
- "id": "348e3bd9-f7ee-4a49-9be6-9a94b8b0a2f3",
- "name": "Cartão de Crédito",
- "system": true
}, - {
- "id": "253484f0-3597-4e91-96a1-2ea87f4b8ab0",
- "name": "Cheque",
- "system": true
}, - {
- "id": "fc9f5c65-59d6-42bb-8dd1-a5c0e3e51ea9",
- "name": "Dinheiro",
- "system": true
}, - {
- "id": "f9d961b8-ea88-4346-8e52-afe94267417a",
- "name": "Transferência Internacional",
- "system": false
}
], - "pagination": {
- "size": 20,
- "has_next_page": false,
- "next_cursor": null
}
}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.
| 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. |
| name required | string <= 30 characters Payment method name, up to 30 characters. Required on creation. |
Agency payment method.
{- "name": "Vale-viagem"
}Example response for a specific payment method.
{- "id": "fc9f5c65-59d6-42bb-8dd1-a5c0e3e51ea9",
- "name": "Dinheiro",
- "system": true
}Returns a specific payment method by its identifier.
| id required | string <uuid> Example: f9d961b8-ea88-4346-8e52-afe94267417a Unique identifier of the payment method |
| 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. |
Example response for a specific payment method.
{- "id": "fc9f5c65-59d6-42bb-8dd1-a5c0e3e51ea9",
- "name": "Dinheiro",
- "system": true
}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.
| id required | string <uuid> Example: fc9f5c65-59d6-42bb-8dd1-a5c0e3e51ea9 Unique identifier of the payment method |
| 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. |
| name | string <= 30 characters Payment method name, up to 30 characters. Required on creation. |
Changes the name.
{- "name": "Voucher"
}Example response for a specific payment method.
{- "id": "fc9f5c65-59d6-42bb-8dd1-a5c0e3e51ea9",
- "name": "Dinheiro",
- "system": true
}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.
| id required | string <uuid> Example: fc9f5c65-59d6-42bb-8dd1-a5c0e3e51ea9 Unique identifier of the payment method |
| 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. |
{- "errors": [
- "The access credentials are not valid."
]
}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.
Returns the list of accounts and cards available in the companies where the credential has permission. Active and inactive accounts are returned.
| cursor | string Example: cursor=eyJfcmFpbHMiOnsiZGF0YSI6WyIyMDI2LTAzLTEwIiwiNmIwZjdjMWUtMmQ0YS00ZjhiLTljMzEtNThhMGQ3ZTEzZjQyIl0sInB1ciI6ImFwaS92My9wcm9kdWN0cyNpbmRleCJ9fQ--3aa1d942d6240ca905038c019d661bc90af6836fc4a818cee3663829c75970e4 Cursor of the next page, exactly as it came in |
| size | integer [ 1 .. 50 ] Default: 20 Example: size=10 Number of records per page |
| 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. |
Example response containing a checking account and a credit card.
{- "data": [
- {
- "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
}, - {
- "id": "a1b2c3d4-e5f6-4708-b9c0-d1e2f3a4b5c6",
- "description": "Cartão Corporativo",
- "kind": "card_account",
- "active": true,
- "currency": "BRL",
- "initial_balance": 0,
- "bank_operation": null,
- "agency": null,
- "agency_digit": null,
- "number": null,
- "digit": null,
- "pix_key": null,
- "bill_expiration": 10,
- "bill_closing": 1
}
], - "pagination": {
- "size": 20,
- "has_next_page": false,
- "next_cursor": null
}
}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.
| 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. |
| 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 | |
| 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 | |
required | Array of objects (entity_reference) non-empty Companies where the account is available, by |
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: |
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": {
- "id": "7b0e3c8a-2f4d-4e9b-8c1a-5d6e7f809a1b"
}, - "bank": {
- "id": "c3b7e8eb-1199-4457-9170-923c3fe56c92"
}, - "agency": "1412",
- "agency_digit": "5",
- "number": "04640",
- "digit": "2",
- "pix_key": "financeiro@agencia.com.br",
- "companies": [
- {
- "id": "e5d9aaed-33bb-4679-b392-b45e5cd78eb4"
}
], - "user_groups": [
- {
- "id": "3c4d5e6f-7a8b-4c9d-8e0f-1a2b3c4d5e6f"
}
], - "billing_accounts": [
- {
- "kind": "monde_bancos",
- "portfolio": "17",
- "document_kind": "DM",
- "return_layout": "CNAB240",
- "remittance_layout": "CNAB240",
- "agreement_code": "1234567",
- "variation": "019",
- "accept": "N",
- "bank_fee": 2.5
}
]
}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": {
- "id": "c3b7e8eb-1199-4457-9170-923c3fe56c92",
- "number": "001",
- "name": "Banco do Brasil"
}, - "owner": {
- "id": "7b0e3c8a-2f4d-4e9b-8c1a-5d6e7f809a1b"
}, - "card_operator": null,
- "companies": [
- {
- "id": "e5d9aaed-33bb-4679-b392-b45e5cd78eb4"
}
], - "invoice_company": null,
- "user_groups": [
- {
- "id": "3c4d5e6f-7a8b-4c9d-8e0f-1a2b3c4d5e6f"
}
], - "next_bank_slip_number": 1520,
- "billing_accounts": [
- {
- "id": "0f1e2d3c-4b5a-4968-8776-655443322110",
- "kind": "monde_bancos",
- "active": true,
- "registered": true,
- "allows_unregistered_issue": false,
- "portfolio": "17",
- "document_kind": "DM",
- "return_layout": "CNAB240",
- "remittance_layout": "CNAB240",
- "agreement_code": "1234567",
- "variation": "019",
- "accept": "N",
- "ceb_code": null,
- "late_fine": 2,
- "late_interest": 1,
- "bank_fee": 2.5,
- "billet_rate": 0,
- "last_remittance": 0,
- "days_protest": null,
- "bank_issues_billet": false,
- "bank_generates_number": false,
- "billet_instructions": null,
- "local_of_payment": "Pagável em qualquer banco até o vencimento",
- "guarantor": null,
- "assignor_format": null,
- "our_number_format": null,
- "other_settings": null,
- "cobre_bem": null
}
]
}Returns a specific account or card by its identifier, as long as it is available in a company where the credential has permission.
| id required | string <uuid> Example: f9d961b8-ea88-4346-8e52-afe94267417a Unique account identifier |
| 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. |
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": {
- "id": "c3b7e8eb-1199-4457-9170-923c3fe56c92",
- "number": "001",
- "name": "Banco do Brasil"
}, - "owner": {
- "id": "7b0e3c8a-2f4d-4e9b-8c1a-5d6e7f809a1b"
}, - "card_operator": null,
- "companies": [
- {
- "id": "e5d9aaed-33bb-4679-b392-b45e5cd78eb4"
}
], - "invoice_company": null,
- "user_groups": [
- {
- "id": "3c4d5e6f-7a8b-4c9d-8e0f-1a2b3c4d5e6f"
}
], - "next_bank_slip_number": 1520,
- "billing_accounts": [
- {
- "id": "0f1e2d3c-4b5a-4968-8776-655443322110",
- "kind": "monde_bancos",
- "active": true,
- "registered": true,
- "allows_unregistered_issue": false,
- "portfolio": "17",
- "document_kind": "DM",
- "return_layout": "CNAB240",
- "remittance_layout": "CNAB240",
- "agreement_code": "1234567",
- "variation": "019",
- "accept": "N",
- "ceb_code": null,
- "late_fine": 2,
- "late_interest": 1,
- "bank_fee": 2.5,
- "billet_rate": 0,
- "last_remittance": 0,
- "days_protest": null,
- "bank_issues_billet": false,
- "bank_generates_number": false,
- "billet_instructions": null,
- "local_of_payment": "Pagável em qualquer banco até o vencimento",
- "guarantor": null,
- "assignor_format": null,
- "our_number_format": null,
- "other_settings": null,
- "cobre_bem": null
}
]
}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.
| id required | string <uuid> Example: f9d961b8-ea88-4346-8e52-afe94267417a Unique account identifier |
| 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. |
| 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 | |
| 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 | |
Array of objects (entity_reference) non-empty Companies where the account is available, by | |
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. |
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": [
- {
- "id": "0f1e2d3c-4b5a-4968-8776-655443322110",
- "agreement_code": "7654321"
}
]
}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": {
- "id": "c3b7e8eb-1199-4457-9170-923c3fe56c92",
- "number": "001",
- "name": "Banco do Brasil"
}, - "owner": {
- "id": "7b0e3c8a-2f4d-4e9b-8c1a-5d6e7f809a1b"
}, - "card_operator": null,
- "companies": [
- {
- "id": "e5d9aaed-33bb-4679-b392-b45e5cd78eb4"
}
], - "invoice_company": null,
- "user_groups": [
- {
- "id": "3c4d5e6f-7a8b-4c9d-8e0f-1a2b3c4d5e6f"
}
], - "next_bank_slip_number": 1520,
- "billing_accounts": [
- {
- "id": "0f1e2d3c-4b5a-4968-8776-655443322110",
- "kind": "monde_bancos",
- "active": true,
- "registered": true,
- "allows_unregistered_issue": false,
- "portfolio": "17",
- "document_kind": "DM",
- "return_layout": "CNAB240",
- "remittance_layout": "CNAB240",
- "agreement_code": "1234567",
- "variation": "019",
- "accept": "N",
- "ceb_code": null,
- "late_fine": 2,
- "late_interest": 1,
- "bank_fee": 2.5,
- "billet_rate": 0,
- "last_remittance": 0,
- "days_protest": null,
- "bank_issues_billet": false,
- "bank_generates_number": false,
- "billet_instructions": null,
- "local_of_payment": "Pagável em qualquer banco até o vencimento",
- "guarantor": null,
- "assignor_format": null,
- "our_number_format": null,
- "other_settings": null,
- "cobre_bem": null
}
]
}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).
| id required | string <uuid> Example: f9d961b8-ea88-4346-8e52-afe94267417a Unique account identifier |
| 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. |
{- "errors": [
- "The access credentials are not valid."
]
}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.
Returns the list of banks, ordered by bank name, as in the bank choice of the checking account form.
| cursor | string Example: cursor=eyJfcmFpbHMiOnsiZGF0YSI6WyIyMDI2LTAzLTEwIiwiNmIwZjdjMWUtMmQ0YS00ZjhiLTljMzEtNThhMGQ3ZTEzZjQyIl0sInB1ciI6ImFwaS92My9wcm9kdWN0cyNpbmRleCJ9fQ--3aa1d942d6240ca905038c019d661bc90af6836fc4a818cee3663829c75970e4 Cursor of the next page, exactly as it came in |
| size | integer [ 1 .. 50 ] Default: 20 Example: size=10 Number of records per page |
| 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. |
Example response containing banks from the reference table.
{- "data": [
- {
- "id": "c3b7e8eb-1199-4457-9170-923c3fe56c92",
- "number": "001",
- "name": "Banco do Brasil S.A."
}, - {
- "id": "5d0f4a3e-8b1c-4a2f-9a51-2f1d3c6b7e80",
- "number": "104",
- "name": "Caixa Econômica Federal"
}
], - "pagination": {
- "size": 20,
- "has_next_page": false,
- "next_cursor": null
}
}Returns a specific bank by its identifier.
| id required | string <uuid> Example: c3b7e8eb-1199-4457-9170-923c3fe56c92 Unique identifier of the bank |
| 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. |
Example response for a specific bank.
{- "id": "c3b7e8eb-1199-4457-9170-923c3fe56c92",
- "number": "001",
- "name": "Banco do Brasil S.A."
}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.
Returns the list of invoice (nota fiscal) rules registered in the system. Null product, supplier, and payer mean the rule applies to all.
| cursor | string Example: cursor=eyJfcmFpbHMiOnsiZGF0YSI6WyIyMDI2LTAzLTEwIiwiNmIwZjdjMWUtMmQ0YS00ZjhiLTljMzEtNThhMGQ3ZTEzZjQyIl0sInB1ciI6ImFwaS92My9wcm9kdWN0cyNpbmRleCJ9fQ--3aa1d942d6240ca905038c019d661bc90af6836fc4a818cee3663829c75970e4 Cursor of the next page, exactly as it came in |
| size | integer [ 1 .. 50 ] Default: 20 Example: size=10 Number of records per page |
| 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. |
Example response containing a general rule and a rule restricted to a product and supplier.
{- "data": [
- {
- "id": "f9d961b8-ea88-4346-8e52-afe94267417a",
- "description": "Regra padrão de pacotes",
- "representative_scope": "any",
- "created_at": "2024-03-15T10:30:00",
- "payer_rule": {
- "recipient": null,
- "revenues": [
- "du_fee",
- "rav_fee",
- "agency_service_fee"
], - "discounts": [
- "discount"
]
}, - "supplier_rule": {
- "recipient": null,
- "revenues": [ ],
- "discounts": [ ]
}, - "representative_rule": {
- "recipient": null,
- "revenues": [ ],
- "discounts": [ ]
}
}, - {
- "id": "a1b2c3d4-e5f6-4708-b9c0-d1e2f3a4b5c6",
- "description": "Seguro viagem - fornecedor emite",
- "representative_scope": "none",
- "created_at": "2023-11-02T16:45:00",
- "payer_rule": {
- "recipient": null,
- "revenues": [ ],
- "discounts": [ ]
}, - "supplier_rule": {
- "recipient": {
- "id": "e5d9aaed-33bb-4679-b392-b45e5cd78eb4"
}, - "revenues": [
- "commission_amount",
- "over_amount"
], - "discounts": [ ]
}, - "representative_rule": {
- "recipient": null,
- "revenues": [ ],
- "discounts": [ ]
}
}
], - "pagination": {
- "size": 20,
- "has_next_page": false,
- "next_cursor": null
}
}Returns a specific invoice (NF) rule by its identifier.
| id required | string <uuid> Example: f9d961b8-ea88-4346-8e52-afe94267417a Unique identifier of the invoice (NF) rule |
| 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. |
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": {
- "id": "e5d9aaed-33bb-4679-b392-b45e5cd78eb4"
}, - "created_by": {
- "id": "212b54b8-27df-4859-80a9-79ad855bcd09"
}, - "payer_rule": {
- "recipient": null,
- "revenues": [
- "du_fee",
- "rav_fee",
- "agency_service_fee"
], - "discounts": [
- "discount"
]
}, - "supplier_rule": {
- "recipient": null,
- "revenues": [ ],
- "discounts": [ ]
}, - "representative_rule": {
- "recipient": null,
- "revenues": [ ],
- "discounts": [ ]
}
}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).
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.
| cursor | string Example: cursor=eyJfcmFpbHMiOnsiZGF0YSI6WyIyMDI2LTAzLTEwIiwiNmIwZjdjMWUtMmQ0YS00ZjhiLTljMzEtNThhMGQ3ZTEzZjQyIl0sInB1ciI6ImFwaS92My9wcm9kdWN0cyNpbmRleCJ9fQ--3aa1d942d6240ca905038c019d661bc90af6836fc4a818cee3663829c75970e4 Cursor of the next page, exactly as it came in |
| 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 |
| 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. |
| status | Array of strings Items Enum: "pending" "completed" "deleted" Example: status=pending Situations to return, comma-separated: |
| overdue | boolean Example: overdue=true
|
| date_field | string Enum: "due" "created_at" "completed_at" Example: date_field=due Date used by the period filter: |
| 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). |
| 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. |
Example response containing pending and completed tasks.
{- "data": [
- {
- "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"
}, - {
- "id": "a1b2c3d4-e5f6-4708-b9c0-d1e2f3a4b5c6",
- "number": 1043,
- "title": "Cobrar segunda parcela",
- "description": null,
- "due": "2024-04-05T14:00:00",
- "completed_at": "2024-04-05T11:12:00",
- "visualized": true,
- "deleted": false,
- "created_at": "2024-03-15T10:30:00"
}
], - "pagination": {
- "size": 20,
- "has_next_page": false,
- "next_cursor": null
}
}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.
| 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. |
| 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 | 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 |
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 |
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": [
- {
- "text": "Tarefa aberta pelo site."
}
], - "custom_fields": [
- {
- "id": 123,
- "value": "Alta"
}
]
}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": {
- "id": 11
}, - "assignee": {
- "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91"
}, - "person": {
- "id": "c3b7e8eb-1199-4457-9170-923c3fe56c92"
}, - "sale": {
- "id": "8a1f2c3d-4b5e-4f60-8172-93a4b5c6d7e8"
}, - "travel": {
- "id": "1b2c3d4e-5f60-4718-8293-a4b5c6d7e8f9"
}, - "bill": null,
- "company": {
- "id": "d4c8f9fc-22aa-4568-a281-a34d4bf67da3"
}, - "created_by": {
- "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91"
}, - "history": [
- {
- "created_at": "2024-03-20T14:05:00",
- "text": "Cliente confirmou os dados do embarque.",
- "historic": null,
- "person": {
- "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91"
}, - "attachments": [
- {
- "id": "0b1c2d3e-4f5a-4b6c-8d7e-9f0a1b2c3d4e",
- "description": "voucher.pdf",
- "extension": "pdf",
- "content_type": "application/pdf",
}
]
}, - {
- "created_at": "2024-03-15T10:30:00",
- "text": null,
- "historic": "Tarefa cadastrada",
- "person": null,
- "attachments": [ ]
}
], - "custom_fields": [
- {
- "id": 123,
- "value": "Alta"
}
], - "attachments": [
- {
- "id": "0b1c2d3e-4f5a-4b6c-8d7e-9f0a1b2c3d4e",
- "description": "voucher.pdf",
- "extension": "pdf",
- "content_type": "application/pdf",
}
]
}Returns the data of a specific task, including its history, custom fields and attachments.
| id required | string <uuid> Example: f9d961b8-ea88-4346-8e52-afe94267417a Unique task identifier (UUID format). |
| 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. |
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": {
- "id": 11
}, - "assignee": {
- "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91"
}, - "person": {
- "id": "c3b7e8eb-1199-4457-9170-923c3fe56c92"
}, - "sale": {
- "id": "8a1f2c3d-4b5e-4f60-8172-93a4b5c6d7e8"
}, - "travel": {
- "id": "1b2c3d4e-5f60-4718-8293-a4b5c6d7e8f9"
}, - "bill": null,
- "company": {
- "id": "d4c8f9fc-22aa-4568-a281-a34d4bf67da3"
}, - "created_by": {
- "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91"
}, - "history": [
- {
- "created_at": "2024-03-20T14:05:00",
- "text": "Cliente confirmou os dados do embarque.",
- "historic": null,
- "person": {
- "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91"
}, - "attachments": [
- {
- "id": "0b1c2d3e-4f5a-4b6c-8d7e-9f0a1b2c3d4e",
- "description": "voucher.pdf",
- "extension": "pdf",
- "content_type": "application/pdf",
}
]
}, - {
- "created_at": "2024-03-15T10:30:00",
- "text": null,
- "historic": "Tarefa cadastrada",
- "person": null,
- "attachments": [ ]
}
], - "custom_fields": [
- {
- "id": 123,
- "value": "Alta"
}
], - "attachments": [
- {
- "id": "0b1c2d3e-4f5a-4b6c-8d7e-9f0a1b2c3d4e",
- "description": "voucher.pdf",
- "extension": "pdf",
- "content_type": "application/pdf",
}
]
}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.
| id required | string <uuid> Example: f9d961b8-ea88-4346-8e52-afe94267417a Unique task identifier (UUID format). |
| 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. |
| 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
|
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 |
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": [
- {
- "id": 123,
- "value": "Urgente"
}
]
}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": {
- "id": 11
}, - "assignee": {
- "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91"
}, - "person": {
- "id": "c3b7e8eb-1199-4457-9170-923c3fe56c92"
}, - "sale": {
- "id": "8a1f2c3d-4b5e-4f60-8172-93a4b5c6d7e8"
}, - "travel": {
- "id": "1b2c3d4e-5f60-4718-8293-a4b5c6d7e8f9"
}, - "bill": null,
- "company": {
- "id": "d4c8f9fc-22aa-4568-a281-a34d4bf67da3"
}, - "created_by": {
- "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91"
}, - "history": [
- {
- "created_at": "2024-03-20T14:05:00",
- "text": "Cliente confirmou os dados do embarque.",
- "historic": null,
- "person": {
- "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91"
}, - "attachments": [
- {
- "id": "0b1c2d3e-4f5a-4b6c-8d7e-9f0a1b2c3d4e",
- "description": "voucher.pdf",
- "extension": "pdf",
- "content_type": "application/pdf",
}
]
}, - {
- "created_at": "2024-03-15T10:30:00",
- "text": null,
- "historic": "Tarefa cadastrada",
- "person": null,
- "attachments": [ ]
}
], - "custom_fields": [
- {
- "id": 123,
- "value": "Alta"
}
], - "attachments": [
- {
- "id": "0b1c2d3e-4f5a-4b6c-8d7e-9f0a1b2c3d4e",
- "description": "voucher.pdf",
- "extension": "pdf",
- "content_type": "application/pdf",
}
]
}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.
| id required | string <uuid> Example: f9d961b8-ea88-4346-8e52-afe94267417a Unique task identifier (UUID format). |
| 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. |
{- "errors": [
- "The access credentials are not valid."
]
}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.
| task_id required | string <uuid> Example: f9d961b8-ea88-4346-8e52-afe94267417a Unique task identifier (UUID format). |
| 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. |
| 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. |
Example comment appended to the history of an existing task.
{- "text": "Cliente confirmou os dados do embarque."
}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": {
- "id": 11
}, - "assignee": {
- "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91"
}, - "person": {
- "id": "c3b7e8eb-1199-4457-9170-923c3fe56c92"
}, - "sale": {
- "id": "8a1f2c3d-4b5e-4f60-8172-93a4b5c6d7e8"
}, - "travel": {
- "id": "1b2c3d4e-5f60-4718-8293-a4b5c6d7e8f9"
}, - "bill": null,
- "company": {
- "id": "d4c8f9fc-22aa-4568-a281-a34d4bf67da3"
}, - "created_by": {
- "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91"
}, - "history": [
- {
- "created_at": "2024-03-20T14:05:00",
- "text": "Cliente confirmou os dados do embarque.",
- "historic": null,
- "person": {
- "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91"
}, - "attachments": [
- {
- "id": "0b1c2d3e-4f5a-4b6c-8d7e-9f0a1b2c3d4e",
- "description": "voucher.pdf",
- "extension": "pdf",
- "content_type": "application/pdf",
}
]
}, - {
- "created_at": "2024-03-15T10:30:00",
- "text": null,
- "historic": "Tarefa cadastrada",
- "person": null,
- "attachments": [ ]
}
], - "custom_fields": [
- {
- "id": 123,
- "value": "Alta"
}
], - "attachments": [
- {
- "id": "0b1c2d3e-4f5a-4b6c-8d7e-9f0a1b2c3d4e",
- "description": "voucher.pdf",
- "extension": "pdf",
- "content_type": "application/pdf",
}
]
}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.
Returns the list of task categories registered in the system, with the task board flag and the position of each column.
| cursor | string Example: cursor=eyJfcmFpbHMiOnsiZGF0YSI6WyIyMDI2LTAzLTEwIiwiNmIwZjdjMWUtMmQ0YS00ZjhiLTljMzEtNThhMGQ3ZTEzZjQyIl0sInB1ciI6ImFwaS92My9wcm9kdWN0cyNpbmRleCJ9fQ--3aa1d942d6240ca905038c019d661bc90af6836fc4a818cee3663829c75970e4 Cursor of the next page, exactly as it came in |
| size | integer [ 1 .. 50 ] Default: 20 Example: size=10 Number of records per page |
| 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. |
Example response containing task categories, two of them on the board.
{- "data": [
- {
- "id": 12,
- "name": "Cobrança",
- "kanban": false,
- "kanban_position": null
}, - {
- "id": 42,
- "name": "Emissão",
- "kanban": true,
- "kanban_position": 2
}, - {
- "id": 7,
- "name": "Reserva",
- "kanban": true,
- "kanban_position": 1
}
], - "pagination": {
- "size": 20,
- "has_next_page": false,
- "next_cursor": null
}
}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.
| 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. |
| 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. |
Creates the category and puts it in the second column of the task board.
{- "name": "Emissão",
- "kanban_position": 2
}Example response with a specific task category.
{- "id": 42,
- "name": "Emissão",
- "kanban": true,
- "kanban_position": 2
}Returns the data of a specific task category.
| id required | integer Example: 42 Unique task category identifier. |
| 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. |
Example response with a specific task category.
{- "id": 42,
- "name": "Emissão",
- "kanban": true,
- "kanban_position": 2
}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.
| id required | integer Example: 42 Unique task category identifier. |
| 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. |
| 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 | 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. |
Changes only the category name; its tasks follow.
{- "name": "Emissão de bilhetes"
}Example response with a specific task category.
{- "id": 42,
- "name": "Emissão",
- "kanban": true,
- "kanban_position": 2
}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.
| id required | integer Example: 42 Unique task category identifier. |
| 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. |
{- "errors": [
- "The access credentials are not valid."
]
}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).
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.
| 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 |
| size | integer [ 1 .. 50 ] Default: 20 Example: size=10 Number of records per page |
| 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. |
Example response containing upcoming and finished travels.
{- "data": [
- {
- "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"
}, - {
- "id": "a1b2c3d4-e5f6-4708-b9c0-d1e2f3a4b5c6",
- "number": "000041",
- "description": "Congresso - São Paulo",
- "situation": "finished",
- "start_date": "2024-02-05",
- "end_date": "2024-02-09",
- "observations": null,
- "created_at": "2024-01-10T09:00:00"
}
], - "pagination": {
- "size": 20,
- "has_next_page": false,
- "next_cursor": null
}
}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.
| 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. |
| 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 |
| seller_id required | string <uuid> ID of the travel seller, the same as in |
| 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 |
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."
}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": {
- "id": "e5d9aaed-33bb-4679-b392-b45e5cd78eb4"
}, - "seller": {
- "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91"
}, - "company": {
- "id": "d4c8f9fc-22aa-4568-a281-a34d4bf67da3"
}, - "created_by": null,
- "sales": [ ],
- "passengers": [ ],
- "attachments": [ ],
- "custom_fields": [ ]
}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.
| id required | string <uuid> Example: f9d961b8-ea88-4346-8e52-afe94267417a Unique identifier of the travel to retrieve |
| 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. |
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": {
- "id": "e5d9aaed-33bb-4679-b392-b45e5cd78eb4"
}, - "seller": {
- "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91"
}, - "company": {
- "id": "d4c8f9fc-22aa-4568-a281-a34d4bf67da3"
}, - "created_by": {
- "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91"
}, - "sales": [
- {
- "id": "212b54b8-27df-4859-80a9-79ad855bcd09"
}, - {
- "id": "3f2a1b0c-9d8e-4f6a-8b7c-6d5e4f3a2b1c"
}
], - "passengers": [
- {
- "id": "e5d9aaed-33bb-4679-b392-b45e5cd78eb4"
}, - {
- "id": "a7c9b1d3-4e5f-4a6b-8c9d-0e1f2a3b4c5d"
}
], - "attachments": [
- {
- "id": "1c2d3e4f-5a6b-4c7d-9e8f-0a1b2c3d4e5f",
- "description": "roteiro.pdf",
- "extension": "pdf",
- "content_type": "application/pdf",
}
], - "custom_fields": [
- {
- "id": 7,
- "value": "Lua de mel"
}
]
}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.
| id required | string <uuid> Example: f9d961b8-ea88-4346-8e52-afe94267417a Unique identifier of the travel |
| 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. |
| 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 |
| seller_id | string <uuid> ID of the travel seller, the same as in |
| 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 |
Only the fields sent change.
{- "description": "Lua de mel - Cancún e Tulum",
- "observations": "Incluir o passeio a Tulum."
}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": {
- "id": "e5d9aaed-33bb-4679-b392-b45e5cd78eb4"
}, - "seller": {
- "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91"
}, - "company": {
- "id": "d4c8f9fc-22aa-4568-a281-a34d4bf67da3"
}, - "created_by": {
- "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91"
}, - "sales": [
- {
- "id": "212b54b8-27df-4859-80a9-79ad855bcd09"
}, - {
- "id": "3f2a1b0c-9d8e-4f6a-8b7c-6d5e4f3a2b1c"
}
], - "passengers": [
- {
- "id": "e5d9aaed-33bb-4679-b392-b45e5cd78eb4"
}, - {
- "id": "a7c9b1d3-4e5f-4a6b-8c9d-0e1f2a3b4c5d"
}
], - "attachments": [
- {
- "id": "1c2d3e4f-5a6b-4c7d-9e8f-0a1b2c3d4e5f",
- "description": "roteiro.pdf",
- "extension": "pdf",
- "content_type": "application/pdf",
}
], - "custom_fields": [
- {
- "id": 7,
- "value": "Lua de mel"
}
]
}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.
| id required | string <uuid> Example: f9d961b8-ea88-4346-8e52-afe94267417a Unique identifier of the travel |
| 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. |
{- "errors": [
- "The access credentials are not valid."
]
}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.
| 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 |
| 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. |
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": {
- "id": "e5d9aaed-33bb-4679-b392-b45e5cd78eb4"
}, - "seller": {
- "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91"
}, - "company": {
- "id": "d4c8f9fc-22aa-4568-a281-a34d4bf67da3"
}, - "created_by": {
- "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91"
}, - "sales": [
- {
- "id": "212b54b8-27df-4859-80a9-79ad855bcd09"
}, - {
- "id": "3f2a1b0c-9d8e-4f6a-8b7c-6d5e4f3a2b1c"
}
], - "passengers": [
- {
- "id": "e5d9aaed-33bb-4679-b392-b45e5cd78eb4"
}, - {
- "id": "a7c9b1d3-4e5f-4a6b-8c9d-0e1f2a3b4c5d"
}
], - "attachments": [
- {
- "id": "1c2d3e4f-5a6b-4c7d-9e8f-0a1b2c3d4e5f",
- "description": "roteiro.pdf",
- "extension": "pdf",
- "content_type": "application/pdf",
}
], - "custom_fields": [
- {
- "id": 7,
- "value": "Lua de mel"
}
]
}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.
| 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 |
| 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. |
{- "errors": [
- "The access credentials are not valid."
]
}Query, create, update, duplicate and delete the quotes registered in the system, with validity, status and the public viewing link.
Returns the list of quotes from the companies where the credential has permission.
| cursor | string Example: cursor=eyJfcmFpbHMiOnsiZGF0YSI6WyIyMDI2LTAzLTEwIiwiNmIwZjdjMWUtMmQ0YS00ZjhiLTljMzEtNThhMGQ3ZTEzZjQyIl0sInB1ciI6ImFwaS92My9wcm9kdWN0cyNpbmRleCJ9fQ--3aa1d942d6240ca905038c019d661bc90af6836fc4a818cee3663829c75970e4 Cursor of the next page, exactly as it came in |
| size | integer [ 1 .. 50 ] Default: 20 Example: size=10 Number of records per page |
| 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. |
Example response containing active and disabled quotes.
{- "data": [
- {
- "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"
}, - {
- "id": 41,
- "title": "Buenos Aires",
- "subtitle": "Feriado prolongado",
- "details": "Aéreo + hotel 4 estrelas no centro.",
- "valid_until": "2024-02-28",
- "active": false,
- "internal_observations": null,
- "created_at": "2024-01-10T09:00:00",
- "updated_at": "2024-01-12T14:20:00"
}
], - "pagination": {
- "size": 20,
- "has_next_page": false,
- "next_cursor": null
}
}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.
| 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. |
| 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 |
| 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) |
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."
}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": {
- "id": "212b54b8-27df-4859-80a9-79ad855bcd09"
}, - "company": {
- "id": "e5d9aaed-33bb-4679-b392-b45e5cd78eb4"
}, - "user": {
- "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91"
}
}Returns a specific quote by its identifier.
| id required | integer Example: 42 Unique identifier of the quote |
| 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. |
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": {
- "id": "212b54b8-27df-4859-80a9-79ad855bcd09"
}, - "company": {
- "id": "e5d9aaed-33bb-4679-b392-b45e5cd78eb4"
}, - "user": {
- "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91"
}
}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.
| id required | integer Example: 42 Unique identifier of the quote |
| 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. |
| 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 |
| 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. |
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"
}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": {
- "id": "212b54b8-27df-4859-80a9-79ad855bcd09"
}, - "company": {
- "id": "e5d9aaed-33bb-4679-b392-b45e5cd78eb4"
}, - "user": {
- "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91"
}
}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.
| id required | integer Example: 42 Unique identifier of the quote |
| 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. |
{- "errors": [
- "The access credentials are not valid."
]
}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.
| id required | integer Example: 42 Unique identifier of the quote |
| 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. |
| user_id required | string <uuid> Identifier of the user who owns the copy, the same person |
| 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. |
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"
}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": {
- "id": "7f1c2d3e-4b5a-4c6d-8e9f-0a1b2c3d4e5f"
}, - "company": {
- "id": "e5d9aaed-33bb-4679-b392-b45e5cd78eb4"
}, - "user": {
- "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91"
}
}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.
Returns the list of guides from the companies where the credential has permission, from the most recently updated to the oldest.
| cursor | string Example: cursor=eyJfcmFpbHMiOnsiZGF0YSI6WyIyMDI2LTAzLTEwIiwiNmIwZjdjMWUtMmQ0YS00ZjhiLTljMzEtNThhMGQ3ZTEzZjQyIl0sInB1ciI6ImFwaS92My9wcm9kdWN0cyNpbmRleCJ9fQ--3aa1d942d6240ca905038c019d661bc90af6836fc4a818cee3663829c75970e4 Cursor of the next page, exactly as it came in |
| size | integer [ 1 .. 50 ] Default: 20 Example: size=10 Number of records per page |
| 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. |
Example response containing an active and a deactivated guide.
{- "data": [
- {
- "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"
}, - {
- "id": 41,
- "title": "Buenos Aires",
- "subtitle": "Feriado prolongado",
- "details": "<p>Tango em San Telmo e jantar em Puerto Madero.</p>",
- "active": false,
- "internal_observations": null,
- "cover_kind": "default",
- "cover_color": null,
- "hide_cover_text": false,
- "cover_image_url": null,
- "created_at": "2024-01-10T09:00:00",
- "updated_at": "2024-01-12T14:20:00"
}
], - "pagination": {
- "size": 20,
- "has_next_page": false,
- "next_cursor": null
}
}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.
| 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. |
| 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 |
| 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, |
| 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: |
| cover_color | string Background color of the cover, in hexadecimal ( |
| 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 |
| internal_observations | string Internal observations (not shown on the public link) |
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"
}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": {
- "id": "e5d9aaed-33bb-4679-b392-b45e5cd78eb4"
}, - "user": {
- "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91"
}
}Returns a specific guide by its identifier.
| id required | integer Example: 42 Unique guide identifier |
| 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. |
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": {
- "id": "e5d9aaed-33bb-4679-b392-b45e5cd78eb4"
}, - "user": {
- "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91"
}
}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.
| id required | integer Example: 42 Unique guide identifier |
| 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. |
| 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 |
| 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, |
| 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: |
| cover_color | string or null Background color of the cover, in hexadecimal ( |
| 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 |
| 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. |
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"
}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": {
- "id": "e5d9aaed-33bb-4679-b392-b45e5cd78eb4"
}, - "user": {
- "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91"
}
}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.
| id required | integer Example: 42 Unique guide identifier |
| 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. |
{- "errors": [
- "The access credentials are not valid."
]
}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.
| id required | integer Example: 42 Unique guide identifier |
| 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. |
| user_id required | string <uuid> Identifier of the user who owns the copy, the same person |
Example of a duplication informing the copy owner.
{- "user_id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91"
}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": {
- "id": "e5d9aaed-33bb-4679-b392-b45e5cd78eb4"
}, - "user": {
- "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91"
}
}Query the billing rules, with the rule owner, closing period and due date conditions. Rules apply to the whole agency, with no company.
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.
| cursor | string Example: cursor=eyJfcmFpbHMiOnsiZGF0YSI6WyIyMDI2LTAzLTEwIiwiNmIwZjdjMWUtMmQ0YS00ZjhiLTljMzEtNThhMGQ3ZTEzZjQyIl0sInB1ciI6ImFwaS92My9wcm9kdWN0cyNpbmRleCJ9fQ--3aa1d942d6240ca905038c019d661bc90af6836fc4a818cee3663829c75970e4 Cursor of the next page, exactly as it came in |
| size | integer [ 1 .. 50 ] Default: 20 Example: size=10 Number of records per page |
| 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. |
Example response containing supplier and client rules.
{- "data": [
- {
- "id": "f9d961b8-ea88-4346-8e52-afe94267417a",
- "description": "Faturamento semanal aéreo",
- "person_kind": "supplier",
- "destination": "national",
- "movement": "to_pay",
- "cost_center": null,
- "closing": {
- "period_kind": "weekly",
- "week_start": "monday",
- "custom_period": null,
- "custom_period_due_date": null,
- "date_to_use": "after_checkin"
}, - "due_date": {
- "days_to_skip": 5,
- "on_weekend": "stay"
}
}, - {
- "id": "a1b2c3d4-e5f6-4708-b9c0-d1e2f3a4b5c6",
- "description": "Cliente corporativo mensal",
- "person_kind": "customer",
- "destination": "every",
- "movement": "every_movement",
- "cost_center": "Comercial",
- "closing": {
- "period_kind": "monthly",
- "week_start": null,
- "custom_period": null,
- "custom_period_due_date": null,
- "date_to_use": "after_sale_date"
}, - "due_date": {
- "days_to_skip": 10,
- "on_weekend": "next"
}
}
], - "pagination": {
- "size": 20,
- "has_next_page": false,
- "next_cursor": null
}
}Returns a specific billing rule by its identifier.
| id required | string <uuid> Example: f9d961b8-ea88-4346-8e52-afe94267417a Unique identifier of the billing rule |
| 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. |
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": {
- "period_kind": "weekly",
- "week_start": "monday",
- "custom_period": null,
- "custom_period_due_date": null,
- "date_to_use": "after_checkin"
}, - "due_date": {
- "days_to_skip": 5,
- "on_weekend": "stay"
}, - "person": null,
- "product": null,
- "supplier": {
- "id": "e5d9aaed-33bb-4679-b392-b45e5cd78eb4"
}, - "requester": null
}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.
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.
| cursor | string Example: cursor=eyJfcmFpbHMiOnsiZGF0YSI6WyIyMDI2LTAzLTEwIiwiNmIwZjdjMWUtMmQ0YS00ZjhiLTljMzEtNThhMGQ3ZTEzZjQyIl0sInB1ciI6ImFwaS92My9wcm9kdWN0cyNpbmRleCJ9fQ--3aa1d942d6240ca905038c019d661bc90af6836fc4a818cee3663829c75970e4 Cursor of the next page, exactly as it came in |
| size | integer [ 1 .. 50 ] Default: 20 Example: size=10 Number of records per page |
| 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. |
Example response containing vendor and searcher integrations.
{- "data": [
- {
- "id": "f9d961b8-ea88-4346-8e52-afe94267417a",
- "description": "Assist Card Matriz",
- "active": true,
- "vendor_id": "b2359357-cff7-4d43-b6d2-99adf2ff373b",
- "vendor_name": "Assist Card"
}, - {
- "id": "a1b2c3d4-e5f6-4708-b9c0-d1e2f3a4b5c6",
- "description": "Argo Buscador",
- "active": false,
- "vendor_id": "31d759f3-ee91-4a10-8432-0f76b40cd11e",
- "vendor_name": "Argo IT"
}
], - "pagination": {
- "size": 20,
- "has_next_page": false,
- "next_cursor": null
}
}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.
| id required | string <uuid> Example: f9d961b8-ea88-4346-8e52-afe94267417a Integration unique identifier |
| 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. |
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": {
- "id": "5c4b3a29-1807-4f6e-9d5c-4b3a29180706"
}, - "company": {
- "id": "e5d9aaed-33bb-4679-b392-b45e5cd78eb4"
}, - "additional_fields": [
- {
- "name": "agency_code",
- "type": "text",
- "value": "1000",
- "filled": true
}, - {
- "name": "user",
- "type": "text",
- "value": null,
- "filled": true
}, - {
- "name": "pass",
- "type": "password",
- "value": null,
- "filled": true
}
]
}Query the people registered in the system, with contact data, documents, and additional information.
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}).
| 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: |
| code | integer Example: code=1024 Filters by the person's sequential code (exact match). |
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 |
| 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_to | string <date> Example: birthday_to=2027-01-05 End of the birthday window (YYYY-MM-DD), inclusive. See |
| cursor | string Example: cursor=eyJfcmFpbHMiOnsiZGF0YSI6WyIyMDI2LTAzLTEwIiwiNmIwZjdjMWUtMmQ0YS00ZjhiLTljMzEtNThhMGQ3ZTEzZjQyIl0sInB1ciI6ImFwaS92My9wcm9kdWN0cyNpbmRleCJ9fQ--3aa1d942d6240ca905038c019d661bc90af6836fc4a818cee3663829c75970e4 Cursor of the next page, exactly as it came in |
| size | integer [ 1 .. 50 ] Default: 20 Example: size=10 Number of records per page |
| 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. |
Example query response containing an individual and a legal person.
{- "data": [
- {
- "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": {
- "postal_code": "80010000",
- "street": "Rua das Flores",
- "street_number": "100",
- "neighborhood": "Centro",
- "additional_info": "Apto 12",
- "city": {
- "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91"
}
}, - "additional_data": {
- "marital_status": "married",
- "rg_emitter": "SSP/PR",
- "rg_issue_date": "2008-03-15",
- "birth_certificate": null,
- "mother_name": "Ana Souza"
}, - "last_contacts": {
- "first_sale_date": "2022-01-10",
- "last_sale_date": "2024-03-01",
- "last_departure_date": "2024-03-15",
- "last_return_date": "2024-03-22",
- "last_task_update_at": "2024-03-18T15:12:00"
}, - "tax_withholding": null,
- "airline": null
}, - {
- "id": "a1b2c3d4-e5f6-4708-b9c0-d1e2f3a4b5c6",
- "code": 87,
- "person_kind": "company",
- "name": "Operadora de Turismo Ltda",
- "legal_name": "Operadora de Turismo S.A.",
- "cpf_cnpj": "12345678000199",
- "gender": null,
- "birthdate": null,
- "rg_ie": "9012345678",
- "city_inscription": "1234567",
- "tax_identification_number": null,
- "passport_number": null,
- "passport_expiration_date": null,
- "foreigner": false,
- "foreign_identity_document": null,
- "email": "contato@operadora.com.br",
- "phone_number": "4133334444",
- "mobile_number": null,
- "business_phone": null,
- "cvc_code": null,
- "observations": null,
- "charge_billet_fee": true,
- "created_at": "2019-04-18T08:15:00",
- "address": {
- "postal_code": "80010000",
- "street": "Rua das Flores",
- "street_number": "100",
- "neighborhood": "Centro",
- "additional_info": null,
- "city": {
- "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91"
}
}, - "additional_data": null,
- "last_contacts": {
- "first_sale_date": null,
- "last_sale_date": null,
- "last_departure_date": null,
- "last_return_date": null,
- "last_task_update_at": null
}, - "tax_withholding": {
- "iss": true,
- "ir": false,
- "pis_cofins_csll": false
}, - "airline": null
}
], - "pagination": {
- "size": 20,
- "has_next_page": false,
- "next_cursor": null
}
}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.
| 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. |
| 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. |
| name required | string <= 100 characters Name or trade name, according to the person kind. |
| legal_name | string or null <= 100 characters Legal name. |
| gender | string or null Enum: "female" "male" null Gender. |
| birthdate | string or null <date> Birthdate in ISO 8601 format (YYYY-MM-DD). |
| 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. |
| 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. |
| passport_number | string or null <= 20 characters Passport number, without dots, dashes, or spaces. |
| passport_expiration_date | string or null <date> Passport expiration date in ISO 8601 format (YYYY-MM-DD). |
| foreigner | boolean Default: false Indicates whether the person or company is foreign. Use |
| foreign_identity_document | string or null <= 30 characters Identity document of the foreigner, issued in their country of origin. Without dots, dashes or spaces. |
| 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. | |
string or null <= 200 characters Email address. | |
| phone_number | string or null <= 20 characters Phone number, without dashes or spaces. For international numbers, use + and the country code. |
| mobile_number | string or null <= 20 characters Mobile phone number, without dashes or spaces. For international numbers, use + and the country code. |
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 | |
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 | |
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 |
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": {
- "postal_code": "04078011",
- "street": "Avenida Divino Salvador",
- "street_number": "5000",
- "neighborhood": "Planalto Paulista",
- "additional_info": "Casa 2",
- "city_ibge": "3550308"
}, - "birthplace": {
- "city_ibge": "3550308"
}, - "additional_data": {
- "marital_status": "married",
- "rg_emitter": "SSP",
- "rg_issue_date": "2010-03-01",
- "birth_certificate": "093456 01 55 2010 1 00123 456 7890123-45",
- "mother_name": "Joana da Silva"
}, - "seller": {
- "id": "c3b7e8eb-1199-4457-9170-923c3fe56c92"
}, - "labels": [
- {
- "id": "2d0b3c4e-5f60-4172-9384-0b1c2d3e4f50"
}
], - "contacts": [
- {
- "role": "Financeiro",
- "person": {
- "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91"
}
}
], - "custom_fields": [
- {
- "id": 123,
- "value": "Indicação"
}
], - "credit_cards": [
- {
- "id": "6f1c2b9e-3a5d-4c8e-9b7a-1d2e3f4a5b6c",
- "expiration_month": 5,
- "expiration_year": 2032
}, - {
- "number": "5555555555554444",
- "name": "MARIA S SOUZA",
- "issuer": "MasterCard",
- "expiration_month": 8,
- "expiration_year": 2031
}
]
}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": {
- "postal_code": "80010000",
- "street": "Rua das Flores",
- "street_number": "100",
- "neighborhood": "Centro",
- "additional_info": "Apto 12",
- "city": {
- "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91"
}
}, - "additional_data": {
- "marital_status": "married",
- "rg_emitter": "SSP/PR",
- "rg_issue_date": "2008-03-15",
- "birth_certificate": null,
- "mother_name": "Ana Souza"
}, - "last_contacts": {
- "first_sale_date": "2022-01-10",
- "last_sale_date": "2024-03-01",
- "last_departure_date": "2024-03-15",
- "last_return_date": "2024-03-22",
- "last_task_update_at": "2024-03-18T15:12:00"
}, - "tax_withholding": null,
- "airline": null,
- "birthplace": {
- "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91"
}, - "seller": {
- "id": "c3b7e8eb-1199-4457-9170-923c3fe56c92"
}, - "promoter": null,
- "created_by": {
- "id": "c3b7e8eb-1199-4457-9170-923c3fe56c92"
}, - "contacts": [
- {
- "role": "Financeiro",
- "person": {
- "id": "c3b7e8eb-1199-4457-9170-923c3fe56c92"
}
}
], - "labels": [
- {
- "id": "2d0b3c4e-5f60-4172-9384-0b1c2d3e4f50"
}
], - "custom_fields": [
- {
- "id": 123,
- "value": "Indicação"
}
], - "attachments": [
- {
- "id": "3e1c4d5f-6071-4283-a495-1c2d3e4f5061",
- "description": "RG digitalizado",
- "extension": "pdf",
- "content_type": "application/pdf",
}
], - "credit_cards": [
- {
- "id": "6f1c2b9e-3a5d-4c8e-9b7a-1d2e3f4a5b6c",
- "name": "Cartão Corporativo",
- "last_digits": "1111",
- "expiration_date": "2030-05-01",
- "issuer": "Visa",
- "ticket_card": null
}
], - "cost_centers": null,
- "kandir_law": null,
- "invoice_rules": [
- {
- "id": "8b5e2f10-4c3d-4e6f-9a1b-2c3d4e5f6a7b"
}
], - "photo": {
- "content_type": "image/jpeg",
- "size": 48213
}
}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.
| id required | string <uuid> Example: f9d961b8-ea88-4346-8e52-afe94267417a Unique person identifier (UUID). |
| 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. |
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": {
- "postal_code": "80010000",
- "street": "Rua das Flores",
- "street_number": "100",
- "neighborhood": "Centro",
- "additional_info": "Apto 12",
- "city": {
- "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91"
}
}, - "additional_data": {
- "marital_status": "married",
- "rg_emitter": "SSP/PR",
- "rg_issue_date": "2008-03-15",
- "birth_certificate": null,
- "mother_name": "Ana Souza"
}, - "last_contacts": {
- "first_sale_date": "2022-01-10",
- "last_sale_date": "2024-03-01",
- "last_departure_date": "2024-03-15",
- "last_return_date": "2024-03-22",
- "last_task_update_at": "2024-03-18T15:12:00"
}, - "tax_withholding": null,
- "airline": null,
- "birthplace": {
- "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91"
}, - "seller": {
- "id": "c3b7e8eb-1199-4457-9170-923c3fe56c92"
}, - "promoter": null,
- "created_by": {
- "id": "c3b7e8eb-1199-4457-9170-923c3fe56c92"
}, - "contacts": [
- {
- "role": "Financeiro",
- "person": {
- "id": "c3b7e8eb-1199-4457-9170-923c3fe56c92"
}
}
], - "labels": [
- {
- "id": "2d0b3c4e-5f60-4172-9384-0b1c2d3e4f50"
}
], - "custom_fields": [
- {
- "id": 123,
- "value": "Indicação"
}
], - "attachments": [
- {
- "id": "3e1c4d5f-6071-4283-a495-1c2d3e4f5061",
- "description": "RG digitalizado",
- "extension": "pdf",
- "content_type": "application/pdf",
}
], - "credit_cards": [
- {
- "id": "6f1c2b9e-3a5d-4c8e-9b7a-1d2e3f4a5b6c",
- "name": "Cartão Corporativo",
- "last_digits": "1111",
- "expiration_date": "2030-05-01",
- "issuer": "Visa",
- "ticket_card": null
}
], - "cost_centers": null,
- "kandir_law": null,
- "invoice_rules": [
- {
- "id": "8b5e2f10-4c3d-4e6f-9a1b-2c3d4e5f6a7b"
}
], - "photo": {
- "content_type": "image/jpeg",
- "size": 48213
}
}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.
| id required | string <uuid> Example: f9d961b8-ea88-4346-8e52-afe94267417a Unique person identifier (UUID). |
| 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. |
| 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. |
| name | string <= 100 characters Name or trade name, according to the person kind. |
| legal_name | string or null <= 100 characters Legal name. |
| gender | string or null Enum: "female" "male" null Gender. |
| birthdate | string or null <date> Birthdate in ISO 8601 format (YYYY-MM-DD). |
| 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. |
| 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. |
| passport_number | string or null <= 20 characters Passport number, without dots, dashes, or spaces. |
| passport_expiration_date | string or null <date> Passport expiration date in ISO 8601 format (YYYY-MM-DD). |
| foreigner | boolean Default: false Indicates whether the person or company is foreign. Use |
| foreign_identity_document | string or null <= 30 characters Identity document of the foreigner, issued in their country of origin. Without dots, dashes or spaces. |
| 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. | |
string or null <= 200 characters Email address. | |
| phone_number | string or null <= 20 characters Phone number, without dashes or spaces. For international numbers, use + and the country code. |
| mobile_number | string or null <= 20 characters Mobile phone number, without dashes or spaces. For international numbers, use + and the country code. |
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 | |
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 | |
Array of objects or null (person_cost_center_write) Cost centers of the corporate client (not the ones of the agency, from | |
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. |
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": {
- "postal_code": "04078011",
- "street": "Avenida Divino Salvador",
- "street_number": "5200",
- "city_ibge": "3550308"
}, - "labels": [
- {
- "id": "2d0b3c4e-5f60-4172-9384-0b1c2d3e4f50"
}
], - "contacts": [
- {
- "role": "Financeiro",
- "person": {
- "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91"
}
}
], - "custom_fields": [
- {
- "id": 123,
- "value": "Indicação"
}
]
}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": {
- "postal_code": "80010000",
- "street": "Rua das Flores",
- "street_number": "100",
- "neighborhood": "Centro",
- "additional_info": "Apto 12",
- "city": {
- "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91"
}
}, - "additional_data": {
- "marital_status": "married",
- "rg_emitter": "SSP/PR",
- "rg_issue_date": "2008-03-15",
- "birth_certificate": null,
- "mother_name": "Ana Souza"
}, - "last_contacts": {
- "first_sale_date": "2022-01-10",
- "last_sale_date": "2024-03-01",
- "last_departure_date": "2024-03-15",
- "last_return_date": "2024-03-22",
- "last_task_update_at": "2024-03-18T15:12:00"
}, - "tax_withholding": null,
- "airline": null,
- "birthplace": {
- "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91"
}, - "seller": {
- "id": "c3b7e8eb-1199-4457-9170-923c3fe56c92"
}, - "promoter": null,
- "created_by": {
- "id": "c3b7e8eb-1199-4457-9170-923c3fe56c92"
}, - "contacts": [
- {
- "role": "Financeiro",
- "person": {
- "id": "c3b7e8eb-1199-4457-9170-923c3fe56c92"
}
}
], - "labels": [
- {
- "id": "2d0b3c4e-5f60-4172-9384-0b1c2d3e4f50"
}
], - "custom_fields": [
- {
- "id": 123,
- "value": "Indicação"
}
], - "attachments": [
- {
- "id": "3e1c4d5f-6071-4283-a495-1c2d3e4f5061",
- "description": "RG digitalizado",
- "extension": "pdf",
- "content_type": "application/pdf",
}
], - "credit_cards": [
- {
- "id": "6f1c2b9e-3a5d-4c8e-9b7a-1d2e3f4a5b6c",
- "name": "Cartão Corporativo",
- "last_digits": "1111",
- "expiration_date": "2030-05-01",
- "issuer": "Visa",
- "ticket_card": null
}
], - "cost_centers": null,
- "kandir_law": null,
- "invoice_rules": [
- {
- "id": "8b5e2f10-4c3d-4e6f-9a1b-2c3d4e5f6a7b"
}
], - "photo": {
- "content_type": "image/jpeg",
- "size": 48213
}
}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.
| id required | string <uuid> Example: f9d961b8-ea88-4346-8e52-afe94267417a Unique person identifier (UUID). |
| 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. |
{- "errors": [
- "The access credentials are not valid."
]
}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.
| person_id required | string <uuid> Example: f9d961b8-ea88-4346-8e52-afe94267417a Unique person identifier (UUID). |
| Authorization required | string Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz Access credential provided by the travel agency, in the Bearer scheme. |
{- "errors": [
- "The access credentials are not valid."
]
}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.
| person_id required | string <uuid> Example: f9d961b8-ea88-4346-8e52-afe94267417a Unique person identifier (UUID). |
| 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. |
| file required | string <binary> The image, as JPEG, up to 150 KB. |
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": {
- "postal_code": "80010000",
- "street": "Rua das Flores",
- "street_number": "100",
- "neighborhood": "Centro",
- "additional_info": "Apto 12",
- "city": {
- "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91"
}
}, - "additional_data": {
- "marital_status": "married",
- "rg_emitter": "SSP/PR",
- "rg_issue_date": "2008-03-15",
- "birth_certificate": null,
- "mother_name": "Ana Souza"
}, - "last_contacts": {
- "first_sale_date": "2022-01-10",
- "last_sale_date": "2024-03-01",
- "last_departure_date": "2024-03-15",
- "last_return_date": "2024-03-22",
- "last_task_update_at": "2024-03-18T15:12:00"
}, - "tax_withholding": null,
- "airline": null,
- "birthplace": {
- "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91"
}, - "seller": {
- "id": "c3b7e8eb-1199-4457-9170-923c3fe56c92"
}, - "promoter": null,
- "created_by": {
- "id": "c3b7e8eb-1199-4457-9170-923c3fe56c92"
}, - "contacts": [
- {
- "role": "Financeiro",
- "person": {
- "id": "c3b7e8eb-1199-4457-9170-923c3fe56c92"
}
}
], - "labels": [
- {
- "id": "2d0b3c4e-5f60-4172-9384-0b1c2d3e4f50"
}
], - "custom_fields": [
- {
- "id": 123,
- "value": "Indicação"
}
], - "attachments": [
- {
- "id": "3e1c4d5f-6071-4283-a495-1c2d3e4f5061",
- "description": "RG digitalizado",
- "extension": "pdf",
- "content_type": "application/pdf",
}
], - "credit_cards": [
- {
- "id": "6f1c2b9e-3a5d-4c8e-9b7a-1d2e3f4a5b6c",
- "name": "Cartão Corporativo",
- "last_digits": "1111",
- "expiration_date": "2030-05-01",
- "issuer": "Visa",
- "ticket_card": null
}
], - "cost_centers": null,
- "kandir_law": null,
- "invoice_rules": [
- {
- "id": "8b5e2f10-4c3d-4e6f-9a1b-2c3d4e5f6a7b"
}
], - "photo": {
- "content_type": "image/jpeg",
- "size": 48213
}
}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.
| person_id required | string <uuid> Example: f9d961b8-ea88-4346-8e52-afe94267417a Unique person identifier (UUID). |
| 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. |
{- "errors": [
- "The access credentials are not valid."
]
}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.
| person_id required | string <uuid> Example: f9d961b8-ea88-4346-8e52-afe94267417a Unique person identifier (UUID). |
| 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. |
| person_kind required | string Enum: "individual" "company" Target kind: |
{- "person_kind": "company"
}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": {
- "postal_code": "80010000",
- "street": "Rua das Flores",
- "street_number": "100",
- "neighborhood": "Centro",
- "additional_info": "Apto 12",
- "city": {
- "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91"
}
}, - "additional_data": {
- "marital_status": "married",
- "rg_emitter": "SSP/PR",
- "rg_issue_date": "2008-03-15",
- "birth_certificate": null,
- "mother_name": "Ana Souza"
}, - "last_contacts": {
- "first_sale_date": "2022-01-10",
- "last_sale_date": "2024-03-01",
- "last_departure_date": "2024-03-15",
- "last_return_date": "2024-03-22",
- "last_task_update_at": "2024-03-18T15:12:00"
}, - "tax_withholding": null,
- "airline": null,
- "birthplace": {
- "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91"
}, - "seller": {
- "id": "c3b7e8eb-1199-4457-9170-923c3fe56c92"
}, - "promoter": null,
- "created_by": {
- "id": "c3b7e8eb-1199-4457-9170-923c3fe56c92"
}, - "contacts": [
- {
- "role": "Financeiro",
- "person": {
- "id": "c3b7e8eb-1199-4457-9170-923c3fe56c92"
}
}
], - "labels": [
- {
- "id": "2d0b3c4e-5f60-4172-9384-0b1c2d3e4f50"
}
], - "custom_fields": [
- {
- "id": 123,
- "value": "Indicação"
}
], - "attachments": [
- {
- "id": "3e1c4d5f-6071-4283-a495-1c2d3e4f5061",
- "description": "RG digitalizado",
- "extension": "pdf",
- "content_type": "application/pdf",
}
], - "credit_cards": [
- {
- "id": "6f1c2b9e-3a5d-4c8e-9b7a-1d2e3f4a5b6c",
- "name": "Cartão Corporativo",
- "last_digits": "1111",
- "expiration_date": "2030-05-01",
- "issuer": "Visa",
- "ticket_card": null
}
], - "cost_centers": null,
- "kandir_law": null,
- "invoice_rules": [
- {
- "id": "8b5e2f10-4c3d-4e6f-9a1b-2c3d4e5f6a7b"
}
], - "photo": {
- "content_type": "image/jpeg",
- "size": 48213
}
}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.
Returns the list of labels registered in the system.
| cursor | string Example: cursor=eyJfcmFpbHMiOnsiZGF0YSI6WyIyMDI2LTAzLTEwIiwiNmIwZjdjMWUtMmQ0YS00ZjhiLTljMzEtNThhMGQ3ZTEzZjQyIl0sInB1ciI6ImFwaS92My9wcm9kdWN0cyNpbmRleCJ9fQ--3aa1d942d6240ca905038c019d661bc90af6836fc4a818cee3663829c75970e4 Cursor of the next page, exactly as it came in |
| size | integer [ 1 .. 50 ] Default: 20 Example: size=10 Number of records per page |
| 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. |
Example response containing every registered label.
{- "data": [
- {
- "id": "2d0b3c4e-5f60-4172-9384-0b1c2d3e4f50",
- "name": "VIP"
}, - {
- "id": "b2a6d7da-ff94-40e3-b069-812b2fd45b91",
- "name": "Corporativo"
}, - {
- "id": "c3b7e8eb-1199-4457-9170-923c3fe56c92",
- "name": "Lua de mel"
}
], - "pagination": {
- "size": 20,
- "has_next_page": false,
- "next_cursor": null
}
}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.
| 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. |
| name required | string <= 38 characters Label name, with up to 38 characters and different from the name of the other labels |
Creates the VIP label.
{- "name": "VIP"
}Example response for a specific label.
{- "id": "2d0b3c4e-5f60-4172-9384-0b1c2d3e4f50",
- "name": "VIP"
}Returns a specific label by its identifier.
| id required | string <uuid> Example: f9d961b8-ea88-4346-8e52-afe94267417a Unique identifier of the label |
| Authorization required | string Example: Bearer bW9uZGV8dXNlcjpwYXNzMTIz Access credential provided by the travel agency, in the Bearer scheme. |
| Content-Type required | string |