v1
latestOpenAPI 3.1.02026-08-04261878.5 KBRetrieve a Sales Invoice Details
get/sales-invoices/{invoice_id}
Path parameters
invoice_idstring required
Query parameters
limitinteger
To configure the number of items per page.
offsetinteger
To specify which page to access.
start_datestring
To filter by invoice_date (the end_date field must be provided). Format YYYY-MM-DD.
end_datestring
To filter by invoice_date. Format YYYY-MM-DD.
order_by'asc' | 'desc'
To set the order in which data is displayed, either ascending or descending.
Response
200
Example response
{
"data": {
"number": "INV/08/08/0008",
"invoice_date": "2023-08-08",
"due_date": "2023-08-20",
"status": {
"payment_status": "overdue",
"acceptance_status": "accepted"
},
"payment_link": "get.paper.id/jG8q92b",
"pdf_link": "get.paper.id/JzdYh2J",
"customer": {
"id": "0002",
"company_name": "Budi Tech",
"company_email": "budi@ptabcd.id",
"company_phone": "38478273482",
"href": "/partners/8f2078f7-5c8c-40cf-a6cb-e405dd432762"
},
"items": [
{
"name": "item 01",
"description": "color is black",
"quantity": 2,
"price": 10000,
"discount": 50,
"product_href": "/products/ec93d51a-7ced-42e6-aaca-c58e5e6755c9"
}
]
},
"total": 10000,
"signature_text_header": "August 08, 2023",
"signature_text_footer": "Your Store",
"terms_condition": "We receive payment no later than 7 days after the bill is received",
"notes": "Invoice include service fee",
"created_at": "2023-08-15 11:38:46",
"modified_at": "2023-08-15 11:38:59"
}