# Total

Multiple parents
`Total` is a child of:

* [Route](/connectivity/docs/api-reference/route) / [Price](/connectivity/docs/api-reference/price)
* [Service](/connectivity/docs/api-reference/service) / [Price](/connectivity/docs/api-reference/price)
* [Rate](/connectivity/docs/api-reference/rate)
* [ResGlobalInfo](/connectivity/docs/api-reference/resglobalinfo)
* [RoomStay](/connectivity/docs/api-reference/roomstay)


## [Route](/connectivity/docs/api-reference/route) / [Price](/connectivity/docs/api-reference/price)

### Fields

| Field | Description | Type | Min/max | Notes |
|  --- | --- | --- | --- | --- |
| [Price](/connectivity/docs/api-reference/price)/`Total` | Contains the cancellation fees for a cancelled reservation. | object | 1..1 | `Total` has no `@DecimalPlaces` attribute in this context. |
| `Total`/`@AmountAfterTax` | The price, including VAT and/or other taxes, with up to two decimals. | float | 0..1 | - |
| `Total`/`@AmountBeforeTax` | The price, excluding VAT and/or other taxes, with up to two decimals. | float | 0..1 | - |


### XML


```xml
<Total
  AmountAfterTax="37000"
  CurrencyCode="EUR" />
```

## [Service](/connectivity/docs/api-reference/service) / [Price](/connectivity/docs/api-reference/price)

### Fields

| Field | Description | Type | Min/max | Notes |
|  --- | --- | --- | --- | --- |
| [Price](/connectivity/docs/api-reference/price)/`Total` | Contains the cancellation fees for a cancelled reservation. | object | 1..1 | `Total` has no `@DecimalPlaces` attribute in this context. |
| `Total`/`@AmountAfterTax` | The amount after taxes | float | 0..1 |  |
| `Total`/`@CurrencyCode` | The currency code of the price | enum | 0..1 |  |


### XML


```xml
<Total
  AmountAfterTax="37.35"
  CurrencyCode="EUR" />
```

# [Rate](/connectivity/docs/api-reference/rate)

### Fields

| Field | Description | Type | Min/max | Notes |
|  --- | --- | --- | --- | --- |
| [Rate](/connectivity/docs/api-reference/rate)/`Total` | The total price for the current combination of room type and date. | object | 1..1 | - |
| `Total`/`@AmountAfterTax` | The price, including VAT and/or other taxes, before applying decimals (`@DecimalPlaces`). | integer | 0..1 | `AmountAfterTax` is returned if VAT and/or other regionally applicable taxes are marked as included for the current room type in [Extranet](https://admin.booking.com). Otherwise, `AmountBeforeTax` is returned. |
| `Total`/`@AmountBeforeTax` | The price, excluding VAT and/or other taxes, before applying decimals (`@DecimalPlaces`). | integer | 0..1 | `AmountBeforeTax` is returned if VAT and/or other regionally applicable taxes are *not* marked as included for the current room type in [Extranet](https://admin.booking.com). Otherwise, `AmountAfterTax` is returned. |
| `Total`/`@DecimalPlaces` | The number of decimal places to apply to `@AmountBeforeTax` or `@AmountAfterTax`. E.g.: `13350` with `DecimalPlaces="2"` results in 133.50. | integer | 1..1 | Booking.com supports up to 3 decimals. |
| `Total`/`@CurrencyCode` | The [currency code](/connectivity/docs/b_xml-currencies). | enum | 1..1 | Booking.com defines the currency for each property. You cannot change the currency yourself. Retrieve a list of all currency codes with [/xml/currencies](/connectivity/docs/b_xml-currencies). |


### XML


```xml
<Total
  AmountAfterTax="37000"
  CurrencyCode="EUR"
  DecimalPlaces="2" />
```

## [ResGlobalInfo](/connectivity/docs/api-reference/resglobalinfo)

### Fields

| Field | Description | Type | Min/max | Notes |
|  --- | --- | --- | --- | --- |
| [ResGlobalInfo](/connectivity/docs/api-reference/resglobalinfo)/`Total` | The total price for the current combination of room type and date. | object | 1..1 | - |
| `Total`/`@AmountAfterTax` | The price, including VAT and/or other taxes, before applying decimals (`@DecimalPlaces`). | int | 0..1 |  |
| `Total`/`@AmountBeforeTax` | The price, excluding VAT and/or other taxes, before applying decimals (`@DecimalPlaces`). |  |  |  |
| `Total`/`@DecimalPlaces` | The number of decimal places to apply to `@AmountBeforeTax` or `@AmountAfterTax`. E.g.: `13350` with `DecimalPlaces="2"` results in 133.50. |  |  |  |
| `Total`/`@CurrencyCode` | The [currency code](/connectivity/docs/b_xml-currencies). | enum | 1..1 | Booking.com defines the currency for each property. You cannot change the currency yourself. Retrieve a list of all currency codes with [/xml/currencies](/connectivity/docs/b_xml-currencies). |


### XML


```xml
<Total
  AmountAfterTax="37000"
  CurrencyCode="EUR"
  DecimalPlaces="2" />
```

## [RoomStay](/connectivity/docs/api-reference/roomstay)

### Fields

| Field | Description | Type | Min/max | Notes |
|  --- | --- | --- | --- | --- |
| [Rate](/connectivity/docs/api-reference/rate)/`Total` | The total price for the current combination of room type and date. | object | 1..1 | - |
| `Total`/`@AmountAfterTax` | The price, including VAT and/or other taxes, before applying decimals (`@DecimalPlaces`). | integer | 0..1 | `AmountAfterTax` is returned if VAT and/or other regionally applicable taxes are marked as included for the current room type in [Extranet](https://admin.booking.com). Otherwise, `AmountBeforeTax` is returned. |
| `Total`/`@AmountBeforeTax` | The price, excluding VAT and/or other taxes, before applying decimals (`@DecimalPlaces`). | integer | 0..1 | `AmountBeforeTax` is returned if VAT and/or other regionally applicable taxes are *not* marked as included for the current room type in [Extranet](https://admin.booking.com). Otherwise, `AmountAfterTax` is returned. |
| `Total`/`@DecimalPlaces` | The number of decimal places to apply to `@AmountBeforeTax` or `@AmountAfterTax`. E.g.: `13350` with `DecimalPlaces="2"` results in 133.50. | integer | 1..1 | Booking.com supports up to 3 decimals. |
| `Total`/`@CurrencyCode` | The [currency code](/connectivity/docs/b_xml-currencies). | enum | 1..1 | Booking.com defines the currency for each property. You cannot change the currency yourself. Retrieve a list of all currency codes with [/xml/currencies](/connectivity/docs/b_xml-currencies). |


### XML


```xml
<Total
  AmountAfterTax="37500"
  CurrencyCode="EUR"
  DecimalPlaces="2" />
```

## Related endpoints

* [/ota/OTA_HotelResNotif](/assets/ota-resnotif.0246048b9c717d1a5855d6674e26c38dabca2d621c6e35c8db7aba16f8794661.53c68abe.md)
* [/ota/OTA_HotelResModifyNotif](/assets/ota-resmodifynotif.db8d41e1bc79646e4858455554c34b992ccb01469da7502fbb3cc803dccb64f5.53c68abe.md)