get https://api-dev.golendica.com/api/v1/partner/status/bills
Retrieves the status of a bill for a company.
In Lendica's ecosystem, a bill signifies an A/P invoice submitted to Lendica for a PayLater deal.
Request parameters
partner_company_uuid
- required - ID of the company in the partner system.partner_invoice_uuid
- optional- This is the unique identifier for an invoice or bill as stored in the partner's database. When this identifier is stored in Lendica, it allows for precise tracking and retrieval of specific deals.
Without partner_invoice_uuid
: If you make a request without specifying this parameter, the system will return a comprehensive list of all invoices associated with the company.
With partner_invoice_uuid
: If you include this parameter and there's a corresponding deal in Lendica, the response will contain detailed information about that specific invoice.
Statuses
- Created
- Description: This is the initial status when an invoice/bill is first created in the Lendica system. It has not yet been considered for financing or associated with any deal.
- Implications: The invoice/bill is in its preliminary state and is awaiting further actions or review.
- Initialized
- Description: This status indicates that the invoice/bill has been reviewed and a corresponding deal has been created, meaning that financing has been approved.
- Implications: The invoice/bill is now linked to a deal, and the process of financing is underway.
- Archived
- Description: The invoice/bill has been archived and is no longer active. This status is set when an invoice/bill is not associated with any deal and has been marked as inactive or completed without further processing.
- Implications: The invoice/bill is effectively closed and cannot be used for further financing.
Partners are encouraged to monitor these statuses and adapt any necessary workflows or actions within their systems accordingly.