Skip to content
Last updated

Print Purchase Order Documents

Generate PDF documents for purchase orders to share details with suppliers. ShipStation provides two types of PDF documents for purchase orders.

Available Documents

Order Summary PDF

Generate a comprehensive purchase order document to send to your supplier.

Endpoint: GET /v2/purchase_orders/{purchase_order_id}/documents/order_summary

Available for statuses: open, receiving, received, closed

Contains:

  • Purchase order number
  • Supplier information
  • Product details with quantities and costs
  • Delivery information
  • Notes to supplier

Received Summary PDF

Generate a receipt document showing what products have been received from the purchase order.

Endpoint: GET /v2/purchase_orders/{purchase_order_id}/documents/received_summary

Available for statuses: receiving, received, closed

Contains:

  • Purchase order reference
  • Products received with quantities
  • Lot numbers and expiration dates (if applicable)

Order Summary Document

Use the order summary PDF to communicate with your supplier about the purchase order.

Path Parameters

ParameterTypeDescription
purchase_order_idstringThe unique identifier of the purchase order

Response

Returns a PDF document (binary format) with Content-Type: application/pdf.

Example Request & Response

GET /v2/purchase_orders/{purchase_order_id}/documents/order_summary

curl -i -X GET \
  https://api.shipstation.com/v2/purchase_orders/se-234/documents/order_summary \
  -H 'api-key: YOUR_API_KEY_HERE'

Example Usage

GET /v2/purchase_orders/se-234/documents/order_summary
API-Key: __YOUR_API_KEY_HERE__

The response will be a PDF file that can be:

  • Downloaded and saved locally
  • Emailed to the supplier
  • Printed for physical records
  • Attached to other systems

Received Summary Document

Use the received summary PDF to document what has been received and verify deliveries.

Path Parameters

ParameterTypeDescription
purchase_order_idstringThe unique identifier of the purchase order

Response

Returns a PDF document (binary format) with Content-Type: application/pdf.

Example Request & Response

GET /v2/purchase_orders/{purchase_order_id}/documents/received_summary

curl -i -X GET \
  https://api.shipstation.com/v2/purchase_orders/se-234/documents/received_summary \
  -H 'api-key: YOUR_API_KEY_HERE'

Example Usage

GET /v2/purchase_orders/se-234/documents/received_summary
API-Key: __YOUR_API_KEY_HERE__

The response will be a PDF file that can be used for:

  • Internal receiving documentation
  • Inventory audit trails
  • Supplier reconciliation
  • Accounting records

Status Requirements

Different documents are available based on purchase order status:

Document TypeAvailable StatusesUse Case
Order Summaryopen, receiving, received, closedSend to supplier, print for records
Received Summaryreceiving, received, closedDocument what has been received

Status-Based Access

Draft Status:

  • No documents available
  • Complete and change to open status first

Open Status:

  • Order Summary available
  • Use to send order details to supplier
  • Received Summary not yet available (nothing received)

Receiving Status:

  • Both documents available
  • Order Summary shows original order
  • Received Summary shows partial receipts

Received/Closed Status:

  • Both documents available
  • Order Summary shows complete order
  • Received Summary shows all receipts

Error Handling

Common errors when generating documents:

404 Not Found

  • Purchase order ID doesn't exist

400 Bad Request*

  • Document not available for current status

Document Content

Order Summary Includes

  • Header: PO number, dates, supplier details
  • Product Table: SKU, name, quantity, unit cost, total cost
  • Totals Section: Subtotal, currency
  • Shipping Details: Expected delivery date, carrier, tracking
  • Notes: Any notes to supplier
  • Warehouse: Receiving location information

Received Summary Includes

  • Header: PO number, receiving dates
  • Products Received:
    • Product details (SKU, name)
    • Ordered vs. received quantities
    • Lot numbers (if applicable)
    • Expiration dates (if applicable)
  • Location: Where products were received
  • Status: Overall receiving status