Purchase Order
Get purchase order document.
เรียกดูข้อมูลเอกสารใบสั่งซื้อตามเลขที่เอกสารที่ต้องการ
get/purchases-orders/{id}
Request
- Base URLhttps://openapi.flowaccount.com/v1
- Authnone declared. Required headers: Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
ID เอกสารใช้ recordId
Headers
Authorizationstring required
Response
200 response
Example response
{
"data": {
"list": [
{
"contactName": "บริษัท ลูกค้า จำกัด, คุณลูกค้า ซื้อประจำ",
"contactTaxId": "1234567890123",
"contactEmail": "contact@email.com",
"contactNumber": "099-999-9999",
"publishedOn": "2021-01-01",
"creditDays": 30,
"dueDate": "2021-01-01",
"salesName": "พนักงาน ขายหน้าร้าน",
"reference": "INV2020010001",
"items": [
{
"name": "Service",
"description": "Type service",
"quantity": 1.1234,
"unitName": "บริการ",
"pricePerUnit": 100.0001,
"total": 100.01,
"sellChartOfAccountCode": "41210",
"discountAmount": 100.01
}
],
"payments": {
"paymentDate": "2021-01-01",
"chequeDate": "2021-01-01"
}
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.