# InvoiceDetails

## Fields

| Field | Description | Type | Min/max | Notes |
|  --- | --- | --- | --- | --- |
| [TPA_Extensions](/connectivity/docs/api-reference/tpa_extensions)/`InvoiceDetails` | Special [identifying information](http://www.thebrazillawblog.com/understanding-cpf-and-cnpj-tax-identification-numbers/) for Brazilian properties, issued by the Brazilian tax authority. Used for invoicing. | object | 0..1 | Required for Brazilian properties. |
| `InvoiceDetails`/`InvoiceTaxType`/`@Type` | Specifies whether the identifying number belongs to [a company or a private individual](http://www.thebrazillawblog.com/understanding-cpf-and-cnpj-tax-identification-numbers/). | enum | 1..1 | Accepts: `CNPJ` (company), `CPF` (private individual). |
| `InvoiceDetails`/`InvoiceTaxNumber`/`@Code` | The identifying number. | string | 1..1 | Length depends on value of `InvoiceTaxType[@Type]`. `CNPJ` = 14 digits. `CPF` = 11 digits. |
| `InvoiceDetails`/`InvoiceAddress`/`@Email` | Email address of invoice recipient. | string | 1..1 | - |
| `InvoiceDetails`/`CityHallInfo`/`CityHallInfo[@Id]` | The 8-digit ID for the city hall which issued the `CNPJ` or `CPF` number. | string | 1..1 | - |
| `InvoiceDetails`/`BirthDate`/`@Date` | Date of birth of the individual providing the `CPF` number. | string | 0..1 | Format: `YYYY-MM-DD`. Required if `InvoiceTaxType[@Type="CPF"]`. |


## XML


```xml
<InvoiceDetails>
  <InvoiceTaxType Type="CPF"/>
  <InvoiceTaxNumber Code="01234567894123" />
  <InvoiceAddress Email="noreply@booking.com" />
  <CityHallInfo Id="12345678" />
  <BirthDate Date="1980-01-30" />
</InvoiceDetails>
```

## Related endpoints

* [/ota/OTA_HotelDescriptiveContentNotif](/connectivity/docs/ota-hoteldescriptivecontentnotif)