---
title: "Simulate L2l3"
method: POST
path: "/cards/transaction_simulations/clearing/l2l3"
tags: ["Card Transaction Simulations"]
---

# Simulate L2l3

`POST /cards/transaction_simulations/clearing/l2l3`

> 🚧 Alpha
> This is a Alpha endpoint. Feedback from the community is welcome. We may make breaking changes to this endpoint.

Simulate a l2l3 type transaction by including the original_transaction_id and enhanced data in your request.

L2L3 events enhance the data of a transaction with the `l2l3` details from your request.

## Request body

- L2l3Model
  - `enhanced_data_id` string
  - `financial` Financial
    - `tax_id` string
    - `total_tax_amount` integer
    - `total_tax_amount_indicator` string
  - `fleet_emv` FleetsEmv
    - `employee_number` string
    - `expanded_fuel_type` string
    - `fuel_gross_amount` integer
    - `fuel_net_amount` integer
    - `fuel_quantity` number, float
    - `fuel_unit_of_measure` string
    - `fuel_unit_price` number, float
    - `non_fuel_gross_amount` integer
    - `non_fuel_item_details` NonFuelItemDetails[]
      - `description` string
      - `product_code` string
      - `quantity` integer
      - `unit_of_measure` string
      - `unit_price` integer
    - `non_fuel_net_amount` integer
    - `odometer_reading` string
    - `service_type` string
    - `trailer_number` string
    - `type_of_purchase` string
    - `vat_tax_rate` number, float
  - `fleets` Fleets
    - `driver_id` string
    - `expanded_fuel_type` string
    - `fleet_number` string
    - `fuel_gross_amount` integer
    - `fuel_net_amount` integer
    - `fuel_product_qualifier` string
    - `fuel_purchase_type` string
    - `fuel_quantity` number, float
    - `fuel_service_type` string
    - `fuel_tax_amount` integer
    - `fuel_tax_exemption_status` string
    - `fuel_type` string
    - `fuel_unit_of_measure` string
    - `fuel_unit_price` number, float
    - `job_number` string
    - `non_fuel_gross_amount` integer
    - `non_fuel_item_details` NonFuelItemDetails[]
      - `description` string
      - `product_code` string
      - `quantity` integer
      - `unit_of_measure` string
      - `unit_price` integer
    - `non_fuel_net_amount` integer
    - `non_fuel_tax_amount` integer
    - `non_fuel_tax_exemption_status` string
    - `odometer_reading` string
    - `sales_tax_amount` integer
    - `service_type` string
    - `type_of_purchase` string
    - `vat_tax_rate` number, float
    - `vehicle_id` string
  - `inventory_details` InventoryDetails[]
    - `commodity_code` string
    - `description` string
    - `discount_amount` string
    - `item_detail_taxes` ItemDetailTaxes[]
      - `detail_tax_amount` integer
      - `detail_tax_amount_inclusion_indicator` string
      - `detail_tax_amount_indicator` string
      - `detail_tax_rate` integer
      - `detail_tax_type_applied` string
      - `detail_tax_type_identifier` string
    - `item_discount_amount` integer
    - `item_discount_amount_indicator` string
    - `item_discount_applied_indicator` string
    - `item_discount_rate` integer
    - `item_extended_amount` integer
    - `item_extended_amount_indicator` string
    - `item_total_amount` integer
    - `item_total_amount_indicator` string
    - `item_vat_amount` integer
    - `item_vat_rate` integer
    - `product_code` string
    - `quantity` number, float
    - `total_amount` string
    - `unit_of_measure` string
    - `unit_price` integer
    - `vat_tax_amount` string
    - `vat_tax_rate` string
  - `original_transaction_id` string, required — Value of the `transaction.token` returned in the simulated clearing response.
  - `purchase_order` string

## Response `201`

Success

- SimulationResponseModel

## Other responses

- `400` — BadRequest
- `401` — Unauthorized
- `403` — Forbidden error
- `500` — Internal server error

---

[API](https://skmtc.net/synctera/apis/synctera-api.md) · [All operations](https://skmtc.net/synctera/apis/synctera-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/synctera/synctera-api/versions/b0d812e6cdd0/schema)
