# B2C digital services sale into the EU

Source: https://developer.avalara.com/vat-ecom/test-transactions/core-vat/b2c-digital-services-sale-into-eu/

This example shows how to create a B2C digital services sale that ships from a country not in the EU (in this case, Switzerland) to a country in the EU.  

## Returned invoice messages

-   None

## Related articles

The response returns the following articles when you run your transaction using `"debugLevel": "Diagnostic"`:

-   Article 58

-   Article 193

## Assumptions

In this example:

-   The document `type` is a sales invoice.

-   The `shipFrom` country is Switzerland.

-   The `shipTo` country is Lithuania.

[![Closed](https://avalara-devdocs-prod.mcoutput.com/vat-ecom/Skins/Default/Stylesheets/Images/transparent.gif)View request](javascript:void\(0\);)

```
{  "lines": [    {      "number": "1",      "discounted": false,      "amount": 100,      "quantity": 1,      "itemCode": "P001",      "description": "Digital Service -  Sale - B2C - Non EU digital service",      "taxCode": "D0000000",      "taxIncluded": true    }  ],  "companyCode": "USECASESLTD",  "date": "2024-07-23",  "type": "SalesOrder",  "code": "p2_23_49",  "description": "Digital Service -  Sale - B2C - Non EU digital service",  "customerCode": "C001",  "customerSupplierName": "Dooley and Sons",  "businessIdentificationNo": "",  "commit": false,  "isSellerImporterOfRecord": true,  "currencyCode": "EUR",  "addresses": {    "shipFrom": {      "line1": "916 Patience Freeway",      "city": "Jessyton",      "region": "Dockton",      "country": "CH",      "postalCode": ""    },    "shipTo": {      "line1": "",      "city": "",      "region": "",      "country": "LT",      "postalCode": ""    },    "pointOfOrderAcceptance": {      "line1": "",      "city": "",      "region": "",      "country": "CH",      "postalCode": ""    },    "pointOfOrderOrigin": {      "line1": "",      "city": "",      "region": "",      "country": "LT",      "postalCode": ""    },    "goodsPlaceOrServiceRendered": {      "line1": "",      "city": "",      "region": "Genvievemouth",      "country": "LT",      "postalCode": ""    },    "import": {      "line1": "",      "city": "",      "region": "",      "country": "LT",      "postalCode": ""    }  },  "parameters": [    {      "name": "MiddlemanVatId",      "value": ""    },    {      "name": "IsTriangulation",      "value": "FALSE"    }  ],  "debugLevel": "Diagnostic"}
```

[![Closed](https://avalara-devdocs-prod.mcoutput.com/vat-ecom/Skins/Default/Stylesheets/Images/transparent.gif)View response](javascript:void\(0\);)

```
{  "id": 0,  "code": "p2_23_49",  "companyId": 7921876,  "date": "2024-07-23",  "paymentDate": "2024-07-23",  "status": "Temporary",  "type": "SalesOrder",  "batchCode": "",  "currencyCode": "EUR",  "exchangeRateCurrencyCode": "EUR",  "customerUsageType": "",  "entityUseCode": "",  "customerVendorCode": "C001",  "customerCode": "C001",  "customerSupplierName": "Dooley and Sons",  "exemptNo": "",  "reconciled": false,  "locationCode": "",  "reportingLocationCode": "",  "purchaseOrderNo": "",  "referenceCode": "",  "salespersonCode": "",  "totalAmount": 82.64,  "totalExempt": 0,  "totalDiscount": 0,  "totalTax": 17.36,  "totalTaxable": 82.64,  "totalTaxCalculated": 17.36,  "adjustmentReason": "NotAdjusted",  "locked": false,  "version": 1,  "exchangeRateEffectiveDate": "2024-07-23",  "exchangeRate": 1,  "isSellerImporterOfRecord": false,  "description": "Digital Service -  Sale - B2C - Non EU digital service",  "modifiedDate": "2024-07-23T21:26:03.4548983Z",  "modifiedUserId": 1443662,  "taxDate": "2024-07-23",  "lines": [    {      "id": 0,      "transactionId": 0,      "lineNumber": "1",      "customerUsageType": "",      "entityUseCode": "",      "description": "Digital Service -  Sale - B2C - Non EU digital service",      "discountAmount": 0,      "exemptAmount": 0,      "exemptCertId": 0,      "exemptNo": "",      "isItemTaxable": true,      "itemCode": "P001",      "lineAmount": 82.64,      "quantity": 1,      "ref1": "",      "ref2": "",      "reportingDate": "2024-07-23",      "revAccount": "",      "sourcing": "Destination",      "tax": 17.36,      "taxableAmount": 82.64,      "taxCalculated": 17.36,      "taxCode": "D0000000",      "taxCodeId": 8570,      "taxDate": "2024-07-23",      "taxIncluded": true,      "details": [        {          "id": 0,          "transactionLineId": 0,          "transactionId": 0,          "country": "LT",          "region": "LT",          "stateFIPS": "LT",          "exemptAmount": 0,          "jurisCode": "LT",          "jurisName": "LITHUANIA",          "jurisdictionId": 200093,          "stateAssignedNo": "",          "jurisType": "CNT",          "jurisdictionType": "Country",          "nonTaxableAmount": 0,          "rate": 0.21,          "sourcing": "Destination",          "tax": 17.36,          "taxableAmount": 82.64,          "taxType": "Output",          "taxSubTypeId": "O",          "taxName": "Standard Rate",          "taxAuthorityTypeId": 45,          "taxCalculated": 17.36,          "rateType": "Standard",          "rateTypeCode": "S",          "taxableUnits": 82.64,          "nonTaxableUnits": 0,          "exemptUnits": 0,          "unitOfBasis": "PerCurrencyUnit",          "isNonPassThru": false,          "isFee": false,          "reportingTaxableUnits": 82.64,          "reportingNonTaxableUnits": 0,          "reportingExemptUnits": 0,          "reportingTax": 17.36,          "reportingTaxCalculated": 17.36,          "avtUserBIN": "",          "liabilityType": "Seller",          "chargedTo": "Buyer"        }      ],      "nonPassthroughDetails": [],      "hsCode": "",      "costInsuranceFreight": 0,      "vatCode": "LTSL210D",      "vatNumberTypeId": 0    }  ],  "addresses": [    {      "id": 0,      "transactionId": 0,      "boundaryLevel": "Zip5",      "line1": "",      "line2": "",      "line3": "",      "city": "",      "region": "",      "postalCode": "",      "country": "LT",      "taxRegionId": 205093,      "latitude": "",      "longitude": ""    },    {      "id": 0,      "transactionId": 0,      "boundaryLevel": "Zip5",      "line1": "",      "line2": "",      "line3": "",      "city": "",      "region": "",      "postalCode": "",      "country": "CH",      "taxRegionId": 205076,      "latitude": "",      "longitude": ""    },    {      "id": 0,      "transactionId": 0,      "boundaryLevel": "Zip5",      "line1": "916 Patience Freeway",      "line2": "",      "line3": "",      "city": "Jessyton",      "region": "DOC",      "postalCode": "",      "country": "CH",      "taxRegionId": 205076,      "latitude": "",      "longitude": ""    },    {      "id": 0,      "transactionId": 0,      "boundaryLevel": "Zip5",      "line1": "",      "line2": "",      "line3": "",      "city": "",      "region": "GEN",      "postalCode": "",      "country": "LT",      "taxRegionId": 205093,      "latitude": "",      "longitude": ""    }  ],  "summary": [    {      "country": "LT",      "region": "LT",      "jurisType": "Country",      "jurisCode": "LT",      "jurisName": "LITHUANIA",      "taxAuthorityType": 45,      "stateAssignedNo": "",      "taxType": "Output",      "taxSubType": "O",      "taxName": "Standard Rate",      "rateType": "Standard",      "taxable": 82.64,      "rate": 0.21,      "tax": 17.36,      "taxCalculated": 17.36,      "nonTaxable": 0,      "exemption": 0    }  ],  "parameters": [    {      "name": "MiddlemanVatId",      "value": ""    },    {      "name": "IsTriangulation",      "value": "FALSE"    }  ],  "messages": [    {      "summary": "Global Address",      "details": "\n    Address: 916 Patience Freeway, Jessyton, DOCKTON CH\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-23 00:00:00Z",      "severity": "Success",      "source": "Avalara.AvaTax.TaxEngine"    },    {      "summary": "Global Address",      "details": "\n    Address: LT\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-23 00:00:00Z",      "severity": "Success",      "source": "Avalara.AvaTax.TaxEngine"    },    {      "summary": "Global Address",      "details": "\n    Address: CH\n    AddressCode: POA4\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[2] - TaxDate: 2024-07-23 00:00:00Z",      "severity": "Success",      "source": "Avalara.AvaTax.TaxEngine"    },    {      "summary": "Global Address",      "details": "\n    Address: GENVIEVEMOUTH LT\n    AddressCode: GP5\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[3] - TaxDate: 2024-07-23 00:00:00Z",      "severity": "Success",      "source": "Avalara.AvaTax.TaxEngine"    },    {      "summary": "AddressLocationType: ShipFrom",      "details": "\n    Address: 916 Patience Freeway,Jessyton,DOC \n    Type: \n    City: \n    State: \n    County: \n    Country: CH\n    BoundaryLevel: 2\n    BoundarySource: BoundaryGlobal\n    BoundaryId: 17\n    TaxRegionId: 205076\n    FIPSCode: CH\n    CitySignature: \n    GEOCode: \n    Jurisdictions: \n        CNT: JurisdictionId=\"200076\" JurisdictionCode=\"CH\" JurisdictionTypeId=\"CNT\" LongName=\"SWITZERLAND\" StateFips=\"\" State=\"\" StateAssignedCode=\"\" SerCode=\"\" SignatureCode=\"YADA\" TaxAuthorityTypeId=\"\" IsLocalAdmin=\"False\" EffDate=\"2010-09-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: LT\n    BoundaryLevel: 2\n    BoundarySource: BoundaryGlobal\n    BoundaryId: 62\n    TaxRegionId: 205093\n    FIPSCode: LT\n    CitySignature: \n    GEOCode: \n    Jurisdictions: \n        CNT: JurisdictionId=\"200093\" JurisdictionCode=\"LT\" JurisdictionTypeId=\"CNT\" LongName=\"LITHUANIA\" StateFips=\"\" State=\"\" StateAssignedCode=\"\" SerCode=\"\" SignatureCode=\"YADR\" TaxAuthorityTypeId=\"\" IsLocalAdmin=\"False\" EffDate=\"2008-07-01\" EndDate=\"9999-12-31\"\n",      "refersTo": "Addresses[1]",      "severity": "Success",      "source": "Avalara.AvaTax.TaxEngine"    },    {      "summary": "AddressLocationType: PointOfOrderOrigin",      "details": "\n    Address: ,, \n    Type: \n    City: \n    State: \n    County: \n    Country: LT\n    BoundaryLevel: 2\n    BoundarySource: BoundaryGlobal\n    BoundaryId: 62\n    TaxRegionId: 205093\n    FIPSCode: LT\n    CitySignature: \n    GEOCode: \n    Jurisdictions: \n        CNT: JurisdictionId=\"200093\" JurisdictionCode=\"LT\" JurisdictionTypeId=\"CNT\" LongName=\"LITHUANIA\" StateFips=\"\" State=\"\" StateAssignedCode=\"\" SerCode=\"\" SignatureCode=\"YADR\" TaxAuthorityTypeId=\"\" IsLocalAdmin=\"False\" EffDate=\"2008-07-01\" EndDate=\"9999-12-31\"\n",      "refersTo": "Addresses[1]",      "severity": "Success",      "source": "Avalara.AvaTax.TaxEngine"    },    {      "summary": "AddressLocationType: PointOfOrderAcceptance",      "details": "\n    Address: ,, \n    Type: \n    City: \n    State: \n    County: \n    Country: CH\n    BoundaryLevel: 2\n    BoundarySource: BoundaryGlobal\n    BoundaryId: 17\n    TaxRegionId: 205076\n    FIPSCode: CH\n    CitySignature: \n    GEOCode: \n    Jurisdictions: \n        CNT: JurisdictionId=\"200076\" JurisdictionCode=\"CH\" JurisdictionTypeId=\"CNT\" LongName=\"SWITZERLAND\" StateFips=\"\" State=\"\" StateAssignedCode=\"\" SerCode=\"\" SignatureCode=\"YADA\" TaxAuthorityTypeId=\"\" IsLocalAdmin=\"False\" EffDate=\"2010-09-01\" EndDate=\"9999-12-31\"\n",      "refersTo": "Addresses[2]",      "severity": "Success",      "source": "Avalara.AvaTax.TaxEngine"    },    {      "summary": "AddressLocationType: GoodsPlaceOrServiceRendered",      "details": "\n    Address: ,,GEN \n    Type: \n    City: \n    State: \n    County: \n    Country: LT\n    BoundaryLevel: 2\n    BoundarySource: BoundaryGlobal\n    BoundaryId: 62\n    TaxRegionId: 205093\n    FIPSCode: LT\n    CitySignature: \n    GEOCode: \n    Jurisdictions: \n        CNT: JurisdictionId=\"200093\" JurisdictionCode=\"LT\" JurisdictionTypeId=\"CNT\" LongName=\"LITHUANIA\" StateFips=\"\" State=\"\" StateAssignedCode=\"\" SerCode=\"\" SignatureCode=\"YADR\" TaxAuthorityTypeId=\"\" IsLocalAdmin=\"False\" EffDate=\"2008-07-01\" EndDate=\"9999-12-31\"\n",      "refersTo": "Addresses[3]",      "severity": "Success",      "source": "Avalara.AvaTax.TaxEngine"    },    {      "summary": "AddressLocationType: Import",      "details": "\n    Address: ,, \n    Type: \n    City: \n    State: \n    County: \n    Country: LT\n    BoundaryLevel: 2\n    BoundarySource: BoundaryGlobal\n    BoundaryId: 62\n    TaxRegionId: 205093\n    FIPSCode: LT\n    CitySignature: \n    GEOCode: \n    Jurisdictions: \n        CNT: JurisdictionId=\"200093\" JurisdictionCode=\"LT\" JurisdictionTypeId=\"CNT\" LongName=\"LITHUANIA\" StateFips=\"\" State=\"\" StateAssignedCode=\"\" SerCode=\"\" SignatureCode=\"YADR\" TaxAuthorityTypeId=\"\" IsLocalAdmin=\"False\" EffDate=\"2008-07-01\" EndDate=\"9999-12-31\"\n",      "refersTo": "Addresses[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: LT\n    CustomerUsageType: \n    EffDate: 01/01/1900\n    EndDate: 12/31/9999\n    IsAllJuris: False\n    IsPhysical: False\n    IsSSTP: False\n    JurisCode: LT\n    JurisName: LITHUANIA\n    JurisTypeId: CNT\n    Options: \n    SERCode: \n    SignatureCode: \n    Sourcing: D\n    State: LT\n    StateAssignedNo: \n    TaxCode: \n    TaxCodeId: 0\n    TaxName: LT VAT\n    NexusTaxTypeGroupId: InputAndOutput\n    TaxTypeGroupId: InputAndOutput\n    TaxTypeId: O\n    TaxSubTypeId: O\n    TaxTypeMappingId: 685\n    Threshold: 0\n    Value: 1\n    RateSourceId: None\n    RateTypeId: S\n    RateTypeTaxTypeMappingId: 2713\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: 0\n    Cap: 0\n    CompanyId: 0\n    Country: LT\n    CustomerUsageType: \n    EffDate: 01/01/1900\n    EndDate: 12/31/9999\n    IsAllJuris: False\n    IsPhysical: False\n    IsSSTP: False\n    JurisCode: LT\n    JurisName: LITHUANIA\n    JurisTypeId: CNT\n    Options: \n    SERCode: \n    SignatureCode: \n    Sourcing: D\n    State: LT\n    StateAssignedNo: \n    TaxCode: D0000000\n    TaxCodeId: 8570\n    TaxName: \n    NexusTaxTypeGroupId: InputAndOutput\n    TaxTypeGroupId: InputAndOutput\n    TaxTypeId: O\n    TaxSubTypeId: O\n    TaxTypeMappingId: 685\n    Threshold: 0\n    Value: 1\n    RateSourceId: Custom\n    RateTypeId: S\n    RateTypeTaxTypeMappingId: 2713\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]: RateRule CNT\n    TaxRuleId: 394414\n    Cap: 0.000000\n    CompanyId: 1\n    Country: LT\n    CustomerUsageType: \n    EffDate: 07/01/2010\n    EndDate: 12/31/9999\n    IsAllJuris: False\n    IsPhysical: False\n    IsSSTP: False\n    JurisCode: LT\n    JurisName: LITHUANIA\n    JurisTypeId: CNT\n    Options: \n    SERCode: \n    SignatureCode: \n    Sourcing: D\n    State: LT\n    StateAssignedNo: \n    TaxCode: \n    TaxCodeId: 0\n    TaxName: Standard Rate\n    NexusTaxTypeGroupId: InputAndOutput\n    TaxTypeGroupId: InputAndOutput\n    TaxTypeId: O\n    TaxSubTypeId: O\n    TaxTypeMappingId: 685\n    Threshold: 0.000000\n    Value: 0.210000\n    RateSourceId: None\n    RateTypeId: S\n    RateTypeTaxTypeMappingId: 2728\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= LT\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= IsCustomerRegisteredThroughFiscalRep\n        Value= false\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Line\n        Parameter[15]= \n        Name= GoodsPlaceOrServiceRenderedCountry\n        Value= LT\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[16]= \n        Name= IsEUDistanceSalesThresholdExceeded\n        Value= True\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[17]= \n        Name= HasPermanentEstablishmentInDest\n        Value= False\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[18]= \n        Name= IsSupplierNonTaxableLegalPerson\n        Value= false\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Line\n        Parameter[19]= \n        Name= IsCountryOfManufacturePunitive\n        Value= False\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[20]= \n        Name= IsSpecialArrangementByCarrier\n        Value= False\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Line\n        Parameter[21]= \n        Name= UserEstablishmentCountryGroup\n        Value= EU\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[22]= \n        Name= SellerEstablishmentCountries\n        Value= GB,EE,CH,DE\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[23]= \n        Name= HasBusinessIdentificationNo\n        Value= False\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[24]= \n        Name= ImportVatDefermentCountries\n        Value= \n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[25]= \n        Name= BuyerEstablishmentCountries\n        Value= LT\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[26]= \n        Name= CompanyLocationAddressType\n        Value= Location\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[27]= \n        Name= UserEstablishmentCountries\n        Value= GB,EE,CH,DE\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[28]= \n        Name= IndiaGSTEnabledForAccount\n        Value= True\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[29]= \n        Name= IsSourcingSectionApplied\n        Value= True\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[30]= \n        Name= IsAssemblyOrInstallation\n        Value= False\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Company\n        Parameter[31]= \n        Name= IsSellerImporterOfRecord\n        Value= False\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[32]= \n        Name= DestCountryNexusTypeId\n        Value= 1\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[33]= \n        Name= RemoteSellerStatesList\n        Value= \n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[34]= \n        Name= HasAvaTaxGlobalService\n        Value= True\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Line\n        Parameter[35]= \n        Name= DestStateNexusTypeId\n        Value= 1\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[36]= \n        Name= IsImportVatDeferment\n        Value= false\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Nexus\n        Parameter[37]= \n        Name= SellerVatIdCountries\n        Value= EE,CH,DE,FR,NL\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[38]= \n        Name= ShipFromCountryGroup\n        Value= \n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[39]= \n        Name= HasSameCountryGroup\n        Value= False\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[40]= \n        Name= B2BServiceCountries\n        Value= MX,MY,ZA,RU\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[41]= \n        Name= IsBelowRdfThreshold\n        Value= false\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Nexus\n        Parameter[42]= \n        Name= ImportCountryGroup\n        Value= EU\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[43]= \n        Name= ShipToCountryGroup\n        Value= EU\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[44]= \n        Name= DestinationCountry\n        Value= LT\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[45]= \n        Name= IsGoodsSecondHand\n        Value= false\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Line\n        Parameter[46]= \n        Name= POSCitationCodes\n        Value= Article58\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[47]= \n        Name= DestCountryGroup\n        Value= EU\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[48]= \n        Name= OrigCountryGroup\n        Value= \n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[49]= \n        Name= DestinationState\n        Value= \n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[50]= \n        Name= SupplyofService\n        Value= Generic\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Company\n        Parameter[51]= \n        Name= ProductCodeType\n        Value= D\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[52]= \n        Name= ShipFromCountry\n        Value= CH\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[53]= \n        Name= IsTriangulation\n        Value= FALSE\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Header\n        Parameter[54]= \n        Name= HasSameCountry\n        Value= False\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[55]= \n        Name= CompanyCountry\n        Value= GB\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[56]= \n        Name= DocumentAmount\n        Value= 100\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[57]= \n        Name= MiddlemanVatId\n        Value= \n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Header\n        Parameter[58]= \n        Name= HasSameRegion\n        Value= False\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[59]= \n        Name= IsMarketplace\n        Value= False\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Company\n        Parameter[60]= \n        Name= ImportCountry\n        Value= LT\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[61]= \n        Name= IsSelfBilling\n        Value= false\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Line\n        Parameter[62]= \n        Name= ShipToCountry\n        Value= LT\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[63]= \n        Name= OriginCountry\n        Value= CH\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[64]= \n        Name= TaxableAmount\n        Value= 100\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[65]= \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[66]= \n        Name= HasDestNexus\n        Value= True\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[67]= \n        Name= HasExemptNo\n        Value= False\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[68]= \n        Name= OriginState\n        Value= \n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[69]= \n        Name= Applicable\n        Value= True\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[70]= \n        Name= IsPhysical\n        Value= false\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[71]= \n        Name= LineAmount\n        Value= 100\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[72]= \n        Name= TaxSystem\n        Value= VAT\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[73]= \n        Name= Transport\n        Value= None\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[74]= \n        Name= IOSSRegNo\n        Value= 987654321\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Company\n        Parameter[75]= \n        Name= TaxCode\n        Value= D0000000\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[76]= \n        Name= DocType\n        Value= Sales\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[77]= \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: C001\n    CustomerUsageType: \n    DocumentCode: p2_23_49\n    DocumentDate: 07/23/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/23/2024 21:26:03\n    ModifiedUserId: 1443662\n    PaymentDate: 01/01/1900\n    PurchaseOrderNo: \n    ReferenceCode: \n    SalespersonCode: \n    TaxDate: 07/23/2024\n    TaxOverrideTypeId: 0\n    TaxOverrideAmount: 0\n    TaxOverrideReason: \n    TotalAmount: 82.64\n    TotalTax: 17.3600\n    TotalTaxCalculated: 17.3600\n    ExchangeRate: 1.0\n    ExchangeRateCurrencyCode: EUR\n    ExchangeRateEffDate: 07/23/2024 00:00:00\n    DeliveryTerms: \n    VATNumberType No registration\n    DocumentAddress[0]: \n        Line1: \n        City: \n        Region: \n        County: \n        Country: LT\n        BoundaryId: 62\n        BoundaryLevelId: 2\n        BoundarySource: BoundaryGlobal\n        CitySignature: \n        DocumentAddressId: 0\n        GeocodeTypeId: NotGeoCoded\n        JurisCode: LT\n        PostalCode: \n        TaxRegionId: 205093\n        ValidateStatusId: Not Validated.\n        AddressLine1: \n        AddressLine2: \n        AddressLine3: \n    DocumentAddress[1]: \n        Line1: \n        City: \n        Region: \n        County: \n        Country: CH\n        BoundaryId: 17\n        BoundaryLevelId: 2\n        BoundarySource: BoundaryGlobal\n        CitySignature: \n        DocumentAddressId: 0\n        GeocodeTypeId: NotGeoCoded\n        JurisCode: CH\n        PostalCode: \n        TaxRegionId: 205076\n        ValidateStatusId: Not Validated.\n        AddressLine1: \n        AddressLine2: \n        AddressLine3: \n    DocumentAddress[2]: \n        Line1: 916 Patience Freeway\n        City: Jessyton\n        Region: DOC\n        County: \n        Country: CH\n        BoundaryId: 17\n        BoundaryLevelId: 2\n        BoundarySource: BoundaryGlobal\n        CitySignature: \n        DocumentAddressId: 0\n        GeocodeTypeId: NotGeoCoded\n        JurisCode: CH\n        PostalCode: \n        TaxRegionId: 205076\n        ValidateStatusId: Not Validated.\n        AddressLine1: 916 Patience Freeway\n        AddressLine2: \n        AddressLine3: \n    DocumentAddress[3]: \n        Line1: \n        City: \n        Region: GEN\n        County: \n        Country: LT\n        BoundaryId: 62\n        BoundaryLevelId: 2\n        BoundarySource: BoundaryGlobal\n        CitySignature: \n        DocumentAddressId: 0\n        GeocodeTypeId: NotGeoCoded\n        JurisCode: LT\n        PostalCode: \n        TaxRegionId: 205093\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: Digital Service -  Sale - B2C - Non EU digital service\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: False\n        IsSstp: False\n        ItemCode: P001\n        LineAmount: 82.6400\n        LineNo: 1\n        OriginAddressId: 0\n        Quantity: 1\n        Ref1: \n        Ref2: \n        RevAccount: \n        Sourcing: D\n        IsItemTaxable: True\n        ReportingDate: 07/23/2024\n        Tax: 17.3600\n        TaxableAmount: 82.64\n        TaxCalculated: 17.3600\n        TaxDate: 07/23/2024\n        TaxCode: D0000000\n        TaxCodeId: 8570 (D0000000)\n        TaxOverrideTypeId: 0\n        TaxOverrideAmount: 0\n        TaxOverrideReason: \n        VATCode: LTSL210D\n        VATNumberType: No registration\n        HSCodeUsed: \n        HSCode: \n        HSCodeId: 0\n        CIF: 0.0\n        DeemedSupplier: \n        Category: \n        Summary: \n        Detail[0]: LT CNT LT\n            DocumentLineDetailId: 0\n            AddressId: 0\n            AVTUserBIN : \n            Country: LT\n            ExemptAmount: 0.0000\n            ExemptUnits: 0.0000\n            ExemptReasonId: 4 (NoExempt)\n            ExemptRuleId: 0\n            InState: True\n            JurisCode: LT\n            JurisdictionId: 200093\n            JurisName: LITHUANIA\n            JurisTypeId: CNT\n            NonTaxableAmount: 0.0000\n            NonTaxableUnits: 0.0000\n            NonTaxableRuleId: 0\n            NonTaxableTypeId: 0\n            Options: \n            Rate: 0.210000\n            RateRuleId: 394414\n            RateSourceId: None\n            Region: LT\n            SERCode: \n            Sourcing: D\n            StateCode: LT\n            StateAssignedNo: \n            TaxAuthorityId: 0\n            Tax: 17.3600\n            TaxableAmount: 82.6400\n            TaxableUnits: 82.6400\n            UnitOfBasis: PerCurrencyUnit\n            UnitOfBasisId: 13\n            TaxCalculated: 17.3600\n            TaxName: Standard Rate\n            TaxOverride: 0.0000\n            TaxTypeGroupId: InputAndOutput\n            TaxTypeId: O\n            TaxSubTypeId: O\n            RateTypeId: S\n            IsFee: False\n            TaxTypeMappingId: 685\n            RateTypeTaxTypeMappingId: 2728\n            TaxRegionId: 205093\n           *Cap: 0\n           *Threshold: 0\n            TaxAuthorityTypeId: 45\n            TaxAuthorityId: 0\n            TaxAuthorityName: 0\n            ReportLevel: 0\n            IsNonPassThru: False\n            ReportingTaxableUnits: 82.64\n            ReportingNonTaxableUnits: 0\n            ReportingExemptUnits: 0\n            ReportingTax: 17.36\n            ReportingTaxCalculated: 17.36\n            AVTUserBIN : \n    DocumentParameterBag[0]: \n        Name: MiddlemanVatId\n        Value: \n        UOMId: 0\n    DocumentParameterBag[0]: \n        Name: IsTriangulation\n        Value: FALSE\n        UOMId: 0\n    DocumentParameterBag[0]: \n        Name: MiddlemanVatId\n        Value: \n        UOMId: 0\n    DocumentParameterBag[0]: \n        Name: IsTriangulation\n        Value: FALSE\n        UOMId: 0\n    DocumentParameterBag[0]: \n        Name: MiddlemanVatId\n        Value: \n        UOMId: 0\n    DocumentParameterBag[1]: \n        Name: IsTriangulation\n        Value: FALSE\n        UOMId: 0\n",      "refersTo": "",      "severity": "Success",      "source": "Avalara.AvaTax.TaxEngine"    },    {      "summary": "SourcingRules applied for the transaction, XML format",      "details": "<?xml version=\"1.0\" encoding=\"utf-16\"?><ArrayOfSourcingRuleApplied xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"><SourcingRuleApplied><LineNo>1</LineNo><SourcingRuleId_Sourcing>0</SourcingRuleId_Sourcing><SourcingRuleId_RateType>1471</SourcingRuleId_RateType><RateType>S</RateType><SourcingRuleId_JurisTypesApplicableId>0</SourcingRuleId_JurisTypesApplicableId><JurisTypesApplicableId>31</JurisTypesApplicableId></SourcingRuleApplied></ArrayOfSourcingRuleApplied>",      "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\":1471,\"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\":1000115,\"Type\":\"Sourcing\",\"Output\":\"ShipTo\",\"CitationCodes\":\"Article58\",\"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}
```