---
title: How is due date calculated for bills and vendor invoices?
description: Automatically calculate due date for bills and vendor invoices based on terms of payment, issue date of vendor invoice, and receipt date of bill.
---

[Skip to content](https://help.peakflo.co/how-is-due-date-calculated-for-bills-and-vendor-invoices#main-content)

[![PEAKFLO LOGO GRAM_NO BG-1](https://help.peakflo.co/hs-fs/hubfs/PEAKFLO%20LOGO%20GRAM_NO%20BG-1.png?width=117&height=30&name=PEAKFLO%20LOGO%20GRAM_NO%20BG-1.png)](https://peakflo.co/)

- [Go to Customer Portal](https://help.peakflo.co/tickets-view)
- [Go to peakflo.co](https://peakflo.co/)

Open main navigation

Close main navigation

- [Go to Customer Portal](https://help.peakflo.co/tickets-view)
- [Go to peakflo.co](https://peakflo.co/)

 Hello! How can we help you?

- There are no suggestions because the search field is empty.

1. [Help Center](https://help.peakflo.co/?hsLang=en)
2. [Accounts Payable](https://help.peakflo.co/accounts-payable?hsLang=en)
3. [Vendor Portal](https://help.peakflo.co/accounts-payable?hsLang=en#vendor-portal)

# How is due date calculated for bills and vendor invoices?

In Peakflo you have the flexibility to automatically calculate due date for bills and vendor invoices based on [terms of payment](https://help.peakflo.co/how-to-enable-terms-of-payment-validation-for-vendor-portal?hsLang=en), issue date of vendor invoice, and receipt date of bill. To configure due date calculation as per your business needs contact [support@peakflo.co](mailto:support@peakflo.co)

**Table of Content**

- [How is due date calculated based on terms of payment and bill receipt date?](https://help.peakflo.co/how-is-due-date-calculated-for-bills-and-vendor-invoices#receipt-date)
- [How is due date calculated based on terms of payment and vendor invoice issue date?](https://help.peakflo.co/how-is-due-date-calculated-for-bills-and-vendor-invoices#issue-date)

---

### How is due date calculated based on terms of payment and bill receipt date?

When creating or editing a bill, from the [Receipt Note](https://help.peakflo.co/how-can-vendors-check-receipt-notes-and-issue-invoices-from-the-peakflo-vendor-portal?hsLang=en), [bill table view](https://help.peakflo.co/how-to-create-bills?hsLang=en), or [OCR](https://help.peakflo.co/how-does-ocr-work?hsLang=en) the due date will be calculated as follows:

  
**Due Date = Receipt Date + Longest Terms of Payment of the Purchase Orders linked to the bill.**

**Receipt date** refers to the date goods or services were received.

**Terms of Payment** is calculated by subtracting the due date mentioned on the purchase order from the date the purchase order is created.

**Longest Terms of Payment of the Purchase Orders** mean the system will use the highest value of terms of payment from all linked purchase orders to calculate the due date for the bill. For example, if terms of payment on PO 1 is 30 days and terms of payment on PO 2 is 45 days, then the highest terms of payment, i.e., 45 days will be considered.

![](https://help.peakflo.co/hs-fs/hubfs/Screen20Recording202024-05-0220at2008-46-56-ezgif-com-video-to-gif-converter-gif.gif?width=600&height=338&name=Screen20Recording202024-05-0220at2008-46-56-ezgif-com-video-to-gif-converter-gif.gif)

The bill due date will also reflect as the invoice due date for your vendor invoices.

For example, the due date calculated from receipt date and terms of payment is 16/6/2024 for the below mentioned bill.

![](https://help.peakflo.co/hs-fs/hubfs/Screenshot%202024-05-02%20at%207-36-33%E2%80%AFPM-png.png?width=600&height=357&name=Screenshot%202024-05-02%20at%207-36-33%E2%80%AFPM-png.png)

So, on the corresponding vendor invoice on the vendor portal, the invoice due date will also be 16/6/2024.

![](https://help.peakflo.co/hs-fs/hubfs/Screenshot%202024-05-02%20at%207-25-08%E2%80%AFPM-png.png?width=600&height=333&name=Screenshot%202024-05-02%20at%207-25-08%E2%80%AFPM-png.png)

The due date will be locked and cannot be edited by your vendor.

You can see the changes made for due dates on the Bill Timeline.

![](https://help.peakflo.co/hs-fs/hubfs/Screenshot%202024-07-05%20at%203-06-07%20PM-png.png?width=450&height=644&name=Screenshot%202024-07-05%20at%203-06-07%20PM-png.png)

Your vendor can also view the due date changes from the Invoice Timeline of the Vendor Portal.

![](https://help.peakflo.co/hs-fs/hubfs/Screenshot%202024-07-05%20at%203-07-52%20PM-png.png?width=450&height=485&name=Screenshot%202024-07-05%20at%203-07-52%20PM-png.png)

If the Terms of Payment for all Purchase Orders are blank, then the due date will be calculated as follows: 

 

- For bills created using OCR, the due date will be the due date mentioned in the OCR file.  
  ![](https://help.peakflo.co/hs-fs/hubfs/Screenshot%202024-05-02%20at%204-14-42%E2%80%AFPM-png.png?width=600&height=351&name=Screenshot%202024-05-02%20at%204-14-42%E2%80%AFPM-png.png)
- For bills synced from vendor invoice, the due date will be the due date mentioned in the vendor invoice.  
  ![](https://help.peakflo.co/hs-fs/hubfs/Screenshot%202024-07-05%20at%203-11-59%20PM-png.png?width=450&height=577&name=Screenshot%202024-07-05%20at%203-11-59%20PM-png.png)

---

 

### How is due date calculated based on terms of payment and vendor invoice issue date?

When your vendor is creating an invoice from [customer purchase order](https://help.peakflo.co/how-can-vendors-check-purchase-orders-and-issue-invoices-from-the-peakflo-vendor-portal?hsLang=en)or [customer receipt note](https://help.peakflo.co/how-can-vendors-check-receipt-notes-and-issue-invoices-from-the-peakflo-vendor-portal?hsLang=en)in the vendor portal, then the due date will be calculated as follows:

  
**Due Date = Issue Date + Longest Terms of Payment of the Purchase Orders linked to the bill.**

**Issue date** refers to the date the invoice was issued.

**Terms of Payment** is calculated by subtracting the due date mentioned on the purchase order from the date the purchase order is created.

**Longest Terms of Payment of the Purchase Orders** mean the system will use the highest value of terms of payment from all linked purchase orders to calculate the due date for the invoice. For example, if terms of payment on PO 1 is 30 days and terms of payment on PO 2 is 45 days, then the highest terms of payment, i.e., 45 days will be considered.

Let's take a look at an example. The Terms of Payment for the Customer Purchase Order mentioned below is 30 days.

![](https://help.peakflo.co/hs-fs/hubfs/Screenshot%202024-07-05%20at%203-35-41%20PM-png.png?width=450&height=726&name=Screenshot%202024-07-05%20at%203-35-41%20PM-png.png)

When your vendor creates the invoice from the customer purchase order, then the due date is calculated as the sum of issue date which is 02/07/2024 and terms of payment. So, the Due Date results to be 01/08/2024.

![](https://help.peakflo.co/hs-fs/hubfs/Screenshot%202024-07-05%20at%203-41-48%20PM-png.png?width=3134&height=1274&name=Screenshot%202024-07-05%20at%203-41-48%20PM-png.png)

If the Terms of Payment for all Customer Purchase Orders are blank, then the due date will be the date the invoice was issued.

 

 

- [New to Peakflo?](https://help.peakflo.co/new-to-peakflo?hsLang=en)
- [Accounts Payable](https://help.peakflo.co/accounts-payable?hsLang=en#main-content)
  
  
  
  
  
    - [Getting Started](https://help.peakflo.co/accounts-payable?hsLang=en#getting-started)
    - [Rules](https://help.peakflo.co/accounts-payable?hsLang=en#rules)
    - [Approval Workflow](https://help.peakflo.co/accounts-payable?hsLang=en#approval-workflow)
    - [Custom Fields](https://help.peakflo.co/accounts-payable?hsLang=en#custom-fields)
    - [Vendors](https://help.peakflo.co/accounts-payable?hsLang=en#vendors)
    - [Purchase Requests](https://help.peakflo.co/accounts-payable?hsLang=en#purchase-requests)
    - [Purchase Quotes](https://help.peakflo.co/accounts-payable?hsLang=en#purchase-quotes)
    - [Purchase Orders](https://help.peakflo.co/accounts-payable?hsLang=en#purchase-orders)
    - [OCR](https://help.peakflo.co/accounts-payable?hsLang=en#ocr)
    - [Bill Management](https://help.peakflo.co/accounts-payable?hsLang=en#bill-management)
    - [My Approvals](https://help.peakflo.co/accounts-payable?hsLang=en#my-approvals)
    - [Goods Receipt Notes & Service Receipt Notess](https://help.peakflo.co/accounts-payable?hsLang=en#goods-receipt-notes-service-receipt-notess)
    - [Budget](https://help.peakflo.co/accounts-payable?hsLang=en#budget)
    - [Reconciliation](https://help.peakflo.co/accounts-payable?hsLang=en#reconciliation)
    - [Reports](https://help.peakflo.co/accounts-payable?hsLang=en#reports)
    - [Wallet & Transactions](https://help.peakflo.co/accounts-payable?hsLang=en#wallet-transactions)
    - [Payments](https://help.peakflo.co/accounts-payable?hsLang=en#payments)
    - [Vendor Onboarding Management](https://help.peakflo.co/accounts-payable?hsLang=en#vendor-onboarding-management)
    - [Vendor Portal](https://help.peakflo.co/accounts-payable?hsLang=en#vendor-portal)
    - [WhatsApp Vendor Portal](https://help.peakflo.co/accounts-payable?hsLang=en#whatsapp-vendor-portal)
    - [Three-way Matching](https://help.peakflo.co/accounts-payable?hsLang=en#three-way-matching)
- [Accounts Receivable](https://help.peakflo.co/accounts-receivable?hsLang=en#main-content)
  
  
  
  
  
    - [Getting Started](https://help.peakflo.co/accounts-receivable?hsLang=en#getting-started)
    - [Invoice Management](https://help.peakflo.co/accounts-receivable?hsLang=en#invoice-management)
    - [Workflow Management](https://help.peakflo.co/accounts-receivable?hsLang=en#workflow-management)
    - [Actions](https://help.peakflo.co/accounts-receivable?hsLang=en#actions)
    - [Customer Management](https://help.peakflo.co/accounts-receivable?hsLang=en#customer-management)
    - [Customer Portal](https://help.peakflo.co/accounts-receivable?hsLang=en#customer-portal)
    - [Collections](https://help.peakflo.co/accounts-receivable?hsLang=en#collections)
    - [Reports](https://help.peakflo.co/accounts-receivable?hsLang=en#reports)
    - [Credit Notes](https://help.peakflo.co/accounts-receivable?hsLang=en#credit-notes)
- [Integrations Page](https://help.peakflo.co/integrations-page?hsLang=en#main-content)
  
  
  
  
  
    - [Basics](https://help.peakflo.co/integrations-page?hsLang=en#basics)
    - [Peakflo API](https://help.peakflo.co/integrations-page?hsLang=en#peakflo-api)
    - [Xero](https://help.peakflo.co/integrations-page?hsLang=en#xero)
    - [NetSuite](https://help.peakflo.co/integrations-page?hsLang=en#netsuite)
    - [Jurnal](https://help.peakflo.co/integrations-page?hsLang=en#jurnal)
    - [Quickbooks](https://help.peakflo.co/integrations-page?hsLang=en#quickbooks)
    - [Microsoft Dynamics 365 Business Central](https://help.peakflo.co/integrations-page?hsLang=en#microsoft-dynamics-365-business-central)
    - [Microsoft Dynamics 365 Finance & Operations](https://help.peakflo.co/integrations-page?hsLang=en#microsoft-dynamics-365-finance-operations)
    - [Zalo](https://help.peakflo.co/integrations-page?hsLang=en#zalo)
    - [SFTP](https://help.peakflo.co/integrations-page?hsLang=en#sftp)
    - [SAP](https://help.peakflo.co/integrations-page?hsLang=en#sap)
- [Travel & Expense Management](https://help.peakflo.co/travel-expense-management?hsLang=en)
- [Payment Automation](https://help.peakflo.co/payment-automation?hsLang=en)
- [Reports](https://help.peakflo.co/reports?hsLang=en)
- [Legal Notes](https://help.peakflo.co/legal-notes?hsLang=en)
- [General Questions](https://help.peakflo.co/general-questions?hsLang=en)
- [Guides for Partners](https://help.peakflo.co/guides-for-partners?hsLang=en)
- [Latest Releases](https://help.peakflo.co/latest-releases?hsLang=en)
- [Offboarding](https://help.peakflo.co/offboarding?hsLang=en)
- [Peakflo Ticket Portal](https://help.peakflo.co/peakflo-ticket-portal?hsLang=en)
- [Peakflo 20X](https://help.peakflo.co/peakflo-20x?hsLang=en)

[![Chill listening crop-3](https://help.peakflo.co/hs-fs/hubfs/Gmail-ads_Logo1-min.png?width=55&height=55&name=Gmail-ads_Logo1-min.png "Chill listening crop-3")](http://peakflo.co)

peakflo.co Help Center

<https://www.linkedin.com/company/peakflo/> <https://www.facebook.com/Peakflo/> <https://www.instagram.com/getpeakflo/> <https://www.youtube.com/channel/UCbzMHJ2UBBv22aaYSBGXA_Q> <https://twitter.com/getpeakflo>

Copyright © 2026, Peakflo