Supplier Payments
POST
Create Supplier Payment
Create a new supplier payment with the provided information.
Required Permission:
Create Supplier Payment
POST
/supplier-payments
Request Body
JSONRequest Parameters
| Parameter | Type | Required | Validation | Description |
|---|---|---|---|---|
| supplier_id | Integer | Required | integer, required, exists:suppliers,id | ID of the supplier (must be active) |
| fund_id | Integer | Required | integer, required, exists:funds,id | ID of the fund (must be active) |
| amount | Numeric | Required | numeric, required, min:0.01 | Payment amount (minimum: 0.01) |
| payment_reference | String | Optional | string, nullable, max:255 | Payment reference number |
| note | String | Optional | string, nullable, max:255 | Additional notes |
Response
200 OKStatus Code
HTTP status code (200)
Message
Supplier payment created successfully
Data
Created supplier payment object