Finance
Purchase order
Purchase order to a supplier.
Schemas: PurchaseOrderDto
Example
Generated from the schema
A purchase order to a supplier. The amounts are costs, because the object is a purchase. The lines are not published, so an expense cannot be attributed to a specific item of a rental. A purchase order can be changed, approved and received, and it needs the purchases add-on. Purchase orders are bounded to the subscription that owns the key.
Attributes
Unique purchase order identifier.
Purchase order number; null while it is a draft.
Purchase order status.
Available options: draft, pending, completed, cancelled
Purchase order type.
Available options: subrental, stock_purchase, resale_purchase, consumable_purchase, technician, transport, repair, consignment
true if the purchase order is still a draft.
Purchase order date in ISO 8601 UTC; null if not set.
Supplier identifier; null while a draft has no supplier. Resolve it against /api.
Free-form reference of the purchase order; null if it has none.
Currency of the purchase order, as an ISO 4217 code.
Subtotal before discounts and taxes, as a decimal string "1234.50".
Limits: pattern ^-?\d+\.\d{2}$
Discount total, as a decimal string "1234.50".
Limits: pattern ^-?\d+\.\d{2}$
Tax total, as a decimal string "1234.50".
Limits: pattern ^-?\d+\.\d{2}$
Taxable base, as a decimal string "1234.50".
Limits: pattern ^-?\d+\.\d{2}$
Total including taxes, as a decimal string "1234.50".
Limits: pattern ^-?\d+\.\d{2}$
Amount already paid, as a decimal string "1234.50"; null if no payment has been recorded.
Limits: pattern ^-?\d+\.\d{2}$
Associated rental order; null if it has none.
Number of that order; null if it has none.
Associated project; null if it has none.
Repair ticket that originated the purchase; null if it does not come from one.
Purchase order notes; null if it has none.
Creation date in ISO 8601 UTC.
Last modification date in ISO 8601 UTC.
Values
- status
draft,pending,completed,cancelled- type
subrental,stock_purchase,resale_purchase,consumable_purchase,technician,transport,repair,consignment
Returned by
GET /api/v1/purchase-orders— List purchase ordersGET /api/v1/purchase-orders/{purchaseOrderId}— Get a purchase order
Modified by
PATCH /api/v1/purchase-orders/{purchaseOrderId}— Update a purchase orderPOST /api/v1/purchase-orders/{purchaseOrderId}/approve— Approve a purchase orderPOST /api/v1/purchase-orders/{purchaseOrderId}/receive— Receive material from a purchase order
Was this page helpful?