My Oracle Support Banner

Portugal JEPTSGEN: Certification Signature And QR Code Not Generated For Some Transactions, Error: Signature generation failure / Given final block not properly padded (Doc ID 2758632.1)

Last updated on MARCH 10, 2023

Applies to:

Oracle Financials for EMEA - Version 12.1 and later
Information in this document applies to any platform.


Not able to complete Portugal manual invoice due to error. Certification signature and QR code is not being generated for some transactions while running JEPTSGEN: Portuguese Billing Transactions Signature Generation Program. The program is failing with error in the logfile. 

APP-JE-68162: Signature cannot be generated because previous transaction using same document sequence doesn't have signature. Ensure the signature is generated for the previous transaction before proceeding.

Signature generation failure has occurred during the import process for 2 imported transactions.
SunJCE version 1.8Error:Given final block not properly padded. Such issues can arise if a bad key is used during decryption.


The issue can be reproduced at will with the following steps:

1. Log in to the Receivables responsibility

2. Create a manual transaction for Portugal Operating Unit (OU)

3. Complete the transaction and get error

4. Similarly, import data through AR Open Interface

5. Run Create Accounting Program

6. Check the table JE_PT_RA_CUST_TRX_EXTS for the transactions imported

7. Observe the SIGNATURE and QR_CONCAT_VALUE columns are empty for the transactions imported; these should be generated for Portugal transactions

8. Run program JEPTSGEN: Portuguese Billing Transactions Signature Generation

9. Check the logfile of this concurrent request




To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document
 Standard Patching Process
 Patch Wizard
 Have more questions?

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.