Skip to content

QuickBooks: Create a charge — response body — context restaurant

Create a charge: response body, field context / restaurant. Complete fields and constraints for contract 2026-10-20.

API reference · Contract 2026-10-20

SDK schema: Create a charge — response body — context restaurant

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: allowed
beverageAmountJSONOptionalThe amount of the current charge attributed to beverages.
Decimal string
beverageAmount (anyOf 1)JSONAlternative
beverageAmount (anyOf 1) (anyOf 1)numberAlternative
beverageAmount (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
beverageAmount (anyOf 2)stringAlternative
foodAmountJSONOptionalThe amount of the current charge attributed to food.
Decimal string
foodAmount (anyOf 1)JSONAlternative
foodAmount (anyOf 1) (anyOf 1)numberAlternative
foodAmount (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
foodAmount (anyOf 2)stringAlternative
serverIDstringOptionalThe 2-digit string that identifies the individual server responsible for the transaction. Restaurant assign their own identifiers to their servers.
taxAmountJSONOptionalThe amount of the current charge attributed to tax.
Decimal string
taxAmount (anyOf 1)JSONAlternative
taxAmount (anyOf 1) (anyOf 1)numberAlternative
taxAmount (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
taxAmount (anyOf 2)stringAlternative
tipAmountJSONOptionalThe amount of the current charge attributed to tips.
Decimal string
tipAmount (anyOf 1)JSONAlternative
tipAmount (anyOf 1) (anyOf 1)numberAlternative
tipAmount (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
tipAmount (anyOf 2)stringAlternative

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.