Overview
Overview of store integration.
Store Integration
The store integration allows you to automatically synchronize orders from BrickLink and Brick Owl with BrickInvoice.
How does it work?
The integration connects to your store accounts via their APIs and retrieves order data automatically:
1. API Connection
First, you connect your store accounts by providing API credentials. This establishes a secure connection between your store and our system.
2. Order Retrieval
The system regularly fetches new orders from your connected stores, including:
- Order details (products, quantities, prices)
- Customer information
- Order status and dates
3. Data Processing & VAT Calculation
Retrieved orders are processed and stored in our database. During processing, the system automatically calculates VAT based on:
- Location Logic: Compares seller and buyer locations (same country, EU-to-EU, international)
- VAT Rates: Uses country-specific VAT rates
- Margin Scheme Rules: Applies margin scheme logic for eligible products
Processed orders can then be:
- Viewed and managed through the interface
- Synchronized with your accounting software
Cutoff Date Management
You can set a cutoff date to control which orders are synchronized:
- Orders placed after the cutoff date will be imported
- Orders before the cutoff date are ignored
- This prevents importing old historical data you may not need
Automatic Synchronization
The system automatically synchronizes orders from your connected stores on a regular schedule. This ensures:
- New orders are imported promptly
- You don't miss any sales
- Your data stays up-to-date without manual intervention
Re-sync store order
You can re-sync store orders to recalculate VAT and margin scheme classifications based on your current settings. This is especially useful when:
- VAT calculations were incorrect due to wrong settings
- Margin scheme settings were changed after the initial sync
Error Handling
If synchronization fails, you'll be notified of any issues:
- Connection problems with store APIs
- Invalid API credentials
- Rate limiting from stores
- Data format issues
The system will retry failed synchronizations automatically and provide detailed error information to help resolve any issues.
Trial Users
Trial users can synchronize orders normally, but there are limits on how many orders can be processed through the accounting integration (25 orders maximum).