Winter'26 Edition: The Era of Zero | Sign up for the Webinar

Recording quantity and unit price on expenses

Prev Next

You can record how many items you bought and at what price on an expense or on each of its line items. Payhawk calculates the amount for you and sends the quantity and unit price to your accounting system when you export.

Before you start

You can find the necessary prerequisites in the following table:

Enabling the quantity and unit price field

Quantity & Unit price is disabled until a Payhawk Administrator enables it. Expenses created before you enable it stay as they are.

To enable the field:

  1. In the Payhawk Web Portal, open the app switcher in the top-left corner and go to Settings > Expense fields.

  2. Under Built-in fields, click on Quantity & Unit price.

  3. Enable the Enable field toggle button.

  4. Under Visibility, select the roles that can see and change the value of the field. The Payhawk Administrator and Payhawk Accountant roles are always selected and can't be removed.

  5. (Optional) Under Required, enable the Required for submission or Required for review toggle buttons. The Required for submission option appears when you select the Payhawk Employee role.

  6. Click on Save changes.

    Quantity and Unit price field settings in Payhawk with the field enabled, the roles that can see it, and the Required for submission and Required for review toggles

Entering quantity and unit price

To enter the quantity and unit price on an expense:

  1. Open the expense.

  2. Find Quantity & Unit price in the Amount section. If the expense is split into line items, each line has its own quantity and unit price.

  3. Enter the Quantity and the Unit price.

    Amount section of an expense in Payhawk showing a quantity of 2 at a unit price of 10.00 EUR and a total of 20.00 EUR

Payhawk multiplies the quantity by the unit price to get the net amount, then adds tax to give the total. For example, 2 × EUR 10.00 with 20% VAT gives a total of EUR 24.00.

On line items, the quantity and unit price appear as follows, depending on the layout:

  • Table layout - The Quantity and Unit price columns come before Discount.

  • List layout - Each line shows its quantity and unit price in a single row.

In Quantity, type x or * to go straight to Unit price.

Calculating the amount

You can see how Payhawk calculates the amount in different use cases in the following table:

The values must meet the following criteria:

  • Quantity must be greater than zero and can have up to 4 decimal places, for example, 22.5 days.

  • Unit price is the price of one unit before tax, in the expense currency. It can have up to 4 decimal places.

Adding documents

You can see what Payhawk fills in when you add an invoice or a receipt to an expense in the following table:

Card and cash expenses that already had an amount before you added a document keep that amount. Payhawk doesn't fill in quantity and unit price on them.

Splitting and merging line items

When you split an expense into line items by document lines, request lines, or purchase order lines, each new line keeps its quantity and unit price.

When you merge line items, the result depends on the lines you merge:

Using quantity and unit price with purchase orders and workflows

You can use the quantity and unit price on your expenses to check invoices against purchase orders and to route expenses for approval.

Matching quantities against purchase orders

When the purchase order has quantities, Payhawk checks each linked line. It flags the expense as a discrepancy and sends it for approval when more is invoiced than was ordered, when the unit price is higher than on the purchase order by more than your discrepancy threshold, or when a line has no quantity or unit price. Your threshold applies to unit price only, not to quantity.

Using quantity and unit price in workflows

In expense workflows, you can use a line's item and its Unit price as conditions, for example, to send an expense to a second approver when the unit price is above 1,000. Item conditions are available at entity level when inventory items are on. To act on Quantity, use automation rules.

Troubleshooting

You can find the most common issues, their causes, and solutions in the following table:

Useful resources