Introduction
The Ledgerflow API allows you to use the same code as if you were integrating with the Xero API but instead of returning data from Xero, you can return data from QuickBooks Online or Sage Accounting.
Ledgerflow Setup
Create a partner app to get the Ledgerflow OAuth clientId/secret https://flow.ledgerscope.com/
Configuration
Configuring Source Systems
You will need to create a developer account and app registration for each of the systems that you want to integrate with through Ledgerflow. This is to ensure that you have accepted the terms and conditions of the accounting platforms, and so that your customers are informed that it's your system they are granting access to. We've put together some instructions for setting up these connections:
Setting URLs
When calling the Ledgerflow API, you need to say which source accounting software you are targeting.
- https://xero.api.ledgerscope.com/{SourceAccountingSoftware}/connect/revocation
- https://xero.api.ledgerscope.com/{SourceAccountingSoftware}/connect/token
- https://xero.api.ledgerscope.com/{SourceAccountingSoftware}/connections
- https://xero.api.ledgerscope.com/{SourceAccountingSoftware}/identity/connect/authorize
If you have any existing code pointing to Xero, replace any instances of https://identity.xero.com, https://login.xero.com and https://api.xero.com with https://xero.api.ledgerscope.com
Source Accounting Software
- 1001 = Sage Desktop UK
- 1004 = QuickBooks Online
- 1009 = Sage Accounting
This number represents the accounting software that you wish to target as a source.
Ledgerflow Libraries
We have our own custom fork of some of Xero's wrappers to aid configuring the correct endpoints. We're hoping to get these changes merged back into Xero's repositories over time.