B2C digital services sale intra EU

B2C digital services sale intra EU

This example shows how to create a B2C digital services sale between two EU member states.

Returned invoice messages

  • None

Related articles

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

  • Article 58
  • Article 193

Assumptions

In this example:

  • The document type is a Sales order.
  • TheshipFrom country is Germany.
  • TheshipTo country is Lithuania.
{          "lines": [            {              "number": "1",              "discounted": false,              "amount": 100,              "quantity": 1,              "itemCode": "P001",              "description": "Digital Service -  Sale- B2C - EU digital service rendered in EU (intercommunity or domestic)",              "taxCode": "D0000000",              "taxIncluded": true            }          ],          "companyCode": "USECASESLTD",          "date": "2022-12-22",          "type": "SalesOrder",          "code": "p2_22_628",          "description": "Digital Service -  Sale - B2C - EU digital service rendered in EU (intercommunity or domestic)",          "customerCode": "C001",          "customerSupplierName": "Tremblay, Connelly and Olson",          "businessIdentificationNo": "",          "commit": false,          "isSellerImporterOfRecord": true,          "currencyCode": "EUR",          "addresses": {            "shipFrom": {              "line1": "",              "city": "",              "region": "",              "country": "DE",              "postalCode": ""            },            "shipTo": {              "line1": "",              "city": "",              "region": "",              "country": "LT",              "postalCode": ""            },            "pointOfOrderAcceptance": {              "line1": "",              "city": "",              "region": "",              "country": "DE",              "postalCode": ""            },            "pointOfOrderOrigin": {              "line1": "",              "city": "",              "region": "",              "country": "LT",              "postalCode": ""            },            "goodsPlaceOrServiceRendered": {              "line1": "",              "city": "",              "region": "",              "country": "LT",              "postalCode": ""            },            "import": {              "line1": "",              "city": "",              "region": "",              "country": "LT",              "postalCode": ""            }          },          "parameters": [            {              "name": "MiddlemanVatId",              "value": ""            },            {              "name": "IsTriangulation",              "value": "FALSE"            }          ],          "debugLevel": "Diagnostic"        }
{          "id": 0,          "code": "p2_22_628",          "companyId": 7837701,          "date": "2022-12-22",          "paymentDate": "2022-12-22",          "status": "Temporary",          "type": "SalesOrder",          "batchCode": "",          "currencyCode": "EUR",          "exchangeRateCurrencyCode": "EUR",          "customerUsageType": "",          "entityUseCode": "",          "customerVendorCode": "C001",          "customerCode": "C001",          "customerSupplierName": "Tremblay, Connelly and Olson",          "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": "2022-12-22",          "exchangeRate": 1,          "isSellerImporterOfRecord": true,          "description": "Digital Service -  Sale - B2C - EU digital service rendered in EU (intercommunity or domestic)",          "modifiedDate": "2022-12-22T17:51:28.4759589Z",          "modifiedUserId": 6507595,          "taxDate": "2022-12-22",          "lines": [            {              "id": 0,              "transactionId": 0,              "lineNumber": "1",              "customerUsageType": "",              "entityUseCode": "",              "description": "Digital Service -  Sale- B2C - EU digital service rendered in EU (intercommunity or domestic)",              "discountAmount": 0,              "exemptAmount": 0,              "exemptCertId": 0,              "exemptNo": "",              "isItemTaxable": true,              "itemCode": "P001",              "lineAmount": 82.64,              "quantity": 1,              "ref1": "",              "ref2": "",              "reportingDate": "2022-12-22",              "tax": 17.36,              "taxableAmount": 82.64,              "taxCalculated": 17.36,              "taxCode": "D0000000",              "taxCodeId": 8570,              "taxDate": "2022-12-22",              "taxIncluded": true,              "details": [                {                  "id": 0,                  "transactionLineId": 0,                  "transactionId": 0,                  "country": "LT",                  "region": "LT",                  "exemptAmount": 0,                  "jurisCode": "LT",                  "jurisName": "LITHUANIA",                  "stateAssignedNo": "",                  "jurisType": "CNT",                  "jurisdictionType": "Country",                  "nonTaxableAmount": 0,                  "rate": 0.21,                  "tax": 17.36,                  "taxableAmount": 82.64,                  "taxType": "Output",                  "taxSubTypeId": "O",                  "taxName": "Standard Rate",                  "taxAuthorityTypeId": 45,                  "taxCalculated": 17.36,                  "rateType": "Standard",                  "rateTypeCode": "S",                  "unitOfBasis": "PerCurrencyUnit",                  "isNonPassThru": false,                  "isFee": false,                  "reportingTaxableUnits": 82.64,                  "reportingNonTaxableUnits": 0,                  "reportingExemptUnits": 0,                  "reportingTax": 17.36,                  "reportingTaxCalculated": 17.36,                  "avtUserBIN": "",                  "liabilityType": "Seller"                }              ],              "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": "DE",              "taxRegionId": 205079,              "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: DE\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: 2022-12-22 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: 2022-12-22 00:00:00Z",              "severity": "Success",              "source": "Avalara.AvaTax.TaxEngine"            },            {              "summary": "AddressLocationType: ShipFrom",              "details": "\n    Address: ,, \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[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: 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[0]",              "severity": "Success",              "source": "Avalara.AvaTax.TaxEngine"            },            {              "summary": "AddressLocationType: GoodsPlaceOrServiceRendered",              "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: 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: 7837701\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: 650683\n    Cap: 0.000000\n    CompanyId: 1\n    Country: LT\n    CustomerUsageType: \n    EffDate: 07/01/2012\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: Digital goods\n    NexusTaxTypeGroupId: InputAndOutput\n    TaxTypeGroupId: InputAndOutput\n    TaxTypeId: O\n    TaxSubTypeId: O\n    TaxTypeMappingId: 685\n    Threshold: 0.000000\n    Value: 1.000000\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\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= 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= 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= SellerEstablishmentCountries\n        Value= GB,EE,DE\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[22]= \n        Name= HasBusinessIdentificationNo\n        Value= False\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[23]= \n        Name= ImportVatDefermentCountries\n        Value= \n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[24]= \n        Name= BuyerEstablishmentCountries\n        Value= LT\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[25]= \n        Name= CompanyLocationAddressType\n        Value= Location\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[26]= \n        Name= IndiaGSTEnabledForAccount\n        Value= True\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[27]= \n        Name= IsSourcingSectionApplied\n        Value= True\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[28]= \n        Name= IsAssemblyOrInstallation\n        Value= False\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Company\n        Parameter[29]= \n        Name= IsSellerImporterOfRecord\n        Value= True\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[30]= \n        Name= DestCountryNexusTypeId\n        Value= 1\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[31]= \n        Name= RemoteSellerStatesList\n        Value= \n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[32]= \n        Name= HasAvaTaxGlobalService\n        Value= True\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Line\n        Parameter[33]= \n        Name= DestStateNexusTypeId\n        Value= 1\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[34]= \n        Name= IsImportVatDeferment\n        Value= false\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Nexus\n        Parameter[35]= \n        Name= SellerVatIdCountries\n        Value= EE,FR,DE,NL\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[36]= \n        Name= ShipFromCountryGroup\n        Value= EU\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[37]= \n        Name= HasSameCountryGroup\n        Value= True\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[38]= \n        Name= ImportCountryGroup\n        Value= EU\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[39]= \n        Name= ShipToCountryGroup\n        Value= EU\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[40]= \n        Name= DestinationCountry\n        Value= LT\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[41]= \n        Name= IsGoodsSecondHand\n        Value= false\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Line\n        Parameter[42]= \n        Name= POSCitationCodes\n        Value= Article58\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[43]= \n        Name= DestCountryGroup\n        Value= EU\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[44]= \n        Name= OrigCountryGroup\n        Value= EU\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[45]= \n        Name= DestinationState\n        Value= \n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[46]= \n        Name= SupplyofService\n        Value= Generic\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Company\n        Parameter[47]= \n        Name= ProductCodeType\n        Value= D\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[48]= \n        Name= ShipFromCountry\n        Value= DE\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[49]= \n        Name= IsTriangulation\n        Value= FALSE\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Header\n        Parameter[50]= \n        Name= HasSameCountry\n        Value= False\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[51]= \n        Name= CompanyCountry\n        Value= GB\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[52]= \n        Name= DocumentAmount\n        Value= 100\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[53]= \n        Name= MiddlemanVatId\n        Value= \n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Header\n        Parameter[54]= \n        Name= HasSameRegion\n        Value= False\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[55]= \n        Name= IsMarketplace\n        Value= False\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Company\n        Parameter[56]= \n        Name= ImportCountry\n        Value= LT\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[57]= \n        Name= IsSelfBilling\n        Value= false\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Line\n        Parameter[58]= \n        Name= ShipToCountry\n        Value= LT\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[59]= \n        Name= OriginCountry\n        Value= DE\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[60]= \n        Name= TaxableAmount\n        Value= 100\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[61]= \n        Name= HasDestNexus\n        Value= True\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[62]= \n        Name= SellerVatIds\n        Value= EE1234567, FR83404833048, DE123456789, NL999999999B01\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[63]= \n        Name= HasExemptNo\n        Value= False\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[64]= \n        Name= OriginState\n        Value= \n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[65]= \n        Name= Applicable\n        Value= True\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[66]= \n        Name= IsPhysical\n        Value= false\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[67]= \n        Name= LineAmount\n        Value= 100\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[68]= \n        Name= TaxSystem\n        Value= VAT\n        UOMId= 0\n        ShouldBePersisted= False\n        UsedInTaxCalculation= False\n        DocumentLineParameterSource= Calculated\n        Parameter[69]= \n        Name= Transport\n        Value= None\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Line\n        Parameter[70]= \n        Name= IOSSRegNo\n        Value= IM8001234560\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Company\n        Parameter[71]= \n        Name= TaxCode\n        Value= D0000000\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[72]= \n        Name= DocType\n        Value= Sales\n        UOMId= 0\n        ShouldBePersisted= True\n        UsedInTaxCalculation= True\n        DocumentLineParameterSource= Calculated\n        Parameter[73]= \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: 7837701\n    CurrencyCode: EUR\n    CustomerVendorCode: C001\n    CustomerUsageType: \n    DocumentCode: p2_22_628\n    DocumentDate: 12/22/2022\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: 12/22/2022 17:51:28\n    ModifiedUserId: 6507595\n    PaymentDate: 01/01/1900\n    PurchaseOrderNo: \n    ReferenceCode: \n    SalespersonCode: \n    TaxDate: 12/22/2022\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: 12/22/2022 00:00:00\n    DeliveryTerms: \n    VATNumberType \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: DE\n        BoundaryId: 27\n        BoundaryLevelId: 2\n        BoundarySource: BoundaryGlobal\n        CitySignature: \n        DocumentAddressId: 0\n        GeocodeTypeId: NotGeoCoded\n        JurisCode: DE\n        PostalCode: \n        TaxRegionId: 205079\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 - EU digital service rendered in EU (intercommunity or domestic)\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: 12/22/2022\n        Tax: 17.3600\n        TaxableAmount: 82.64\n        TaxCalculated: 17.3600\n        TaxDate: 12/22/2022\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            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>1415</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\":1415,\"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"            }          ]        }