# Bill.com

## Overview  
The Bill.com integration allows you to seamlessly sync payables data between Bill.com and DualEntry. Vendor records, bills, credits, payments, and classifications are imported automatically so your financial data stays complete and up to date.  
This bidirectional sync reduces manual work, prevents data discrepancies, and gives your team a reliable, unified view of payables activity.

## Data synced  
The integration syncs the following data types:

- **Vendors**  
  Bill.com → DualEntry  
  Creates/maps Vendor objects; fuzzy-matches by name
- **Funding Accounts**  
  Bill.com → DualEntry  
  Bank accounts from [Bill.com](https://www.bill.com/) → Account objects
- **Bills**  
  Bill.com → DualEntry  
  Full bill import with line items, attachments, exchange rates
- **Vendor Credits**  
  Bill.com → DualEntry  
  Creates VendorCredit + VendorPrepaymentApplication records
- **Vendor Payments**  
  Bill.com → DualEntry  
  VendorPayment records linked to bills, handles voids
- **Customers**  
  Bill.com → DualEntry  
  Customer master data
- **Classifications**  
  Bill.com → DualEntry  
  Departments, Employees, Jobs, Locations, Accounting Classes
- **Bill Additional Attributes**  
  Bill.com → DualEntry  
  Approval status enrichment
- **Accounts (CoA)**  
  DualEntry → Bill.com  
  Creates/updates/archives/restores CoA entries in [Bill.com](https://www.bill.com/)
- **Items**  
  Bill.com → DualEntry  
  Imports/maps items from Bill.com for bill lines

## Key Features  
1. **Automated Vendor Sync**  
   Import vendors from Bill.com into DualEntry with intelligent name matching to avoid duplicates.  
2. **Complete Bill Import**  
   Sync bills with full detail including line items, attachments, and exchange rates.  
3. **Payments and Credits Tracking**  
   Automatically import vendor payments and credits while preserving their relationships to the original bills.  
4. **Funding Account Mapping**  
   Bring Bill.com funding accounts into DualEntry as mapped account records.  
5. **Classification Sync**  
   Import operational classifications such as departments, jobs, employees, and locations.  
6. **Approval Status Visibility**  
   Bill approval statuses from Bill.com are included as additional attributes on synced bills.  
7. **Two-way chart of accounts**  
   DualEntry can create, update, archive, and restore chart-of-account entries in Bill.com so GL structure stays in sync.  
8. **Items from Bill.com**  
   Items are read from Bill.com into DualEntry so bill lines can resolve to the right products/services.

## FAQ  
**How often does the integration sync data?**  
The integration automatically syncs data on a recurring schedule (about every two hours in our default job configuration) to keep both systems up to date. Customers can trigger a sync from the DualEntry platform whenever data needs an on-demand refresh.

**Will existing vendors or accounts be duplicated?**  
No. The integration uses intelligent matching to map records and prevent duplicates whenever possible.

**What happens if a payment is voided in Bill.com?**  
Voided payments are automatically reflected in DualEntry during syncs so your records stay accurate. When a voided payment’s period is still open, the payment is reflected as voided/archived in DualEntry. If the period is locked, DualEntry may create reversal bills so the ledger stays correct without reopening the period.
