v1
latestOpenAPI 3.1.02026-08-04261878.5 KBList of All Purchase Invoice
You can get list of purchase invoice documents. Optional data filter may be applied
get/purchase-invoice
Query parameters
limitinteger
To configure the number of items per page.
offsetinteger
To specify which page to access.
orderstring
Value: desc, asc. To set the order in which data is displayed, either ascending or descending.
sortstring
To specify the column used for sorting the data.
start_invoice_datestring date
To filter by invoice_date (the end_invoice_date field must be provided). Format YYYY-MM-DD.
end_invoice_datestring date
To filter by invoice_date. Format YYYY-MM-DD.
start_due_datestring date
To filter by due_date (the end_due_date field must be provided). Format YYYY-MM-DD.
end_due_datestring date
To filter by due_date. Format YYYY-MM-DD.
Headers
client_idstring
A unique identifier assigned to a client application.
client_secretstring
A confidential key associated with the client application.
Response
200
Example response
{
"code": "PI-GLT-200",
"message": "OK",
"data": [
{
"uuid": "1d70876a-01c3-46fb-a7ae-4345943f2ad4",
"invoice_number": "EXP/2019/0001",
"company_id": "2cbbd916-14d3-4fc3-9cbe-0c1d759b53e3",
"partner_id": "4bc79ce7-d64f-4c45-8c90-6622ec22f2cf",
"document_type_id": "inv-02",
"invoice_date": "2021-12-05",
"due_date": "2019-12-05",
"status": "PAID",
"signature_text_header": "5 Dec, 2019",
"signature_text_footer": "Finance",
"created_at": "2019-12-05 23:52:38",
"updated_at": "2020-06-20 02:16:53",
"items": [
{
"product_name": "tes",
"description": "tes",
"quantity": 10,
"price": 100000
}
],
"partner": {
"uuid": "4bc79ce7-d64f-4c45-8c90-6622ec22f2cf",
"name": "Karin 610",
"email": "karin.putri610@gmail.com",
"phone": "123456"
}
}
]
}