Pending VAT uses the correct dates when Tax agency is using Financial end date as VAT period.

Accounting: Reporting to Government Version 10.39

The error when pending tax documents used the document date as tax period even if the tax agency setting is Use financial period’s end date as VAT period, not document date is corrected.
The documents processed by Recognise input VAT (TX503500) and Recognise output VAT (TX503000) are now updating the dates correctly so the document is included in the correct VAT period.