A custom field added on Customer answers with AssignToObject listing Customer and five sales forms, DataExtID 0 and DataExtFormatString "Any text", and takes values on a sales order

Observed 2026-10-03 on QuickBooks Enterprise Solutions 24.0 (US), reporting qbXML 17.0.

A custom field (OwnerID 0) added with AssignToObject Customer is assigned to five sales forms as well, as Intuit's reference says. The answer lists them: AssignToObject Customer, then CreditMemo, Estimate, Invoice, SalesOrder and SalesReceipt, in that order, with DataExtID 0 and DataExtFormatString "Any text". The reference does not say what the answer shows.

This request added the field:

qbXML
<DataExtDefAddRq>
  <DataExtDefAdd>
    <OwnerID>0</OwnerID>
    <DataExtName>SHIP STATUS</DataExtName>
    <DataExtType>STR255TYPE</DataExtType>
    <AssignToObject>Customer</AssignToObject>
  </DataExtDefAdd>
</DataExtDefAddRq>

QuickBooks answered:

qbXML
<DataExtDefAddRs statusCode="0" statusSeverity="Info" statusMessage="Status OK">
<DataExtDefRet>
<OwnerID>0</OwnerID>
<DataExtID>0</DataExtID>
<DataExtName>SHIP STATUS</DataExtName>
<DataExtType>STR255TYPE</DataExtType>
<AssignToObject>Customer</AssignToObject>
<AssignToObject>CreditMemo</AssignToObject>
<AssignToObject>Estimate</AssignToObject>
<AssignToObject>Invoice</AssignToObject>
<AssignToObject>SalesOrder</AssignToObject>
<AssignToObject>SalesReceipt</AssignToObject>
<DataExtListRequire>false</DataExtListRequire>
<DataExtTxnRequire>false</DataExtTxnRequire>
<DataExtFormatString>Any text</DataExtFormatString>
</DataExtDefRet>
</DataExtDefAddRs>

A DataExtAdd with TxnDataExtType SalesOrder then set the field to "Packed" on a sales order and answered a DataExtRet with OwnerID 0, the name, the type and the value. A SalesOrderQueryRq for that TxnID with <OwnerID>0</OwnerID> answered the sales order with the same DataExtRet, placed after CustomerSalesTaxCodeRef and before FulfillmentStatus.

What to do

To put a custom field on sales orders, invoices, estimates, sales receipts or credit memos, assign it to Customer; you do not need to assign it to each form. Expect the answer's AssignToObject to list all six objects, and do not use DataExtID to tell custom fields apart, since it was 0. Name OwnerID 0 in your query to get the field's value back.

Not observed

  • A value on a credit memo, estimate, invoice or sales receipt; only a sales order was tried.
  • A custom field on Item, Employee or Vendor.
  • The DataExtID and DataExtFormatString of a private (GUID-owned) definition, or of a type other than STR255TYPE.

QuBe Sync is a JSON API for QuickBooks Desktop that is built on what these findings show.