Get List Invoice
This Get All Billing API Service functions to retrieve invoice list data for all invoice payments in Faspay Billing.
Method : GET
Development
https://fasbill-dev.faspay.co.id/billingbackendapi/web/billing/get-all-billing
Request Get All Billing
signature
Alphanumeric
Mandatory
Merchant's signature SHA1(MD5(username + password))
page
Numeric
Mandatory
Determine which page the transaction list should start. Minimal value is 1
customer_id
Numeric
Optional
ID Customer Faspay Billing
start_period
Date time
Mandatory
Start range date invoice period. Format:yyyy-mm-dd
end_period
Datetime
Mandatory
End range date invoice period. Format: yyyy-mm-dd
due_date
Datetime
optional
The final date for invoice payment. Format:yyyy-mm-dd
status
Alphanumeric
Mandatory
Invoice status:
0=Draft
1=Unpaid
2=Paid
3=Cancelled
4=Overdue
5=Partial Paid
7=Proforma.
{
"signature":"1ac4d5a611ec5376d8da43bbe33aaea1719076b6",
"page":"1",
"customer_id": 21,
"start_period":"2023-05-01 00:00:00",
"end_period":"2023-09-01 00:00:00",
"due_date":"2023-09-21 00:00:00",
"status":4,
}
Response Get All Billing
current_page
Numeric
Mandatory
Shows the currently active page
total_pages
Numeric
Mandatory
Total number of pages
total_data
Numeric
Mandatory
Total data
response_code
Mandatory
Response code 00 = Success
01 = Failed
data
Array object
Mandatory
List data object
customer_id
Numeric
Optional
ID Number customer
customer_name
Alphanumeric (255)
Mandatory
Customer name
invoice_date
Datetime
Mandatory
Invoice date/periode invoice
invoice_no
Numeric (255)
Mandatory
Invoice number
due_date
Datetime
Mandatory
Due date invoice
Invoice_status
Alphanumeric
Mandatory
Status of invoice
period
Numeric
Mandatory
Periode invoice. Format (YYYYMM)
outstanding_amount
Numeric
Mandatory
Invoice outstanding amount
message
Alphanumeric (255)
Mandatory
Message description
{
"current_page": "1",
"total_pages": 1,
"total_data": 6,
"response_code": "00",
"data": [
{
"customer_id": 32,
"customer_name": "PT. Media Indonusa (ASTEL Group)",
"invoice_date": "2023-02-07 00:00:00",
"invoice_no": "INV-FPY-022300178",
"due_date": "2023-02-08 10:04:00",
"invoice_status": "Paid",
"outstanding_amount": -400800,
"period": "202302"
},
{
"customer_id": 66,
"customer_name": "Fadhil Achmadi 2",
"invoice_date": "2023-02-23 00:00:00",
"invoice_no": "INV-T8V-022300005",
"due_date": "2023-03-09 15:07:00",
"invoice_status": "Paid",
"outstanding_amount": 0,
"period": "202302"
},
{
"customer_id": 66,
"customer_name": "Fadhil Achmadi 2",
"invoice_date": "2023-02-24 00:00:00",
"invoice_no": "INV-T8V-022300008",
"due_date": "2023-03-08 10:37:00",
"invoice_status": "Paid",
"outstanding_amount": 0,
"period": "202302"
},
{
"customer_id": 66,
"customer_name": "Fadhil Achmadi 2",
"invoice_date": "2023-02-24 00:00:00",
"invoice_no": "INV-T8V-022300007",
"due_date": "2023-04-20 09:50:00",
"invoice_status": "Paid",
"outstanding_amount": 0,
"period": "202302"
},
{
"customer_id": 99,
"customer_name": "MP2-Fadhil",
"invoice_date": "2023-02-27 00:00:00",
"invoice_no": "INV-MP2-022300002",
"due_date": "2023-03-22 17:03:00",
"invoice_status": "Draft",
"outstanding_amount": 456900,
"period": "202302"
},
{
"customer_id": 9,
"customer_name": "customer-new-single",
"invoice_date": "2023-04-11 00:00:00",
"invoice_no": "INV-FPY-042301733",
"due_date": "2023-04-24 11:14:00",
"invoice_status": "Paid",
"outstanding_amount": 0,
"period": "202304"
}
],
"message": "Success get billing"
}
Last updated