---
title: Child Object
slug: quickbooks/child-object
description: Learn about the importance of specifying fields on the Child Object and get guidelines for required field types in this document. Discover how the user will be prompted to create or use an existing QBO Product/Service if it doesn't exist. Enable Service D
docTags: 
createdAt: 2021-11-05T07:33:38.000Z
---

### Specifying the Child Object Fields

As well as specifying the Child Object, you must specify fields on that Child Object. Most fields are optional, except for a Product/Service, which is required on every line item.&#x20;

Also, please note that the field types must match. You must use a Date (or Date/Time, which will be transparently converted to a Date) for the Service Date field. Quantity and Unit Price are number fields (we accept up to 7 decimal places), and the Taxable field must be a Checkbox/ Boolean.

For Picklist fields (Classes in QuickBooks), you must use fields that match, exactly, case-sensitive to existing fields in your Accounting System. If we cannot find an exact match in your accounting system, we ignore those fields.

If the QuickBooks Product/Service, also known as the QuickBooks Inventory item (as specified by the *child\_object\_inventory\_name*), does not exist in QuickBooks as an Inventory Item, the user will be prompted to either create it or to use an existing Inventory Item for that invoice creation.&#x20;

Also, be aware that Service Date and Classes have to be explicitly enabled in QuickBooks Setup before Breadwinner can populate them. We cannot add new values to any of these; we are limited to populating these fields with values already in the accounting package.

:::CodeblockTabs
Button URL

```css
&child_object_inventory_name=name_field__c
&child_object_description=description__c
&child_object_service_date=service_date__c
&child_object_quantity=quantity_field
&child_object_unit_price=unit_price_field__c
&child_object_class=class_field__c
&child_object_taxable=is_taxable_field__c
&child_object_taxcode=taxcode_field__c
```
:::

### Line Item Tax Code

The Line Item Tax Code is available only for the QuickBooks Non-US Orgs. You can optionally populate the Line Item Tax Code using the Child object’s field. If you pass the field API name to the *child\_object\_taxcode* param, Breadwinner will show this field value on the Line Item Tax Code while creating the Invoice.

:::CodeblockTabs
Button URL

```css
&child_object_taxcode=taxcode_field__c
```
:::

### Line Item Inventory Site

The Line Item Inventory Site is available only for the QuickBooks Desktop. You can optionally populate the “Inventory Site” using the Child object’s field. If you pass the field API name to the *child\_object\_inventorysite* param, Breadwinner will show this field value on the Line Item Site while creating the Invoice.

:::CodeblockTabs
Button URL

```css
&child_object_inventorysite=api_field__c
```
:::

Note: Inventory Site setting should be enabled in the QuickBooks Desktop to populate the Inventory Site value using Breadwinner CURL

