Search Engine: Elastic

Article ID: 123683, created on Nov 26, 2014, last review on Jul 14, 2018

  • Applies to:
  • Odin Business Automation Standard 4.5


From the 1 January of 2015 providers across the EU have to change their VAT configuration.
For the cases when renewal orders generated in 2014, but not paid until January 2015, PBAS will block the processing of such orders until they will not be recreated.
Is there an automated way to recreate all affected open and overdue orders?


The following script can be used in order to recreate all open and overdue orders:

Usage instructions:

# perl <options>

Where options are:

  • document IDs divided by comma, or 'All' to fix all documents

  • start orders recreating process. Without this parameter script will only search for problematic orders and display them



  1. In this case script will find all open and overdue orders with incorrect tax value and provide their IDs. Nothing else will be done.

    # perl --doc_ids=All
  2. The following example will recreate only the orders with ID: 555, 666, 777.

    # perl --doc_ids=555,666,777 --process

Note: to enable support for new EU regulations in general, please refer to our Knowledge Base artilce

400e18f6ede9f8be5575a475d2d6b0a6 caea8340e2d186a540518d08602aa065 624ca542e40215e6f1d39170d8e7ec75 70a5401e8b9354cd1d64d0346f2c4a3e

Email subscription for changes to this article
Save as PDF