Introduction
Accounting integrations are crucial for bridging the gap between your AP automation solution and your customers’ accounting software. This guide outlines how to leverage accounting integrations through RootFi’ Unified Accounting API, facilitating the development of an end-to-end automated AP product.What is the Accounts Payable (AP) Workflow?
- Bill Collection: Capture and log bills received from suppliers.
- Bill Verification: Validate bill details against purchase orders.
- Execute Approval: Route bills for approval based on predefined workflows.
- Payment Processing: Execute payment to suppliers upon approval.
- Reconciliation: Match bills and bill payments with transactions in accounting systems.
The Role of Accounting Integrations and RootFi’ Unified Accounting API
While essential, developing and maintaining multiple accounting integrations in-house is resource-intensive. RootFi’ Unified API simplifies this process by providing a single API to connect with over 20 accounting platforms. The benefits of a Unified API include:- Global Connectivity: Simplifies integration with multiple accounting platforms, ensuring maximum coverage for current and future customers.
- Accelerated Go-to-Market: Integrating with one Unified API significantly reduces the time required to build, test, and launch an integrated product.
- Cost Savings: Lowers the overall cost of developing and maintaining integrations, allowing resources to focus on core product development.
- Maintenance Ease: Offloads integration maintenance responsibilities, enabling your team to focus on core product enhancement.
How to Build an Automated Accounts Payable (AP) Product with a Unified Accounting API
You can handle all of the common workflows required to offer your customers an Accounts Payable (AP)/ Bill Payment product. Here’s a summary of the steps involved:- (One-Time Activity) Connect a customer’s accounting systems with RootFi’ Authentication Flow.
- Use the Bills API to create a Bill and link Contacts, Purchase Orders, Items, and Accounts to the respective Bill.
- Upload Documents to their respective Expense/Bill.
- Create and Link Bill Payments, Purchase Orders, Good Reciept Notes, Bill Credit Notes, Contacts and Open Bills.
1
Connect with your customers' accounting platform (One-Time Activity)
RootFi provides two convenient options to connect with your customers’ accounting platform:
- Use RootFi’ Connect Link, a convenient and secure URL, or
- Embed RootFi’ Connect SDK into your application
- Use our Dashboard or APIs to connect a customer’s accounting platform. Use POST/invite-links, and provide a name for your customers’ company.
- A unique
company_id
will be generated once your customer completes the authentication flow. Thiscompany_id
will be used to read and write data to their accounting platform.
2
Create a Bill (Recurring)
Use POST/bills to create bills.Important points to note:
- Contacts: This is the vendor linked to the Bill. Use GET/contacts and POST/contacts. A Contact ID is required to post a Bill, so if the contact doesn’t exist on the accounting platform, create a new vendor using POST/contacts.
- Expense Account or Debited Account: You can push multiple line items (usually just 1) when pushing an bill. Each line item will have an expense account associated (category = ‘expense’). GET/accounts lets you fetch all accounts, and you can filter the account type by category = ‘expense’.
- Purchase Order: Most companies usually issue Purchase Orders before a bill is generated. The Purchase Order ID can be passed in POST/bills to link the purchase order and bill.
- Credit Account (Not Required): When you use POST/bills, bills are automatically placed under the Account - category = ‘liability’ and account_type = ‘accounts_payable’.
3
Upload Documents (Recurring)
POST/documents lets you upload a file to an expense, invoice, or bill. When posting a document you will be required to pass the field
document_type_id
, which represents the platform_id
that will be returned after you create a bill.4
Link Bill Payment and Credit Notes
A Bill Payment credits an account that serves as the source of funds for the payment (Credit Card or Bank).
- Use POST/bill_payments to create and link bill payments.
- Use POST/bill_credit_notes to create a Bill Credit note, which can be linked to a Vendor.