To reconcile the export information of Sales and Payments, especially in the case of paid by POSTPONED PAYMENT, the Accounting export interface is now adapted.

The following scenarios are before and after the improvement:

Before:

An order is made and paid by POSTPONED_PAYMENT:

    • Sale information is exported (by Export_file_sales)
    • Payment is not exported due to its state "WAITING"

On the Bank 1st due date, 1st payment is paid:

    • 1st payment is exported (by Export_file_treasury)
    • Sale information is no longer exported

On the 2nd due date, the 2nd payment is paid by another payment method Bank Card:

    • Only Bank Card payment is exported
    • No record on the cancellation of POSTPONED_PAYMENT is exported

The accountant finds it difficult to reconcile sales and payments due to the following problems:

A not paid POSTPONED_PAYMENT is not export in the payment export file

The payment paid by another payment method doesn't give the information about the cancellation or replacement of payment method

The accountant cannot know that the remaining amount to pay needs to be reduced by the amount paid by the other payment method


Now:

The Accounting interface is setup with additional parameter: "allowedPaymentKindsWithExceptionalStates=POSTPONED_PAYMENT"

An order is made and paid by POSTPONED_PAYMENT:

    • Sale information is exported (by Export_file_sales)
    • Payment information is exported (by Export_file_treasury)

On the Bank 1st due date, 1st payment is paid:

    • No exports needed

On the 2nd due date, the 2nd payment is paid by another payment method Bank Card:

    • Bank Card payment is exported
    • Cancellation of POSTPONED_PAYMENT is exported as well