Allows you to submit/upload your Pension Remittance schedule for your employees.
{
"Content-Type": "application/json"
"Authorization": "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.xxxxx"
}
{
"remittance_type": "COMPVOL",
"data": [
{
"pfa": "030",
"staff_id": "12345",
"pin": "PEN100xxxxxxxx69",
"employee_name": "John Doe",
"employer_contribution": 1000,
"employee_contribution": 1000,
"employer_voluntary": 500,
"employee_voluntary": 500,
"total_contribution": 3000,
"period": "May-2024"
}
]
}
{
"has_error": false,
"message": "Operation succeeded.",
"data": [
{
"ppid": "TX10xxxxxx02",
"amount_payable": 300000,
"payment_due_date": "2024-05-30 15:45:23",
"account_name": "John Doe Limited",
"account_number": 0123456789,
"bank_name": "Wema Bank",
"invoice_status": "PENDING",
"created_by": "John Doe",
"created_on": "2024-05-20 15:45:23"
}
]
}
This response indicates that everything went well and your schedule has uploaded successfully uploaded. This process also triggers an email with your invoice, carrying same information as in the above response.
Field | Description | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
has_error | Indicates whether or not the request results in an error | ||||||||||||||||||
message | The operation response message | ||||||||||||||||||
data |
Contains the invoice details to be used for making payment.
|
In the case where your schedule creation was successful but we are unable to generate an invoice, you will get the following response:
{
"success": true,
"message": "Schedule successfully saved but could not generate invoice at this time.
You can always generate the invoice at any time using the PPID assigned to this schedule.",
"data": [
{
"ppid": "TX10xxxxxx02",
"status": "PENDING INVOICE GENERATION",
"created_by": "John Doe",
"created_on": "2024-05-20 15:45:23"
}
]
}
This could be as a result of communication failure between PayPen and our Payment Gateway. A email is automatically triggered to PayPen to investigate the reason for this failure and proffer solution.
You can always make a call to the invoice creation endpoint in order to generate an invoice for your schedule.
In another scenario, you could run into a validation error, which may look like this:
{
"success": false,
"message": "Validation errors",
"errors": [
{
"Record 1": [
"PEN100xxxxxxxx69 is not a valid RSA PIN. A valid RSA PIN is 15 characters"
]
}
]
}