Accounts payable overview
Get a detailed, real-time view of your customers' supplier invoices to assess creditor risk
Our accounts payable feature offers a thorough breakdown of a borrower's creditors ledger sourced from their accounting platform. You can examine the ledger in its entirety or delve into specific supplier histories, enabling full automation of the payables financing process.
Use cases
Common uses of our accounts payable feature include:
Digital data collection: get an ongoing feed of supplier invoices.
Supplier risk analysis: gain insights into the borrower's relationship with the supplier including a fully history of bills, payment behaviour, and discounts provided on previous bills.
Feature components
Supported outputs
You can retrieve the data pulled and enriched by the feature by downloading a report in an Excel format or calling the accounts payable endpoints of our API.
For example, use the List suppliers endpoint to access the company's current suppliers for further assessment.
- TypeScript
- Python
- C#
- Go
const suppliersResponse = await lendingClient.accountsPayable.suppliers.list({
companyId: companyId,
query: 'status=Active'
});
if(suppliersResponse.statusCode != 200){
throw new Error("Could not get current suppliers")
}
console.log(suppliersResponse.suppliers[0].supplierName)
suppliers_request = operations.ListAccountingSuppliersRequest(
company_id=company_id,
query='status=Active'
)
suppliers_response = lending_client.accounts_payable.suppliers.list(suppliers_request)
if suppliers_response.status_code != 200:
raise Exception('Could not get current suppliers')
print(suppliers_response.suppliers[0].supplier_name)
var suppliersResponse = await lendingClient.AccountsPayable.Suppliers.ListAsync(new() {
CompanyId = companyId,
Query = "status=Active"
});
if(suppliersResponse.StatusCode != 200){
throw new Exception("Could not get current suppliers");
}
Console.WriteLine(suppliersResponse.Suppliers[0].SupplierName);
ctx := context.Background()
suppliersResponse, err := lendingClient.AccountsPayable.Suppliers.List(ctx,
operations.ListAccountingSuppliersRequest{
CompanyID: companyID,
Query: "status=Active",
})
if suppliersResponse.StatusCode == 200 {
fmt.Println(suppliersResponse.Suppliers[0].SupplierName)
}
Get started
Once you have the Lending API enabled, configure your instance to work with our accounts payable feature.
Configure data sources
Follow the respective guides to set up and enable accounting integrations that will serve as a data source for the feature:
Enable data types and sync schedule
See how to enable data types and ensure the following data types have been switched on:
- Suppliers
suppliers
- Bills
bills
- Bill payments
billPayments
- Bill credit notes
billCreditNotes
Configure the solution to refresh data when you need it by setting a synchronization frequency. We recommend setting it to a daily or monthly sync.
Configure webhooks
We recommend you configure webhook consumers with the following event types to manage your data pipelines. These webhooks send a message for each dataType
separately.
Dataset status has changed to an error state
If you receive a message from this webhook, it means an issue occurred when syncing the specified data type. Resolve the issue and initiate the sync for this dataset again.
If you receive a message from this webhook, it means data has been updated for the specified data type. This can include new, updated or deleted data. You should then refresh the data in your platform.