Purchase orders are non-posting transactions: they do not create journal entries or affect general ledger balances. Along with sales orders, they are DualEntry’s two non-GL transaction types. GL impact happens only when the PO is converted to a bill, which posts to accounts payable and the referenced expense or asset accounts, or, for inventory items, when an item receipt against the PO posts the stock.Use purchase orders when you need to record a spend commitment, run it through approval, and match it to a receipt and bill later, without hitting the ledger until the bill is booked or, for inventory items, the item receipt posts. Open PO amounts still appear in cash flow forecasts and budget consumption views as committed (but not yet posted) spend.
Creating a purchase order
A purchase order records what you plan to buy from one vendor, on item lines, expense lines, or both. Navigate to Money Out > Purchase Orders and choose New purchase order, or sendPOST /public/v2/purchase-orders/. A purchase order requires a vendor, an order date, and at least one line on either its Items tab or its Expenses tab. A PO can hold items only, expenses only, or both.
- Item lines order a product or service from your item catalog, with a quantity, rate, and optional classification dimensions. Each item posts to its own expense account when billed or, for an inventory item, clears Accrued Purchases.
- Expense lines order a cost that isn’t an item, such as freight, consulting, or a software subscription, by coding it straight to a GL account. See Expense lines.
/public/v2/purchase-orders/{id}/attachments/ endpoint. Attachments follow the same immutability rules as bill attachments.
DualEntry validates required fields at submission. The vendor must be active, the order date cannot fall in a period locked for A/P, each item must have an expense account set up, and each expense line must have an account. A PO that will not save late in the close is usually hitting the period lock rather than a field-level problem. If your organization uses budgeting, DualEntry can also check whether the PO amount fits within the remaining budget for the selected account and period.
Expense lines
Expense lines sit on the PO’s Expenses tab and work the same way as the Expenses tab on a bill or direct expense. Use them for spend you want to commit and approve before the invoice arrives but don’t track as an item. When you pick a vendor, new expense lines start with the vendor’s default expense account, if the vendor has one. The table below lists the fields on an expense line.
When you view or edit a PO that has been billed, each expense line also shows Billed and Remaining: how much of the line’s amount posted bills have covered, and how much is still open (see billed states).
Example: bill an expense line in two parts
This example shows a PO with one item line and one expense line, billed across two bills.- Create a PO for the vendor with an item line for 10 units of a part at $100 each, and an expense line on the **Expenses** tab for freight: account 6100 Freight, Rate $500, Quantity 1. The PO total is $1,500.
- After approval, choose Create Item Receipt and receive the 10 units. Only the item line appears on the receipt.
- The first vendor invoice covers the parts and $300 of the freight. Choose **Create Bill**, keep the item line as is, and change the freight line's rate to $300. Post the bill.
- The PO now shows the freight line with Billed $300 and **Remaining** $200, and its billed status is Partially billed, even though the item line is fully received and billed.
- When the final $200 freight invoice arrives, choose **Create Bill** again. The freight line arrives at its remaining $200. Post the bill, and the PO’s billed status changes to Billed.
Projects on purchase order lines
You link a purchase order to a project one line at a time, through each line’s billable fields on the Items or Expenses tab. The purchase order header has no Project field. A project is a record set up under Configuration > Accounting Setup > Projects, and each project belongs to one customer, so a line can carry a project only after you make it billable to that customer. The Billable Customer, Project, and Markup % columns appear once any line on the purchase order is billable. On each line, Project stays unavailable until you turn on Billable and choose a Billable Customer, and its list shows that customer’s projects, with a New project option for creating one without leaving the purchase order. For the steps, see Associate a transaction with a project. Lines on one purchase order can point to different projects, and each line can have a different billable customer. Changing a line’s customer clears its project. A line coded to a bank or credit card account can’t be billable. If the Billable column doesn’t appear at all, your role doesn’t have Billable Line View; see billable expenses permissions. A billable line is a cost you intend to rebill to that customer. A classification named Project tags a line for reporting without rebilling it, but it isn’t linked to Project records. Projects also group the invoices you generate from billable lines and filter the Billable Expenses report; see billable expenses.PO approval and receiving
Purchase orders support dedicated approval workflows with thepurchase_order record type. Amount conditions use the PO total, which includes expense lines. A common pattern is to require department head approval for POs under a threshold and executive approval above it.
Once all approval stages pass, the PO status moves to Approved and it becomes available for receiving and billing. Rejected POs return to the requester with reviewer comments. Email defaults for the PO itself, the subject and message used when you send it to a vendor, are set under Settings > Organization > Purchase Orders.
When goods arrive, record receipt against the PO with Create Item Receipt. For inventory items, the receipt also puts the stock on hand and posts its value; see How to Receive and Bill Inventory. Each receipt line references a PO item line and specifies the quantity received, so you can see what is still outstanding against the order. Expense lines are never received: they don’t appear on an item receipt, and a PO with only expense lines has no Create Item Receipt action.
Partial receipts are supported. If a vendor ships in multiple batches, record a receipt for each delivery.
Matching a bill back to its PO
DualEntry links a bill to the purchase order it came from, and tracks how much of the order has been billed. A purchase order carries one of three billed states:- Unbilled: no bill has been created against the order yet
- Partially billed: some value has been billed and a balance remains open
- Billed: the full ordered value has been billed
Converting a PO to a bill
When you are ready to record the vendor’s invoice, you can convert an approved PO directly into a bill. Open the PO and choose Create Bill, or use the API to create a bill that references the PO by itspurchase_order_number. When you choose Create Bill, DualEntry pre-populates the bill’s line items from the PO, adjusted for any receiving variances.
Expense lines copy to the bill’s Expenses tab at their remaining amount, keeping the account, description, tax, classifications, and billable settings, including the project. Item lines copy their item, remaining quantity, rate, memo, tax, and classifications, but not their billable settings. They arrive on the bill with Billable off and no customer or project, so any item line you rebill needs its Billable Customer and Project set again on the bill.
The resulting bill enters the standard bill approval workflow. The link between PO and bill is preserved, so reporting can trace spend from commitment through payment. You can convert a PO to a bill in full or in part, billing only the received lines and leaving the remainder on the PO for a future bill.
An expense line can be billed in part across several bills, but the total billed on a line can’t exceed its ordered amount: a bill that would go over fails with Billed amount exceeds ordered amount for one or more expense lines. Editing the PO later can’t reduce an expense line below what’s already been billed on it.
If the vendor’s invoice differs from the PO (for example, a price increase or additional charges), edit the bill after conversion. Nothing blocks the difference automatically, so the bill’s approval workflow is where that variance should be caught.
Billing several POs from one vendor invoice
When a vendor sends one invoice that covers several POs, create one bill for each PO. A bill links to one purchase order, so one bill per PO keeps each PO’s billed status accurate.- Open the first PO and choose Create Bill, or create a bill and choose the PO in Purchase Order Number.
- Keep that PO’s lines on the bill, and set each line’s quantity or amount to what the invoice charges for it.
- Enter the vendor’s invoice number in Reference Number. DualEntry doesn’t require it to be unique, so every bill from the same invoice can carry the same number.
- Post the bill, then repeat for each remaining PO on the invoice.
- Lines from another PO: Each bill line’s PO Line can point only to a line on the bill’s own PO. A line from another PO fails with
Bill line references PO line <id> which does not belong to PO <id>. - A second PO on the same bill: On a bill that already has lines, choosing another PO opens Merge or replace items?. Merge keeps the existing lines but removes their links to the first PO, so they no longer count toward it. Their item lines count toward the second PO’s billed quantity instead.
- Manually entered lines: A PO’s billed status counts only posted bills that name it in Purchase Order Number. Lines typed onto a bill for a different PO, or onto a bill with no PO, leave that PO Unbilled.
PO status tracking
Purchase orders move through these statuses:- Draft: created but not yet submitted for approval
- Submitted: in the approval workflow
- Approved: approved and available for receiving
- Partially received: at least one item receipt recorded, but not all lines fulfilled
- Received: all ordered quantities received
- Billed: the full ordered value billed
- Closed: fully received and billed, or manually closed
- Voided: cancelled before receiving
record_status parameter to monitor open commitments. Billed status is tracked separately from record status, so filter on it when you want the billing picture rather than the approval picture. The PO list also supports filtering by vendor, date range, and amount, which is useful when reconciling outstanding commitments at period end. For cash flow forecasting, open POs feed into the budgeting and forecasting module as uncommitted spend.
API and import
The PO API and bulk import accept expense lines alongside item lines, and existing item-only POs need no changes. Both apply the same rules as the form: a PO needs at least one item or expense line, so a request with neitheritems nor expenses is rejected, and each expense line needs an account the PO’s company can use.
- API:
POST /public/v2/purchase-orders/andPUT /public/v2/purchase-orders/{record_number}/take anexpensesarray next toitems. Each expense line sendsaccount_id,expense_description,quantity,rate, andposition, plus optional tax,classifications, and billable fields (is_billable,billable_customer_id,billable_project_id,billable_markup_pct). On read, each expense line returnsamount_billedandamount_due, and the PO returnsexpense_billed_totalandexpense_due_total.GET /public/v2/purchase-orders/{record_number}/lines/returns item and expense lines together, withline_typeset toitemorexpense. See the purchase order API reference. - Import: the purchase order CSV template has Expense Account Number, Expense Description, Expense Rate, and Expense Quantity columns. Put each expense line on its own row with the same purchase order ID as the PO’s other rows, and leave the item columns empty on that row.
Related resources
- Bill management: the downstream record created from POs
- Vendor payments: paying the bills that originate from POs
- Approval workflows: configuring PO approval routing
- Budgeting and forecasting: using PO commitments in cash flow projections