# TL05 - Retrieve transaction logs files once asynchronous transaction logs export is complete (TL04) Retrieve each chunk of an transaction logs export file via the URL generated once the asynchronous transaction logs export is complete Endpoint: GET /dynamic-url/The+URL+is+retrieved+from+TL04+output/TL05 ## Path parameters: - `tracking_id` (string, required) The asynchronous transaction log export id ## Query parameters: - `file` (string, required) The asynchronous transaction log export chunk file - `shop_id` (integer) Use this parameter when your user has access to several shops. If not specified, the shop_id from your default shop will be used. ## Response 200 fields (application/json): - `accounting_document_creation_date` (string) The billing cycle's accounting document creation date - `accounting_document_id` (string) The billing cycle's accounting document id. This field is only available for documents requests of the type: SHOP_BILLING_CYCLE_PURCHASE_ORDER. - `accounting_document_number` (string) The billing cycle's accounting document number - `amount` (integer) The amount. - `amount_credited` (integer) The amount credited. - `amount_debited` (integer) The amount debited. - `balance` (integer) The balance of the transaction. - `currency_iso_code` (string) The currency of the shop (iso format) - `date_created` (string) Creation date of the transaction line - `entities` (object) Node containing additional information depending on type of the transaction and the domain. - `entities.channel` (object) A node containing channel information - `entities.channel.code` (string) The channel code - `entities.debit` (object) A node containing debit information if any - `entities.debit.id` (string) The debit id - `entities.domain` (string) The domain of the entities related to the transaction line (PRODUCT or SERVICE) - `entities.fee` (object) A node containing seller additional fee information if any - `entities.fee.cancelations` (array) The list of cancelations information if any - `entities.fee.cancelations.id` (string) The Cancelation id if the transaction log is relative to a cancelation - `entities.fee.code` (string) The code of the seller additional fee - `entities.fee.refunds` (array) The list of refunds information if any - `entities.fee.refunds.id` (string) The refund id if the transaction log is relative to a refund - `entities.manual_accounting_document` (object) A node containing manual accounting document information if any - `entities.manual_accounting_document.number` (string) The manual accounting document number. - `entities.manual_accounting_document.emission_date` (string) The manual accounting document emission date. - `entities.order` (object) A node containing order information if any - `entities.order.commercial_id` (string) The order commercial id - `entities.order.creation_date` (string) The order creation date - `entities.order.id` (string) The order id - `entities.order.payment_info` (object) A node containing payment information - `entities.order.payment_info.imprint_number` (string) The payment imprint number received by OR01 or SOR01 - `entities.order.payment_info.payment_type` (string) The payment's type used by the customer to pay this order - `entities.order.references` (object) A node containing order references - `entities.order.references.order_reference_for_customer` (string) Order reference for customer. - `entities.order.references.order_reference_for_seller` (string) Order reference for seller. - `entities.order_fee` (object) A node containing order fee information if any - `entities.order_fee.code` (string) The code of the transaction log fee - `entities.order_line` (object) A node containing order line information if any - `entities.order_line.id` (string) The order line id - `entities.order_tax` (object) A node containing order tax information if any - `entities.order_tax.code` (string) The code of the transaction log tax - `entities.order_tax.rate` (number) Tax rate - `entities.refund` (object) A node containing refund information if any - `entities.shipment` (object) A node containing shipment information if any - `entities.shipment.id` (string) The shipment id if the transaction log is relative to a shipment - `entities.shop_tax` (object) A node containing shop tax information if any - `entities.shop_tax.code` (string) The code of the shop tax applied. Nb: This field will be set for line of type COMMISSION_VAT, MANUAL_CREDIT_VAT, MANUAL_INVOICE_VAT, REFUND_COMMISSION_VAT, SUBSCRIPTION_VAT - `entities.shop_tax.rate` (number) Shop tax rate applied Nb: This field will be set for line of type COMMISSION_VAT, MANUAL_CREDIT_VAT, MANUAL_INVOICE_VAT, REFUND_COMMISSION_VAT, SUBSCRIPTION_VATFor backward-compatibility reason, this field will be filled for lines of type COMMISSION_FEE with the rate of the first taxapplied to the shop. In this case, the value should be ignored. - `entities.transaction_info` (object) A node containing transaction information if any - `entities.transaction_info.date` (string) The transaction date. - `entities.transaction_info.number` (string) Transaction number - `id` (string) Identifier of the transaction - `last_updated` (string) Date of last update of the transaction line - `pay_out_psp_code` (string) Pay-out PSP code associated with the transaction. Enum: "NOT_SPECIFIED", "MANGOPAY" - `payment_state` (string) The payment state of the transaction. Enum: "PENDING", "PAYABLE", "PAID", "NOT_APPLICABLE", "RESERVE" - `psp_balance` (integer) The Pay-out balance of the transaction. - `type` (string) Type of transaction (refund, transaction fee, etc ...) Enum: "MANUAL_CREDIT", "MANUAL_CREDIT_VAT", "MANUAL_INVOICE", "MANUAL_INVOICE_VAT", "ORDER_AMOUNT", "ORDER_AMOUNT_TAX", "ORDER_SHIPPING_AMOUNT", "ORDER_SHIPPING_AMOUNT_TAX", "COMMISSION_FEE", "COMMISSION_VAT", "REFUND_ORDER_AMOUNT", "REFUND_ORDER_AMOUNT_TAX", "REFUND_ORDER_SHIPPING_AMOUNT", "REFUND_ORDER_SHIPPING_AMOUNT_TAX", "REFUND_COMMISSION_FEE", "REFUND_COMMISSION_VAT", "SUBSCRIPTION_FEE", "SUBSCRIPTION_VAT", "OPERATOR_REMITTED_ORDER_AMOUNT_TAX", "OPERATOR_REMITTED_ORDER_SHIPPING_AMOUNT_TAX", "OPERATOR_REMITTED_REFUND_ORDER_AMOUNT_TAX", "OPERATOR_REMITTED_REFUND_ORDER_SHIPPING_AMOUNT_TAX", "OPERATOR_PAID_ORDER_SHIPPING_AMOUNT", "OPERATOR_PAID_ORDER_SHIPPING_AMOUNT_TAX", "OPERATOR_PAID_REFUND_ORDER_SHIPPING_AMOUNT", "OPERATOR_PAID_REFUND_ORDER_SHIPPING_AMOUNT_TAX", "PAYMENT", "PURCHASE_COMMISSION_FEE", "PURCHASE_SHIPPING_COMMISSION_FEE", "PURCHASE_ORDER_AMOUNT_TAX", "PURCHASE_ORDER_SHIPPING_AMOUNT_TAX", "REFUND_PURCHASE_COMMISSION_FEE", "REFUND_PURCHASE_SHIPPING_COMMISSION_FEE", "REFUND_PURCHASE_ORDER_AMOUNT_TAX", "REFUND_PURCHASE_ORDER_SHIPPING_AMOUNT_TAX", "ORDER_FEE_AMOUNT", "OPERATOR_REMITTED_ORDER_FEE_AMOUNT", "REFUND_ORDER_FEE_AMOUNT", "OPERATOR_REMITTED_REFUND_ORDER_FEE_AMOUNT", "PURCHASE_FEE_COMMISSION_FEE", "REFUND_PURCHASE_FEE_COMMISSION_FEE", "RESERVE_FUNDING", "RESERVE_SETTLEMENT", "SELLER_FEE_ON_ORDER", "SELLER_FEE_ON_ORDER_TAX", "SELLER_PENALTY_FEE", "SELLER_PENALTY_FEE_TAX"