Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduced new Tax Exemption Reasons for the Italian Fiscalization #262

Merged
merged 3 commits into from
Jan 28, 2025

self

0c9f88a
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Introduced new Tax Exemption Reasons for the Italian Fiscalization #262

self
0c9f88a
Select commit
Loading
Failed to load commit list.
GitHub Actions / Mews.Fiscalizations.All-Linux Tests succeeded Jan 28, 2025 in 0s

149 passed, 0 failed and 1 skipped

Tests passed successfully

Report Passed Failed Skipped Time
src/Austria/Mews.Fiscalizations.Austria.Tests/TestResults/test-results-Linux.trx 3✅ 4s
src/Basque/Mews.Fiscalizations.Basque.Tests/TestResults/test-results-Linux.trx 41✅ 49s
src/Core/Mews.Fiscalizations.Core.Tests/TestResults/test-results-Linux.trx 70✅ 3s
src/Germany/Mews.Fiscalizations.Germany.Tests/TestResults/test-results-Linux.trx 11✅ 43s
src/Hungary/Mews.Fiscalizations.Hungary.Tests/TestResults/test-results-Linux.trx 15✅ 56s
src/Italy/Mews.Fiscalizations.Italy.Tests/TestResults/test-results-Linux.trx 3✅ 5s
src/Spain/Mews.Fiscalizations.Spain.Tests/TestResults/test-results-Linux.trx 4✅ 7s
src/Sweden/Mews.Fiscalizations.Sweden.Tests/TestResults/test-results-Linux.trx 2✅ 1⚪ 4s

✅ src/Austria/Mews.Fiscalizations.Austria.Tests/TestResults/test-results-Linux.trx

3 tests were completed in 4s with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Mews.Fiscalizations.Austria.Tests.ATrustSignerTests 2✅ 3s
Mews.Fiscalizations.Austria.Tests.OfflineTests 1✅ 77ms

✅ Mews.Fiscalizations.Austria.Tests.ATrustSignerTests

✅ ATrustSignerWorks
✅ GetCertificateInfoWorks

✅ Mews.Fiscalizations.Austria.Tests.OfflineTests

✅ OfflineSignatureWorks

✅ src/Basque/Mews.Fiscalizations.Basque.Tests/TestResults/test-results-Linux.trx

41 tests were completed in 49s with 41 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Mews.Fiscalizations.Basque.Tests.Bizkaia.BizkaiaDataValidationTests 2✅ 47ms
Mews.Fiscalizations.Basque.Tests.Bizkaia.DtoToModelConverterTests 2✅ 99ms
Mews.Fiscalizations.Basque.Tests.Bizkaia.LROERequestDtoValidationTests 2✅ 110ms
Mews.Fiscalizations.Basque.Tests.Bizkaia.LROEResponseDeserializationTests 4✅ 12ms
Mews.Fiscalizations.Basque.Tests.SendInvoiceTests 24✅ 47s
Mews.Fiscalizations.Basque.Tests.ValidationTests 7✅ 4ms

✅ Mews.Fiscalizations.Basque.Tests.Bizkaia.BizkaiaDataValidationTests

✅ Create_BizkaiaData_Json_Serialization_Deserialization_Succeeds
✅ Create_BizkaiaData_JsonSerialization_Succeeds

✅ Mews.Fiscalizations.Basque.Tests.Bizkaia.DtoToModelConverterTests

✅ CorrectResponse_Generates_CorrectResult
✅ IncorrectResponse_Generates_IncorrectResponse

✅ Mews.Fiscalizations.Basque.Tests.Bizkaia.LROERequestDtoValidationTests

✅ CreateBatuzInvoiceDto_XmlSerialization_Succeeds
✅ CreateTicketBaiInvoice_XsdValidation_Succeeds

✅ Mews.Fiscalizations.Basque.Tests.Bizkaia.LROEResponseDeserializationTests

✅ CorrectResponse_Deserialization_Succeeds
✅ IncorrectResponse_Deserialization_Succeeds
✅ PartiallyCorrectResponse_Deserialization_Succeeds
✅ WrongFileFormat_Deserialization_Fails

✅ Mews.Fiscalizations.Basque.Tests.SendInvoiceTests

✅ Araba - Complete Invoice chaining
✅ Araba - Send complete invoice with foreign receiver
✅ Araba - Send complete invoice with local receiver
✅ Araba - Send negative complete invoice with foreign receiver
✅ Araba - Send negative complete invoice with local receiver
✅ Araba - Send simplified invoice
✅ Araba - Send simplified negative invoice
✅ Araba - Simplified Invoice chaining
✅ Bizkaia - Complete Invoice chaining
✅ Bizkaia - Send complete invoice with foreign receiver
✅ Bizkaia - Send complete invoice with local receiver
✅ Bizkaia - Send complete negative invoice with foreign receiver
✅ Bizkaia - Send complete negative invoice with local receiver
✅ Bizkaia - Send simplified invoice
✅ Bizkaia - Send simplified negative invoice
✅ Bizkaia - Simplified Invoice chaining
✅ Gipuzkoa - Complete Invoice chaining
✅ Gipuzkoa - Send complete invoice with foreign receiver
✅ Gipuzkoa - Send complete invoice with local receiver
✅ Gipuzkoa - Send complete negative invoice with foreign receiver
✅ Gipuzkoa - Send complete negative invoice with local receiver
✅ Gipuzkoa - Send simplified invoice
✅ Gipuzkoa - Send simplified negative invoice
✅ Gipuzkoa - Simplified Invoice chaining

✅ Mews.Fiscalizations.Basque.Tests.ValidationTests

✅ PostalCodeTests(" ",False)
✅ PostalCodeTests("",False)
✅ PostalCodeTests("12345",True)
✅ PostalCodeTests("12345@",False)
✅ PostalCodeTests("123456789123456789102",False)
✅ PostalCodeTests("ABCDEF123456",True)
✅ PostalCodeTests("ABCDEFG",True)

✅ src/Core/Mews.Fiscalizations.Core.Tests/TestResults/test-results-Linux.trx

70 tests were completed in 3s with 70 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Mews.Fiscalizations.Core.Tests.Compression.GzipCompressionTests 1✅ 16ms
Mews.Fiscalizations.Core.Tests.Model.BasicLatinStringTests 7✅ 25ms
Mews.Fiscalizations.Core.Tests.Model.CountryTests 11✅ 43ms
Mews.Fiscalizations.Core.Tests.Model.String1To50Tests 5✅ 86ms
Mews.Fiscalizations.Core.Tests.Model.TaxpayerIdentificationNumberTests 46✅ 10ms

✅ Mews.Fiscalizations.Core.Tests.Compression.GzipCompressionTests

✅ GzipCompress_Decompress_Returns_Original_String

✅ Mews.Fiscalizations.Core.Tests.Model.BasicLatinStringTests

✅ ToBasicLatinStringSucceeds("   ","   ")
✅ ToBasicLatinStringSucceeds("!@#$%^&**()_-","!@#$%^&**()_-")
✅ ToBasicLatinStringSucceeds("","")
✅ ToBasicLatinStringSucceeds("€€€","")
✅ ToBasicLatinStringSucceeds("abcdefghijklmnopqrstuvwxyz0123456789","abcdefghijklmnopqrstuvwxyz0123456789")
✅ ToBasicLatinStringSucceeds("Euro € sign","Euro  sign")
✅ ToBasicLatinStringSucceeds(null,null)

✅ Mews.Fiscalizations.Core.Tests.Model.CountryTests

✅ CountryWithInvalidCountryCodeNotFound("")
✅ CountryWithInvalidCountryCodeNotFound("invalid")
✅ CountryWithInvalidCountryCodeNotFound(null)
✅ CountryWithValidCountryCodeFound("AU")
✅ CountryWithValidCountryCodeFound("US")
✅ EuropeanCountryWithInvalidCountryCodeNotFound("")
✅ EuropeanCountryWithInvalidCountryCodeNotFound("invalid")
✅ EuropeanCountryWithInvalidCountryCodeNotFound("US")
✅ EuropeanCountryWithInvalidCountryCodeNotFound(null)
✅ EuropeanCountryWithValidCountryCodeFound("CZ")
✅ EuropeanCountryWithValidCountryCodeFound("PL")

✅ Mews.Fiscalizations.Core.Tests.Model.String1To50Tests

✅ String1To50ValidatesCorrectly("   ",True)
✅ String1To50ValidatesCorrectly("",False)
✅ String1To50ValidatesCorrectly("12345678901234567890123456789012345678901234567890",True)
✅ String1To50ValidatesCorrectly("123456789012345678901234567890123456789012345678901",False)
✅ String1To50ValidatesCorrectly(null,False)

✅ Mews.Fiscalizations.Core.Tests.Model.TaxpayerIdentificationNumberTests

✅ CreatingInvalidEuropeanTaxpayerNumberFails("CZ","")
✅ CreatingInvalidEuropeanTaxpayerNumberFails("CZ","ABC1234567")
✅ CreatingInvalidEuropeanTaxpayerNumberFails("CZ",null)
✅ CreatingInvalidEuropeanTaxpayerNumberFails(null,"ABCD12344")
✅ CreatingInvalidEuropeanTaxpayerNumberFails(null,null)
✅ CreatingInvalidSpanishTaxpayerNumberFails("123456789")
✅ CreatingInvalidSpanishTaxpayerNumberFails("A0123456789")
✅ CreatingInvalidSpanishTaxpayerNumberFails("A1234")
✅ CreatingInvalidSpanishTaxpayerNumberFails("AAAAAAAAA")
✅ CreatingInvalidTaxpayerNumberFails("US","")
✅ CreatingInvalidTaxpayerNumberFails("US",null)
✅ CreatingInvalidTaxpayerNumberFails(null,"ABCD12345")
✅ CreatingInvalidTaxpayerNumberFails(null,null)
✅ CreatingValidEuropeanTaxpayerNumberSucceeds("AT","U99999999")
✅ CreatingValidEuropeanTaxpayerNumberSucceeds("BE","0999999999")
✅ CreatingValidEuropeanTaxpayerNumberSucceeds("BG","999999999")
✅ CreatingValidEuropeanTaxpayerNumberSucceeds("CY","99999999L")
✅ CreatingValidEuropeanTaxpayerNumberSucceeds("CZ","99999999")
✅ CreatingValidEuropeanTaxpayerNumberSucceeds("DE","999999999")
✅ CreatingValidEuropeanTaxpayerNumberSucceeds("DK","99999999")
✅ CreatingValidEuropeanTaxpayerNumberSucceeds("EE","999999999")
✅ CreatingValidEuropeanTaxpayerNumberSucceeds("ES","X9999999X")
✅ CreatingValidEuropeanTaxpayerNumberSucceeds("FI","99999999")
✅ CreatingValidEuropeanTaxpayerNumberSucceeds("FR","XX999999999")
✅ CreatingValidEuropeanTaxpayerNumberSucceeds("GB","999999999")
✅ CreatingValidEuropeanTaxpayerNumberSucceeds("GR","999999999")
✅ CreatingValidEuropeanTaxpayerNumberSucceeds("HU","99999999")
✅ CreatingValidEuropeanTaxpayerNumberSucceeds("IE","9S99999L")
✅ CreatingValidEuropeanTaxpayerNumberSucceeds("IE","IE1111111L")
✅ CreatingValidEuropeanTaxpayerNumberSucceeds("IT","99999999999")
✅ CreatingValidEuropeanTaxpayerNumberSucceeds("LT","999999999")
✅ CreatingValidEuropeanTaxpayerNumberSucceeds("LU","99999999")
✅ CreatingValidEuropeanTaxpayerNumberSucceeds("LV","99999999999")
✅ CreatingValidEuropeanTaxpayerNumberSucceeds("MT","99999999")
✅ CreatingValidEuropeanTaxpayerNumberSucceeds("NL","999999999B99")
✅ CreatingValidEuropeanTaxpayerNumberSucceeds("PL","9999999999")
✅ CreatingValidEuropeanTaxpayerNumberSucceeds("PT","999999999")
✅ CreatingValidEuropeanTaxpayerNumberSucceeds("RO","99")
✅ CreatingValidEuropeanTaxpayerNumberSucceeds("SE","999999999999")
✅ CreatingValidEuropeanTaxpayerNumberSucceeds("SI","99999999")
✅ CreatingValidEuropeanTaxpayerNumberSucceeds("SK","9999999999")
✅ CreatingValidNonEuropeanTaxpayerNumberSucceeds("AU","ABCD12345111")
✅ CreatingValidNonEuropeanTaxpayerNumberSucceeds("US","123456789")
✅ CreatingValidSpanishTaxpayerNumberSucceeds("A12345678")
✅ CreatingValidSpanishTaxpayerNumberSucceeds("A1234567A")
✅ CreatingValidSpanishTaxpayerNumberSucceeds("ESA1234567A")

✅ src/Germany/Mews.Fiscalizations.Germany.Tests/TestResults/test-results-Linux.trx

11 tests were completed in 43s with 11 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Mews.Fiscalizations.Germany.Tests.V2.AccessTokenTests 1✅ 162ms
Mews.Fiscalizations.Germany.Tests.V2.ClientTests 3✅ 2s
Mews.Fiscalizations.Germany.Tests.V2.TransactionTests 4✅ 2s
Mews.Fiscalizations.Germany.Tests.V2.TssTests 3✅ 24s

✅ Mews.Fiscalizations.Germany.Tests.V2.AccessTokenTests

✅ GetAccessTokenSucceeds

✅ Mews.Fiscalizations.Germany.Tests.V2.ClientTests

✅ CreateClientSucceeds
✅ GetAllTssClientsSucceeds
✅ GetClientSucceeds

✅ Mews.Fiscalizations.Germany.Tests.V2.TransactionTests

✅ GetTransactionSucceeds
✅ StartAndFinishTransactionSucceeds
✅ StartTransactionSucceeds
✅ StatusCheckSucceeds

✅ Mews.Fiscalizations.Germany.Tests.V2.TssTests

✅ CreateTssSucceeds
✅ GetAllTSSsSucceeds
✅ GetTssSucceeds

✅ src/Hungary/Mews.Fiscalizations.Hungary.Tests/TestResults/test-results-Linux.trx

15 tests were completed in 56s with 15 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Mews.Fiscalizations.Hungary.Tests.InvoiceTests 12✅ 50s
Mews.Fiscalizations.Hungary.Tests.StatusTests 3✅ 4s

✅ Mews.Fiscalizations.Hungary.Tests.InvoiceTests

✅ SendCorrectionCustomerInvoiceSucceeds
✅ SendCorrectionForeignCompanyInvoiceSucceeds("CZ","CZ12345678")
✅ SendCorrectionForeignCompanyInvoiceSucceeds("CZ",null)
✅ SendCorrectionForeignCompanyInvoiceSucceeds("US","UsTaxId")
✅ SendCorrectionForeignCompanyInvoiceSucceeds("US",null)
✅ SendCorrectionLocalCompanyInvoiceSucceeds
✅ SendCustomerInvoiceSucceeds
✅ SendForeignCompanyInvoiceSucceeds("CZ","CZ12345678")
✅ SendForeignCompanyInvoiceSucceeds("CZ",null)
✅ SendForeignCompanyInvoiceSucceeds("US","UsTaxId")
✅ SendForeignCompanyInvoiceSucceeds("US",null)
✅ SendLocalCompanyInvoiceSucceeds

✅ Mews.Fiscalizations.Hungary.Tests.StatusTests

✅ GetExchangeTokenSucceeds
✅ GetTaxerpayerDataSucceeds
✅ GetTransactionStatusSucceeds

✅ src/Italy/Mews.Fiscalizations.Italy.Tests/TestResults/test-results-Linux.trx

3 tests were completed in 5s with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Mews.Fiscalizations.Italy.Tests.UniwixClientTests 3✅ 4s

✅ Mews.Fiscalizations.Italy.Tests.UniwixClientTests

✅ GetInvoiceStateWithInvalidFileIdReturnsCorrectErrorType
✅ SendInvoiceSucceeds
✅ VerifyCredentialsSucceeds

✅ src/Spain/Mews.Fiscalizations.Spain.Tests/TestResults/test-results-Linux.trx

4 tests were completed in 7s with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Mews.Fiscalizations.Spain.Tests.IssuedInvoices.Basics 4✅ 7s

✅ Mews.Fiscalizations.Spain.Tests.IssuedInvoices.Basics

✅ CheckNif
✅ PostingZeroVatItemsAsTaxedItems_Fails
✅ PostInvoice_WithValidData_Succeeds
✅ PostZeroVatInvoice_WithValidData_Succeeds

✅ src/Sweden/Mews.Fiscalizations.Sweden.Tests/TestResults/test-results-Linux.trx

3 tests were completed in 4s with 2 passed, 0 failed and 1 skipped.

Test suite Passed Failed Skipped Time
Mews.Fiscalizations.Sweden.Tests.Srv4POSTests 2✅ 1⚪ 2s

✅ Mews.Fiscalizations.Sweden.Tests.Srv4POSTests

✅ CheckCashRegisterUniqueness_Succeeds_Async
⚪ CreateActivation_Succeeds_Async
✅ SendData_Succeeds_Async