> ## Documentation Index
> Fetch the complete documentation index at: https://docs.upflow.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Chargebee Customers & Contacts

> Understand how Chargebee customers and contacts sync to Upflow, including data mapping, main contact selection, and how updates flow between systems.

## Customers

Customers created in Chargebee will be synced in Upflow within a few minutes with the related data.

#### Mapping with Upflow

| Upflow data | Data flow | Chargebee data   |
| ----------- | --------- | ---------------- |
| customer    | ←         | customer         |
| invoice     | ←         | invoice          |
| credit note | ←         | credit note      |
| payment     | ↔         | payment          |
| refund      | ←         | refund           |
| refund      | ←         | payment reversal |

#### Note: Customer hierarchy from Chargebee is not supported in Upflow.

## Contacts

The main contact is created using the customer details:

```
 firstName: customer.first_name,  
lastName: customer.last_name,  
email: customer.email.toLowerCase(),  
phone: customer.phone,  
isMain: true,  
},
```

Additional contacts are also created in Upflow by importing customers.billing addresses and customers.contacts.

### FAQ

**Can I see my customers hierarchy (parent/children) in Upflow?**

* This is not yet supported in our integration.
