02 Accounting Integration
Accounting Integration Guide
Overview
Accounting integrations synchronize your notarial platform with popular accounting software, eliminating manual data entry and ensuring accurate financial records. Automatically sync invoices, payments, expenses, and client information.
Supported Accounting Platforms
QuickBooks Online
- Best for: Small to medium businesses
- Features: Invoice sync, payment tracking, expense management
- Setup: OAuth authentication
- Sync Type: Bidirectional
Xero
- Best for: Small businesses, accountants
- Features: Comprehensive accounting, bank feeds, reporting
- Setup: OAuth authentication
- Sync Type: Bidirectional
FreshBooks
- Best for: Freelancers, service providers
- Features: Time tracking, invoicing, expense management
- Setup: API key authentication
- Sync Type: Bidirectional
Sage Business Cloud
- Best for: Growing businesses
- Features: Multi-currency, inventory, payroll
- Setup: OAuth authentication
- Sync Type: Bidirectional
Wave Accounting
- Best for: Free accounting solution
- Features: Invoicing, payroll, receipts
- Setup: API authentication
- Sync Type: Bidirectional
Getting Started
Prerequisites
Before setting up accounting integrations:
- Active Accounting Subscription: Current subscription with provider
- Admin Access: Permission to connect third-party apps
- Clean Data: Organized accounting data
- Backup: Current backup of accounting data
Step 1: Access Accounting Settings
- Navigate to Dashboard → Settings → Integrations
- Click on the Accounting tab
- Select your accounting provider
Step 2: Authenticate with Provider
OAuth Providers (QuickBooks, Xero, Sage)
- Click Connect [Provider Name]
- You'll be redirected to provider's login
- Sign in with your accounting credentials
- Grant necessary permissions
- Select your company/file to connect
- Return to the platform
API Key Providers (FreshBooks, Wave)
- Log into your accounting provider
- Navigate to settings/developer options
- Generate an API key or token
- Copy the credentials
- Return to the platform and enter the key
- Test the connection
Step 3: Configure Sync Settings
Data Selection
Choose what to sync:
- Customers/Sync Clients: Import/export client information
- Invoices: Sync invoices and payments
- Payments: Track payment status
- Expenses: Import expense data
- Chart of Accounts: Maintain consistent accounts
Sync Direction
- Import Only: Pull data from accounting to platform
- Export Only: Push platform data to accounting
- Bidirectional: Sync both ways (recommended)
- Manual: Sync on demand
Sync Frequency
- Real-time: Immediate updates
- Hourly: Every hour
- Daily: Once daily
- Weekly: Once weekly
- Manual: Trigger manually
Step 4: Map Data Fields
Configure field mappings to ensure data matches:
Customer/Client Mapping
- Platform Fields → Accounting Fields
- Company Name → Customer Name
- Email → Contact Email
- Phone → Phone Number
- Address → Billing Address
- Tax ID → VAT/Tax ID
Invoice Mapping
- Invoice Number → Invoice Number
- Issue Date → Invoice Date
- Due Date → Due Date
- Line Items → Line Items
- Tax → Tax Amount
- Total → Total Amount
Step 5: Test and Activate
- Run Test Sync: Sync a small data set first
- Review Results: Check mapped data in both systems
- Adjust Mappings: Fix any field mapping issues
- Full Sync: Run complete synchronization
- Activate: Enable ongoing sync
Data Sync Details
What Gets Synced
From Platform to Accounting
Clients/Customers
- Name, email, phone
- Billing and shipping addresses
- Tax IDs and business numbers
- Contact information
Invoices
- Invoice number and dates
- Line items and descriptions
- Quantities and prices
- Taxes and discounts
- Payment terms
Payments
- Payment date and amount
- Payment method
- Reference numbers
- Applied invoices
Expenses
- Vendor information
- Expense categories
- Amounts and dates
- Receipts and documentation
From Accounting to Platform
Customer Updates
- Address changes
- Contact updates
- Payment terms
Invoice Status
- Paid/unpaid status
- Payment amounts
- Write-offs and credits
Chart of Accounts
- Account categories
- Tax rates
- Payment methods
Sync Conflict Resolution
When data conflicts occur:
- Timestamp Priority: Most recent update wins
- Manual Override: User can specify which to keep
- Field-level: Resolve conflicts per field
- Review Queue: Flag conflicts for manual review
Using Accounting Data in the Platform
Real-time Updates
Once connected:
- Invoice payments automatically update in platform
- Client information stays synchronized
- Expense data imports automatically
- Financial reports are current
Financial Dashboard
View consolidated data:
- Revenue: Total invoiced and paid
- Expenses: Imported from accounting
- Profit Margins: Calculate automatically
- Cash Flow: Track money in/out
Reporting
Generate reports using combined data:
- Profit & Loss: Consolidated view
- Aging Reports: Outstanding invoices
- Tax Reports: Sales tax summary
- Custom Reports: Your specific needs
Best Practices
Before Syncing
- Backup Everything: Full backups of both systems
- Clean Data: Remove duplicates and errors
- Set Expectations: Inform team about changes
- Schedule Downtime: Plan sync during off-hours
During Initial Sync
- Start Small: Sync a subset first
- Monitor Progress: Watch for errors
- Verify Data: Check sample records
- Rollback if Needed: Don't hesitate to stop
Ongoing Operations
- Regular Reviews: Check sync status weekly
- Error Monitoring: Address issues quickly
- User Training: Train team on workflow
- Documentation: Keep procedures updated
Security Considerations
- Access Control: Limit who can sync
- Credentials: Store securely
- Audit Trail: Monitor sync activities
- Compliance: Follow accounting standards
Troubleshooting
Common Issues
Authentication Errors
- Expired Tokens: Refresh authentication
- Permissions: Check app permissions
- Multi-factor: Complete 2FA if required
- Company Access: Verify user has company access
Sync Failures
- Network Issues: Check internet connection
- API Limits: Exceeded rate limits
- Data Format: Incompatible data
- Validation Errors: Required fields missing
Data Mismatches
- Field Mappings: Review mapping rules
- Data Types: Ensure type compatibility
- Required Fields: Map all required fields
- Character Limits: Check field length limits
Error Messages
"Connection Failed"
- Verify credentials are correct
- Check if provider service is up
- Ensure firewall allows connection
"Field Mapping Error"
- Review field mappings
- Check if required fields are mapped
- Verify data types match
"Sync Partially Failed"
- Check error details in logs
- Sync failed items individually
- Address data quality issues
Getting Help
Self-Service
- Status Page: Check provider status
- Documentation: Review integration guides
- Community: Ask in user forums
- FAQ: Common questions and answers
Support Contact
- Support Ticket: Submit detailed issue
- Include Logs: Attach error messages
- Screenshot: Visuals help diagnosis
- Urgency: Mark if business critical
Advanced Features
Custom Field Mapping
Create custom field mappings:
- Go to Advanced Settings
- Click Custom Mappings
- Define field relationships
- Test with sample data
Transaction Rules
Set up rules for:
- Automatic Categorization: Classify expenses
- Tax Handling: Apply tax rules
- Duplicate Prevention: Avoid double entries
- Approval Workflows: Require review
Multi-Entity Support
For businesses with multiple entities:
- Separate Integrations: One per entity
- Cross-Entity: Map between entities
- Consolidation: Roll up reports
- Inter-company: Handle transfers
API Access
For developers:
- API Keys: Generate access tokens
- Webhooks: Receive real-time updates
- Bulk Operations: Process large datasets
- Custom Apps: Build integrations
Compliance and Security
Data Protection
- Encryption: Data encrypted in transit and at rest
- Access Logs: Track all data access
- Retention: Follow data retention policies
- GDPR/CCPA: Comply with regulations
Accounting Standards
- GAAP: Follow Generally Accepted Accounting Principles
- SOX: Sarbanes-Oxley compliance if applicable
- Audit Trail: Maintain complete audit history
- Documentation: Keep integration records
Backup and Recovery
- Automated Backups: Schedule regular backups
- Point-in-Time: Restore specific dates
- Disaster Recovery: Plan for failures
- Testing: Regularly test restores
Cost Considerations
Integration Costs
- Setup: Usually free
- Transaction Fees: Some providers charge per sync
- API Calls: Monthly API usage limits
- Storage: Data storage costs
ROI Calculation
Measure value:
- Time Saved: Hours reduced from manual entry
- Error Reduction: Fewer data entry mistakes
- Faster Invoicing: Improved cash flow
- Better Reporting: Real-time insights
Future Enhancements
Planned Features
- AI Categorization: Auto-categorize expenses
- Predictive Analytics: Cash flow forecasting
- Mobile Apps: Access on mobile devices
- Advanced Reporting: Custom report builder
- Multi-Currency: Better currency support
Integration Marketplace
Connect with more services:
- Banking: Direct bank feeds
- Payroll: Employee payment systems
- Inventory: Stock management
- E-commerce: Online sales platforms
Quick Reference
Sync Commands
- Manual Sync: Trigger immediate sync
- Full Sync: Sync all historical data
- Incremental: Sync only recent changes
- Dry Run: Preview sync without execution
Rate Limits
- QuickBooks: 500 calls/minute
- Xero: 60 calls/minute
- FreshBooks: 100 calls/minute
- Sage: 100 calls/minute
Support Contacts
- QuickBooks: QuickBooks Developer Support
- Xero: Xero Developer Support
- FreshBooks: FreshBooks API Support
- Platform: Your dedicated support team