---
title: "InvPayDupl"
canonical: "https://kb.myframeworks.com.au/space/FSS/13175290/InvPayDupl"
format: markdown
---
Flag Purpose:  Allow duplicate invoice numbers to be processed in CIA (Stock Invoice Approval and Expense Invoice Entry). The  InvPayDupl  flag controls the system's response when a duplicate invoice number is entered for the same supplier. The scope of the duplicate check differs by screen: in  Expense Invoice Entry , the flag controls duplicates originating from either  Expense Invoice Entry  or  Stock Invoice Approval ; in  Stock Invoice Approval , the flag controls duplicates originating from  Stock Invoice Approval  only. When enabled,  a warning message displays if a duplicate invoice number is entered for the same supplier. Click  OK  to close the message and continue. The invoice can still be saved. When disabled,  a red triangle and error message display beside the  Invoice Number  or  Invoice  field. The invoice cannot be saved until a unique invoice number is entered. Note:  The duplicate check only applies within the same supplier. Using the same invoice number for different suppliers does not trigger any message, regardless of the  InvPayDupl  setting. Related Fields and Settings Invoice Number  field in  Stock Invoice Approval Invoice  field in  Expense Invoice Entry