1. PO
Onflow Open API
  • Getting Started
  • Overall logic
  • Error code
  • API
    • Config
      • Get Warehouse
      • Get Brand
      • Get Province
      • Get District
      • Get Ward
      • Upload file
      • Pricing
    • Product
      • Create Product
      • Assign Product
      • Get Product List
      • Get Product Detail
      • Get Stock
      • Deactivate Product
    • PO
      • Create PO
        POST
      • Get PO List
        GET
      • Get PO Bill
        GET
      • Get PO Detail
        GET
      • Get PO Inspection Detail
        GET
      • Cancel PO
        PUT
    • Shipment
      • B2C Shipment
        • Create B2C Shipment
        • Get B2C Shipment List
        • Get B2C Shipment Detail
        • Cancel B2C Shipment
        • Get B2C Return Inspection
      • B2C Return shipment
        • Create Return B2C Shipment
        • Get Return B2C Shipment List
        • Get Return B2C Shipment Detail
        • Cancel Return B2C Shipment
        • Get B2C Return Shipment Inspection
      • B2B Shipment
        • Create
        • Get list
        • Get detail
        • Cancel
      • B2B Return shipment
        • Create
        • Get list
        • Get detail
        • Cancel
        • Get B2B Return Shipment Inspection
    • Stock
      • Get inventory Batch/lot
      • Get inventory Expired date
      • Get inventory Expired percent
  • Webhook
    • Shipment
      • Updated Shipment Status
    • Return
      • Updated Return Status
    • PO
      • Updated PO Status
    • Stock
      • Updated Stock
  1. PO

Get PO Bill

GET
/api/v1/purchase-orders/{po_code}/export-po-bill
This API is used to retrieve PO bill after PO creation.

Request

Authorization
Add parameter in header
Authorization
Example:
Authorization: ********************
Path Params

Header Params

Responses

🟢200
application/json
Bodyapplication/json

🟢200
Request Request Example
Shell
JavaScript
Java
Swift
curl --location '/api/v1/purchase-orders//export-po-bill' \
--header 'Accept-Language: vi' \
--header 'Authorization: <api-key>'
Response Response Example
200 - - Success
{
    "data": {
        "po_bill_url": "https://nhl.sgp1.cdn.digitaloceanspaces.com/ts/afe6612ec6a845a7b9c5cb013dc0261f.pdf"
    },
    "error": false,
    "error_code": null,
    "log_id": null,
    "messages": "OK",
    "total": 1,
    "version": "1.0.3",
    "error_detail": null
}
Modified at 2026-05-12 02:25:21
Previous
Get PO List
Next
Get PO Detail
Built with