5.1.6 (31-01-2021)
- Improvement: Limit address fields by 3D Secure protocol

5.1.5 (11-01-2021)
- Bug Fix: Trim fiscalNumber to not accept spaces as fiscal number
- Improvement: Limit adhoc customer name to 100 characters (limit set by SAFT-PT)

5.1.4 (29-12-2020)
- Bug Fix: Use HALF_UP for calculation of vat amounts
- Improvement: Error messages for insuccess attempts in online payments

5.1.3 (10-11-2020)
- Bug Fix: With SIBS OPPWA payment code generation, check if debit entry has maximum active reference codes

5.1.2 (07-09-2020)
- Improvement: Improve spreasheet generation to use less memory

5.1.1 (27-07-2020)
- Refactor: Static method to retrieve the designation of type of payment processor

5.1.0 (22-07-2020)
- Refactor: Uniform payment request entities method signatures

5.0.4 (07-07-2020)
- Refactor: Remove restriction of credit note with one credit entry only
- Refactor: Remove legacy commented code
- Refactor: Method factory to create debit entries from importation, to allow debit entries creation in closed debt accounts or inactive customers

5.0.3 (19-05-2020)
- Improvement: Translate error messages
- Bug Fix: In deletion of payment code pools

5.0.2 (18-05-2020)
- Bug Fix: Editing and deleting Forward Payment Configuration

5.0.1 (13-05-2020)
- Refactor: Apply finantial institution comparator for finantial entity
- Bug Fix: Fix typos in bundles
- Bug Fix: Portuguese translation in labels

5.0.0 (24-04-2020)
- Refactor: Move URL of Forward Payment processing to interface to avoid dependencies of Spring controllers
- Refactor: Remove web files, spring controllers and bennu specific classes leaving domain classes

4.8.1 (08-04-2020)
- Bug Fix: Set debit note due date when closing the finantial document instead of relying in the automatic debt generation for close debit notes

4.8.0 (06-04-2020)
- New Fixture: Global Interest Rate by periods based on date instead of year

4.7.1 (27-03-2020)
- Improvement: Also abbreviate Product>ProductDescription in SAFT to 200 characters at most

4.7.0 (26-03-2020)
- Refactor: To split module in domain and ui module, change IForwardPaymentController package
- Refactor: Get IForwardPaymentController by class registration by online payments implementation
- Refactor: Export single document to ERP is a dependent-platform service 
- Improvement: Cut SAFT WorkDocument>Line>Description to 200 characters

4.6.11 (17-03-2020)
- Bug Fix: Include referenced customers in settlement those of advance payment credit
- Bug Fix: Validate VAT numbers with TIN with the check code result is 2, which means does not have syntax validation which may be valid
- Refactor: Upgrade parent artifact id version

4.6.10 (02-03-2020)
- Improvement: Check SIBS OPPWA duplicate transaction with SIBS transaction id, besides the combination of sibsEntityCode+paymentCode+paymentDate

4.6.9 (28-02-2020)
- Improvement: For SIBS OPPWA notifications with insucess operation, return HTTP 200 in order for SIBS to not resend the notification again

4.6.8 (27-02-2020)
- Improvement: In payment with credit card with SIBS OPPWA, select one of the registered addresses to send to SIBS

4.6.7 (17-02-2020)
- Bug Fix: Avoid translation of SIBS payment entry importation log

4.6.6 (12-02-2020)
- Bug Fix: Fix angular bug in create settlement note creation interface
- Improvement: Remove date interval restriction in settlement transactions summary

4.6.5 (30-01-2020)
- Refactor: Remove deprecated sibs payments broker task, which was moved to another module.
- Improvement: Check payment reference code business constraints in read transaction and process the payment in write transaction, to improve performance
- Bug Fix: Read locale from string

4.6.4 (27-01-2020)
- Bug Fix: Display correct amount of selected tuition debt, in checkout of an online payment
- Bug Fix: Fix interest debit entries settlement, in processing the forward payment
- Refactor: Check in settlement note that an invoice entry is referenced only once by an settlement entry.

4.6.3 (09-01-2020)
- Refactor: Clean references for getCountryCode() method which is deprecated, replaced by getAddressCountryCode()

4.6.2 (13-12-2019)
- Improvement: Send billing data for SIBS OPPWA in online payment request

4.6.1 (05-12-2019)
- Improvement: Respond with success for webhook activation message from SIBS OPPWA

4.6.0 (04-12-2019)
- New Fixture: MBWay payment interface

4.5.1 (03-12-2019)
- Bug Fix: In displaying information about finantial institution in forward payment pages

4.5.0 (02-12-2019)
- Improvement: Display more information about finantial institution in forward payment pages
- Improvement: Specify forward payment logo jsp file dynamically for SIBS OPPWA integration
- Bug Fix: Reply with http status 200 when receiving SIBS OPPWA webhook notification of type "PA"

4.4.1 (14-10-2019)
- Bug Fix: Fix presentation issues and check if forwardPayment is in valid state when checking out payment

4.4.0 (08-10-2019)
- Improvement: Support for multiple ForwardPayment transactions to report for post payment processing.
- Bug Fix: Find payment reference code by sibsEntityCode and payment code, instead of payment code only. This bug fix is necessary to support multiple pools with different sibsEntityCodes
- Refactor: Write payloads in SIBS OPPWA logs in method annotated with Atomic(WRITE) instead of using FenixFramework.atomic
- Refactor: Method to check if address is valid for invoices
- Bug Fix: Write interest debt description in default language even if the user session is configured with other language
- Bug Fix: Require vat exemption reason if vat type is exempted

4.3.1 (09-09-2019)
- Improvement: Run task ProcessSibsPaymentsFromBroker to register SIBS payments from broker in read transaction

4.3.0 (06-09-2019)
- Refactor: Move business methods from controllers to domain entities 
- Bug Fix: When credit debitEntry with some creditEntry, create settlement for called debitEntry instead of debitEntry origin of creditEntry
- New Fixture: Credit debit entries with variable amount
- Improvement: Generate UUID for SIBS merchant id, instead of using counter
- Refactor: In SIBS OPPWA create payment reference code and associate debit entries in same transaction
- Improvement: Print PaymentReferenceCode and PaymentCodeTarget creation date

4.2.3 (29-08-2019)
- Bug Fix: Register payment with PaymentReferenceCode of inactive PaymentCodePool
- Bug Fix: In view document serie

4.2.2 (28-08-2019)
- Refactor: Create MB Way transaction when registering payment settlement notes

4.2.1 (20-08-2019)
- Refactor: In online payments gateway to accomodate SIBS OPPWA.
- Refactor: Improve mbway and mb reference payment notification handler

4.2.0 (14-08-2019)
- New Fixture: Model for MBWay payment request and handling payment notification

4.1.0 (09-08-2019)
- Bug fix: Fix SIBS OPPWA response in payment reference code generator
- Refactor: Remove forward payment number from SIBS OPPWA Log
- Improvement: In payment code pool select payment code generator

4.0.0 (07-08-2019)
- Refactor: Comparators in some entities
- Refactor: Method to create credit entry for debit entry
- Refactor: Move service method to create forward payment, from controller to domain entity
- Refactor: Logic of including all selected interest debit entries is in bean, instead in controller
- Refactor: Default product unit description
- Bug fix: Get anullment message from bundle with default locale

3.2.1 (05-08-2019)
- Refactor: Do not save created payment reference codes in SibsOutputFile entry
- Bug Fix: Print creation datetime of SibsOutputFile

3.2.0 (05-08-2019)
- Bug fix: Do not wrap treasury domain exception when requesting payment reference code
- Refactor: Option to invalidate old payment reference codes, on exporting sibs output file

3.1.1 (02-08-2019)
- Bug fix: Generate SIBS reference with OPPWA only if payment code pool is active
- Bug fix: Read OPPWA webhook notification from request instead of file

3.1.0 (31-07-2019)
- New Fixture: SIBS OPPWA payment notifications and settlement note creation via webhooks

3.0.0 (29-07-2019)
- Refactor: Deprecate fiscal country code. Instead use address country with fiscal number
- Refactor: Save and use address compound in Customer fields
- Refactor: Add region to Cutomer's fiscal address
- Refactor: In ERP integration fill missing address fields with "Desconhecido", the only address required field is country code
- Improvement: Validate zip code for AdhocCustomer portuguese address

2.4.3 (26-07-2019)
- Refactor: Remove debit note read screen funcionality to create loose credit notes 
- Refactor: SIBS OPPWA: Set DomainRoot to SIBSTransactionDetail, save more log on webhook notification

2.4.2 (23-07-2019)
- Refactor: Control SIBS enviroment mode for integration by configuration
- Refactor: Log SIBS notification (webhook) messages

2.4.1 (18-07-2019)
- Bug Fix: Set HTTP method of OPPWA Webhook endpoint to POST

2.4.0 (18-07-2019)
- New Fixture: Integration with Online Payments Gateway (SIBS OPPWA)

2.3.0 (12-07-2019)
- Refactor: Rename treasury domain file entities to their original class name

2.2.4 (05-07-2019)
- Refactor: Save clear document to export datetime
- Refactor: In settlement annulment and in the case of ERP certification date is not, use if possible clear document to export date

2.2.3 (05-07-2019)
- Refactor: Use ERP certificate date to check if settement note can be conditionally annuled

2.2.2 (19-06-2019)
- Refactor: Optimize operation file domain object access by operation file

2.2.1 (04-06-2019)
- Delete operation file domain object if exists

2.2.0 (03-06-2019)
- Represent treasury domain entity files as domain entities

