Skip to content

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

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

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.