Message type: E = Error
Message class:  FI_E - Message Class for FM English Developers 
Message number: 149
Message text: Invoice &1 already exists with reference number &2
You have the Prompt Payment Act function active for your company code.
Invoice &1 already exists for the entered reference number.
Customer BAdI named PPA_CUST_BADI  provided to set response when vendor
document reference number (XBLNR) already exists in table BKPF. Without
an active implementation, the warning message "Invoice &1 already
exists with reference number &2" appears.
Corrected invoices received from the vendor would reference the
original vendor reference number. Clarify whether this is a returned
invoice and change existing invoice &1 as appropriate.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Error message extract from SAP system. Copyright SAP SE.
The SAP error message FI_E149, which states "Invoice &1 already exists with reference number &2," typically occurs in the Financial Accounting (FI) module when you attempt to post an invoice that has already been recorded in the system with the same reference number. This is a safeguard to prevent duplicate entries in the financial records.
Cause: Duplicate Invoice Entry: The most common cause is that the invoice you are trying to post has already been entered into the system with the same reference number. Incorrect Reference Number: You may have mistakenly entered the same reference number for different invoices. System Configuration: In some cases, the system may be configured to prevent duplicate entries based on specific criteria, including reference numbers.
Solution: Check Existing Invoices: Before posting a new invoice, check the existing invoices in the system to see if the invoice with the same reference number already exists. You can do this by using transaction codes
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
FI_E148 Invoice &1 does not contain a reference number
What causes this issue?  You have the Prompt Payment Act function active for your company code. Invoices received from the vendor reference the origin...
FI_E147 Negative net due days of &1 detected. Change baseline date manually to &2
What causes this issue?  You have the Prompt Payment Act function active for your company code. The required information on the invoice was missing an...
FI_E150 Either posting date or original date or both are blank
What causes this issue?  You are using the Funds Management system integrated with the budgetary ledger (BL). In order to get the yearly status for a ...
FI_E151 Posting date is earlier than the original commitment/obligation's date
What causes this issue?  You are using the funds management system integrated with the budgetary ledger (BL). This function is trying to get the curre...
Click on this link to search all SAP messages.