User:Flesieur/monobook.js

name="_Toc313033441"

This module analyzes the calculated taxes of the document and decides if some of them have to be reported according to the “Event” of the envelope and other parameters. The process is described in following sections.

name="_Toc313033442"

The taxes to be reported depend on the “Usecase” in the envelope. So the Tax Reporting usecase called depends on the “Usecase” in the envelope as described in the following table:

name="_Toc313033443"

The following process is done only if the envelope contains one of the following usecases:


 * HOT confirmation for Issuance (HOTI)
 * HOT Confirmation for Issued after Exchanged Document (HOTY)
 * CAT confirmation for Issuance (CATI)
 * CAT Confirmation for Issued after Exchanged Document (CATY)
 * Sales Report Confirmation for Issuance (SRCI)
 * Sales Report Confirmation for Issued after Exchanged Document (SRCY)

The following process is not done if an “Offline Acquisition” object is present in the document with following data:


 * “Transaction code” = ‘CANX’
 * “Envelope Number” > “Envelope Number” of “Offline Confirmation” object currently confirmed

The amounts reported are positive in this process.

If the “Owner Airline” is the same as the “Validating Airline”, the following taxes have to be reported:


 * Calculated taxes at document level with “Tax Remittance Identifier” set to ‘S’ (Sales)
 * For all coupons:


 * Calculated Taxes at coupon level with “Tax Remittance Identifier” set to ‘S’ (Sales) and “Interlineable Indicator” is set to ‘NOT_INTERLINEABLE’
 * Calculated Taxes at coupon level with “Tax Remittance Identifier” set to ‘S’ (Sales), “Interlineable Indicator” is set to ‘INTERLINEABLE’ and “Validating Airline” is the same as the “Marketing Airline”

Table 14: Calculated taxes to be reported after Sales Confirmation

name="_Toc313033444"

The following process is done only if the envelope contains one of the following usecases:


 * Change of status to Flown (COSF)
 * Force status to Flown (FCS)

The amounts reported are positive in this process.

If the “Owner Airline” is the same as the “Validating Airline” and if it is the first usage of a coupon in the document, the following taxes have to be reported:


 * Calculated taxes at document level with “Tax Remittance Identifier” set to ‘U’ (Usage)

If the “Owner Airline” is the same as the “Validating Airline”, the following taxes have to be reported:


 * For each coupon used in the “Usecase” of the envelope:


 * Calculated taxes at coupon level with “Tax Remittance Identifier” set to ‘U’ (Usage) and “Interlineable Indicator” is set to ‘NOT_INTERLINEABLE’

For each coupon used in the “Usecase” of the envelope, if the “Owner Airline” is the same as the “Marketing Airline”, the following taxes have to be reported:


 * Calculated Taxes at coupon level with “Tax Remittance Identifier” set to ‘U’ (Usage) and “Interlineable Indicator” is set to ‘INTERLINEABLE’

For each coupon used in the “Usecase” of the envelope, if the “Owner Airline” is the same as the “Marketing Airline” and if the “Owner Airline” is not the same as the “Validating Airline”, the following taxes have to be reported:


 * Calculated Taxes at coupon level with “Tax Remittance Identifier” set to ‘S’ (Sales) and “Interlineable Indicator” is set to ‘INTERLINEABLE’

Table 15: Calculated taxes to be reported after Coupon usage

name="_Toc313033445"

The following process is done only if the envelope contains one of the following usecases:


 * HOT confirmation for Refund (HOTR)
 * CAT confirmation for Refund (CATR)
 * Sales Report Confirmation for Refund (SRCR)

The amounts reported are negative in this process.

If the “Owner Airline” is the same as the “Validating Airline”, the following process applies:

Need to identify the right “Refunded Document Information”. Idea: add the envelope number as for Offline acquisition object. Mail on going

Each “Refunded Document Information” has a single “Refund Monetary Information” which can contain several “Refunded Tax”. Each “Refunded Tax” has to be reported but the amount to be reported can be adjusted according to the following checks.

1.1.4.1  Check on refunded tax amount

The process is different if the Refund is a standard refund or a cover refund.

If all “Refunded Tax” have a “Disputing Difference” equal to their “Value”, it can be a cover refund. Else it is a standard refund.

In the case of all “Refunded Tax” having a “Disputing Difference” equal to their “Value”, the confirmed envelope is retrieved. If the “Event” is ‘COVER REFUND’, it is a cover refund and the process goes on as described in section Tax amount to report for cover refund (See 3.13.4.1.2). In any other case, the process goes on as described in section Tax amount to report for standard refund (See 3.13.4.1.1).

name="_Ref314069266"

For each “Refunded Tax”, if the “Difference Status” is one of the following:


 * ‘ACCEPTED_UNDER_DIFFERENCE’
 * ‘REJECTED_UNDER_DIFFERENCE’
 * ‘ACCEPTED_UNDER_DIFFERENCE_WARNING’
 * ‘REJECTED_UNDER_DIFFERENCE_WARNING’

Then, the tax amount to be reported is the “Value” of the “Refunded Tax”.

Else, the tax amount to be reported is the “Value” of the “Refunded Tax” minus “Disputing Difference”.

name="_Ref314069204"

Each tax must be reported with the “Value” of the “Refunded Tax”.

name="_Toc313033446"

The following process is done only if the envelope contains one of the following usecases:


 * HOT confirmation for Cancellation (HOTC)
 * CAT confirmation for Cancellation (CATC)
 * Sales Report Confirmation for Cancellation (SRCC)

The following process is done only if an “Offline Acquisition” object is present in the document with following data:


 * “Transaction code” = ‘TKTT’
 * “Envelope Number” < “Envelope Number” of “Offline Confirmation” object currently confirmed

The amounts reported are negative in this process.

If the “Owner Airline” is the same as the “Validating Airline”, the following taxes have to be reported:


 * Calculated taxes at document level with “Tax Remittance Identifier” set to ‘S’ (Sales)
 * For all coupons:


 * Calculated Taxes at coupon level with “Tax Remittance Identifier” set to ‘S’ (Sales) and “Interlineable Indicator” is set to ‘NOT_INTERLINEABLE’
 * Calculated Taxes at coupon level with “Tax Remittance Identifier” set to ‘S’ (Sales), “Interlineable Indicator” is set to ‘INTERLINEABLE’ and “Validating Airline” is the same as the “Marketing Airline”

Table 17: Calculated taxes to be reported (negative amount) after Cancellation Confirmation if Sales Confirmation was received