# AvaTaxExciseController_CreateTransaction

Creates and calculates taxes for an AvaTax Excise transaction.

`POST /api/v1/AvaTaxExcise/transactions/create`

**API:** Excise Platform API
**Tag:** AvaTaxExciseController
**API Version:** v1
**Base URL:** https://excise.avalara.com
**Content-Type:** `application/json`
**Accepts:** `application/json`
**Authentication:** Basic (username + license key)

Source: https://developer.avalara.com/products/excise/api/methods/AvaTaxExciseController/AvaTaxExciseController_CreateTransaction/

## Description

Creates a new AvaTax Excise transaction and calculates the applicable taxes. The transaction
is processed by the determination engine and the calculated tax results are returned.

## Parameters

| Name | Type | In | Required | Description |
|---|---|---|---|---|
| `x-company-id` | integer | header | Yes | Company ID that owns the data. |
| `X-Avalara-Client` | string | header | No | Identifies the software you are using to call this API. For more information on the client header, see Client Headers. |
| `include` | string | query | No | Specifies one or more options to include additional nested data in the response. Separate multiple values with commas. |

## Request Body

**Schema:** `Avalara.Excise.Determination.Engine.RestTransaction`

Represents a REST transaction containing all transaction details, lines, schedules, and exchange rates for excise tax calculations.

| Property | Type | Required | Description |
|---|---|---|---|
| `TransactionSchedule` | Avalara.Excise.Determination.Engine.RestTransactionSchedule | No | Party, account, and address details at the transaction level used for excise tax schedule determination. |
| `TransactionLines` | Avalara.Excise.Determination.Engine.RestTransactionLine[] | No | Product or charge lines that make up this transaction. |
| `TransactionExchangeRates` | Avalara.Excise.Determination.Engine.RestTransactionExchangeRate[] | No | Foreign-exchange rates used to convert amounts across currencies on this transaction. |
| `EffectiveDate` | string | No | The date when the record becomes effective. Example: `2024-01-01T00:00:00`. |
| `InvoiceDate` | string | No | The date of the invoice. Example: `2024-06-15T00:00:00`. |
| `InvoiceNumber` | string | No | The invoice number. Example: `INV-2024-001`. |
| `FuelUseCode` | string | No | The code classifying fuel end use for excise tax purposes. Example: `custom value`. |
| `TitleTransferCode` | string | No | The code indicating the point of title transfer. Example: `DEST`. |
| `TransactionType` | string | No | The transaction category (for example sale, purchase, or transfer). Example: `SALE`. |
| `TransportationModeCode` | string | No | The mode of transportation for the movement (for example truck, rail, or pipeline). Example: `TRUCK`. |
| `Seller` | string | No | The seller identifier on the transaction. Example: `SELLER-001`. |
| `Buyer` | string | No | The buyer identifier on the transaction. Example: `BUYER-001`. |
| `PreviousSeller` | string | No | The upstream seller in the supply chain, when applicable. Example: `PREV-SELLER-001`. |
| `NextBuyer` | string | No | The subsequent buyer in the supply chain, when applicable. Example: `NEXT-BUYER-001`. |
| `Middleman` | string | No | The middleman or intermediary in the transaction chain. Example: `MID-001`. |
| `CustomsStatus` | string | No | Customs status for cross-border excise treatment. Example: `CLEARED`. |
| `FormAPresentedInd` | string | No | Whether Form A was presented for duty-related exemption. Example: `Y`. |
| `SimplifiedProcedureInd` | string | No | Whether a simplified customs procedure applies. Example: `N`. |
| `Incoterms` | string | No | Incoterms (international commercial terms) for the shipment or sale. Example: `FOB`. |
| `PerspectiveBusinessType` | string | No | The reporting party's business type used to interpret the transaction for tax. Example: `DIST`. |
| `ChainLeg` | string | No | Identifier for this leg in a multi-hop supply chain. Example: `1`. |
| `OrderType` | string | No | The order or document type for this transaction. Example: `STANDARD`. |
| `TotalDyedUnits` | number | No | Total quantity of dyed fuel units across the transaction. Example: `1000`. |
| `TotalReportingTaxes` | number | No | Aggregate tax in the reporting currency for compliance or ledger reporting. Example: `1000`. |
| `ReportingCurrency` | string | No | The ISO currency code for reporting amounts. Example: `USD`. |
| `ReportingUnitOfMeasure` | string | No | Unit of measure used for reporting quantities or bases on this transaction. Example: `GAL`. |
| `UserData` | string | No | Opaque client-defined payload carried with the transaction. Example: `custom value`. |
| `UserTranId` | string | No | Client-supplied identifier correlating this transaction in the caller's system. Example: `TXN-2024-001`. |
| `SourceSystem` | string | No | The originating system or application for this transaction. Example: `ERP`. |
| `CustomString1` | string | No | Extension string field 1 for transaction-level attributes. Example: `custom value`. |
| `CustomString2` | string | No | Extension string field 2 for transaction-level attributes. Example: `custom value`. |
| `CustomString3` | string | No | Extension string field 3 for transaction-level attributes. Example: `custom value`. |
| `CustomNumeric1` | number | No | Extension numeric field 1 for transaction-level attributes. Example: `0`. |
| `CustomNumeric2` | number | No | Extension numeric field 2 for transaction-level attributes. Example: `0`. |
| `CustomNumeric3` | number | No | Extension numeric field 3 for transaction-level attributes. Example: `0`. |
| `DebugInd` | string | No | Requests diagnostic detail in the calculation response when supported. Example: `N`. |
| `CalculationMethod` | string | No | The tax determination or calculation method to apply. Example: `STANDARD`. |
| `CommitStatus` | string | No | Posting or commit lifecycle state of the transaction. Example: `OPEN`. |
| `AvaTaxTransactionType` | string | No | Transaction type code used when integrating with AvaTax. Example: `SalesOrder`. |
| `Discount` | number | No | Discount amount applied at the transaction level. Example: `3.5`. |
| `EntityUseCode` | string | No | Entity use code affecting exemption or tax treatment. Example: `A`. |
| `CustomString4` | string | No | Extension string field 4 for transaction-level attributes. Example: `custom value`. |
| `CustomString5` | string | No | Extension string field 5 for transaction-level attributes. Example: `custom value`. |
| `CustomString6` | string | No | Extension string field 6 for transaction-level attributes. Example: `custom value`. |
| `CustomString7` | string | No | Extension string field 7 for transaction-level attributes. Example: `custom value`. |
| `CustomString8` | string | No | Extension string field 8 for transaction-level attributes. Example: `custom value`. |
| `CustomString9` | string | No | Extension string field 9 for transaction-level attributes. Example: `custom value`. |
| `CustomString10` | string | No | Extension string field 10 for transaction-level attributes. Example: `custom value`. |
| `CustomNumeric4` | number | No | Extension numeric field 4 for transaction-level attributes. Example: `0`. |
| `CustomNumeric5` | number | No | Extension numeric field 5 for transaction-level attributes. Example: `0`. |
| `CustomNumeric6` | number | No | Extension numeric field 6 for transaction-level attributes. Example: `0`. |
| `CustomNumeric7` | number | No | Extension numeric field 7 for transaction-level attributes. Example: `0`. |
| `CustomNumeric8` | number | No | Extension numeric field 8 for transaction-level attributes. Example: `0`. |
| `CustomNumeric9` | number | No | Extension numeric field 9 for transaction-level attributes. Example: `0`. |
| `CustomNumeric10` | number | No | Extension numeric field 10 for transaction-level attributes. Example: `0`. |
| `ExemptionCode` | string | No | Code indicating a tax exemption reason or program. Example: `EXEMPT01`. |
| `SellerImporterOfRecordInd` | string | No | Whether the seller is the importer of record for customs or excise purposes. Values: `Y`, `N`. Example: `Y`. |

## Responses

| Status | Description | Schema |
|---|---|---|
| 200 | Returns the calculated tax results and transaction details for the created transaction. | `Avalara.Excise.Determination.Engine.RestTransactionResult` |
| 400 | The transaction is null or invalid. |  |

### 200 Response: `Avalara.Excise.Determination.Engine.RestTransactionResult`

Represents the result of a REST transaction processing, including status, taxes, errors, and the complete transaction response.

| Property | Type | Required | Description |
|---|---|---|---|
| `UserTranId` | string | No | The client-supplied transaction identifier echoed in this result. Example: `USER-TRAN-001`. |
| `TranId` | integer | No | The system-assigned identifier for this calculated transaction. Example: `12345`. |
| `Status` | string | No | The processing status of this record. Example: `Success`. |
| `ReturnCode` | integer | No | The numeric outcome code for this tax calculation request. Example: `0`. |
| `TotalTaxAmount` | number | No | The total calculated tax amount. Example: `184`. |
| `TransactionTaxes` | Avalara.Excise.Determination.Engine.RestTransactionTax[] | No | Per-tax breakdown of amounts, rates, and jurisdictions for this transaction. |
| `TransactionErrors` | Avalara.Excise.Determination.Engine.RestTransactionError[] | No | Errors or warnings encountered while calculating tax for this transaction. |
| `Transaction` | Avalara.Excise.Determination.Engine.RestTransactionResponse | No | The full transaction payload returned with this calculation result. |
| `UserReturnValue` | string | No | A value returned with the result for client-side correlation or downstream use. Example: `custom value`. |

## Example Request

```bash
curl -X POST "https://excise.avalara.com/api/v1/AvaTaxExcise/transactions/create" \
  -H "Authorization: Basic <credentials>" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{
  "TransactionSchedule": {
    "BuyerAccountCountryCode": "USA",
    "BuyerAccountCustomId": "custom value",
    "BuyerAccountJurisdiction": "AL",
    "BuyerAddress1": "123 Main Street",
    "BuyerAddress2": "Suite 100",
    "BuyerAlternateJurisdiction": "AL",
    "BuyerBusinessSubType": "WHOLESALE",
    "BuyerCity": "Montgomery",
    "BuyerCountryCode": "USA",
    "BuyerCounty": "Montgomery",
    "BuyerCountyCode": "001",
    "BuyerCustomId": "custom value",
    "BuyerIdCode": "12-3456789",
    "BuyerIdCodeCountry": "USA",
    "BuyerIdType": "FEIN",
    "BuyerJurisdiction": "AL",
    "BuyerLegalName": "Acme Corporation",
    "BuyerLicenseNumber": "LIC-001",
    "BuyerLicensePercentage": 100,
    "BuyerNameControl": "ACME",
    "BuyerPostalCode": "36104",
    "BuyerTradeName": "Acme Trading",
    "CarrierAccountCountryCode": "USA",
    "CarrierAccountCustomId": "custom value",
    "CarrierAccountJurisdiction": "AL",
    "CarrierAddress1": "123 Main Street",
    "CarrierAddress2": "Suite 100",
    "CarrierAlternateJurisdiction": "AL",
    "CarrierBusinessSubType": "WHOLESALE",
    "CarrierCity": "Montgomery",
    "CarrierCountryCode": "USA",
    "CarrierCounty": "Montgomery",
    "CarrierCountyCode": "001",
    "CarrierCustomId": "custom value",
    "CarrierIdCode": "12-3456789",
    "CarrierIdCodeCountry": "USA",
    "CarrierIdType": "FEIN",
    "CarrierJurisdiction": "AL",
    "CarrierLegalName": "Acme Corporation",
    "CarrierLicenseNumber": "LIC-001",
    "CarrierLicensePercentage": 100,
    "CarrierNameControl": "ACME",
    "CarrierPostalCode": "36104",
    "CarrierTradeName": "Acme Trading",
    "ConsignorAccountCountryCode": "USA",
    "ConsignorAccountCustomId": "custom value",
    "ConsignorAccountJurisdiction": "AL",
    "ConsignorAddress1": "123 Main Street",
    "ConsignorAddress2": "Suite 100",
    "ConsignorAlternateJurisdiction": "AL",
    "ConsignorBusinessSubType": "WHOLESALE",
    "ConsignorCity": "Montgomery",
    "ConsignorCountryCode": "USA",
    "ConsignorCounty": "Montgomery",
    "ConsignorCountyCode": "001",
    "ConsignorCustomId": "custom value",
    "ConsignorIdCode": "12-3456789",
    "ConsignorIdCodeCountry": "USA",
    "ConsignorIdType": "FEIN",
    "ConsignorJurisdiction": "AL",
    "ConsignorLegalName": "Acme Corporation",
    "ConsignorLicenseNumber": "LIC-001",
    "ConsignorLicensePercentage": 100,
    "ConsignorNameControl": "ACME",
    "ConsignorPostalCode": "36104",
    "ConsignorTradeName": "Acme Trading",
    "ExchangePositionAccountCountryCode": "USA",
    "ExchangePositionAccountCustomId": "custom value",
    "ExchangePositionAccountJurisdiction": "AL",
    "ExchangePositionAddress1": "123 Main Street",
    "ExchangePositionAddress2": "Suite 100",
    "ExchangePositionAlternateJurisdiction": "AL",
    "ExchangePositionBusinessSubType": "WHOLESALE",
    "ExchangePositionCity": "Montgomery",
    "ExchangePositionCountryCode": "USA",
    "ExchangePositionCounty": "Montgomery",
    "ExchangePositionCountyCode": "001",
    "ExchangePositionCustomId": "custom value",
    "ExchangePositionIdCode": "12-3456789",
    "ExchangePositionIdCodeCountry": "USA",
    "ExchangePositionIdType": "FEIN",
    "ExchangePositionJurisdiction": "AL",
    "ExchangePositionLegalName": "Acme Corporation",
    "ExchangePositionLicenseNumber": "LIC-001",
    "ExchangePositionLicensePercentage": 100,
    "ExchangePositionNameControl": "ACME",
    "ExchangePositionPostalCode": "36104",
    "ExchangePositionTradeName": "Acme Trading",
    "ImporterAccountCountryCode": "USA",
    "ImporterAccountCustomId": "custom value",
    "ImporterAccountJurisdiction": "AL",
    "ImporterAddress1": "123 Main Street",
    "ImporterAddress2": "Suite 100",
    "ImporterAlternateJurisdiction": "AL",
    "ImporterBusinessSubType": "WHOLESALE",
    "ImporterCity": "Montgomery",
    "ImporterCountryCode": "USA",
    "ImporterCounty": "Montgomery",
    "ImporterCountyCode": "001",
    "ImporterCustomId": "custom value",
    "ImporterIdCode": "12-3456789",
    "ImporterIdCodeCountry": "USA",
    "ImporterIdType": "FEIN",
    "ImporterJurisdiction": "AL",
    "ImporterLegalName": "Acme Corporation",
    "ImporterLicenseNumber": "LIC-001",
    "ImporterLicensePercentage": 100,
    "ImporterNameControl": "ACME",
    "ImporterPostalCode": "36104",
    "ImporterTradeName": "Acme Trading",
    "MiddlemanAccountCountryCode": "USA",
    "MiddlemanAccountCustomId": "custom value",
    "MiddlemanAccountJurisdiction": "AL",
    "MiddlemanAddress1": "123 Main Street",
    "MiddlemanAddress2": "Suite 100",
    "MiddlemanAlternateJurisdiction": "AL",
    "MiddlemanBusinessSubType": "WHOLESALE",
    "MiddlemanCity": "Montgomery",
    "MiddlemanCountryCode": "USA",
    "MiddlemanCounty": "Montgomery",
    "MiddlemanCountyCode": "001",
    "MiddlemanCustomId": "custom value",
    "MiddlemanIdCode": "12-3456789",
    "MiddlemanIdCodeCountry": "USA",
    "MiddlemanIdType": "FEIN",
    "MiddlemanJurisdiction": "AL",
    "MiddlemanLegalName": "Acme Corporation",
    "MiddlemanLicenseNumber": "LIC-001",
    "MiddlemanLicensePercentage": 100,
    "MiddlemanNameControl": "ACME",
    "MiddlemanPostalCode": "36104",
    "MiddlemanTradeName": "Acme Trading",
    "PositionHolderAccountCountryCode": "USA",
    "PositionHolderAccountCustomId": "custom value",
    "PositionHolderAccountJurisdiction": "AL",
    "PositionHolderAddress1": "123 Main Street",
    "PositionHolderAddress2": "Suite 100",
    "PositionHolderAlternateJurisdiction": "AL",
    "PositionHolderBusinessSubType": "WHOLESALE",
    "PositionHolderCity": "Montgomery",
    "PositionHolderCountryCode": "USA",
    "PositionHolderCounty": "Montgomery",
    "PositionHolderCountyCode": "001",
    "PositionHolderCustomId": "custom value",
    "PositionHolderIdCode": "12-3456789",
    "PositionHolderIdCodeCountry": "USA",
    "PositionHolderIdType": "FEIN",
    "PositionHolderJurisdiction": "AL",
    "PositionHolderLegalName": "Acme Corporation",
    "PositionHolderLicenseNumber": "LIC-001",
    "PositionHolderLicensePercentage": 100,
    "PositionHolderNameControl": "ACME",
    "PositionHolderPostalCode": "36104",
    "PositionHolderTradeName": "Acme Trading",
    "SellerAccountCountryCode": "USA",
    "SellerAccountCustomId": "custom value",
    "SellerAccountJurisdiction": "AL",
    "SellerAddress1": "123 Main Street",
    "SellerAddress2": "Suite 100",
    "SellerAlternateJurisdiction": "AL",
    "SellerBusinessSubType": "WHOLESALE",
    "SellerCity": "Montgomery",
    "SellerCountryCode": "USA",
    "SellerCounty": "Montgomery",
    "SellerCountyCode": "001",
    "SellerCustomId": "custom value",
    "SellerIdCode": "12-3456789",
    "SellerIdCodeCountry": "USA",
    "SellerIdType": "FEIN",
    "SellerJurisdiction": "AL",
    "SellerLegalName": "Acme Corporation",
    "SellerLicenseNumber": "LIC-001",
    "SellerLicensePercentage": 100,
    "SellerNameControl": "ACME",
    "SellerPostalCode": "36104",
    "SellerTradeName": "Acme Trading"
  },
  "TransactionLines": [
    {
      "TransactionLineSchedule": {
        "ActivityDate": "2024-01-01T00:00:00",
        "AllowanceCode": "custom value",
        "BaseProduct": "065",
        "BaseProductUnits": 1000,
        "BlendProduct1": "065",
        "BlendProduct1Units": 1000,
        "BlendProduct2": "065",
        "BlendProduct2Units": 1000,
        "BlendProduct3": "065",
        "BlendProduct3Units": 1000,
        "DestinationAlternateFacilityNumber": "custom value",
        "DestinationAlternateJurisdiction": "AL",
        "DestinationCountyCode": "custom value",
        "DestinationDepNumber": "custom value",
        "DestinationDescription": "custom value",
        "DestinationSiteCode": "custom value",
        "DestinationSpecialJurisdiction": "AL-SPJ-01",
        "DestinationStateAssignedCode": "custom value",
        "DestinationTerminalCode": "T01ME1000",
        "DiversionAddress1": "123 Main Street",
        "DiversionAddress2": "Suite 100",
        "DiversionAirportCode": "MGM",
        "DiversionAlternateFacilityNumber": "custom value",
        "DiversionAlternateJurisdiction": "AL",
        "DiversionCity": "Montgomery",
        "DiversionCountryCode": "USA",
        "DiversionCounty": "Montgomery",
        "DiversionCountyCode": "custom value",
        "DiversionCustomId": "custom value",
        "DiversionDepNumber": "custom value",
        "DiversionDescription": "custom value",
        "DiversionJurisdiction": "AL",
        "DiversionType": "custom value",
        "DiversionOutsideCityLimitInd": "Y",
        "DiversionPostalCode": "36104",
        "DiversionSiteCode": "custom value",
        "DiversionSpecialJurisdiction": "AL-SPJ-01",
        "DiversionStateAssignedCode": "custom value",
        "DiversionTerminalCode": "T01ME1000",
        "DiversionNumber": "custom value",
        "DocumentType": "custom value",
        "ExchangeInd": "Y",
        "ExemptionType": "custom value",
        "FilingEntity": "custom value",
        "ItemCode": "custom value",
        "ItemCodeDescription": "custom value",
        "ManufacturerCode": "custom value",
        "ManufacturerCountryCode": "USA",
        "ManufacturerCustomId": "custom value",
        "ManufacturerId": 500,
        "ManufacturerIdCode": "custom value",
        "ManufacturerIdType": "custom value",
        "ManufacturerJurisdiction": "AL",
        "ManufacturerJurisdictionCountrycode": "USA",
        "ManufacturerJurisdictionJurisdiction": "AL",
        "ManufacturerJurisdictionLicenseNumber": "custom value",
        "ManufacturerJurisdictionManufacturerCode": "custom value",
        "ManufacturerJurisdictionMsaStatus": "custom value",
        "ManufacturerLegalName": "custom value",
        "ManufacturerLicenseNumber": "custom value",
        "ManufacturerMailingAddress1": "123 Main Street",
        "ManufacturerMailingAddress2": "Suite 100",
        "ManufacturerMailingCity": "Montgomery",
        "ManufacturerMailingCountryCode": "USA",
        "ManufacturerMailingCounty": "custom value",
        "ManufacturerMailingCountyCode": "custom value",
        "ManufacturerMailingJurisdiction": "AL",
        "ManufacturerMailingPostalCode": "36104",
        "ManufacturerMsaStatus": "custom value",
        "ManufacturerPhysicalAddress1": "123 Main Street",
        "ManufacturerPhysicalAddress2": "Suite 100",
        "ManufacturerPhysicalCity": "Montgomery",
        "ManufacturerPhysicalCountryCode": "USA",
        "ManufacturerPhysicalCounty": "custom value",
        "ManufacturerPhysicalCountyCode": "custom value",
        "ManufacturerPhysicalJurisdiction": "AL",
        "ManufacturerPhysicalPostalCode": "36104",
        "ManufacturerTradeName": "custom value",
        "OriginAlternateFacilityNumber": "custom value",
        "OriginAlternateJurisdiction": "AL",
        "OriginCountyCode": "custom value",
        "OriginDepNumber": "custom value",
        "OriginDescription": "custom value",
        "OriginSiteCode": "custom value",
        "OriginSpecialJurisdiction": "AL-SPJ-01",
        "OriginStateAssignedCode": "custom value",
        "OriginTerminalCode": "T01ME1000",
        "PaymentDate": "2024-06-15T00:00:00",
        "ProductTobaccoAttribute01": "custom value",
        "ProductTobaccoAttribute02": "custom value",
        "ProductTobaccoAttribute03": "custom value",
        "ProductTobaccoAttribute04": "custom value",
        "ProductTobaccoAttribute05": "custom value",
        "ProductTobaccoAttribute06": "custom value",
        "ProductTobaccoAttribute07": "custom value",
        "ProductTobaccoAttribute08": "custom value",
        "ProductTobaccoAttribute09": "custom value",
        "ProductTobaccoAttribute10": "custom value",
        "ProductTobaccoAttribute11": "custom value",
        "ProductTobaccoAttribute12": "custom value",
        "ProductTobaccoAttribute13": "custom value",
        "ProductTobaccoAttribute14": "custom value",
        "ProductTobaccoAttribute15": "custom value",
        "ProductTobaccoAttributeValue01": "custom value",
        "ProductTobaccoAttributeValue02": "custom value",
        "ProductTobaccoAttributeValue03": "custom value",
        "ProductTobaccoAttributeValue04": "custom value",
        "ProductTobaccoAttributeValue05": "custom value",
        "ProductTobaccoAttributeValue06": "custom value",
        "ProductTobaccoAttributeValue07": "custom value",
        "ProductTobaccoAttributeValue08": "custom value",
        "ProductTobaccoAttributeValue09": "custom value",
        "ProductTobaccoAttributeValue10": "custom value",
        "ProductTobaccoAttributeValue11": "custom value",
        "ProductTobaccoAttributeValue12": "custom value",
        "ProductTobaccoAttributeValue13": "custom value",
        "ProductTobaccoAttributeValue14": "custom value",
        "ProductTobaccoAttributeValue15": "custom value",
        "ProductTobaccoBrandCode": "custom value",
        "ProductTobaccoCountryCode": "USA",
        "ProductTobaccoCustomId": "custom value",
        "ProductTobaccoDescription": "custom value",
        "ProductTobaccoId": 750,
        "ProductTobaccoJurisdiction": "AL",
        "ProductTobaccoJurisdictionDescriptionCode": "custom value",
        "ProductTobaccoModifiedRiskNumber": "custom value",
        "ProductTobaccoModifiedRiskType": "custom value",
        "ProductTobaccoName": "custom value",
        "ProductTobaccoPackSize": 20,
        "ProductTobaccoProductCode": "065",
        "ProductTobaccoSku": "custom value",
        "ProductTobaccoStyle": "custom value",
        "ProductTobaccoUnitLength": 1000,
        "ProductTobaccoUnitLengthOfMeasure": "IN",
        "ProductTobaccoUnitOfMeasure": "GAL",
        "ProductTobaccoUnitsPerPackage": 1000,
        "ProductTobaccoUnitVolume": 1000,
        "ProductTobaccoUnitVolumeUnitOfMeasure": "GAL",
        "ProductTobaccoUnitWeight": 1000,
        "ProductTobaccoUnitWeightUnitOfMeasure": "GAL",
        "ProductTobaccoUpc": "custom value",
        "PtOrderAcceptAlternateFacilityNumber": "custom value",
        "PtOrderAcceptAlternateJurisdiction": "AL",
        "PtOrderAcceptCountyCode": "custom value",
        "PtOrderAcceptDepNumber": "custom value",
        "PtOrderAcceptDescription": "custom value",
        "PtOrderAcceptSiteCode": "custom value",
        "PtOrderAcceptSpecialJurisdiction": "AL-SPJ-01",
        "PtOrderAcceptStateAssignedCode": "custom value",
        "PtOrderAcceptTerminalCode": "T01ME1000",
        "PtOrderOriginAlternateFacilityNumber": "custom value",
        "PtOrderOriginAlternateJurisdiction": "AL",
        "PtOrderOriginCountyCode": "custom value",
        "PtOrderOriginDepNumber": "custom value",
        "PtOrderOriginDescription": "custom value",
        "PtOrderOriginSiteCode": "custom value",
        "PtOrderOriginSpecialJurisdiction": "AL-SPJ-01",
        "PtOrderOriginStateAssignedCode": "custom value",
        "PtOrderOriginTerminalCode": "T01ME1000",
        "PurchaseDate": "2024-06-15T00:00:00",
        "SalesAmount": 1000,
        "ScheduleCode": "custom value",
        "ScheduleType": "custom value",
        "SequenceId": "custom value",
        "StampAttribute": "custom value",
        "SystemOfRecord": "custom value",
        "SystemOfRecordProductCode": "065",
        "TaxCollected": 1000,
        "TaxSessionCountryCode": "USA",
        "TaxSessionJurisdiction": "AL",
        "TaxSessionLocationId": 100,
        "TaxSessionTaxpayerType": "custom value",
        "TaxSessionTerminalCode": "T01ME1000",
        "TobaccoJurisdictionsBrandCode": "custom value",
        "TobaccoJurisdictionsCountryCode": "custom value",
        "TobaccoJurisdictionsJurisdiction": "AL",
        "TobaccoJurisdictionsJurisdictionDescriptionCode": "custom value",
        "TobaccoJurisdictionsModifiedRiskNumber": "custom value",
        "TobaccoJurisdictionsModifiedRiskType": "custom value",
        "TobaccoJurisdictionsProductCode": "custom value",
        "TobaccoJurisdictionsStyle": "custom value",
        "Acres": 1000,
        "ActionType": "custom value",
        "AdjustedBalance": 1000,
        "AdjustedCredits": 1000,
        "AdjustedMiles": 1000,
        "AdjustedTax": 1000,
        "AdjustedUnits": 1000,
        "AdjustmentCode": "custom value",
        "AdjustmentExplanation": "custom value",
        "AircraftType": "custom value",
        "AltDocumentNumber": "custom value",
        "AviationType": "custom value",
        "AzUstBuyerExemptNumber": "custom value",
        "Balance": 1000,
        "BeginningDate": "2024-01-01T00:00:00",
        "BeginningReading": 1000,
        "BilledUnitsProduced": 1000,
        "BranchNumber": "custom value",
        "BuyerExemptNumber": "custom value",
        "ContactInfo1": "custom value",
        "ContactInfo2": "custom value",
        "ContactInfo3": "custom value",
        "ContactInfo4": "custom value",
        "CorrectionType": "custom value",
        "CountryOfOrigin": "USA",
        "CreditAmount": 1000,
        "Crop": "custom value",
        "DeductionAmount": 1000,
        "DeductionTypeId": "custom value",
        "DestinationLicense": "custom value",
        "DiscountAmount": 3.5,
        "DiversionDate": "2024-06-15T00:00:00",
        "DriverLicenseNumber": "custom value",
        "EmblemNumber": "custom value",
        "EndingDate": "custom value",
        "EndingReading": 1000,
        "EntryValue": 1000,
        "EnvironmentalFeeInterest": 1000,
        "EnvironmentalFeePenalty": 1000,
        "EquipmentCount": 1000,
        "EquipmentType": "custom value",
        "ErrorType": "custom value",
        "ExemptLocationType": "custom value",
        "Explanation": "custom value",
        "FilingType": "custom value",
        "FlightCount": 1000,
        "FlightDate": "2024-06-15T00:00:00",
        "FlightNumber": "custom value",
        "FuelEfficiency": "custom value",
        "FuelRate": 1000,
        "FuelType": "custom value",
        "FuelUseCodeDescOther": "custom value",
        "GasolineInterest": 1000,
        "GasolinePenalty": 1000,
        "GrossReceiptsAmount": 1000,
        "GrossUnitsProduced": 1000,
        "HeatingType": "custom value",
        "Horsepower": "custom value",
        "ImportComponentTaxRate": 1000,
        "ImportTaxRate": 0.05,
        "ImportVerificationNumber": "custom value",
        "InspectionFeeInterest": 1000,
        "InspectionFeePenalty": 1000,
        "IvpNumber": "custom value",
        "IvpPayment": 150,
        "Lessor": "custom value",
        "LicenseTagNumber": "custom value",
        "LicenseTagState": "custom value",
        "Miles": 1000,
        "MilesOffRoad": 1000,
        "MilesOnRoad": 1000,
        "MilesOther": 1000,
        "MilesOutOfState": 1000,
        "MsaStatus": "custom value",
        "NetUnitsProduced": 1000,
        "NontaxableMiles": 1000,
        "NontaxableUnits": 1000,
        "Odometer": 1000,
        "OperationType": "custom value",
        "OriginTerminalOperatorName": "custom value",
        "OtherUnits": 1000,
        "PackSize": 20,
        "PrintSchedLicense": "custom value",
        "ProductCount": 1000,
        "ProductProduced": "065",
        "ProductVolume": 1000,
        "ProductWeight": 1000,
        "PumpNumber": "custom value",
        "PumpNumberNew": "custom value",
        "PurchasePrice": 3.5,
        "PurchaseType": "custom value",
        "RateTypeId": "custom value",
        "ReceiptType": "custom value",
        "RegistrationNumber": "custom value",
        "ReportLevel": "custom value",
        "ResidentialType": "custom value",
        "RetailPrice": 3.5,
        "RuleId": "custom value",
        "Schedule4bTotal": 1000,
        "SignedStatementNumber": "custom value",
        "SpecialFuelInterest": 1000,
        "SpecialFuelPenalty": 1000,
        "StampType": "custom value",
        "StateAssignedLocationCode": "custom value",
        "StatusType": "custom value",
        "SubRuleId": "custom value",
        "TankCapacity": 1000,
        "TankNumber": "custom value",
        "TankReading": 1000,
        "TaxDollarsRecovered": 1000,
        "TaxFreeType": "custom value",
        "TaxPaidType": "custom value",
        "TaxRate": 0.05,
        "TaxTypeId": "custom value",
        "Taxable": 1000,
        "TaxableMiles": 1000,
        "TaxableUnits": 1000,
        "TaxationType": "custom value",
        "TaxingJurisdiction": "AL",
        "TransferType": "custom value",
        "TribalCode": "custom value",
        "TribalIdCode": "custom value",
        "TribalName": "custom value",
        "TribalReservation": "custom value",
        "UnitsPerPackage": 1000,
        "VehicleIdNumber": "custom value",
        "VehicleLeasedInd": "custom value",
        "VehicleMake": "custom value",
        "VehicleModel": "custom value",
        "VehicleModelYear": "custom value",
        "VehicleOwnedInd": "custom value",
        "VehicleType": "custom value",
        "VehicleUseType": "custom value",
        "VehicleWeight": 1000,
        "VesselName": "custom value",
        "VesselNumber": "custom value",
        "WholesalePrice": 3.5,
        "UnitOfMeasure": "GAL",
        "CustomDate01": "2024-01-01T00:00:00",
        "CustomDate02": "2024-01-01T00:00:00",
        "CustomDate03": "2024-01-01T00:00:00",
        "CustomDate04": "2024-01-01T00:00:00",
        "CustomDate05": "2024-01-01T00:00:00",
        "CustomDate06": "2024-01-01T00:00:00",
        "CustomDate07": "2024-01-01T00:00:00",
        "CustomDate08": "2024-01-01T00:00:00",
        "CustomDate09": "2024-01-01T00:00:00",
        "CustomDate10": "2024-01-01T00:00:00",
        "CustomNumeric01": 0,
        "CustomNumeric02": 0,
        "CustomNumeric03": 0,
        "CustomNumeric04": 0,
        "CustomNumeric05": 0,
        "CustomNumeric06": 0,
        "CustomNumeric07": 0,
        "CustomNumeric08": 0,
        "CustomNumeric09": 0,
        "CustomNumeric10": 0,
        "CustomNumeric11": 0,
        "CustomNumeric12": 0,
        "CustomNumeric13": 0,
        "CustomNumeric14": 0,
        "CustomNumeric15": 0,
        "CustomNumeric16": 0,
        "CustomNumeric17": 0,
        "CustomNumeric18": 0,
        "CustomNumeric19": 0,
        "CustomNumeric20": 0,
        "CustomNumeric21": 0,
        "CustomNumeric22": 0,
        "CustomNumeric23": 0,
        "CustomNumeric24": 0,
        "CustomNumeric25": 0,
        "CustomNumeric26": 0,
        "CustomNumeric27": 0,
        "CustomNumeric28": 0,
        "CustomNumeric29": 0,
        "CustomNumeric30": 0,
        "CustomString01": "custom value",
        "CustomString02": "custom value",
        "CustomString03": "custom value",
        "CustomString04": "custom value",
        "CustomString05": "custom value",
        "CustomString06": "custom value",
        "CustomString07": "custom value",
        "CustomString08": "custom value",
        "CustomString09": "custom value",
        "CustomString10": "custom value",
        "CustomString11": "custom value",
        "CustomString12": "custom value",
        "CustomString13": "custom value",
        "CustomString14": "custom value",
        "CustomString15": "custom value",
        "CustomString16": "custom value",
        "CustomString17": "custom value",
        "CustomString18": "custom value",
        "CustomString19": "custom value",
        "CustomString20": "custom value",
        "CustomString21": "custom value",
        "CustomString22": "custom value",
        "CustomString23": "custom value",
        "CustomString24": "custom value",
        "CustomString25": "custom value",
        "CustomString26": "custom value",
        "CustomString27": "custom value",
        "CustomString28": "custom value",
        "CustomString29": "custom value",
        "CustomString30": "custom value",
        "CustomString31": "custom value",
        "CustomString32": "custom value",
        "CustomString33": "custom value",
        "CustomString34": "custom value",
        "CustomString35": "custom value",
        "CustomString36": "custom value",
        "CustomString37": "custom value",
        "CustomString38": "custom value",
        "CustomString39": "custom value",
        "CustomString40": "custom value",
        "CustomString41": "custom value",
        "CustomString42": "custom value",
        "CustomString43": "custom value",
        "CustomString44": "custom value",
        "CustomString45": "custom value",
        "CustomString46": "custom value",
        "CustomString47": "custom value",
        "CustomString48": "custom value",
        "CustomString49": "custom value",
        "CustomString50": "custom value"
      },
      "TransactionLineMeasures": [
        {
          "QuantityInd": "string",
          "UnitOfMeasure": "string",
          "MeasureValue": 0
        }
      ],
      "OriginSpecialJurisdictions": [
        {
          "SpecialJurisdictionCode": "string",
          "SpecialJurisdictionType": "string"
        }
      ],
      "DestinationSpecialJurisdictions": [
        {
          "SpecialJurisdictionCode": "string",
          "SpecialJurisdictionType": "string"
        }
      ],
      "SaleSpecialJurisdictions": [
        {
          "SpecialJurisdictionCode": "string",
          "SpecialJurisdictionType": "string"
        }
      ],
      "CounterSpecialJurisdictions": [
        {
          "SpecialJurisdictionCode": "string",
          "SpecialJurisdictionType": "string"
        }
      ],
      "OrderOriginSpecialJurisdictions": [
        {
          "SpecialJurisdictionCode": "string",
          "SpecialJurisdictionType": "string"
        }
      ],
      "OrderAcceptanceSpecialJurisdictions": [
        {
          "SpecialJurisdictionCode": "string",
          "SpecialJurisdictionType": "string"
        }
      ],
      "GpsrSpecialJurisdictions": [
        {
          "SpecialJurisdictionCode": "string",
          "SpecialJurisdictionType": "string"
        }
      ],
      "BillToSpecialJurisdictions": [
        {
          "SpecialJurisdictionCode": "string",
          "SpecialJurisdictionType": "string"
        }
      ],
      "InvoiceLine": 1,
      "MovementStartDate": "2024-01-01T00:00:00",
      "MovementEndDate": "2028-12-31T23:59:59",
      "ProductCode": "065",
      "BlendToProductCode": "065",
      "UnitPrice": 3.5,
      "AlternateUnitPrice": 3.5,
      "NetUnits": 1000,
      "GrossUnits": 1000,
      "BilledUnits": 1000,
      "LineAmount": 3500,
      "AlternateLineAmount": 3500,
      "BillOfLadingNumber": "BOL-2024-001",
      "BillOfLadingDate": "2024-06-15T00:00:00",
      "OriginCountryCode": "USA",
      "OriginJurisdiction": "AL",
      "OriginCounty": "Montgomery",
      "OriginCity": "Montgomery",
      "OriginPostalCode": "36104",
      "OriginType": "TERMINAL",
      "Origin": "LOC-ORIG-01",
      "OriginOutCityLimitInd": "Y",
      "OriginSpecialJurisdictionInd": "N",
      "OriginExciseWarehouse": "EW-001",
      "OriginAddress1": "123 Main Street",
      "OriginAddress2": "Suite 100",
      "OriginAirportCode": "MGM",
      "DestinationCountryCode": "USA",
      "DestinationJurisdiction": "AL",
      "DestinationCounty": "Montgomery",
      "DestinationCity": "Montgomery",
      "DestinationPostalCode": "36104",
      "DestinationType": "RACK",
      "Destination": "LOC-DEST-01",
      "DestinationOutCityLimitInd": "Y",
      "DestinationSpecialJurisdictionInd": "N",
      "DestinationExciseWarehouse": "EW-002",
      "DestinationAddress1": "123 Main Street",
      "DestinationAddress2": "Suite 100",
      "DestinationAirportCode": "MGM",
      "SaleCountryCode": "USA",
      "SaleJurisdiction": "AL",
      "SaleCounty": "Montgomery",
      "SaleCity": "Montgomery",
      "SalePostalCode": "36104",
      "SaleType": "RETAIL",
      "SaleLocation": "OUTLET-01",
      "SaleOutCityLimitInd": "Y",
      "SaleSpecialJurisdictionInd": "N",
      "SaleExciseWarehouse": "EW-003",
      "SaleAddress1": "123 Main Street",
      "SaleAddress2": "Suite 100",
      "SaleAirportCode": "MGM",
      "CounterCountryCode": "USA",
      "CounterJurisdiction": "AL",
      "CounterCounty": "Montgomery",
      "CounterCity": "Montgomery",
      "CounterPostalCode": "36104",
      "CounterType": "WHOLESALE",
      "CounterParty": "COUNTER-001",
      "CounterOutCityLimitInd": "Y",
      "CounterSpecialJurisdictionInd": "N",
      "CounterExciseWarehouse": "EW-004",
      "CounterFiscalRepInd": "N",
      "CounterAddress1": "123 Main Street",
      "CounterAddress2": "Suite 100",
      "CounterAirportCode": "MGM",
      "PtOrderOrigin": "POO-01",
      "PtOrderOriginCountryCode": "USA",
      "PtOrderOriginJurisdiction": "AL",
      "PtOrderOriginCounty": "Montgomery",
      "PtOrderOriginCity": "Montgomery",
      "PtOrderOriginPostalCode": "36104",
      "PtOrderOriginType": "WAREHOUSE",
      "PtOrderOriginOutCityLimitInd": "Y",
      "PtOrderOriginCustomId": "custom value",
      "PtOrderOriginSpecialJurisdictionInd": "N",
      "PtOrderOriginExciseWarehouse": "EW-005",
      "PtOrderOriginAddress1": "123 Main Street",
      "PtOrderOriginAddress2": "Suite 100",
      "PtOrderOriginAirportCode": "MGM",
      "PtOrderAccept": "POA-01",
      "PtOrderAcceptCountryCode": "USA",
      "PtOrderAcceptJurisdiction": "AL",
      "PtOrderAcceptCounty": "Montgomery",
      "PtOrderAcceptCity": "Montgomery",
      "PtOrderAcceptPostalCode": "36104",
      "PtOrderAcceptType": "DC",
      "PtOrderAcceptOutCityLimitInd": "Y",
      "PtOrderAcceptCustomId": "custom value",
      "PtOrderAcceptSpecialJurisdictionInd": "N",
      "PtOrderAcceptExciseWarehouse": "EW-006",
      "PtOrderAcceptAddress1": "123 Main Street",
      "PtOrderAcceptAddress2": "Suite 100",
      "PtOrderAcceptAirportCode": "MGM",
      "Gpsr": "GPSR-01",
      "GpsrCountryCode": "USA",
      "GpsrJurisdiction": "AL",
      "GpsrCounty": "Montgomery",
      "GpsrCity": "Montgomery",
      "GpsrPostalCode": "36104",
      "GpsrType": "SERVICE",
      "GpsrOutCityLimitInd": "Y",
      "GpsrCustomId": "custom value",
      "GpsrSpecialJurisdictionInd": "N",
      "GpsrExciseWarehouse": "EW-007",
      "GpsrAddress1": "123 Main Street",
      "GpsrAddress2": "Suite 100",
      "GpsrAirportCode": "MGM",
      "BillTo": "BILL-01",
      "BillToCountryCode": "USA",
      "BillToJurisdiction": "AL",
      "BillToCounty": "Montgomery",
      "BillToCity": "Montgomery",
      "BillToPostalCode": "36104",
      "BillToType": "CORPORATE",
      "BillToOutCityLimitInd": "Y",
      "BillToCustomId": "custom value",
      "BillToSpecialJurisdictionInd": "N",
      "BillToExciseWarehouse": "EW-008",
      "BillToAddress1": "123 Main Street",
      "BillToAddress2": "Suite 100",
      "BillToAirportCode": "MGM",
      "UserData": "custom value",
      "AlternativeFuelContent": 10,
      "BlendToAltFuelContent": 5,
      "BlendToInd": "Y",
      "Currency": "USD",
      "UnitOfMeasure": "GAL",
      "FreightUnitPrice": 150,
      "FreightType": "PREPAID",
      "FreightLineAmount": 150,
      "CustomString1": "custom value",
      "CustomString2": "custom value",
      "CustomString3": "custom value",
      "CustomNumeric1": 0,
      "CustomNumeric2": 0,
      "CustomNumeric3": 0,
      "NthTimeSale": 1,
      "TaxIncluded": true,
      "UnitQuantity": 1000,
      "UnitQuantityUnitOfMeasure": "GAL",
      "UnitVolume": 1000,
      "UnitVolumeUnitOfMeasure": "GAL",
      "UnitWeight": 1000,
      "UnitWeightUnitOfMeasure": "GAL",
      "UnitLength": 1000,
      "UnitLengthUnitOfMeasure": "GAL",
      "Discounted": false,
      "EntityUseCode": "A",
      "CustomString4": "custom value",
      "CustomString5": "custom value",
      "CustomString6": "custom value",
      "CustomString7": "custom value",
      "CustomString8": "custom value",
      "CustomString9": "custom value",
      "CustomString10": "custom value",
      "CustomNumeric4": 0,
      "CustomNumeric5": 0,
      "CustomNumeric6": 0,
      "CustomNumeric7": 0,
      "CustomNumeric8": 0,
      "CustomNumeric9": 0,
      "CustomNumeric10": 0,
      "ExemptionCode": "EXEMPT01",
      "HsCode": "2402.20.00"
    }
  ],
  "TransactionExchangeRates": [
    {
      "FromCurrency": "USD",
      "ToCurrency": "EUR",
      "EffectiveDate": "2024-01-01T00:00:00",
      "ConversionFactor": 1.25
    }
  ],
  "EffectiveDate": "2024-01-01T00:00:00",
  "InvoiceDate": "2024-06-15T00:00:00",
  "InvoiceNumber": "INV-2024-001",
  "FuelUseCode": "custom value",
  "TitleTransferCode": "DEST",
  "TransactionType": "SALE",
  "TransportationModeCode": "TRUCK",
  "Seller": "SELLER-001",
  "Buyer": "BUYER-001",
  "PreviousSeller": "PREV-SELLER-001",
  "NextBuyer": "NEXT-BUYER-001",
  "Middleman": "MID-001",
  "CustomsStatus": "CLEARED",
  "FormAPresentedInd": "Y",
  "SimplifiedProcedureInd": "N",
  "Incoterms": "FOB",
  "PerspectiveBusinessType": "DIST",
  "ChainLeg": "1",
  "OrderType": "STANDARD",
  "TotalDyedUnits": 1000,
  "TotalReportingTaxes": 1000,
  "ReportingCurrency": "USD",
  "ReportingUnitOfMeasure": "GAL",
  "UserData": "custom value",
  "UserTranId": "TXN-2024-001",
  "SourceSystem": "ERP",
  "CustomString1": "custom value",
  "CustomString2": "custom value",
  "CustomString3": "custom value",
  "CustomNumeric1": 0,
  "CustomNumeric2": 0,
  "CustomNumeric3": 0,
  "DebugInd": "N",
  "CalculationMethod": "STANDARD",
  "CommitStatus": "OPEN",
  "AvaTaxTransactionType": "SalesOrder",
  "Discount": 3.5,
  "EntityUseCode": "A",
  "CustomString4": "custom value",
  "CustomString5": "custom value",
  "CustomString6": "custom value",
  "CustomString7": "custom value",
  "CustomString8": "custom value",
  "CustomString9": "custom value",
  "CustomString10": "custom value",
  "CustomNumeric4": 0,
  "CustomNumeric5": 0,
  "CustomNumeric6": 0,
  "CustomNumeric7": 0,
  "CustomNumeric8": 0,
  "CustomNumeric9": 0,
  "CustomNumeric10": 0,
  "ExemptionCode": "EXEMPT01",
  "SellerImporterOfRecordInd": "Y"
}'
```