QuickBooks: Create a charge — request body — body context restaurant
Create a charge: request body, field body / context / restaurant. Complete fields and constraints for contract 2026-10-20.
API reference · Contract 2026-10-20
SDK schema: Create a charge — request body — body context restaurant
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: allowed |
beverageAmount | JSON | Optional | The amount of the current charge attributed to beverages. Decimal string |
beverageAmount (anyOf 1) | number | Alternative | |
beverageAmount (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:.[0-9]+)?$ |
foodAmount | JSON | Optional | The amount of the current charge attributed to food. Decimal string |
foodAmount (anyOf 1) | number | Alternative | |
foodAmount (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:.[0-9]+)?$ |
serverID | string | Optional | The 2-digit string that identifies the individual server responsible for the transaction. Restaurant assign their own identifiers to their servers. Maximum length: 2 |
taxAmount | JSON | Optional | The amount of the current charge attributed to tax. Decimal string |
taxAmount (anyOf 1) | number | Alternative | |
taxAmount (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:.[0-9]+)?$ |
tipAmount | JSON | Optional | The amount of the current charge attributed to tips. Decimal string |
tipAmount (anyOf 1) | number | Alternative | |
tipAmount (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:.[0-9]+)?$ |