# Retrieve Custom Field Value from QuickBooks Online

The process of retrieving value from custom field of QuickBooks Online is discussed below with the example.

**Syntax**

```
TargetField > VALUE("CustomField[Name='Custom_Field name']/StringValue")
```

Let us take an example of custom field ***SalesRep*** in Invoice of QuickBooks Online. To retrieve the value of this field and to insert in the Target field ***Salesrep*****\_\_c** of Salesforce Opportunity.

TargetField should be ***Salesrep*****\_\_c.**

The query to retrieve the value from custom field SalesRep should be:

***VALUE("CustomField\[Name='SalesRep']/StringValue")***
