Deel Integration
Overview
Integration with Deel to sync time tracking data with contractor timesheets.
Deel API
Deel provides a REST API for developers to build integrations.
- Developer Portal: https://developer.deel.com/docs/welcome
- Help Center: https://help.letsdeel.com/hc/en-gb/articles/8801712601233-How-To-Use-Deel-API
Relevant API Resources
| Resource | Description |
|---|---|
| Timesheets | Submit and manage contractor timesheets |
| Contracts | Access contract information |
| Tasks | Manage tasks within contracts |
| Milestones | Track project milestones |
Authentication
Two authentication methods available:
API Token (recommended for personal use)
- Generate in Deel Developer Center
- Personal tokens inherit user permissions
- Organization tokens for broader access
OAuth 2.0 (for multi-user apps)
- Standard OAuth flow
- Required for distribution
Sandbox Environment
Deel provides a sandbox for testing:
- Create sandbox account from Developer Center
- Test with sample data
- No effect on production
Integration Scope
Phase 1: Export to Deel
- Export time records as timesheet entries
- Map tags to Deel contracts/tasks
- Manual sync trigger
Phase 2: Two-way Sync (Future)
- Import contracts from Deel
- Auto-create tags from contracts
- Sync timesheet status back
Data Mapping
| TimeTracker | Deel |
|---|---|
| TimeRecord | Timesheet entry |
| Tag | Contract/Task |
| startTime | Start datetime |
| endTime | End datetime |
| duration | Hours worked |
| comment | Description |
Configuration
Settings required:
- Deel API token
- Contract mapping (tag -> Deel contract ID)
- Default contract (for untagged records)
Implementation Notes
- Store API token securely in Keychain
- Respect Deel API rate limits
- Handle network errors gracefully
- Queue failed submissions for retry
Related
- 302-export - Export service
- 303-time-tracking - Time tracking service
- 910-backlog - Backlog