# Avalara client as a marketplace

Source: https://developer.avalara.com/avatax-for-vat/wzm5274801475925/

# Avalara client as a marketplace

Learn how to create transactions where the Avalara client acts as a marketplace.

This example shows how to create a simple transaction where the Avalara client is a marketplace. The process for creating this transaction is actually done in 2 API calls, where a merchant is selling a product to the marketplace so that the marketplace can be responsible for the VAT.

-   The 1st transaction is a purchase from the third-party seller to the marketplace.

-   The 2nd transaction is a sale from the marketplace. In this case, the marketplace is responsible for the VAT.

![avalara client as a marketplace workflow](https://knowledge-be.avalara.com/bundle/ozz0049272407478_ozz0049272407478/page/ejb7379109203086.image?_LANG=enus)

Tip

Make sure that you selected Yes, this company is an online marketplace that connects many sellers to customers on a single platform when setting up your Avalara client as a marketplace. See [Set up an Avalara client as a marketplace](/avatax-for-vat/zyj4523514424080 "Learn how to configure an Avalara client as a marketplace to comply with VAT obligations for cross-border transactions.").

## Avalara client as a marketplace Returned invoice messages

Understand the messages returned when running transactions with a diagnostic debug level.

This section details the diagnostic output for returned invoice messages, including related tax articles and the expected deemed supplier.

### Returned invoice messages

-   None

### Related articles

The following are returned when your transaction is run using `"debugLevel": "Diagnostic"`:

**Transaction 1:**

-   Article 31

-   Article 193

**Transaction 2:**

-   Article 33.c

-   Article 193

-   Expected Deemed Supplier: Marketplace

## Avalara client as a marketplace Assumption

Understand the assumptions for transactions and VAT input fields in marketplace scenarios.

This scenario assumes the following:

**Transaction 1:**

-   The document `type` is a purchase invoice.
-   This `goodsPlaceOrServiceRendered` country is Austria.
-   The `merchantSellerIdentifier` is M6462.
-   The `MerchantEstablishmentCountry` is US.
-   This country shouldn’t be in the EU.
-   The `businessIdentificationNo` is ATU12233456.
-   Neither party is responsible for handling the transportation of the physical goods. (`Transport` is `None`.)

**Transaction 2:**

-   The document type is a sales order.
-   The `shipFrom` country is Iceland.
-   The `shipTo` country is Germany.
-   The `merchantSellerIdentifier` is M6462.
-   The `MerchantEstablishmentCountry` is the US.

Keep in mind the following when using VAT input fields in marketplace transactions:

-   The `MerchantVatId` indicates the merchant’s VAT number. Most marketplaces collect this kind of information as part of an onboarding process. Users pass this value at the line level.

-   The `merchantSellerIdentifier`, `MerchantEstablishmentCountry`, `MerchantName`, and `MerchantVatId` fields should only ever contain the values of the merchant on the marketplace that are relevant to the goods referenced on that transaction line. These fields should never refer to the Avalara client.

    -   If the Avalara client is set up as a marketplace and is selling its own products, leave the above fields blank or omit them from the request. This is because AvaTax will assume that when these fields are blank, the items belong to the Avalara client and, therefore, won’t apply the deemed supplier logic.

-   Regardless of the `taxCode` type (freight, physical, digital, and so on), the `MerchantEstablishmentCountry` will always be the same whenever the related `merchantSellerIdentifier` is used. For example, if Line 1 has `merchantSellerIdentifier = "Seller123"` and `MerchantEstablishmentCountry = "CH"`, then those values should be used for every line where the merchant is `Seller123`.

-   The `MerchantVatId` is the merchant’s VAT number. Most marketplaces collect this kind of information as part of an onboarding process. This value is passed at the line level.
-   For EU transactions, the `businessIdentificationNo` is a separate identifier that relates to the counterparty's VAT registration number in a transaction. This is passed in the document level.
    -   When the document type is `SalesOrder` or `SalesInvoice`, this is the final customer's VAT number. It is only relevant for B2B transactions. When populated, it must include the VAT country two-digit ISO code prefix (for example, “DE123456789"). This can be an empty string or omitted entirely for B2C transactions.
    -   When the document type is `PurchaseOrder` or `PurchaseInvoice`, this value represents the vendor’s VAT number.
-   `customerSupplierName` is the counterparty’s name and is passed at the document level.
    -   If the customer supplier is a company, then pass the company name and legal form (for example, `Final Customer GmbH`).
    -   If the customer supplier is a private individual, then you can choose to use an ID, you can pass a full name, or you can simply use `PRIVATE INDIVIDUAL`.
    -   AvaTax doesn't validate this field; it only passes this value back in reports that are designed for audit purposes, such as the Marketplace Audit Report found in the Reports section in the AvaTax UI.

## Avalara client as a marketplace Examples

Explore examples of transaction requests and responses for Avalara's tax automation services.

### Transaction 1 request

```
{
  "addresses": {
    "goodsPlaceOrServiceRendered": {
      "type": "goodsPlaceOrServiceRendered",
      "country": "AT"
    }
  },
  "lines": [
    {
      "number": "1",
      "quantity": 1,
      "amount": 100,
      "taxCode": "P0000000",
      "description": "Yarn",
      "discounted": false,
      "taxIncluded": false,
      "parameters": [
        {
          "name": "MerchantEstablishmentCountry",
          "value": "US",
          "unit": ""
        }
      ],
      "merchantSellerIdentifier": "M6462"
    }
  ],
  "parameters": [
    {
      "name": "Transport",
      "value": "None",
      "unit": ""
    }
  ],
  "type": "PurchaseInvoice",
  "date": "2024-07-25",
  "companyCode": "USECASESLTD",
  "customerCode": "merchantonMP",
  "code": "merchantonMP",
  "isSellerImporterOfRecord": false,
  "businessIdentificationNo": "ATU12233456",
  "debugLevel": "Diagnostic"
}
```

### Transaction 1 response

```
{
  "id": 85061811583217,
  "code": "merchantonMP",
  "companyId": 7921876,
  "date": "2024-07-25",
  "status": "Saved",
  "type": "PurchaseInvoice",
  "batchCode": "",
  "currencyCode": "USD",
  "exchangeRateCurrencyCode": "USD",
  "customerUsageType": "",
  "entityUseCode": "",
  "customerVendorCode": "merchantonMP",
  "customerCode": "merchantonMP",
  "exemptNo": "",
  "reconciled": false,
  "locationCode": "",
  "reportingLocationCode": "",
  "purchaseOrderNo": "",
  "referenceCode": "",
  "salespersonCode": "",
  "taxOverrideType": "None",
  "taxOverrideAmount": 0,
  "taxOverrideReason": "",
  "totalAmount": 100,
  "totalExempt": 0,
  "totalDiscount": 0,
  "totalTax": 20,
  "totalTaxable": 100,
  "totalTaxCalculated": 20,
  "adjustmentReason": "NotAdjusted",
  "adjustmentDescription": "",
  "locked": false,
  "region": "",
  "country": "AT",
  "version": 1,
  "softwareVersion": "24.7.0.0",
  "originAddressId": 85061811583218,
  "destinationAddressId": 85061811583218,
  "exchangeRateEffectiveDate": "2024-07-25",
  "exchangeRate": 1,
  "isSellerImporterOfRecord": false,
  "email": "",
  "businessIdentificationNo": "ATU12233456",
  "modifiedDate": "2024-07-25T21:19:59.7718174Z",
  "modifiedUserId": 1443662,
  "taxDate": "2024-07-25",
  "lines": [
    {
      "id": 85061811583222,
      "transactionId": 85061811583217,
      "lineNumber": "1",
      "boundaryOverrideId": 0,
      "customerUsageType": "",
      "entityUseCode": "",
      "description": "Yarn",
      "destinationAddressId": 85061811583218,
      "originAddressId": 85061811583218,
      "discountAmount": 0,
      "discountTypeId": 0,
      "exemptAmount": 0,
      "exemptCertId": 0,
      "exemptNo": "",
      "isItemTaxable": true,
      "isSSTP": false,
      "itemCode": "",
      "lineAmount": 100,
      "quantity": 1,
      "ref1": "",
      "ref2": "",
      "reportingDate": "2024-07-25",
      "revAccount": "",
      "sourcing": "Origin",
      "tax": 20,
      "taxableAmount": 100,
      "taxCalculated": 20,
      "taxCode": "P0000000",
      "taxCodeId": 8087,
      "taxDate": "2024-07-25",
      "taxEngine": "",
      "taxOverrideType": "None",
      "businessIdentificationNo": "ATU12233456",
      "taxOverrideAmount": 0,
      "taxOverrideReason": "",
      "taxIncluded": false,
      "merchantSellerIdentifier": "M6462",
      "details": [
        {
          "id": 85061811583262,
          "transactionLineId": 85061811583222,
          "transactionId": 85061811583217,
          "addressId": 85061811583218,
          "country": "AT",
          "region": "AT",
          "countyFIPS": "",
          "stateFIPS": "AT",
          "exemptAmount": 0,
          "exemptReasonId": 4,
          "exemptRuleId": 0,
          "inState": true,
          "jurisCode": "AT",
          "jurisName": "AUSTRIA",
          "jurisdictionId": 200058,
          "signatureCode": "",
          "stateAssignedNo": "",
          "jurisType": "CNT",
          "jurisdictionType": "Country",
          "nonTaxableAmount": 0,
          "nonTaxableRuleId": 0,
          "nonTaxableType": "RateRule",
          "rate": 0.2,
          "rateRuleId": 329708,
          "rateSourceId": 0,
          "serCode": "",
          "sourcing": "Origin",
          "tax": 20,
          "taxableAmount": 100,
          "taxType": "Input",
          "taxSubTypeId": "I",
          "taxTypeGroupId": "InputAndOutput",
          "taxName": "Standard Rate",
          "taxAuthorityTypeId": 45,
          "taxRegionId": 205058,
          "taxCalculated": 20,
          "taxOverride": 0,
          "rateType": "Standard",
          "rateTypeCode": "S",
          "taxableUnits": 100,
          "nonTaxableUnits": 0,
          "exemptUnits": 0,
          "unitOfBasis": "PerCurrencyUnit",
          "isNonPassThru": false,
          "isFee": false,
          "reportingTaxableUnits": 100,
          "reportingNonTaxableUnits": 0,
          "reportingExemptUnits": 0,
          "reportingTax": 20,
          "reportingTaxCalculated": 20,
          "avtUserBIN": "",
          "liabilityType": "Seller",
          "chargedTo": "Buyer"
        }
      ],
      "nonPassthroughDetails": [],
      "lineLocationTypes": [
        {
          "documentLineLocationTypeId": 85061811583224,
          "documentLineId": 85061811583222,
          "documentAddressId": 85061811583218,
          "locationTypeCode": "GoodsPlaceOrServiceRendered"
        }
      ],
      "parameters": [
        {
          "name": "Transport",
          "value": "None"
        },
        {
          "name": "IOSSRegNo",
          "value": "987654321"
        },
        {
          "name": "IsMarketplace",
          "value": "False"
        },
        {
          "name": "SupplyofService",
          "value": "Generic"
        },
        {
          "name": "IsTriangulation",
          "value": "false"
        },
        {
          "name": "IsGoodsSecondHand",
          "value": "false"
        },
        {
          "name": "MerchantEstablishmentCountry",
          "value": "US"
        }
      ],
      "hsCode": "",
      "costInsuranceFreight": 0,
      "vatCode": "ATPL200C",
      "vatNumberTypeId": 0
    }
  ],
  "addresses": [
    {
      "id": 85061811583218,
      "transactionId": 85061811583217,
      "boundaryLevel": "Zip5",
      "line1": "",
      "line2": "",
      "line3": "",
      "city": "",
      "region": "",
      "postalCode": "",
      "country": "AT",
      "taxRegionId": 205058
    }
  ],
  "locationTypes": [
    {
      "documentLocationTypeId": 85061811583220,
      "documentId": 85061811583217,
      "documentAddressId": 85061811583218,
      "locationTypeCode": "GoodsPlaceOrServiceRendered"
    }
  ],
  "summary": [
    {
      "country": "AT",
      "region": "AT",
      "jurisType": "Country",
      "jurisCode": "AT",
      "jurisName": "AUSTRIA",
      "taxAuthorityType": 45,
      "stateAssignedNo": "",
      "taxType": "Input",
      "taxSubType": "I",
      "taxName": "Standard Rate",
      "rateType": "Standard",
      "taxable": 100,
      "rate": 0.2,
      "tax": 20,
      "taxCalculated": 20,
      "nonTaxable": 0,
      "exemption": 0
    }
  ],
  "parameters": [
    {
      "name": "Transport",
      "value": "None"
    }
  ],
  "messages": [
    {
      "summary": "Global Address",
      "details": "\n    Address: AT\n    AddressCode: GP2\n    AddressType: \n    BoundaryId: 0\n    CarrierRoute: \n    County: \n    FipsCode: \n    GeocodeType: NotGeoCoded\n    PostNet: \n    Reason: \n    ValidateStatus: Not Validated.\n    TaxRegionId: 0\n",
      "refersTo": "Addresses[0] - TaxDate: 2024-07-25 00:00:00Z",
      "severity": "Success",
      "source": "Avalara.AvaTax.TaxEngine"
    },
    {
      "summary": "AddressLocationType: GoodsPlaceOrServiceRendered",
      "details": "\n    Address: ,, \n    Type: \n    City: \n    State: \n    County: \n    Country: AT\n    BoundaryLevel: 2\n    BoundarySource: BoundaryGlobal\n    BoundaryId: 5\n    TaxRegionId: 205058\n    FIPSCode: AT\n    CitySignature: \n    GEOCode: \n    Jurisdictions: \n        CNT: JurisdictionId=\"200058\" JurisdictionCode=\"AT\" JurisdictionTypeId=\"CNT\" LongName=\"AUSTRIA\" StateFips=\"\" State=\"\" StateAssignedCode=\"\" SerCode=\"\" SignatureCode=\"YACH\" TaxAuthorityTypeId=\"\" IsLocalAdmin=\"False\" EffDate=\"2008-07-01\" EndDate=\"9999-12-31\"\n",
      "refersTo": "Addresses[0]",
      "severity": "Success",
      "source": "Avalara.AvaTax.TaxEngine"
    },
    {
      "summary": "AddressLocationType: ShipFrom",
      "details": "\n    Address: ,, \n    Type: \n    City: \n    State: \n    County: \n    Country: AT\n    BoundaryLevel: 2\n    BoundarySource: BoundaryGlobal\n    BoundaryId: 5\n    TaxRegionId: 205058\n    FIPSCode: AT\n    CitySignature: \n    GEOCode: \n    Jurisdictions: \n        CNT: JurisdictionId=\"200058\" JurisdictionCode=\"AT\" JurisdictionTypeId=\"CNT\" LongName=\"AUSTRIA\" StateFips=\"\" State=\"\" StateAssignedCode=\"\" SerCode=\"\" SignatureCode=\"YACH\" TaxAuthorityTypeId=\"\" IsLocalAdmin=\"False\" EffDate=\"2008-07-01\" EndDate=\"9999-12-31\"\n",
      "refersTo": "Addresses[0]",
      "severity": "Success",
      "source": "Avalara.AvaTax.TaxEngine"
    },
    {
      "summary": "AddressLocationType: ShipTo",
      "details": "\n    Address: ,, \n    Type: \n    City: \n    State: \n    County: \n    Country: AT\n    BoundaryLevel: 2\n    BoundarySource: BoundaryGlobal\n    BoundaryId: 5\n    TaxRegionId: 205058\n    FIPSCode: AT\n    CitySignature: \n    GEOCode: \n    Jurisdictions: \n        CNT: JurisdictionId=\"200058\" JurisdictionCode=\"AT\" JurisdictionTypeId=\"CNT\" LongName=\"AUSTRIA\" StateFips=\"\" State=\"\" StateAssignedCode=\"\" SerCode=\"\" SignatureCode=\"YACH\" TaxAuthorityTypeId=\"\" IsLocalAdmin=\"False\" EffDate=\"2008-07-01\" EndDate=\"9999-12-31\"\n",
      "refersTo": "Addresses[0]",
      "severity": "Success",
      "source": "Avalara.AvaTax.TaxEngine"
    },
    {
      "summary": "AddressLocationType: PointOfOrderAcceptance",
      "details": "\n    Address: ,, \n    Type: \n    City: \n    State: \n    County: \n    Country: AT\n    BoundaryLevel: 2\n    BoundarySource: BoundaryGlobal\n    BoundaryId: 5\n    TaxRegionId: 205058\n    FIPSCode: AT\n    CitySignature: \n    GEOCode: \n    Jurisdictions: \n        CNT: JurisdictionId=\"200058\" JurisdictionCode=\"AT\" JurisdictionTypeId=\"CNT\" LongName=\"AUSTRIA\" StateFips=\"\" State=\"\" StateAssignedCode=\"\" SerCode=\"\" SignatureCode=\"YACH\" TaxAuthorityTypeId=\"\" IsLocalAdmin=\"False\" EffDate=\"2008-07-01\" EndDate=\"9999-12-31\"\n",
      "refersTo": "Addresses[0]",
      "severity": "Success",
      "source": "Avalara.AvaTax.TaxEngine"
    },
    {
      "summary": "AddressLocationType: PointOfOrderOrigin",
      "details": "\n    Address: ,, \n    Type: \n    City: \n    State: \n    County: \n    Country: AT\n    BoundaryLevel: 2\n    BoundarySource: BoundaryGlobal\n    BoundaryId: 5\n    TaxRegionId: 205058\n    FIPSCode: AT\n    CitySignature: \n    GEOCode: \n    Jurisdictions: \n        CNT: JurisdictionId=\"200058\" JurisdictionCode=\"AT\" JurisdictionTypeId=\"CNT\" LongName=\"AUSTRIA\" StateFips=\"\" State=\"\" StateAssignedCode=\"\" SerCode=\"\" SignatureCode=\"YACH\" TaxAuthorityTypeId=\"\" IsLocalAdmin=\"False\" EffDate=\"2008-07-01\" EndDate=\"9999-12-31\"\n",
      "refersTo": "Addresses[0]",
      "severity": "Success",
      "source": "Avalara.AvaTax.TaxEngine"
    },
    {
      "summary": "AddressLocationType: Import",
      "details": "\n    Address: ,, \n    Type: \n    City: \n    State: \n    County: \n    Country: AT\n    BoundaryLevel: 2\n    BoundarySource: BoundaryGlobal\n    BoundaryId: 5\n    TaxRegionId: 205058\n    FIPSCode: AT\n    CitySignature: \n    GEOCode: \n    Jurisdictions: \n        CNT: JurisdictionId=\"200058\" JurisdictionCode=\"AT\" JurisdictionTypeId=\"CNT\" LongName=\"AUSTRIA\" StateFips=\"\" State=\"\" StateAssignedCode=\"\" SerCode=\"\" SignatureCode=\"YACH\" TaxAuthorityTypeId=\"\" IsLocalAdmin=\"False\" EffDate=\"2008-07-01\" EndDate=\"9999-12-31\"\n",
      "refersTo": "Addresses[0]",
      "severity": "Success",
      "source": "Avalara.AvaTax.TaxEngine"
    },
    {
      "summary": "AddressLocationType: BillTo",
      "details": "\n    Address: ,, \n    Type: \n    City: \n    State: \n    County: \n    Country: AT\n    BoundaryLevel: 2\n    BoundarySource: BoundaryGlobal\n    BoundaryId: 5\n    TaxRegionId: 205058\n    FIPSCode: AT\n    CitySignature: \n    GEOCode: \n    Jurisdictions: \n        CNT: JurisdictionId=\"200058\" JurisdictionCode=\"AT\" JurisdictionTypeId=\"CNT\" LongName=\"AUSTRIA\" StateFips=\"\" State=\"\" StateAssignedCode=\"\" SerCode=\"\" SignatureCode=\"YACH\" TaxAuthorityTypeId=\"\" IsLocalAdmin=\"False\" EffDate=\"2008-07-01\" EndDate=\"9999-12-31\"\n",
      "refersTo": "Addresses[0]",
      "severity": "Success",
      "source": "Avalara.AvaTax.TaxEngine"
    },
    {
      "summary": "TaxTypes",
      "details": "    Line[0]: \n        TaxTypeId : I\n",
      "refersTo": "",
      "severity": "Success",
      "source": "Avalara.AvaTax.TaxEngine"
    },
    {
      "summary": "Tax Rules",
      "details": "\nTaxRule[TaxType:I][TaxSubType:I]: Nexus CNT\n    TaxRuleId: 0\n    Cap: 0\n    CompanyId: 7921876\n    Country: AT\n    CustomerUsageType: \n    EffDate: 01/01/1900\n    EndDate: 12/31/9999\n    IsAllJuris: False\n    IsPhysical: True\n    IsSSTP: False\n    JurisCode: AT\n    JurisName: AUSTRIA\n    JurisTypeId: CNT\n    Options: \n    SERCode: \n    SignatureCode: \n    Sourcing: O\n    State: AT\n    StateAssignedNo: \n    TaxCode: \n    TaxCodeId: 0\n    TaxName: AT VAT\n    NexusTaxTypeGroupId: InputAndOutput\n    TaxTypeGroupId: InputAndOutput\n    TaxTypeId: I\n    TaxSubTypeId: I\n    TaxTypeMappingId: 69\n    Threshold: 0\n    Value: 1\n    RateSourceId: None\n    RateTypeId: S\n    RateTypeTaxTypeMappingId: 280\n    UnitOfBasis: PerCurrencyUnit\n    UnitOfBasisId: 13\n    AttributeOptionsId: \n    AttributeOptions: \n    AttributeApplicabilityId: \n    AttributeApplicability: \n    ReturnsDeductionID: 0\n    ReturnsRateID: 0\n    ReturnsTaxTypeID: 0\n    NonPassThruExpressionId: \n    NonPassThruExpression: \n    CurrencyCode: \n    RequestCurrencyCode: USD\n    UOMId: 0\n    PreferredProgramId: 0\n\nTaxRule[TaxType:I][TaxSubType:I]: ProductTaxabilityRule CNT\n    TaxRuleId: 1510417\n    Cap: 0.000000\n    CompanyId: 1\n    Country: AT\n    CustomerUsageType: \n    EffDate: 11/01/2014\n    EndDate: 12/31/9999\n    IsAllJuris: False\n    IsPhysical: True\n    IsSSTP: False\n    JurisCode: AT\n    JurisName: AUSTRIA\n    JurisTypeId: CNT\n    Options: \n    SERCode: \n    SignatureCode: \n    Sourcing: O\n    State: AT\n    StateAssignedNo: \n    TaxCode: P0000000\n    TaxCodeId: 8087\n    TaxName: Tangible Personal Property (TPP)\n    NexusTaxTypeGroupId: InputAndOutput\n    TaxTypeGroupId: InputAndOutput\n    TaxTypeId: I\n    TaxSubTypeId: I\n    TaxTypeMappingId: 69\n    Threshold: 0.000000\n    Value: 1.000000\n    RateSourceId: None\n    RateTypeId: S\n    RateTypeTaxTypeMappingId: 308\n    UnitOfBasis: PerCurrencyUnit\n    UnitOfBasisId: 13\n    AttributeOptionsId: \n    AttributeOptions: \n    AttributeApplicabilityId: \n    AttributeApplicability: \n    ReturnsDeductionID: -1\n    ReturnsRateID: -1\n    ReturnsTaxTypeID: -1\n    NonPassThruExpressionId: \n    NonPassThruExpression: \n    CurrencyCode: USD\n    RequestCurrencyCode: USD\n    UOMId: 0\n    PreferredProgramId: 0\n\nTaxRule[TaxType:I][TaxSubType:I]: RateRule CNT\n    TaxRuleId: 329708\n    Cap: 0.000000\n    CompanyId: 1\n    Country: AT\n    CustomerUsageType: \n    EffDate: 07/01/2008\n    EndDate: 12/31/9999\n    IsAllJuris: False\n    IsPhysical: True\n    IsSSTP: False\n    JurisCode: AT\n    JurisName: AUSTRIA\n    JurisTypeId: CNT\n    Options: \n    SERCode: \n    SignatureCode: \n    Sourcing: O\n    State: AT\n    StateAssignedNo: \n    TaxCode: \n    TaxCodeId: 0\n    TaxName: Standard Rate\n    NexusTaxTypeGroupId: InputAndOutput\n    TaxTypeGroupId: InputAndOutput\n    TaxTypeId: I\n    TaxSubTypeId: I\n    TaxTypeMappingId: 69\n    Threshold: 0.000000\n    Value: 0.200000\n    RateSourceId: None\n    RateTypeId: S\n    RateTypeTaxTypeMappingId: 308\n    UnitOfBasis: PerCurrencyUnit\n    UnitOfBasisId: 13\n    AttributeOptionsId: \n    AttributeOptions: \n    AttributeApplicabilityId: \n    AttributeApplicability: \n    ReturnsDeductionID: -1\n    ReturnsRateID: -1\n    ReturnsTaxTypeID: -1\n    NonPassThruExpressionId: \n    NonPassThruExpression: \n    CurrencyCode: USD\n    RequestCurrencyCode: USD\n    UOMId: 0\n    PreferredProgramId: 0\n",
      "refersTo": "Lines[\"1\"]",
      "severity": "Success",
      "source": "Avalara.AvaTax.TaxEngine"
    },
    {
      "summary": "Parameters",
      "details": "    Line[1]= 1\n        Parameter[1]= \n        Name= ExemptionCitationCodes\n        Value= \n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[2]= \n        Name= LiabilityCitationCodes\n        Value= Article193\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[3]= \n        Name= IsInterCountry\n        Value= False\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[4]= \n        Name= IsIntraEUTransaction\n        Value= True\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[5]= \n        Name= IsIndiaGSTTransaction\n        Value= False\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[6]= \n        Name= IsSst\n        Value= False\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[7]= \n        Name= PlaceOfSupplyState\n        Value= \n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[8]= \n        Name= PlaceOfSupplyCountry\n        Value= AT\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[9]= \n        Name= IsEUSellerEstablishmentCountryMutualAssist\n        Value= False\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[10]= \n        Name= SellerRegisteredThroughFiscalRepCountries\n        Value= \n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[11]= \n        Name= BuyerRegisteredThroughFiscalRepCountries\n        Value= \n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[12]= \n        Name= IsSellerNotOptedOrBelowDistanceThreshold\n        Value= False\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[13]= \n        Name= GoodsPlaceOrServiceRenderedCountryGroup\n        Value= EU\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[14]= \n        Name= IsNZGoodsConsignmentValueBelow1000NZD\n        Value= True\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[15]= \n        Name= IsAUGoodsConsignmentValueBelow1000AUD\n        Value= True\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[16]= \n        Name= IsNOGoodsConsignmentValueBelow3000NOK\n        Value= True\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[17]= \n        Name= IsEUGoodsConsignmentValueBelow150EUR\n        Value= True\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[18]= \n        Name= IsUKGoodsConsignmentValueBelow135GBP\n        Value= True\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[19]= \n        Name= IsCustomerRegisteredThroughFiscalRep\n        Value= false\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Line\n        Parameter[20]= \n        Name= GoodsPlaceOrServiceRenderedCountry\n        Value= AT\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[21]= \n        Name= IsEUDistanceSalesThresholdExceeded\n        Value= True\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[22]= \n        Name= MerchantEstablishmentCountryGroup\n        Value= US\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[23]= \n        Name= HasPermanentEstablishmentInDest\n        Value= False\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[24]= \n        Name= IsSupplierNonTaxableLegalPerson\n        Value= false\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Line\n        Parameter[25]= \n        Name= IsCountryOfManufacturePunitive\n        Value= False\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[26]= \n        Name= IsSpecialArrangementByCarrier\n        Value= False\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Line\n        Parameter[27]= \n        Name= UserEstablishmentCountryGroup\n        Value= EU\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[28]= \n        Name= SellerEstablishmentCountries\n        Value= AT\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[29]= \n        Name= MerchantEstablishmentCountry\n        Value= US\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Line\n        Parameter[30]= \n        Name= HasBusinessIdentificationNo\n        Value= True\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[31]= \n        Name= ImportVatDefermentCountries\n        Value= \n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[32]= \n        Name= BuyerEstablishmentCountries\n        Value= GB,EE,CH,DE\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[33]= \n        Name= CompanyLocationAddressType\n        Value= Location\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[34]= \n        Name= UserEstablishmentCountries\n        Value= GB,EE,CH,DE\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[35]= \n        Name= IndiaGSTEnabledForAccount\n        Value= True\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[36]= \n        Name= IsSourcingSectionApplied\n        Value= True\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[37]= \n        Name= IsAssemblyOrInstallation\n        Value= False\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Company\n        Parameter[38]= \n        Name= IsSellerImporterOfRecord\n        Value= False\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[39]= \n        Name= DestCountryNexusTypeId\n        Value= 1\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[40]= \n        Name= RemoteSellerStatesList\n        Value= \n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[41]= \n        Name= HasAvaTaxGlobalService\n        Value= True\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Line\n        Parameter[42]= \n        Name= LC_SystemCustomsValue\n        Value= CIF\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[43]= \n        Name= DestStateNexusTypeId\n        Value= 1\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[44]= \n        Name= IsImportVatDeferment\n        Value= false\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Nexus\n        Parameter[45]= \n        Name= SellerVatIdCountries\n        Value= AT\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[46]= \n        Name= ShipFromCountryGroup\n        Value= EU\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[47]= \n        Name= HasSameCountryGroup\n        Value= True\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[48]= \n        Name= B2BServiceCountries\n        Value= MX,MY,ZA,RU\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[49]= \n        Name= BuyerVatIdCountries\n        Value= EE,CH,DE,FR,NL\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[50]= \n        Name= IsBelowRdfThreshold\n        Value= false\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Nexus\n        Parameter[51]= \n        Name= ImportCountryGroup\n        Value= EU\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[52]= \n        Name= ShipToCountryGroup\n        Value= EU\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[53]= \n        Name= DestinationCountry\n        Value= AT\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[54]= \n        Name= IsGoodsSecondHand\n        Value= false\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Line\n        Parameter[55]= \n        Name= POSCitationCodes\n        Value= Article31\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[56]= \n        Name= DestCountryGroup\n        Value= EU\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[57]= \n        Name= OrigCountryGroup\n        Value= EU\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[58]= \n        Name= MerchantSellerId\n        Value= M6462\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[59]= \n        Name= DestinationState\n        Value= \n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[60]= \n        Name= IsTriangulation\n        Value= false\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Line\n        Parameter[61]= \n        Name= SupplyofService\n        Value= Generic\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Company\n        Parameter[62]= \n        Name= ProductCodeType\n        Value= P\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[63]= \n        Name= ShipFromCountry\n        Value= AT\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[64]= \n        Name= HasSameCountry\n        Value= True\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[65]= \n        Name= CompanyCountry\n        Value= GB\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[66]= \n        Name= DocumentAmount\n        Value= 100\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[67]= \n        Name= HasSameRegion\n        Value= True\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[68]= \n        Name= IsMarketplace\n        Value= False\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Company\n        Parameter[69]= \n        Name= ImportCountry\n        Value= AT\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[70]= \n        Name= IsSelfBilling\n        Value= false\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Line\n        Parameter[71]= \n        Name= BillToCountry\n        Value= AT\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[72]= \n        Name= ShipToCountry\n        Value= AT\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[73]= \n        Name= OriginCountry\n        Value= AT\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[74]= \n        Name= TaxableAmount\n        Value= 100\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[75]= \n        Name= SellerVatIds\n        Value= ATU12233456\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[76]= \n        Name= HasDestNexus\n        Value= True\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[77]= \n        Name= HasExemptNo\n        Value= False\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[78]= \n        Name= BuyerVatIds\n        Value= EE7654321, CHE-123.456.788 TVA, DE999999999, FR97999999999, NL999999999B01\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[79]= \n        Name= OriginState\n        Value= \n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[80]= \n        Name= Applicable\n        Value= True\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[81]= \n        Name= IsPhysical\n        Value= true\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[82]= \n        Name= LineAmount\n        Value= 100\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[83]= \n        Name= TaxSystem\n        Value= VAT\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[84]= \n        Name= IOSSRegNo\n        Value= 987654321\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Company\n        Parameter[85]= \n        Name= Transport\n        Value= None\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Header\n        Parameter[86]= \n        Name= TaxCode\n        Value= P0000000\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[87]= \n        Name= DocType\n        Value= Purchase\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[88]= \n        Name= Qty\n        Value= 1\n        UOMId= 332\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n",
      "refersTo": "",
      "severity": "Success",
      "source": "Avalara.AvaTax.TaxEngine"
    },
    {
      "summary": "Document Details",
      "details": "Document\n    CompanyId: 7921876\n    CurrencyCode: USD\n    CustomerVendorCode: merchantonMP\n    CustomerUsageType: \n    DocumentCode: merchantonMP\n    DocumentDate: 07/25/2024\n    DocumentId: 85061811583217\n    DocumentLineCount: 1\n    DocumentStatusId: 1\n    DocumentTypeId: 3\n    ExemptNo: \n    Business Identification No: ATU12233456\n    IsReconciled: False\n    LocationCode: \n    ModifiedDate: 07/25/2024 21:19:59\n    ModifiedUserId: 1443662\n    PaymentDate: 01/01/1900\n    PurchaseOrderNo: \n    ReferenceCode: \n    SalespersonCode: \n    TaxDate: 07/25/2024\n    TaxOverrideTypeId: 0\n    TaxOverrideAmount: 0\n    TaxOverrideReason: \n    TotalAmount: 100\n    TotalTax: 20.0000\n    TotalTaxCalculated: 20.0000\n    ExchangeRate: 1.0\n    ExchangeRateCurrencyCode: USD\n    ExchangeRateEffDate: 07/25/2024 00:00:00\n    DeliveryTerms: \n    VATNumberType No registration\n    DocumentAddress[0]: \n        Line1: \n        City: \n        Region: \n        County: \n        Country: AT\n        BoundaryId: 5\n        BoundaryLevelId: 2\n        BoundarySource: BoundaryGlobal\n        CitySignature: \n        DocumentAddressId: 85061811583218\n        GeocodeTypeId: NotGeoCoded\n        JurisCode: AT\n        PostalCode: \n        TaxRegionId: 205058\n        ValidateStatusId: Not Validated.\n        AddressLine1: \n        AddressLine2: \n        AddressLine3: \n    Line[0]: \n        AccountingMethodId: 0 (Accrual)\n        BoundaryLevelId: 2\n        BoundaryOverrideId: 0\n        CustomerUsageType: \n        Description: Yarn\n        DestinationAddressId: 85061811583218\n        DiscountAmount: 0\n        DiscountTypeId: 0\n        DocumentLineId: 85061811583222\n        ExemptAmount: 0\n        ExemptCertId: 0\n        ExemptNo: \n        Business Identification No: ATU12233456\n        InState: True\n        IsPhysical: True\n        IsSstp: False\n        ItemCode: \n        LineAmount: 100\n        LineNo: 1\n        OriginAddressId: 85061811583218\n        Quantity: 1\n        Ref1: \n        Ref2: \n        RevAccount: \n        Sourcing: O\n        IsItemTaxable: True\n        ReportingDate: 07/25/2024\n        Tax: 20.0000\n        TaxableAmount: 100\n        TaxCalculated: 20.0000\n        TaxDate: 07/25/2024\n        TaxCode: P0000000\n        TaxCodeId: 8087 (P0000000)\n        TaxOverrideTypeId: 0\n        TaxOverrideAmount: 0\n        TaxOverrideReason: \n        VATCode: ATPL200C\n        VATNumberType: No registration\n        HSCodeUsed: \n        HSCode: \n        HSCodeId: 0\n        CIF: 0.0\n        DeemedSupplier: \n        Category: \n        Summary: \n        Detail[0]: AT CNT AT\n            DocumentLineDetailId: 85061811583262\n            AddressId: 85061811583218\n            AVTUserBIN : \n            Country: AT\n            ExemptAmount: 0.0000\n            ExemptUnits: 0.0000\n            ExemptReasonId: 4 (NoExempt)\n            ExemptRuleId: 0\n            InState: True\n            JurisCode: AT\n            JurisdictionId: 200058\n            JurisName: AUSTRIA\n            JurisTypeId: CNT\n            NonTaxableAmount: 0.0000\n            NonTaxableUnits: 0.0000\n            NonTaxableRuleId: 0\n            NonTaxableTypeId: 0\n            Options: \n            Rate: 0.200000\n            RateRuleId: 329708\n            RateSourceId: None\n            Region: AT\n            SERCode: \n            Sourcing: O\n            StateCode: AT\n            StateAssignedNo: \n            TaxAuthorityId: 0\n            Tax: 20.0000\n            TaxableAmount: 100.0000\n            TaxableUnits: 100.0000\n            UnitOfBasis: PerCurrencyUnit\n            UnitOfBasisId: 13\n            TaxCalculated: 20.0000\n            TaxName: Standard Rate\n            TaxOverride: 0.0000\n            TaxTypeGroupId: InputAndOutput\n            TaxTypeId: I\n            TaxSubTypeId: I\n            RateTypeId: S\n            IsFee: False\n            TaxTypeMappingId: 69\n            RateTypeTaxTypeMappingId: 308\n            TaxRegionId: 205058\n           *Cap: 0\n           *Threshold: 0\n            TaxAuthorityTypeId: 45\n            TaxAuthorityId: 0\n            TaxAuthorityName: 0\n            ReportLevel: 0\n            IsNonPassThru: False\n            ReportingTaxableUnits: 100\n            ReportingNonTaxableUnits: 0\n            ReportingExemptUnits: 0\n            ReportingTax: 20\n            ReportingTaxCalculated: 20\n            AVTUserBIN : \n    DocumentParameterBag[0]: \n        Name: Transport\n        Value: None\n        UOMId: 0\n    DocumentParameterBag[0]: \n        Name: Transport\n        Value: None\n        UOMId: 0\n    DocumentParameterBag[0]: \n        Name: Transport\n        Value: None\n        UOMId: 0\n",
      "refersTo": "",
      "severity": "Success",
      "source": "Avalara.AvaTax.TaxEngine"
    },
    {
      "summary": "SourcingRules applied for the transaction, XML format",
      "details": "100S031",
      "refersTo": "",
      "severity": "Success",
      "source": "Avalara.AvaTax.TaxEngine"
    },
    {
      "summary": "SourcingRules applied for the transaction, JSON format",
      "details": "[{\"LineNo\":\"1\",\"SourcingRuleId_Sourcing\":0,\"Sourcing\":null,\"SourcingRuleId_RateType\":0,\"RateType\":\"S\",\"SourcingRuleId_JurisTypesApplicableId\":0,\"JurisTypesApplicableId\":31}]",
      "refersTo": "",
      "severity": "Success",
      "source": "Avalara.AvaTax.TaxEngine"
    },
    {
      "summary": "Sections applied for the transaction, JSON format",
      "details": "[{\"LineNo\":\"1\",\"SectionId\":21001085,\"Type\":\"Sourcing\",\"Output\":\"GoodsPlaceOrServiceRendered\",\"CitationCodes\":\"Article31\",\"Exclude\":false},{\"LineNo\":\"1\",\"SectionId\":4,\"Type\":\"RateTypeLiability\",\"Output\":\"S\",\"CitationCodes\":\"Article193\",\"Exclude\":false}]",
      "refersTo": "",
      "severity": "Success",
      "source": "Avalara.AvaTax.TaxEngine"
    }
  ],
  "apStatusCode": null,
  "apStatus": null
}
```

### Transaction 2 request

```
{
  "addresses": {
    "shipFrom": {
      "line1": "Laekjargata 22B",
      "line2": "",
      "line3": "",
      "city": "Reykjavík",
      "region": "",
      "country": "IS",
      "postalCode": "101"
    },
    "shipTo": {
      "line1": "Harvestehuder Weg 11-B",
      "line2": "",
      "line3": "",
      "city": "Hamburg",
      "region": "",
      "country": "DE",
      "postalCode": "20148"
    }
  },
  "lines": [
    {
      "number": "1",
      "quantity": 1,
      "amount": "50.0",
      "taxCode": "P000000",
      "itemCode": "Yarn",
      "description": "green wool",
      "taxIncluded": false,
      "discounted": false,
      "parameters": [
        {
          "name": "MerchantEstablishmentCountry",
          "value": "US",
          "unit": ""
        },
        {
          "name": "MerchantName",
          "value": "Merchant Company Name LLC",
          "unit": ""
        }
      ],
      "merchantSellerIdentifier": "M6462"
    }
  ],
  "type": "SalesOrder",
  "date": "2024-07-25",
  "companyCode": "USECASESLTD,
  "customerCode": "0715-1234",
  "referenceCode": "00956",
  "currencyCode": "EUR",
  "isSellerImporterOfRecord": false,
  "businessIdentificationNo": "",
  "debugLevel": "Diagnostic"
}
```

### Transaction 2 response

```
{
  "id": 0,
  "code": "c286ba88-2c7f-4689-b5bb-339cc97ceadf",
  "companyId": 7921876,
  "date": "2024-07-25",
  "paymentDate": "2024-07-25",
  "status": "Temporary",
  "type": "SalesOrder",
  "batchCode": "",
  "currencyCode": "EUR",
  "exchangeRateCurrencyCode": "EUR",
  "customerUsageType": "",
  "entityUseCode": "",
  "customerVendorCode": "0715-1234",
  "customerCode": "0715-1234",
  "exemptNo": "",
  "reconciled": false,
  "locationCode": "",
  "reportingLocationCode": "",
  "purchaseOrderNo": "",
  "referenceCode": "00956",
  "salespersonCode": "",
  "totalAmount": 50,
  "totalExempt": 0,
  "totalDiscount": 0,
  "totalTax": 9.5,
  "totalTaxable": 50,
  "totalTaxCalculated": 9.5,
  "adjustmentReason": "NotAdjusted",
  "locked": false,
  "version": 1,
  "exchangeRateEffectiveDate": "2024-07-25",
  "exchangeRate": 1,
  "isSellerImporterOfRecord": false,
  "modifiedDate": "2024-07-25T22:28:07.3724449Z",
  "modifiedUserId": 1443662,
  "taxDate": "2024-07-25",
  "lines": [
    {
      "id": 0,
      "transactionId": 0,
      "lineNumber": "1",
      "customerUsageType": "",
      "entityUseCode": "",
      "description": "green wool",
      "discountAmount": 0,
      "exemptAmount": 0,
      "exemptCertId": 0,
      "exemptNo": "",
      "isItemTaxable": true,
      "itemCode": "Yarn",
      "lineAmount": 50,
      "quantity": 1,
      "ref1": "",
      "ref2": "",
      "reportingDate": "2024-07-25",
      "revAccount": "",
      "sourcing": "Destination",
      "tax": 9.5,
      "taxableAmount": 50,
      "taxCalculated": 9.5,
      "taxCode": "P0000000",
      "taxCodeId": 8087,
      "taxDate": "2024-07-25",
      "taxIncluded": false,
      "merchantSellerIdentifier": "M6462",
      "details": [
        {
          "id": 0,
          "transactionLineId": 0,
          "transactionId": 0,
          "country": "DE",
          "region": "DE",
          "stateFIPS": "DE",
          "exemptAmount": 0,
          "jurisCode": "DE",
          "jurisName": "GERMANY",
          "jurisdictionId": 200079,
          "stateAssignedNo": "",
          "jurisType": "CNT",
          "jurisdictionType": "Country",
          "nonTaxableAmount": 0,
          "rate": 0.19,
          "sourcing": "Destination",
          "tax": 9.5,
          "taxableAmount": 50,
          "taxType": "Output",
          "taxSubTypeId": "O",
          "taxName": "Standard",
          "taxAuthorityTypeId": 45,
          "taxCalculated": 9.5,
          "rateType": "Standard",
          "rateTypeCode": "S",
          "taxableUnits": 50,
          "nonTaxableUnits": 0,
          "exemptUnits": 0,
          "unitOfBasis": "PerCurrencyUnit",
          "isNonPassThru": false,
          "isFee": false,
          "reportingTaxableUnits": 50,
          "reportingNonTaxableUnits": 0,
          "reportingExemptUnits": 0,
          "reportingTax": 9.5,
          "reportingTaxCalculated": 9.5,
          "liabilityType": "Seller",
          "chargedTo": "Buyer"
        }
      ],
      "nonPassthroughDetails": [],
      "parameters": [
        {
          "name": "MerchantEstablishmentCountry",
          "value": "US"
        },
        {
          "name": "MerchantName",
          "value": "Merchant Company Name LLC"
        }
      ],
      "hsCode": "",
      "costInsuranceFreight": 0,
      "vatCode": "DES0190C",
      "vatNumberTypeId": 0,
      "deemedSupplier": "Marketplace"
    }
  ],
  "addresses": [
    {
      "id": 0,
      "transactionId": 0,
      "boundaryLevel": "Zip5",
      "line1": "Harvestehuder Weg 11-B",
      "line2": "",
      "line3": "",
      "city": "Hamburg",
      "region": "",
      "postalCode": "20148",
      "country": "DE",
      "taxRegionId": 205079,
      "latitude": "",
      "longitude": ""
    },
    {
      "id": 0,
      "transactionId": 0,
      "boundaryLevel": "Zip5",
      "line1": "Laekjargata 22B",
      "line2": "",
      "line3": "",
      "city": "Reykjavik",
      "region": "",
      "postalCode": "101",
      "country": "IS",
      "taxRegionId": 205144,
      "latitude": "",
      "longitude": ""
    }
  ],
  "summary": [
    {
      "country": "DE",
      "region": "DE",
      "jurisType": "Country",
      "jurisCode": "DE",
      "jurisName": "GERMANY",
      "taxAuthorityType": 45,
      "stateAssignedNo": "",
      "taxType": "Output",
      "taxSubType": "O",
      "taxName": "Standard",
      "rateType": "Standard",
      "taxable": 50,
      "rate": 0.19,
      "tax": 9.5,
      "taxCalculated": 9.5,
      "nonTaxable": 0,
      "exemption": 0
    }
  ],
  "messages": [
    {
      "summary": "Global Address",
      "details": "\n    Address: Laekjargata 22B, Reykjavik, 101 IS\n    AddressCode: ORIG2\n    AddressType: \n    BoundaryId: 0\n    CarrierRoute: \n    County: \n    FipsCode: \n    GeocodeType: NotGeoCoded\n    PostNet: \n    Reason: \n    ValidateStatus: Not Validated.\n    TaxRegionId: 0\n",
      "refersTo": "Addresses[0] - TaxDate: 2024-07-25 00:00:00Z",
      "severity": "Success",
      "source": "Avalara.AvaTax.TaxEngine"
    },
    {
      "summary": "Global Address",
      "details": "\n    Address: Harvestehuder Weg 11-B, Hamburg, 20148 DE\n    AddressCode: DEST3\n    AddressType: \n    BoundaryId: 0\n    CarrierRoute: \n    County: \n    FipsCode: \n    GeocodeType: NotGeoCoded\n    PostNet: \n    Reason: \n    ValidateStatus: Not Validated.\n    TaxRegionId: 0\n",
      "refersTo": "Addresses[1] - TaxDate: 2024-07-25 00:00:00Z",
      "severity": "Success",
      "source": "Avalara.AvaTax.TaxEngine"
    },
    {
      "summary": "AddressLocationType: ShipFrom",
      "details": "\n    Address: Laekjargata 22B,Reykjavik, 101\n    Type: \n    City: \n    State: \n    County: \n    Country: IS\n    BoundaryLevel: 2\n    BoundarySource: BoundaryGlobal\n    BoundaryId: 52\n    TaxRegionId: 205144\n    FIPSCode: IS\n    CitySignature: \n    GEOCode: \n    Jurisdictions: \n        CNT: JurisdictionId=\"200139\" JurisdictionCode=\"IS\" JurisdictionTypeId=\"CNT\" LongName=\"ICELAND\" StateFips=\"\" State=\"\" StateAssignedCode=\"\" SerCode=\"\" SignatureCode=\"YAGI\" TaxAuthorityTypeId=\"\" IsLocalAdmin=\"False\" EffDate=\"2012-08-01\" EndDate=\"9999-12-31\"\n",
      "refersTo": "Addresses[0]",
      "severity": "Success",
      "source": "Avalara.AvaTax.TaxEngine"
    },
    {
      "summary": "AddressLocationType: ShipTo",
      "details": "\n    Address: Harvestehuder Weg 11-B,Hamburg, 20148\n    Type: \n    City: \n    State: \n    County: \n    Country: DE\n    BoundaryLevel: 2\n    BoundarySource: BoundaryGlobal\n    BoundaryId: 27\n    TaxRegionId: 205079\n    FIPSCode: DE\n    CitySignature: \n    GEOCode: \n    Jurisdictions: \n        CNT: JurisdictionId=\"200079\" JurisdictionCode=\"DE\" JurisdictionTypeId=\"CNT\" LongName=\"GERMANY\" StateFips=\"\" State=\"\" StateAssignedCode=\"\" SerCode=\"\" SignatureCode=\"YADD\" TaxAuthorityTypeId=\"\" IsLocalAdmin=\"False\" EffDate=\"2008-07-01\" EndDate=\"9999-12-31\"\n",
      "refersTo": "Addresses[1]",
      "severity": "Success",
      "source": "Avalara.AvaTax.TaxEngine"
    },
    {
      "summary": "MissingHSCodeWarning",
      "details": "No HSCode provided. Import Duty could not be calculated.",
      "refersTo": "LineNo : 1",
      "severity": "Success",
      "source": "Avalara.AvaTax.TaxEngine"
    },
    {
      "summary": "TaxTypes",
      "details": "    Line[0]: \n        TaxTypeId : O\n",
      "refersTo": "",
      "severity": "Success",
      "source": "Avalara.AvaTax.TaxEngine"
    },
    {
      "summary": "Tax Rules",
      "details": "\nTaxRule[TaxType:O][TaxSubType:O]: Nexus CNT\n    TaxRuleId: 0\n    Cap: 0\n    CompanyId: 7921876\n    Country: DE\n    CustomerUsageType: \n    EffDate: 01/01/1900\n    EndDate: 12/31/9999\n    IsAllJuris: False\n    IsPhysical: True\n    IsSSTP: False\n    JurisCode: DE\n    JurisName: GERMANY\n    JurisTypeId: CNT\n    Options: \n    SERCode: \n    SignatureCode: \n    Sourcing: D\n    State: DE\n    StateAssignedNo: \n    TaxCode: \n    TaxCodeId: 0\n    TaxName: DE VAT\n    NexusTaxTypeGroupId: InputAndOutput\n    TaxTypeGroupId: InputAndOutput\n    TaxTypeId: O\n    TaxSubTypeId: O\n    TaxTypeMappingId: 295\n    Threshold: 0\n    Value: 1\n    RateSourceId: None\n    RateTypeId: S\n    RateTypeTaxTypeMappingId: 1146\n    UnitOfBasis: PerCurrencyUnit\n    UnitOfBasisId: 13\n    AttributeOptionsId: \n    AttributeOptions: \n    AttributeApplicabilityId: \n    AttributeApplicability: \n    ReturnsDeductionID: 0\n    ReturnsRateID: 0\n    ReturnsTaxTypeID: 0\n    NonPassThruExpressionId: \n    NonPassThruExpression: \n    CurrencyCode: \n    RequestCurrencyCode: EUR\n    UOMId: 0\n    PreferredProgramId: 0\n\nTaxRule[TaxType:O][TaxSubType:O]: ProductTaxabilityRule CNT\n    TaxRuleId: 1912890\n    Cap: 0.000000\n    CompanyId: 1\n    Country: DE\n    CustomerUsageType: \n    EffDate: 01/01/2015\n    EndDate: 12/31/9999\n    IsAllJuris: False\n    IsPhysical: True\n    IsSSTP: False\n    JurisCode: DE\n    JurisName: GERMANY\n    JurisTypeId: CNT\n    Options: \n    SERCode: \n    SignatureCode: \n    Sourcing: D\n    State: DE\n    StateAssignedNo: \n    TaxCode: P0000000\n    TaxCodeId: 8087\n    TaxName: Tangible Personal Property (TPP)\n    NexusTaxTypeGroupId: InputAndOutput\n    TaxTypeGroupId: InputAndOutput\n    TaxTypeId: O\n    TaxSubTypeId: O\n    TaxTypeMappingId: 295\n    Threshold: 0.000000\n    Value: 1.000000\n    RateSourceId: None\n    RateTypeId: S\n    RateTypeTaxTypeMappingId: 1158\n    UnitOfBasis: PerCurrencyUnit\n    UnitOfBasisId: 13\n    AttributeOptionsId: \n    AttributeOptions: \n    AttributeApplicabilityId: \n    AttributeApplicability: \n    ReturnsDeductionID: -1\n    ReturnsRateID: -1\n    ReturnsTaxTypeID: -1\n    NonPassThruExpressionId: \n    NonPassThruExpression: \n    CurrencyCode: USD\n    RequestCurrencyCode: EUR\n    UOMId: 0\n    PreferredProgramId: 0\n\nTaxRule[TaxType:O][TaxSubType:O]: RateRule CNT\n    TaxRuleId: 5096078\n    Cap: 0.000000\n    CompanyId: 1\n    Country: DE\n    CustomerUsageType: \n    EffDate: 01/01/2021\n    EndDate: 12/31/9999\n    IsAllJuris: False\n    IsPhysical: True\n    IsSSTP: False\n    JurisCode: DE\n    JurisName: GERMANY\n    JurisTypeId: CNT\n    Options: \n    SERCode: \n    SignatureCode: \n    Sourcing: D\n    State: DE\n    StateAssignedNo: \n    TaxCode: \n    TaxCodeId: 0\n    TaxName: Standard\n    NexusTaxTypeGroupId: InputAndOutput\n    TaxTypeGroupId: InputAndOutput\n    TaxTypeId: O\n    TaxSubTypeId: O\n    TaxTypeMappingId: 295\n    Threshold: 0.000000\n    Value: 0.190000\n    RateSourceId: None\n    RateTypeId: S\n    RateTypeTaxTypeMappingId: 1158\n    UnitOfBasis: PerCurrencyUnit\n    UnitOfBasisId: 13\n    AttributeOptionsId: \n    AttributeOptions: \n    AttributeApplicabilityId: \n    AttributeApplicability: \n    ReturnsDeductionID: -1\n    ReturnsRateID: -1\n    ReturnsTaxTypeID: -1\n    NonPassThruExpressionId: \n    NonPassThruExpression: \n    CurrencyCode: USD\n    RequestCurrencyCode: EUR\n    UOMId: 0\n    PreferredProgramId: 0\n",
      "refersTo": "Lines[\"1\"]",
      "severity": "Success",
      "source": "Avalara.AvaTax.TaxEngine"
    },
    {
      "summary": "Parameters",
      "details": "    Line[1]= 1\n        Parameter[1]= \n        Name= ExemptionCitationCodes\n        Value= \n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[2]= \n        Name= LiabilityCitationCodes\n        Value= Article193\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[3]= \n        Name= IsInterCountry\n        Value= True\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[4]= \n        Name= IsIntraEUTransaction\n        Value= False\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[5]= \n        Name= IsIndiaGSTTransaction\n        Value= False\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[6]= \n        Name= IsSst\n        Value= False\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[7]= \n        Name= PlaceOfSupplyState\n        Value= \n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[8]= \n        Name= PlaceOfSupplyCountry\n        Value= DE\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[9]= \n        Name= IsEUSellerEstablishmentCountryMutualAssist\n        Value= False\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[10]= \n        Name= SellerRegisteredThroughFiscalRepCountries\n        Value= \n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[11]= \n        Name= BuyerRegisteredThroughFiscalRepCountries\n        Value= \n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[12]= \n        Name= IsSellerNotOptedOrBelowDistanceThreshold\n        Value= False\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[13]= \n        Name= IsNZGoodsConsignmentValueBelow1000NZD\n        Value= True\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[14]= \n        Name= IsAUGoodsConsignmentValueBelow1000AUD\n        Value= True\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[15]= \n        Name= IsNOGoodsConsignmentValueBelow3000NOK\n        Value= True\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[16]= \n        Name= IsEUGoodsConsignmentValueBelow150EUR\n        Value= True\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[17]= \n        Name= IsUKGoodsConsignmentValueBelow135GBP\n        Value= True\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[18]= \n        Name= IsCustomerRegisteredThroughFiscalRep\n        Value= false\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Line\n        Parameter[19]= \n        Name= IsEUDistanceSalesThresholdExceeded\n        Value= True\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[20]= \n        Name= MerchantEstablishmentCountryGroup\n        Value= US\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[21]= \n        Name= HasPermanentEstablishmentInDest\n        Value= True\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[22]= \n        Name= IsSupplierNonTaxableLegalPerson\n        Value= false\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Line\n        Parameter[23]= \n        Name= IsCountryOfManufacturePunitive\n        Value= False\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[24]= \n        Name= IsSpecialArrangementByCarrier\n        Value= False\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Line\n        Parameter[25]= \n        Name= UserEstablishmentCountryGroup\n        Value= EU\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[26]= \n        Name= SellerEstablishmentCountries\n        Value= GB,EE,CH,DE\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[27]= \n        Name= MerchantEstablishmentCountry\n        Value= US\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Line\n        Parameter[28]= \n        Name= HasBusinessIdentificationNo\n        Value= False\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[29]= \n        Name= ImportVatDefermentCountries\n        Value= \n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[30]= \n        Name= BuyerEstablishmentCountries\n        Value= DE\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[31]= \n        Name= CompanyLocationAddressType\n        Value= Location\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[32]= \n        Name= UserEstablishmentCountries\n        Value= GB,EE,CH,DE\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[33]= \n        Name= IndiaGSTEnabledForAccount\n        Value= True\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[34]= \n        Name= IsSourcingSectionApplied\n        Value= True\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[35]= \n        Name= IsAssemblyOrInstallation\n        Value= False\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Company\n        Parameter[36]= \n        Name= IsSellerImporterOfRecord\n        Value= False\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[37]= \n        Name= DestCountryNexusTypeId\n        Value= 1\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[38]= \n        Name= RemoteSellerStatesList\n        Value= \n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[39]= \n        Name= HasAvaTaxGlobalService\n        Value= True\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Line\n        Parameter[40]= \n        Name= LC_SystemCustomsValue\n        Value= CIF\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[41]= \n        Name= DestStateNexusTypeId\n        Value= 1\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[42]= \n        Name= IsImportVatDeferment\n        Value= false\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Nexus\n        Parameter[43]= \n        Name= SellerVatIdCountries\n        Value= EE,CH,DE,FR,NL\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[44]= \n        Name= ShipFromCountryGroup\n        Value= \n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[45]= \n        Name= HasSameCountryGroup\n        Value= False\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[46]= \n        Name= B2BServiceCountries\n        Value= MX,MY,ZA,RU\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[47]= \n        Name= IsBelowRdfThreshold\n        Value= false\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Nexus\n        Parameter[48]= \n        Name= ShipToCountryGroup\n        Value= EU\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[49]= \n        Name= DestinationCountry\n        Value= DE\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[50]= \n        Name= IsGoodsSecondHand\n        Value= false\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Line\n        Parameter[51]= \n        Name= POSCitationCodes\n        Value= Article33.c\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[52]= \n        Name= DestCountryGroup\n        Value= EU\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[53]= \n        Name= OrigCountryGroup\n        Value= \n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[54]= \n        Name= MerchantSellerId\n        Value= M6462\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[55]= \n        Name= DestinationState\n        Value= \n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[56]= \n        Name= IsTriangulation\n        Value= false\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Line\n        Parameter[57]= \n        Name= SupplyofService\n        Value= Generic\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Company\n        Parameter[58]= \n        Name= ProductCodeType\n        Value= P\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[59]= \n        Name= ShipFromCountry\n        Value= IS\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[60]= \n        Name= HasSameCountry\n        Value= False\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[61]= \n        Name= CompanyCountry\n        Value= GB\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[62]= \n        Name= DocumentAmount\n        Value= 50.0\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[63]= \n        Name= HasSameRegion\n        Value= False\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[64]= \n        Name= IsMarketplace\n        Value= False\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Company\n        Parameter[65]= \n        Name= IsSelfBilling\n        Value= false\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Line\n        Parameter[66]= \n        Name= ShipToCountry\n        Value= DE\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[67]= \n        Name= OriginCountry\n        Value= IS\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[68]= \n        Name= TaxableAmount\n        Value= 50\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[69]= \n        Name= SellerVatIds\n        Value= EE7654321, CHE-123.456.788 TVA, DE999999999, FR97999999999, NL999999999B01\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[70]= \n        Name= HasDestNexus\n        Value= True\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[71]= \n        Name= MerchantName\n        Value= Merchant Company Name LLC\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Line\n        Parameter[72]= \n        Name= HasExemptNo\n        Value= False\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[73]= \n        Name= OriginState\n        Value= \n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[74]= \n        Name= Applicable\n        Value= True\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[75]= \n        Name= IsPhysical\n        Value= true\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[76]= \n        Name= LineAmount\n        Value= 50.0\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[77]= \n        Name= TaxSystem\n        Value= VAT\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[78]= \n        Name= Transport\n        Value= Seller\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[79]= \n        Name= IOSSRegNo\n        Value= 987654321\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Company\n        Parameter[80]= \n        Name= TaxCode\n        Value= P0000000\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[81]= \n        Name= DocType\n        Value= Sales\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[82]= \n        Name= Qty\n        Value= 1\n        UOMId= 332\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n",
      "refersTo": "",
      "severity": "Success",
      "source": "Avalara.AvaTax.TaxEngine"
    },
    {
      "summary": "Document Details",
      "details": "Document\n    CompanyId: 7921876\n    CurrencyCode: EUR\n    CustomerVendorCode: 0715-1234\n    CustomerUsageType: \n    DocumentCode: c286ba88-2c7f-4689-b5bb-339cc97ceadf\n    DocumentDate: 07/25/2024\n    DocumentId: 0\n    DocumentLineCount: 1\n    DocumentStatusId: 0\n    DocumentTypeId: 0\n    ExemptNo: \n    Business Identification No: \n    IsReconciled: False\n    LocationCode: \n    ModifiedDate: 07/25/2024 22:28:07\n    ModifiedUserId: 1443662\n    PaymentDate: 01/01/1900\n    PurchaseOrderNo: \n    ReferenceCode: \n    SalespersonCode: \n    TaxDate: 07/25/2024\n    TaxOverrideTypeId: 0\n    TaxOverrideAmount: 0\n    TaxOverrideReason: \n    TotalAmount: 50\n    TotalTax: 9.5000\n    TotalTaxCalculated: 9.5000\n    ExchangeRate: 1.0\n    ExchangeRateCurrencyCode: EUR\n    ExchangeRateEffDate: 07/25/2024 00:00:00\n    DeliveryTerms: \n    VATNumberType No registration\n    DocumentAddress[0]: \n        Line1: Harvestehuder Weg 11-B\n        City: Hamburg\n        Region: \n        County: \n        Country: DE\n        BoundaryId: 27\n        BoundaryLevelId: 2\n        BoundarySource: BoundaryGlobal\n        CitySignature: \n        DocumentAddressId: 0\n        GeocodeTypeId: NotGeoCoded\n        JurisCode: DE\n        PostalCode: 20148\n        TaxRegionId: 205079\n        ValidateStatusId: Not Validated.\n        AddressLine1: Harvestehuder Weg 11-B\n        AddressLine2: \n        AddressLine3: \n    DocumentAddress[1]: \n        Line1: Laekjargata 22B\n        City: Reykjavik\n        Region: \n        County: \n        Country: IS\n        BoundaryId: 52\n        BoundaryLevelId: 2\n        BoundarySource: BoundaryGlobal\n        CitySignature: \n        DocumentAddressId: 0\n        GeocodeTypeId: NotGeoCoded\n        JurisCode: IS\n        PostalCode: 101\n        TaxRegionId: 205144\n        ValidateStatusId: Not Validated.\n        AddressLine1: Laekjargata 22B\n        AddressLine2: \n        AddressLine3: \n    Line[0]: \n        AccountingMethodId: 0 (Accrual)\n        BoundaryLevelId: 2\n        BoundaryOverrideId: 0\n        CustomerUsageType: \n        Description: green wool\n        DestinationAddressId: 0\n        DiscountAmount: 0\n        DiscountTypeId: 0\n        DocumentLineId: 0\n        ExemptAmount: 0\n        ExemptCertId: 0\n        ExemptNo: \n        Business Identification No: \n        InState: True\n        IsPhysical: True\n        IsSstp: False\n        ItemCode: Yarn\n        LineAmount: 50\n        LineNo: 1\n        OriginAddressId: 0\n        Quantity: 1\n        Ref1: \n        Ref2: \n        RevAccount: \n        Sourcing: D\n        IsItemTaxable: True\n        ReportingDate: 07/25/2024\n        Tax: 9.5000\n        TaxableAmount: 50\n        TaxCalculated: 9.5000\n        TaxDate: 07/25/2024\n        TaxCode: P000000\n        TaxCodeId: 8087 (P0000000)\n        TaxOverrideTypeId: 0\n        TaxOverrideAmount: 0\n        TaxOverrideReason: \n        VATCode: DES0190C\n        VATNumberType: No registration\n        HSCodeUsed: \n        HSCode: \n        HSCodeId: 0\n        CIF: 0.0\n        DeemedSupplier: Marketplace\n        Category: \n        Summary: \n        Detail[0]: DE CNT DE\n            DocumentLineDetailId: 0\n            AddressId: 0\n            AVTUserBIN : \n            Country: DE\n            ExemptAmount: 0.0000\n            ExemptUnits: 0.0000\n            ExemptReasonId: 4 (NoExempt)\n            ExemptRuleId: 0\n            InState: True\n            JurisCode: DE\n            JurisdictionId: 200079\n            JurisName: GERMANY\n            JurisTypeId: CNT\n            NonTaxableAmount: 0.0000\n            NonTaxableUnits: 0.0000\n            NonTaxableRuleId: 0\n            NonTaxableTypeId: 0\n            Options: \n            Rate: 0.190000\n            RateRuleId: 5096078\n            RateSourceId: None\n            Region: DE\n            SERCode: \n            Sourcing: D\n            StateCode: DE\n            StateAssignedNo: \n            TaxAuthorityId: 0\n            Tax: 9.5000\n            TaxableAmount: 50.0000\n            TaxableUnits: 50.0000\n            UnitOfBasis: PerCurrencyUnit\n            UnitOfBasisId: 13\n            TaxCalculated: 9.5000\n            TaxName: Standard\n            TaxOverride: 0.0000\n            TaxTypeGroupId: InputAndOutput\n            TaxTypeId: O\n            TaxSubTypeId: O\n            RateTypeId: S\n            IsFee: False\n            TaxTypeMappingId: 295\n            RateTypeTaxTypeMappingId: 1158\n            TaxRegionId: 205079\n           *Cap: 0\n           *Threshold: 0\n            TaxAuthorityTypeId: 45\n            TaxAuthorityId: 0\n            TaxAuthorityName: 0\n            ReportLevel: 0\n            IsNonPassThru: False\n            ReportingTaxableUnits: 50\n            ReportingNonTaxableUnits: 0\n            ReportingExemptUnits: 0\n            ReportingTax: 9.5\n            ReportingTaxCalculated: 9.5\n            AVTUserBIN : \n",
      "refersTo": "",
      "severity": "Success",
      "source": "Avalara.AvaTax.TaxEngine"
    },
    {
      "summary": "SourcingRules applied for the transaction, XML format",
      "details": "101839Z031",
      "refersTo": "",
      "severity": "Success",
      "source": "Avalara.AvaTax.TaxEngine"
    },
    {
      "summary": "SourcingRules applied for the transaction, JSON format",
      "details": "[{\"LineNo\":\"1\",\"SourcingRuleId_Sourcing\":0,\"Sourcing\":null,\"SourcingRuleId_RateType\":1839,\"RateType\":\"Z\",\"SourcingRuleId_JurisTypesApplicableId\":0,\"JurisTypesApplicableId\":31}]",
      "refersTo": "",
      "severity": "Success",
      "source": "Avalara.AvaTax.TaxEngine"
    },
    {
      "summary": "Sections applied for the transaction, JSON format",
      "details": "[{\"LineNo\":\"1\",\"SectionId\":1000211,\"Type\":\"Sourcing\",\"Output\":\"ShipTo\",\"CitationCodes\":\"Article33.c\",\"Exclude\":false},{\"LineNo\":\"1\",\"SectionId\":4,\"Type\":\"RateTypeLiability\",\"Output\":\"S\",\"CitationCodes\":\"Article193\",\"Exclude\":false}]",
      "refersTo": "",
      "severity": "Success",
      "source": "Avalara.AvaTax.TaxEngine"
    }
  ],
  "apStatusCode": null,
  "apStatus": null
}
```