Submit an invoice for FundNow
Overview
This endpoint processes a partner invoice for the Lendica FundNow program. The request body should include either a complete invoice with customer details or a simplified invoice with just the amount for financing. For batch financing with multiple invoices from the same company, a master invoice will be the total of all child invoices. The child_invoices
property in the invoice object can be used to include multiple child invoices under a master invoice.
Configuration Options:
- Disbursement Configuration (
pay_partner_platform
):- If set to
true
, Lendica will disburse the funds to your platform's bank account instead of the company's bank account. - The company will still be able to track their advance in the portal.
- If set to
- Repayment Configuration (
collect_from_partner_platform
):- If set to
true
, Lendica will collect repayments from your platform's bank account instead of from the customer's bank account. - Your platform will be responsible for collecting repayments from the customer.
- If set to
Authentication: Include your API key in the Authorization
header using the format Api-Key {your_api_key}
.
Invoice Submission Options
FundNow supports two types of invoice submissions:
1. Complete Invoice
- Include full invoice details including customer information, due dates, line items, etc.
- Useful when you want to maintain detailed records and enable invoice tracking.
- Required fields:
partner_invoice_uuid
,total
,company
- Optional fields:
customer
,due_date
,line_items
, etc.
2. Amount-Only Invoice
- Submit just the financing amount without detailed invoice information.
- Useful for quick financing requests or when invoice details aren't available.
- Required fields:
partner_invoice_uuid
,total
,company
- All other invoice fields are optional.
Batch Financing with Child Invoices
For financing multiple invoices in a single deal:
- Use the
child_invoices
property in the main invoice object. - Each child invoice can be either complete or amount-only.
- The master invoice's
total
should equal the sum of all child invoice totals. - All invoices in a batch must be from the same company.
Fetching Deal Status
View the Deal Status API documentation here:
After creating a FundNow deal, you can handle business logic based on the deal's status.
- API Endpoint:
/partner/status/deals
(from Lendica's Status API) - Data Required:
partner_company_uuid
andpartner_invoice_uuid
to identify the company and invoice.
Flow:
- API Request: Send a GET request to Lendica's
/partner/status/deals
endpoint with thepartner_company_uuid
andpartner_invoice_uuid
. - Data Retrieval: Lendica responds with the deal details.
- Integration Logic: Use this information within your platform to handle the relevant logic.