Skip to content

QuickBooks: Void an invoice — request body — body Line item Custom Extensions, Description, Detail Type, Group Line Detail, Id, Line Num Group Line Detail

Void an invoice: request body, field body / Line / item / CustomExtensions, Description, DetailType, GroupLineDetail, Id, LineNum / GroupLineDetail. Complete fields and constraints for contract 2026-10-20.

API reference · Contract 2026-10-20

SDK schema: Void an invoice — request body — body Line item Custom Extensions, Description, Detail Type, Group Line Detail, Id, Line Num Group Line Detail

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: allowed
GroupItemRefModelOptionalExpand Create a purchase order — request body — body Ship To
Reference to a group item for all the lines that belong to the bundle. Query the Item name list resource to determine the appropriate Item group object ( Item.Type=Group ) for this reference. Use Item.Id and Item.Name from that object for GroupItemRef.value and GroupItemRef.name , respectively.
LinearrayOptionalIndividual ItemLine elements that comprise a bundle. Returned in responses.
Line[]ModelEach itemExpand Create a change order — request body — body Line item
QuantityJSONOptionalQuantity of the group item.
Decimal string
Quantity (anyOf 1)numberAlternative
Quantity (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:.[0-9]+)?$

Referenced models: Create a purchase order — request body — body Ship To, Create a change order — request body — body Line item

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.