π Problem Statement
As an internal finance team, I experience inefficiencies and manual work when managing payments to vendors, which results in delayed payments and inconsistent records.
π‘ User Story
As an admin user, I want to create, manage, and track vendor bills from the platform, so that I can streamline AP workflows without relying on external tools.
π― Definition of Done (DoD)
β Business users (Admins) can view and manage all Vendors from a dedicated section in the platform, with support for:
List view of all vendors with search, sort, and filter
Create, Read, Update, Delete (CRUD) operations using Laravel-based backend logic
Vendor details include
First name
Last name
Phone
Job title
Date of birth
β Business users can manage Bills through a separate Accounts Payable > Bills section, with:
List view of all bills, sortable and filterable by vendor, status, and date
CRUD operations for one-time
Each bill supports:
Line items (manual input)
PDF generation
β All actions (vendor creation, bill creation, updates, status changes, etc.) are powered by Pelcroβs CORE API endpoints, which:
Serve as the single source of truth
Are documented and stable for internal and future external use
Are consumed by the Admin UI as a client of the API
β This change will impact:
UI β Admin-only sections for Vendors and Bills
API β New versioned CORE endpoints (e.g., /vendors, /bills)
Backend β Laravel CRUD services for all related operations
β This solution will include the following limitations:
No vendor self-serve access (OpenAPI/SDK not yet exposed)
No delivery logic, rate automation, or accounting integrations
No tax calculation or international currency handling
Vendors Resource:
GET /v1/core/vendors β List vendors
POST /v1/core/vendors β Create vendor
GET /v1/core/vendors/{id} β Show vendor
PUT /v1/core/vendors/{id} β Update vendor
DELETE /v1/core/vendors/{id} β Delete vendor
Bills Resource:
GET /v1/core/billing/bills β List bills
POST /v1/core/billing/bills β Create bill
GET /v1/core/billing/bills/{id} β Show bill
POST /v1/core/billing/bills/{id}/finalize β Finalize bill
POST /v1/core/billing/bills/{id}/mark-as-paid β Mark bill as paid
Publisher Interface
Vendors Management:
GET /{site_id}/vendors β List vendors
GET /{site_id}/vendors/create β Create vendor form
GET /{site_id}/vendors/{vendor_id}/edit β Edit vendor form
GET /{site_id}/vendors/export β Export vendors
POST /{site_id}/vendors β Store vendor
GET /{site_id}/vendors/{vendor_id} β Show vendor
PUT /{site_id}/vendors/{vendor_id} β Update vendor
Bills Management:
GET /{site_id}/bills β List bills
GET /{site_id}/bills/create β Create bill form
POST /{site_id}/bills β Store bill
GET /{site_id}/bills/{bill_id} β Show bill
GET /{site_id}/bills/export β Export bills
POST /{site_id}/bills/{bill_id}/finalize β Finalize bill
POST /{site_id}/bills/{bill_id}/mark-as-paid β Mark as paid
Events:
Bills:
Bill\Created β When a bill is created
Bill\Finalized β When a bill is finalized
Bill\Paid β When a bill is marked as paid
Vendors:
Vendor\Created β When a vendor is created
Vendor\Updated β When a vendor is updated
Vendor\Deleted β When a vendor is deleted
Webhooks:
Bill Webhooks:
BillCreated β Webhook listener for bill creation
BillFinalized β Webhook listener for bill finalization
BillPaid β Webhook listener for bill payment
Vendor Webhooks:
VendorCreated β Webhook listener for vendor creation
VendorUpdated β Webhook listener for vendor updates
VendorDeleted β Webhook listener for vendor deletion
Please authenticate to join the conversation.
Available
Pelcro Product
10 months ago

Rana Haleem
Get notified by email when there are changes.
Available
Pelcro Product
10 months ago

Rana Haleem
Get notified by email when there are changes.