Arquivo completo - Layout 2.2

Nesse exemplo reunimos diversos cenários que podem ocorrer, por exemplo, Autorização, Cancelamento, Chargeback, Transações Parceladas, Liquidação, etc

<Conciliation>
	<Header>
		<GenerationDateTime>20151013145131</GenerationDateTime>
		<StoneCode>123456789</StoneCode>
		<LayoutVersion>2</LayoutVersion>
		<FileId>020202</FileId>
		<ReferenceDate>20150920</ReferenceDate>
	</Header>
	<FinancialTransactions>
		<Transaction>
			<Events>
				<CancellationCharges>0</CancellationCharges>
				<Cancellations>1</Cancellations>
				<Captures>0</Captures>
				<ChargebackRefunds>0</ChargebackRefunds>
				<Chargebacks>0</Chargebacks>
				<Payments>0</Payments>
			</Events>
			<AcquirerTransactionKey>12345678912356</AcquirerTransactionKey>
			<InitiatorTransactionKey>1117737</InitiatorTransactionKey>
			<AuthorizationDateTime>20150818155931</AuthorizationDateTime>
			<CaptureLocalDateTime>20150818125935</CaptureLocalDateTime>
			<Poi>
				<PoiType>4</PoiType>
			</Poi>
			<EntryMode>1</EntryMode>
			<Cancellations>
				<Cancellation>
					<OperationKey>3635000017434024</OperationKey>
					<CancellationDateTime>20150920034340</CancellationDateTime>
					<ReturnedAmount>20.000000</ReturnedAmount>
					<Billing>
						<ChargedAmount>19.602000</ChargedAmount>
						<PrevisionChargeDate>20150921</PrevisionChargeDate>
					</Billing>
				</Cancellation>
			</Cancellations>
		</Transaction>   
		<Transaction>
			<Events>
				<CancellationCharges>0</CancellationCharges>
				<Cancellations>0</Cancellations>
				<Captures>1</Captures>
				<ChargebackRefunds>0</ChargebackRefunds>
				<Chargebacks>0</Chargebacks>
				<Payments>0</Payments>
			</Events>
			<AcquirerTransactionKey>12345678912345</AcquirerTransactionKey>
			<InitiatorTransactionKey>1331632</InitiatorTransactionKey>
			<AuthorizationDateTime>20150920030009</AuthorizationDateTime>
			<CaptureLocalDateTime>20150920000010</CaptureLocalDateTime>
			<AccountType>2</AccountType>
			<InstallmentType>1</InstallmentType>
			<NumberOfInstallments>1</NumberOfInstallments>
			<AuthorizedAmount>50.000000</AuthorizedAmount>
			<CapturedAmount>50.000000</CapturedAmount>
			<AuthorizationCurrencyCode>986</AuthorizationCurrencyCode>
			<IssuerAuthorizationCode>094736</IssuerAuthorizationCode>
			<International>True</International>
			<BrandId>2</BrandId>
			<CardNumber>132456******1122</CardNumber>
			<Poi>
				<PoiType>4</PoiType>
			</Poi>
			<EntryMode>1</EntryMode>
			<Installments>
				<Installment>
					<InstallmentNumber>1</InstallmentNumber>
					<GrossAmount>50.000000</GrossAmount>
					<NetAmount>49.005000</NetAmount>
					<PrevisionPaymentDate>20151020</PrevisionPaymentDate>
				</Installment>
			</Installments>
		</Transaction>
		<Transaction>
			<Events>
			  <CancellationCharges>0</CancellationCharges>
			  <Cancellations>0</Cancellations>
			  <Captures>0</Captures>
			  <ChargebackRefunds>0</ChargebackRefunds>
			  <Chargebacks>1</Chargebacks>
			  <Payments>0</Payments>
			</Events>
			<AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>
			<InitiatorTransactionKey>123456789</InitiatorTransactionKey>
			<AuthorizationDateTime>20150507222332</AuthorizationDateTime>
			<CaptureLocalDateTime>20150507205356</CaptureLocalDateTime>
			<Poi>
				<PoiType>4</PoiType>
			</Poi>
			<EntryMode>1</EntryMode>
			<Installments>
				<Installment>
					<InstallmentNumber>1</InstallmentNumber>
					<GrossAmount>72.100000</GrossAmount>
					<NetAmount>71.220000</NetAmount>
					<PrevisionPaymentDate>20150608</PrevisionPaymentDate>
					<Chargebacks>
						<Chargeback>
							<Id>11964103694</Id>
							<Amount>71.220000</Amount>
							<Date>20150920</Date>
							<ChargeDate>20150920</ChargeDate>
							<ReasonCode>4837</ReasonCode>
						</Chargeback>
					</Chargebacks>
					<ChargebackRefunds />
				</Installment>
			</Installments>
		</Transaction>
    	<Transaction>
		<Events>
			<CancellationCharges>0</CancellationCharges>
			<Cancellations>0</Cancellations>
			<Captures>0</Captures>
			<ChargebackRefunds>0</ChargebackRefunds>
			<Chargebacks>1</Chargebacks>
			<Payments>0</Payments>
		</Events>
		<AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>
		<InitiatorTransactionKey>123456789</InitiatorTransactionKey>
		<AuthorizationDateTime>20150901154748</AuthorizationDateTime>
		<CaptureLocalDateTime>20150901082639</CaptureLocalDateTime>
		<Poi>
			<PoiType>4</PoiType>
		</Poi>
		<EntryMode>1</EntryMode>
		<Installments>
                <Installment>
                    <InstallmentNumber>1</InstallmentNumber>
                    <GrossAmount>694.000000</GrossAmount>
                    <NetAmount>678.454400</NetAmount>
                    <PrevisionPaymentDate>20150930</PrevisionPaymentDate>
                    <Chargebacks>
                        <Chargeback>
                            <Id>187384389</Id>
                            <Amount>678.454400</Amount>
                            <Date>20150920</Date>
                            <ChargeDate>20150930</ChargeDate>
                            <ReasonCode>83</ReasonCode>
                        </Chargeback>
                    </Chargebacks>
                </Installment>
            </Installments>
	</Transaction>
		<Transaction>
			<Events>
			  <CancellationCharges>0</CancellationCharges>
			  <Cancellations>0</Cancellations>
			  <Captures>0</Captures>
			  <ChargebackRefunds>1</ChargebackRefunds>
			  <Chargebacks>0</Chargebacks>
			  <Payments>0</Payments>
			</Events>
			<AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>
			<InitiatorTransactionKey>123456789</InitiatorTransactionKey>
			<AuthorizationDateTime>20160509154748</AuthorizationDateTime>
			<CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>
			<Poi>
			  <PoiType>4</PoiType>
			</Poi>
			<EntryMode>1</EntryMode>
			<Installments>
			  <Installment>
				<InstallmentNumber>1</InstallmentNumber>
				<GrossAmount>694.000000</GrossAmount>
				<NetAmount>678.454400</NetAmount>
				<PrevisionPaymentDate>20160609</PrevisionPaymentDate>
				<ChargebackRefund>
				  <Id>149222320</Id>
				  <Amount>678.454400</Amount>
				  <Date>20160610</Date>
				  <PaymentDate>20160611</PaymentDate>
				  <ReasonCode>83</ReasonCode>
				</ChargebackRefund>
			  </Installment>
			</Installments>
		</Transaction>
		<Transaction>
			<Events>
				<CancellationCharges>0</CancellationCharges>
				<Cancellations>1</Cancellations>
				<Captures>1</Captures>
				<ChargebackRefunds>0</ChargebackRefunds>
				<Chargebacks>0</Chargebacks>
				<Payments>0</Payments>
			</Events>
			<AcquirerTransactionKey>36350017433715</AcquirerTransactionKey>
			<InitiatorTransactionKey>1331697</InitiatorTransactionKey>
			<AuthorizationDateTime>20150920033610</AuthorizationDateTime>
			<CaptureLocalDateTime>20150920003610</CaptureLocalDateTime>
			<AccountType>2</AccountType>
			<InstallmentType>1</InstallmentType>
			<NumberOfInstallments>1</NumberOfInstallments>
			<AuthorizedAmount>125.790000</AuthorizedAmount>
			<CapturedAmount>125.790000</CapturedAmount>
			<CanceledAmount>125.790000</CanceledAmount>
			<AuthorizationCurrencyCode>986</AuthorizationCurrencyCode>
			<IssuerAuthorizationCode>661137</IssuerAuthorizationCode>
			<International>True</International>
			<BrandId>1</BrandId>
			<CardNumber>123456******1122</CardNumber>
			<Poi>
				<PoiType>4</PoiType>
			</Poi>
			<EntryMode>1</EntryMode>
			<Cancellations>
				<Cancellation>
					<CancellationDateTime>20150920000000</CancellationDateTime>
					<ReturnedAmount>125.790000</ReturnedAmount>
				</Cancellation>
			</Cancellations>
			<Installments>
				<Installment>
					<InstallmentNumber>1</InstallmentNumber>
					<GrossAmount>125.790000</GrossAmount>
					<NetAmount />
				</Installment>
			</Installments>
		</Transaction>
	</FinancialTransactions>
	<FinancialEvents>
		<Event>
			<EventId>29869413</EventId>
			<Description>PosRent</Description>
			<Type>22</Type>
			<PrevisionPaymentDate>20150923</PrevisionPaymentDate>
			<Amount>-59.000000</Amount>
		</Event>
	</FinancialEvents>
	<FinancialTransactionsAccounts>
		<Transaction>
			<Events>
				<CancellationCharges>0</CancellationCharges>
				<Cancellations>0</Cancellations>
				<Captures>0</Captures>
				<ChargebackRefunds>0</ChargebackRefunds>
				<Chargebacks>0</Chargebacks>
				<Payments>1</Payments>
			</Events>
			<AcquirerTransactionKey>31550012403598</AcquirerTransactionKey>
			<InitiatorTransactionKey>ad50f27deee549b2</InitiatorTransactionKey>
			<AuthorizationDateTime>20150803210946</AuthorizationDateTime>
			<CaptureLocalDateTime>20150803182445</CaptureLocalDateTime>
			<Poi>
				<PoiType>4</PoiType>
			</Poi>
			<EntryMode>1</EntryMode>
			<Installments>
				<Installment>
					<InstallmentNumber>1</InstallmentNumber>
					<GrossAmount>123.440000</GrossAmount>
					<NetAmount>120.354375</NetAmount>
					<PaymentDate>20150920</PaymentDate>
					<PaymentId>109963</PaymentId>
				</Installment>
			</Installments>
		</Transaction>
		<Transaction>
			<Events>
				<CancellationCharges>0</CancellationCharges>
				<Cancellations>0</Cancellations>
				<Captures>0</Captures>
				<ChargebackRefunds>0</ChargebackRefunds>
				<Chargebacks>0</Chargebacks>
				<Payments>1</Payments>
			</Events>
			<AcquirerTransactionKey>31550012405762</AcquirerTransactionKey>
			<InitiatorTransactionKey>f172e42e9aa7446e</InitiatorTransactionKey>
			<AuthorizationDateTime>20150803212449</AuthorizationDateTime>
			<CaptureLocalDateTime>20150803183941</CaptureLocalDateTime>
			<Poi>
				<PoiType>4</PoiType>
			</Poi>
			<EntryMode>1</EntryMode>
			<Installments>
				<Installment>
					<InstallmentNumber>1</InstallmentNumber>
					<GrossAmount>468.400000</GrossAmount>
					<NetAmount>457.533120</NetAmount>
					<PaymentDate>20150920</PaymentDate>
					<PaymentId>109963</PaymentId>
				</Installment>
			</Installments>
		</Transaction>
		<Transaction>
			<Events>
				<CancellationCharges>0</CancellationCharges>
				<Cancellations>0</Cancellations>
				<Captures>0</Captures>
				<ChargebackRefunds>0</ChargebackRefunds>
				<Chargebacks>0</Chargebacks>
				<Payments>1</Payments>
			</Events>
			<AcquirerTransactionKey>31550046605762</AcquirerTransactionKey>
			<InitiatorTransactionKey>f172e42e9af1146e</InitiatorTransactionKey>
			<AuthorizationDateTime>20150722132149</AuthorizationDateTime>
			<CaptureLocalDateTime>20150722102149</CaptureLocalDateTime>
			<Poi>
				<PoiType>4</PoiType>
			</Poi>
			<EntryMode>1</EntryMode>
			<Installments>
				<Installment>
					<InstallmentNumber>2</InstallmentNumber>
					<GrossAmount>120.500000</GrossAmount>
					<NetAmount>116.880000</NetAmount>
					<PaymentDate>20150920</PaymentDate>
					<PaymentId>109963</PaymentId>
				</Installment>
			</Installments>
		</Transaction>
		<Transaction>
			<Events>
				<CancellationCharges>1</CancellationCharges>
				<Cancellations>0</Cancellations>
				<Captures>0</Captures>
				<ChargebackRefunds>0</ChargebackRefunds>
				<Chargebacks>0</Chargebacks>
				<Payments>0</Payments>
			</Events>
			<AcquirerTransactionKey>23406574723783</AcquirerTransactionKey>
			<InitiatorTransactionKey>92bd3c2d51a04606</InitiatorTransactionKey>
			<AuthorizationDateTime>20150513183438</AuthorizationDateTime>
			<CaptureLocalDateTime>20150513155629</CaptureLocalDateTime>
			<Poi>
				<PoiType>4</PoiType>
			</Poi>
			<EntryMode>1</EntryMode>
			<Cancellations>
				<Cancellation>
					<OperationKey>2820007032376629</OperationKey>
					<CancellationDateTime>20150919134310</CancellationDateTime>
					<ReturnedAmount>41.400000</ReturnedAmount>
					<Billing>
						<ChargedAmount>40.890000</ChargedAmount>
						<ChargeDate>20150920</ChargeDate>
					</Billing>
					<PaymentId>109863</PaymentId>
				</Cancellation>
			</Cancellations>
		</Transaction>
		<Transaction>
			<Events>
				<CancellationCharges>0</CancellationCharges>
				<Cancellations>0</Cancellations>
				<Captures>0</Captures>
				<ChargebackRefunds>1</ChargebackRefunds>
				<Chargebacks>0</Chargebacks>
				<Payments>0</Payments>
			</Events>
			<AcquirerTransactionKey>27206945308777</AcquirerTransactionKey>
			<InitiatorTransactionKey>de8015ee5ede4cc8</InitiatorTransactionKey>
			<AuthorizationDateTime>20150620223721</AuthorizationDateTime>
			<CaptureLocalDateTime>20150620205553</CaptureLocalDateTime>
			<Poi>
				<PoiType>4</PoiType>
			</Poi>
			<EntryMode>1</EntryMode>
			<Installments>
				<Installment>
					<InstallmentNumber>1</InstallmentNumber>
					<GrossAmount>61.800000</GrossAmount>
					<NetAmount>61.050000</NetAmount>
					<PrevisionPaymentDate>20150719</PrevisionPaymentDate>
					<Chargebacks />
					<ChargebackRefunds>
						<ChargebackRefund>
							<Id>11930122419</Id>
							<Amount>61.050000</Amount>
							<Date>20150920</Date>
							<PaymentDate>20200702</PaymentDate>
							<ReasonCode>4853</ReasonCode>
							<PaymentId>109963</PaymentId>
						</ChargebackRefund>
					</ChargebackRefunds>
				</Installment>
			</Installments>
		</Transaction>
	</FinancialTransactionsAccounts>
	<FinancialEventAccounts>
		<Event>
			<EventId>38883564</EventId>
			<PaymentId>109863</PaymentId>
			<Description>FinancialAdjustment</Description>
			<Type>5</Type>
			<PaymentDate>20150920</PaymentDate>
			<Amount>976.880000</Amount>
		</Event>
		<Event>
			<EventId>38883678</EventId>
			<PaymentId>109863</PaymentId>
			<Description>PosRent</Description>
			<Type>22</Type>
			<PaymentDate>20150920</PaymentDate>
			<Amount>-50.000000</Amount>
		</Event>
	</FinancialEventAccounts>
	<Payments>
		<Payment>
			<Id>109963</Id>
			<WalletTypeId>3</WalletTypeId>
			<TotalAmount>577.88</TotalAmount>
			<TotalFinancialAccountsAmount>577.88</TotalFinancialAccountsAmount>
			<LastNegativeAmount>0.00</LastNegativeAmount>
			<FavoredBankAccount>
				<BankCode>1</BankCode>
				<BankBranch>24111</BankBranch>
				<BankAccountNumber>0123456</BankAccountNumber>
			</FavoredBankAccount>
		</Payment>
		<Payment>
			<Id>109863</Id>
			<WalletTypeId>1</WalletTypeId>
			<TotalAmount>840.72</TotalAmount>
			<TotalFinancialAccountsAmount>840.72</TotalFinancialAccountsAmount>
			<LastNegativeAmount>0.00</LastNegativeAmount>
			<FavoredBankAccount>
				<BankCode>1</BankCode>
				<BankBranch>24111</BankBranch>
				<BankAccountNumber>0123456</BankAccountNumber>
			</FavoredBankAccount>
		</Payment>
	</Payments>
	<Trailer>
		<CapturedTransactionsQuantity>2</CapturedTransactionsQuantity>
		<CanceledTransactionsQuantity>2</CanceledTransactionsQuantity>
		<PaidInstallmentsQuantity>3</PaidInstallmentsQuantity>
		<ChargedCancellationsQuantity>1</ChargedCancellationsQuantity>
		<ChargebacksQuantity>2</ChargebacksQuantity>
		<ChargebacksRefundQuantity>1</ChargebacksRefundQuantity>
		<ChargedChargebacksQuantity>1</ChargedChargebacksQuantity>
		<PaidChargebacksRefundQuantity>1</PaidChargebacksRefundQuantity>
		<PaidEventsQuantity>1</PaidEventsQuantity>
		<ChargedEventsQuantity>1</ChargedEventsQuantity>
	</Trailer>
</Conciliation>