From c8cc55ea2d2fca6e3c08c3012cffc5280de94748 Mon Sep 17 00:00:00 2001 From: t11omas Date: Fri, 24 Jan 2025 13:09:26 +0000 Subject: [PATCH] Feature/cdms 246 (#73) * Created ChedPPPhsiDecision finder along with tests * Fixed broken tests * updated check code * added in ChedPP integration tests * commented out test for the moment * added missing files * added chepp decision finder for HMI, along with tests * fixed up some test data * fixed missing file * changed to expression * fixed merge issue * merge conflict * reordered decisions codes * fixed failing tests * fixed merge issue * reorder the decision codes * PR feedback --------- Co-authored-by: Thomas Anderson --- .../DecisionTests/ChedPP/ChedPpHmiTests.cs | 41 +++ .../DecisionTests/ChedPP/ChedPpPhsiTests.cs | 2 +- .../Decisions/DecisionMessageBuilderTests.cs | 4 +- .../Decisions/DecisionServiceTests.cs | 2 +- .../Finders/ChedPpPhsiDecisionFinderTests.cs | 7 +- .../Extensions/ServiceCollectionExtensions.cs | 2 +- .../Services/Decisions/DecisionCode.cs | 12 +- .../Decisions/Finders/ChedPPDecisionFinder.cs | 29 +- ...-96e1dbc0-76bb-4ba4-97bd-60712d07b190.json | 1 + ...-a56c8617-0720-46ce-bc97-12d3f38c3ffb.json | 63 ++++ ...-0a9acaa6-c5ed-495d-b9a2-64b10ea214aa.json | 1 + ...-a56c8617-0720-46ce-bc97-12d3f38c3ffb.json | 1 + ...-0a9acaa6-c5ed-495d-b9a2-64b10ea214aa.json | 63 ++++ ...-a56c8617-0720-46ce-bc97-12d3f38c3ffb.json | 63 ++++ ...-0a9acaa6-c5ed-495d-b9a2-64b10ea214aa.json | 63 ++++ ...-2c45a76d-26a1-4adb-a47b-f1611c61bf55.json | 1 + ...-3e844164-800b-456f-a0e7-f385de312ddd.json | 1 + ...-11b9c031-cceb-42f5-9840-bf59c5f3c73a.json | 1 + ...-55977310-7a88-4706-922e-aaf78c545731.json | 1 + ...-6b3bf137-c416-496e-95a8-292207ccaed7.json | 1 + ...-8d6483d5-654b-4cc9-a072-b6c07335204c.json | 1 + ...-bbca3d2f-9d7b-455f-9bc2-344775fce228.json | 1 + ...-f2a3010f-e751-457e-a957-04c3cceb071f.json | 1 + ...-831d2688-e6e1-459a-9243-c391dc4bef51.json | 1 + ...-087b371d-3caa-4092-91db-5457959b201e.json | 1 + ...-568c1698-58cc-42e4-bc03-f46abf0273b3.json | 1 + ...-5eb8c483-6d30-461d-a86f-f3edb503dd86.json | 1 + ...-67f20a20-3415-4361-91de-e429efdd1a74.json | 1 + ...-8a465e2d-3675-4ee9-b1c6-fd62681bb67f.json | 1 + ...-ab1fd850-0705-4272-b627-57c2a1034f91.json | 1 + ...-6eb8c483-6d30-461d-a86f-f3edb503dd86.json | 308 ++++++++++++++++++ ...-6eb8c483-6d30-461d-a86f-f3edb503dd86.json | 308 ++++++++++++++++++ ...-54916fb6-f900-4043-9d17-2b020325d701.json | 118 ++++++- ...-b3420413-6107-4718-af17-bc1818209728.json | 118 ++++++- .../SpecificFilesScenarioGenerator.cs | 5 + 35 files changed, 1194 insertions(+), 32 deletions(-) create mode 100644 Btms.Backend.IntegrationTests/DecisionTests/ChedPP/ChedPpHmiTests.cs create mode 100644 TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/ALVS/2024/12/01/24GBD447SAPD7NTAR9-96e1dbc0-76bb-4ba4-97bd-60712d07b190.json create mode 100644 TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/ALVS/2024/12/05/24GBD69TMXZ2TYCA97-a56c8617-0720-46ce-bc97-12d3f38c3ffb.json create mode 100644 TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/ALVS/2024/12/05/24GBD69TMXZ2TYCAR7-0a9acaa6-c5ed-495d-b9a2-64b10ea214aa.json create mode 100644 TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/ALVS/2024/12/05/24GBD69TMXZ2TYCAR7-a56c8617-0720-46ce-bc97-12d3f38c3ffb.json create mode 100644 TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/ALVS/2024/12/05/24GBD69TMXZ2TYCAR8-0a9acaa6-c5ed-495d-b9a2-64b10ea214aa.json create mode 100644 TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/ALVS/2024/12/05/24GBD69TMXZ2TYCAR8-a56c8617-0720-46ce-bc97-12d3f38c3ffb.json create mode 100644 TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/ALVS/2024/12/05/24GBD69TMXZ2TYCAR9-0a9acaa6-c5ed-495d-b9a2-64b10ea214aa.json create mode 100644 TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/DECISIONS/2024/12/01/24GBD447SAPD7NTAR9-2c45a76d-26a1-4adb-a47b-f1611c61bf55.json create mode 100644 TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/DECISIONS/2024/12/02/24GBD447SAPD7NTAR9-3e844164-800b-456f-a0e7-f385de312ddd.json create mode 100644 TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/DECISIONS/2024/12/05/24GBD69TMXZ2TYCAR7-11b9c031-cceb-42f5-9840-bf59c5f3c73a.json create mode 100644 TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/DECISIONS/2024/12/05/24GBD69TMXZ2TYCAR7-55977310-7a88-4706-922e-aaf78c545731.json create mode 100644 TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/DECISIONS/2024/12/05/24GBD69TMXZ2TYCAR7-6b3bf137-c416-496e-95a8-292207ccaed7.json create mode 100644 TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/DECISIONS/2024/12/05/24GBD69TMXZ2TYCAR7-8d6483d5-654b-4cc9-a072-b6c07335204c.json create mode 100644 TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/DECISIONS/2024/12/05/24GBD69TMXZ2TYCAR7-bbca3d2f-9d7b-455f-9bc2-344775fce228.json create mode 100644 TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/DECISIONS/2024/12/05/24GBD69TMXZ2TYCAR7-f2a3010f-e751-457e-a957-04c3cceb071f.json create mode 100644 TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/IPAFFS/CHEDPP/2024/12/02/CHEDPP_GB_2024_5167633-831d2688-e6e1-459a-9243-c391dc4bef51.json create mode 100644 TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/IPAFFS/CHEDPP/2024/12/05/CHEDPP_GB_2024_5202737-087b371d-3caa-4092-91db-5457959b201e.json create mode 100644 TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/IPAFFS/CHEDPP/2024/12/05/CHEDPP_GB_2024_5202737-568c1698-58cc-42e4-bc03-f46abf0273b3.json create mode 100644 TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/IPAFFS/CHEDPP/2024/12/05/CHEDPP_GB_2024_5202737-5eb8c483-6d30-461d-a86f-f3edb503dd86.json create mode 100644 TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/IPAFFS/CHEDPP/2024/12/05/CHEDPP_GB_2024_5202737-67f20a20-3415-4361-91de-e429efdd1a74.json create mode 100644 TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/IPAFFS/CHEDPP/2024/12/05/CHEDPP_GB_2024_5202737-8a465e2d-3675-4ee9-b1c6-fd62681bb67f.json create mode 100644 TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/IPAFFS/CHEDPP/2024/12/05/CHEDPP_GB_2024_5202737-ab1fd850-0705-4272-b627-57c2a1034f91.json create mode 100644 TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/IPAFFS/CHEDPP/2024/12/05/CHEDPP_GB_2024_5202738-6eb8c483-6d30-461d-a86f-f3edb503dd86.json create mode 100644 TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/IPAFFS/CHEDPP/2024/12/05/CHEDPP_GB_2024_5202798-6eb8c483-6d30-461d-a86f-f3edb503dd86.json diff --git a/Btms.Backend.IntegrationTests/DecisionTests/ChedPP/ChedPpHmiTests.cs b/Btms.Backend.IntegrationTests/DecisionTests/ChedPP/ChedPpHmiTests.cs new file mode 100644 index 00000000..6a8ce68f --- /dev/null +++ b/Btms.Backend.IntegrationTests/DecisionTests/ChedPP/ChedPpHmiTests.cs @@ -0,0 +1,41 @@ +using FluentAssertions; +using TestDataGenerator.Scenarios.SpecificFiles; +using TestGenerator.IntegrationTesting.Backend; +using TestGenerator.IntegrationTesting.Backend.Extensions; +using Xunit; +using Xunit.Abstractions; + +namespace Btms.Backend.IntegrationTests.DecisionTests.ChedPP; + + +[Trait("Category", "Integration")] +public class ChedPpHmiTests(ITestOutputHelper output) : MultipleScenarioGeneratorBaseTest(output) +{ + [Theory] + [InlineData(typeof(ChedPpHmiDecisionTestsScenarioGenerator), "24GBD447SAPD7NTAR9", "C03")] + + [InlineData(typeof(ChedPpHmiDecisionTestsScenarioGenerator), "24GBD69TMXZ2TYCAR9", "N02")] + [InlineData(typeof(ChedPpHmiDecisionTestsScenarioGenerator), "24GBD69TMXZ2TYCAR8", "H01")] + [InlineData(typeof(ChedPpHmiDecisionTestsScenarioGenerator), "24GBD69TMXZ2TYCAR7", "H02")] + public void DecisionShouldHaveCorrectDecisionCodeForSingleNotification(Type generatorType, string mrn, string decisionCode) + { + base.TestOutputHelper.WriteLine("Generator : {0}, Decision Code : {1}", generatorType!.FullName, decisionCode); + EnsureEnvironmentInitialised(generatorType); + + var movement = Client + .GetMovementByMrn(mrn); + + var lastDecision = movement.Decisions.OrderByDescending(x => x.ServiceHeader?.ServiceCalled).First(); + + + foreach (var item in lastDecision.Items!) + { + foreach (var itemCheck in item.Checks!) + { + itemCheck.DecisionCode.Should().Be(decisionCode); + } + } + } + + +} \ No newline at end of file diff --git a/Btms.Backend.IntegrationTests/DecisionTests/ChedPP/ChedPpPhsiTests.cs b/Btms.Backend.IntegrationTests/DecisionTests/ChedPP/ChedPpPhsiTests.cs index 940d2fe1..5c7ba97b 100644 --- a/Btms.Backend.IntegrationTests/DecisionTests/ChedPP/ChedPpPhsiTests.cs +++ b/Btms.Backend.IntegrationTests/DecisionTests/ChedPP/ChedPpPhsiTests.cs @@ -20,7 +20,7 @@ public class ChedPpPhsiTests(ITestOutputHelper output) : MultipleScenarioGenerat [InlineData(typeof(ChedPpPhsiDecisionTestsScenarioGenerator), "24GBDC4TW6DUQYIAR5", "N02")] [InlineData(typeof(ChedPpPhsiDecisionTestsScenarioGenerator), "24GBDN3EZ714MBIAR9", "H01")] [InlineData(typeof(ChedPpPhsiDecisionTestsScenarioGenerator), "24GBDCVPBWY0GE9AR8", "H02")] - ////[InlineData(typeof(ChedPpPhsiDecisionTestsScenarioGenerator), "24GBDB6P6GWPVLKAR7", "C03")] put scenario in once HMI has been implemented + [InlineData(typeof(ChedPpPhsiDecisionTestsScenarioGenerator), "24GBDB6P6GWPVLKAR7", "C03")] public void DecisionShouldHaveCorrectDecisionCodeForSingleNotification(Type generatorType, string mrn, string decisionCode) { base.TestOutputHelper.WriteLine("Generator : {0}, Decision Code : {1}", generatorType!.FullName, decisionCode); diff --git a/Btms.Business.Tests/Services/Decisions/DecisionMessageBuilderTests.cs b/Btms.Business.Tests/Services/Decisions/DecisionMessageBuilderTests.cs index 0305fd0e..1c9806d4 100644 --- a/Btms.Business.Tests/Services/Decisions/DecisionMessageBuilderTests.cs +++ b/Btms.Business.Tests/Services/Decisions/DecisionMessageBuilderTests.cs @@ -33,9 +33,9 @@ public async Task When_building_items_and_checks_for_a_set_of_decision_codes_The decisions[0].Items?[1].Checks.Should().HaveCount(1); decisions[0].Items?[1].Checks?[0].CheckCode.Should().Be("H111"); - decisions[0].Items?[1].Checks?[0].DecisionCode.Should().Be("C06"); + decisions[0].Items?[1].Checks?[0].DecisionCode.Should().Be("H01"); decisions[0].Items?[1].Checks?[0].DecisionReasons.Should().HaveCount(1); - decisions[0].Items?[1].Checks?[0].DecisionReasons?[0].Should().Be("reason-4"); + decisions[0].Items?[1].Checks?[0].DecisionReasons?[0].Should().Be("reason-3"); decisions[1].Items.Should().HaveCount(2); decisions[1].Items?[0].Checks.Should().HaveCount(0); diff --git a/Btms.Business.Tests/Services/Decisions/DecisionServiceTests.cs b/Btms.Business.Tests/Services/Decisions/DecisionServiceTests.cs index eb9a3e6a..9d942b49 100644 --- a/Btms.Business.Tests/Services/Decisions/DecisionServiceTests.cs +++ b/Btms.Business.Tests/Services/Decisions/DecisionServiceTests.cs @@ -102,7 +102,7 @@ private ServiceProvider ConfigureDecisionFinders(ImportNotification notification ConfigureDecisionFinders(notification, ChedDDecisionCode, checkCodes); ConfigureDecisionFinders(notification, ChedADecisionCode, checkCodes); ConfigureDecisionFinders(notification, ChedPDecisionCode, checkCodes); - ConfigureDecisionFinders(notification, ChedPPDecisionCode, checkCodes); + ConfigureDecisionFinders(notification, ChedPPDecisionCode, checkCodes); ConfigureDecisionFinders(notification, IuuDecisionCode, checkCodes); return _serviceCollection.BuildServiceProvider(); } diff --git a/Btms.Business.Tests/Services/Decisions/Finders/ChedPpPhsiDecisionFinderTests.cs b/Btms.Business.Tests/Services/Decisions/Finders/ChedPpPhsiDecisionFinderTests.cs index 3780484d..33647ea6 100644 --- a/Btms.Business.Tests/Services/Decisions/Finders/ChedPpPhsiDecisionFinderTests.cs +++ b/Btms.Business.Tests/Services/Decisions/Finders/ChedPpPhsiDecisionFinderTests.cs @@ -14,7 +14,8 @@ public class ChedPpPhsiDecisionFinderTests [InlineData(ImportNotificationTypeEnum.Ced, false, "H219")] [InlineData(ImportNotificationTypeEnum.Cvedp, false, "H219")] [InlineData(ImportNotificationTypeEnum.Chedpp, true, "H219")] - [InlineData(ImportNotificationTypeEnum.Chedpp, false, "H220")] + [InlineData(ImportNotificationTypeEnum.Chedpp, true, "H218")] + [InlineData(ImportNotificationTypeEnum.Chedpp, true, "H220")] [InlineData(ImportNotificationTypeEnum.Chedpp, false, null)] public void CanFindDecisionTest(ImportNotificationTypeEnum? importNotificationType, bool expectedResult, string? checkCode) { @@ -22,7 +23,7 @@ public void CanFindDecisionTest(ImportNotificationTypeEnum? importNotificationTy { ImportNotificationType = importNotificationType, }; - var sut = new ChedPpPhsiDecisionFinder(); + var sut = new ChedPPDecisionFinder(); var result = sut.CanFindDecision(notification, checkCode); @@ -47,7 +48,7 @@ public void DecisionFinderTest(ImportNotificationStatusEnum status, DecisionCode { Status = status }; - var sut = new ChedPpPhsiDecisionFinder(); + var sut = new ChedPPDecisionFinder(); var result = sut.FindDecision(notification, null); diff --git a/Btms.Business/Extensions/ServiceCollectionExtensions.cs b/Btms.Business/Extensions/ServiceCollectionExtensions.cs index 82797403..eccf417c 100644 --- a/Btms.Business/Extensions/ServiceCollectionExtensions.cs +++ b/Btms.Business/Extensions/ServiceCollectionExtensions.cs @@ -72,7 +72,7 @@ public static IServiceCollection AddBusinessServices(this IServiceCollection ser services.AddScoped(); services.AddScoped(); services.AddScoped(); - services.AddScoped(); + services.AddScoped(); services.AddScoped(); services.AddTransient(); diff --git a/Btms.Business/Services/Decisions/DecisionCode.cs b/Btms.Business/Services/Decisions/DecisionCode.cs index 059b035d..d169762c 100644 --- a/Btms.Business/Services/Decisions/DecisionCode.cs +++ b/Btms.Business/Services/Decisions/DecisionCode.cs @@ -2,19 +2,23 @@ namespace Btms.Business.Services.Decisions; public enum DecisionCode { - H01, - H02, - E03, C03, C05, C06, C07, C08, + + H01, + H02, + + X00, + N02, N03, N04, N07, - X00, + + E03, E94, // IUU not indicated in PartTwo?.ControlAuthority?.IuuCheckRequired but "H224" requested in Items[]?.Checks[]?.CheckCode E95, // Unexpected value in PartTwo?.Decision?.IuuOption diff --git a/Btms.Business/Services/Decisions/Finders/ChedPPDecisionFinder.cs b/Btms.Business/Services/Decisions/Finders/ChedPPDecisionFinder.cs index ac43a2ab..4f04ccbf 100644 --- a/Btms.Business/Services/Decisions/Finders/ChedPPDecisionFinder.cs +++ b/Btms.Business/Services/Decisions/Finders/ChedPPDecisionFinder.cs @@ -1,31 +1,24 @@ +using Btms.Business.Extensions; using Btms.Model.Ipaffs; namespace Btms.Business.Services.Decisions.Finders; // ReSharper disable once InconsistentNaming -public class ChedPpPhsiDecisionFinder : IDecisionFinder +public class ChedPPDecisionFinder : IDecisionFinder { - public const string CheckCode = "H219"; public bool CanFindDecision(ImportNotification notification, string? checkCode) => - notification.ImportNotificationType == ImportNotificationTypeEnum.Chedpp && checkCode == CheckCode; + notification.ImportNotificationType == ImportNotificationTypeEnum.Chedpp && checkCode?.GetChedTypeFromCheckCode() == ImportNotificationTypeEnum.Chedpp; public DecisionFinderResult FindDecision(ImportNotification notification, string? checkCode) { - switch (notification.Status) + return notification.Status switch { - case ImportNotificationStatusEnum.Draft: - break; - case ImportNotificationStatusEnum.Submitted: - case ImportNotificationStatusEnum.InProgress: - return new DecisionFinderResult(DecisionCode.H02, checkCode); - case ImportNotificationStatusEnum.Validated: - return new DecisionFinderResult(DecisionCode.C03, checkCode); - case ImportNotificationStatusEnum.Rejected: - return new DecisionFinderResult(DecisionCode.N02, checkCode); - case ImportNotificationStatusEnum.PartiallyRejected: - return new DecisionFinderResult(DecisionCode.H01, checkCode); - } - - return new DecisionFinderResult(DecisionCode.E99, checkCode); + ImportNotificationStatusEnum.Submitted or ImportNotificationStatusEnum.InProgress => + new DecisionFinderResult(DecisionCode.H02, checkCode), + ImportNotificationStatusEnum.Validated => new DecisionFinderResult(DecisionCode.C03, checkCode), + ImportNotificationStatusEnum.Rejected => new DecisionFinderResult(DecisionCode.N02, checkCode), + ImportNotificationStatusEnum.PartiallyRejected => new DecisionFinderResult(DecisionCode.H01, checkCode), + _ => new DecisionFinderResult(DecisionCode.E99, checkCode) + }; } } \ No newline at end of file diff --git a/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/ALVS/2024/12/01/24GBD447SAPD7NTAR9-96e1dbc0-76bb-4ba4-97bd-60712d07b190.json b/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/ALVS/2024/12/01/24GBD447SAPD7NTAR9-96e1dbc0-76bb-4ba4-97bd-60712d07b190.json new file mode 100644 index 00000000..b0c02ef9 --- /dev/null +++ b/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/ALVS/2024/12/01/24GBD447SAPD7NTAR9-96e1dbc0-76bb-4ba4-97bd-60712d07b190.json @@ -0,0 +1 @@ +{"serviceHeader":{"sourceSystem":"CDS","destinationSystem":"ALVS","correlationId":"1306651","serviceCallTimestamp":1733068760000},"header":{"entryReference":"24GBD447SAPD7NTAR9","entryVersionNumber":2,"previousVersionNumber":1,"declarationUCR":"4GB460344665000-SIJ2411010147","declarationPartNumber":null,"declarationType":"S","arrivalDateTime":null,"submitterTURN":"GB460344665000","declarantId":"GB460344665000","declarantName":"GB460344665000","dispatchCountryCode":"PE","goodsLocationCode":"LGPLGPLGP","masterUCR":"LGP1C7LL600100"},"items":[{"itemNumber":1,"customsProcedureCode":"4000000","taricCommodityCode":"0806101090","goodsDescription":"FRESH GRAPES","consigneeId":"GB263389184000","consigneeName":"GB263389184000","itemNetMass":17712,"itemSupplementaryUnits":0,"itemThirdQuantity":null,"itemOriginCountryCode":"PE","documents":[{"documentCode":"N002","documentReference":"GBCHD2024.5167633","documentStatus":"AG","documentControl":"P","documentQuantity":null},{"documentCode":"N851","documentReference":"GBCHD2024.5167633","documentStatus":"AG","documentControl":"P","documentQuantity":null}],"checks":[{"checkCode":"H218","departmentCode":"HMI"},{"checkCode":"H219","departmentCode":"PHSI"}]}]} \ No newline at end of file diff --git a/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/ALVS/2024/12/05/24GBD69TMXZ2TYCA97-a56c8617-0720-46ce-bc97-12d3f38c3ffb.json b/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/ALVS/2024/12/05/24GBD69TMXZ2TYCA97-a56c8617-0720-46ce-bc97-12d3f38c3ffb.json new file mode 100644 index 00000000..84c4ae04 --- /dev/null +++ b/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/ALVS/2024/12/05/24GBD69TMXZ2TYCA97-a56c8617-0720-46ce-bc97-12d3f38c3ffb.json @@ -0,0 +1,63 @@ +{ + "serviceHeader": { + "sourceSystem": "CDS", + "destinationSystem": "ALVS", + "correlationId": "1319088", + "serviceCallTimestamp": 1733395701000 + }, + "header": { + "entryReference": "24GBD69TMXZ2TYCAR9", + "entryVersionNumber": 3, + "previousVersionNumber": 2, + "declarationUCR": "4GB361840501000-0160-25", + "declarationPartNumber": null, + "declarationType": "S", + "arrivalDateTime": null, + "submitterTURN": "GB378038429000", + "declarantId": "GB378038429000", + "declarantName": "GB378038429000", + "dispatchCountryCode": "MA", + "goodsLocationCode": "DEUDEUDEU", + "masterUCR": null + }, + "items": [ + { + "itemNumber": 1, + "customsProcedureCode": "4000000", + "taricCommodityCode": "0810100000", + "goodsDescription": "STRAWBERRIES", + "consigneeId": "GB651900746000", + "consigneeName": "GB651900746000", + "itemNetMass": 771.8, + "itemSupplementaryUnits": 0, + "itemThirdQuantity": null, + "itemOriginCountryCode": "MA", + "documents": [ + { + "documentCode": "N002", + "documentReference": "GBCHD2024.5202739", + "documentStatus": "AE", + "documentControl": "P", + "documentQuantity": null + }, + { + "documentCode": "N851", + "documentReference": "GBCHD2024.5202739", + "documentStatus": "AE", + "documentControl": "P", + "documentQuantity": null + } + ], + "checks": [ + { + "checkCode": "H218", + "departmentCode": "HMI" + }, + { + "checkCode": "H219", + "departmentCode": "PHSI" + } + ] + } + ] +} \ No newline at end of file diff --git a/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/ALVS/2024/12/05/24GBD69TMXZ2TYCAR7-0a9acaa6-c5ed-495d-b9a2-64b10ea214aa.json b/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/ALVS/2024/12/05/24GBD69TMXZ2TYCAR7-0a9acaa6-c5ed-495d-b9a2-64b10ea214aa.json new file mode 100644 index 00000000..a9ef3d29 --- /dev/null +++ b/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/ALVS/2024/12/05/24GBD69TMXZ2TYCAR7-0a9acaa6-c5ed-495d-b9a2-64b10ea214aa.json @@ -0,0 +1 @@ +{"serviceHeader":{"sourceSystem":"CDS","destinationSystem":"ALVS","correlationId":"1319121","serviceCallTimestamp":1733396353000},"header":{"entryReference":"24GBD69TMXZ2TYCAR7","entryVersionNumber":4,"previousVersionNumber":3,"declarationUCR":"4GB361840501000-0160-25","declarationPartNumber":null,"declarationType":"S","arrivalDateTime":null,"submitterTURN":"GB378038429000","declarantId":"GB378038429000","declarantName":"GB378038429000","dispatchCountryCode":"MA","goodsLocationCode":"DEUDEUDEU","masterUCR":null},"items":[{"itemNumber":1,"customsProcedureCode":"4000000","taricCommodityCode":"0810100000","goodsDescription":"STRAWBERRIES","consigneeId":"GB651900746000","consigneeName":"GB651900746000","itemNetMass":771.8,"itemSupplementaryUnits":0,"itemThirdQuantity":null,"itemOriginCountryCode":"MA","documents":[{"documentCode":"N002","documentReference":"GBCHD2024.5202737","documentStatus":"AE","documentControl":"P","documentQuantity":null},{"documentCode":"N851","documentReference":"GBCHD2024.5202737","documentStatus":"AE","documentControl":"P","documentQuantity":null}],"checks":[{"checkCode":"H218","departmentCode":"HMI"},{"checkCode":"H219","departmentCode":"PHSI"}]}]} \ No newline at end of file diff --git a/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/ALVS/2024/12/05/24GBD69TMXZ2TYCAR7-a56c8617-0720-46ce-bc97-12d3f38c3ffb.json b/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/ALVS/2024/12/05/24GBD69TMXZ2TYCAR7-a56c8617-0720-46ce-bc97-12d3f38c3ffb.json new file mode 100644 index 00000000..b5b31d8b --- /dev/null +++ b/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/ALVS/2024/12/05/24GBD69TMXZ2TYCAR7-a56c8617-0720-46ce-bc97-12d3f38c3ffb.json @@ -0,0 +1 @@ +{"serviceHeader":{"sourceSystem":"CDS","destinationSystem":"ALVS","correlationId":"1319088","serviceCallTimestamp":1733395701000},"header":{"entryReference":"24GBD69TMXZ2TYCAR7","entryVersionNumber":3,"previousVersionNumber":2,"declarationUCR":"4GB361840501000-0160-25","declarationPartNumber":null,"declarationType":"S","arrivalDateTime":null,"submitterTURN":"GB378038429000","declarantId":"GB378038429000","declarantName":"GB378038429000","dispatchCountryCode":"MA","goodsLocationCode":"DEUDEUDEU","masterUCR":null},"items":[{"itemNumber":1,"customsProcedureCode":"4000000","taricCommodityCode":"0810100000","goodsDescription":"STRAWBERRIES","consigneeId":"GB651900746000","consigneeName":"GB651900746000","itemNetMass":771.8,"itemSupplementaryUnits":0,"itemThirdQuantity":null,"itemOriginCountryCode":"MA","documents":[{"documentCode":"N002","documentReference":"GBCHD2024.5202737","documentStatus":"AE","documentControl":"P","documentQuantity":null},{"documentCode":"N851","documentReference":"GBCHD2024.5202737","documentStatus":"AE","documentControl":"P","documentQuantity":null}],"checks":[{"checkCode":"H218","departmentCode":"HMI"},{"checkCode":"H219","departmentCode":"PHSI"}]}]} \ No newline at end of file diff --git a/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/ALVS/2024/12/05/24GBD69TMXZ2TYCAR8-0a9acaa6-c5ed-495d-b9a2-64b10ea214aa.json b/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/ALVS/2024/12/05/24GBD69TMXZ2TYCAR8-0a9acaa6-c5ed-495d-b9a2-64b10ea214aa.json new file mode 100644 index 00000000..8c078800 --- /dev/null +++ b/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/ALVS/2024/12/05/24GBD69TMXZ2TYCAR8-0a9acaa6-c5ed-495d-b9a2-64b10ea214aa.json @@ -0,0 +1,63 @@ +{ + "serviceHeader": { + "sourceSystem": "CDS", + "destinationSystem": "ALVS", + "correlationId": "1319121", + "serviceCallTimestamp": 1733396353000 + }, + "header": { + "entryReference": "24GBD69TMXZ2TYCAR8", + "entryVersionNumber": 4, + "previousVersionNumber": 3, + "declarationUCR": "4GB361840501000-0160-25", + "declarationPartNumber": null, + "declarationType": "S", + "arrivalDateTime": null, + "submitterTURN": "GB378038429000", + "declarantId": "GB378038429000", + "declarantName": "GB378038429000", + "dispatchCountryCode": "MA", + "goodsLocationCode": "DEUDEUDEU", + "masterUCR": null + }, + "items": [ + { + "itemNumber": 1, + "customsProcedureCode": "4000000", + "taricCommodityCode": "0810100000", + "goodsDescription": "STRAWBERRIES", + "consigneeId": "GB651900746000", + "consigneeName": "GB651900746000", + "itemNetMass": 771.8, + "itemSupplementaryUnits": 0, + "itemThirdQuantity": null, + "itemOriginCountryCode": "MA", + "documents": [ + { + "documentCode": "N002", + "documentReference": "GBCHD2024.5202738", + "documentStatus": "AE", + "documentControl": "P", + "documentQuantity": null + }, + { + "documentCode": "N851", + "documentReference": "GBCHD2024.5202738", + "documentStatus": "AE", + "documentControl": "P", + "documentQuantity": null + } + ], + "checks": [ + { + "checkCode": "H218", + "departmentCode": "HMI" + }, + { + "checkCode": "H219", + "departmentCode": "PHSI" + } + ] + } + ] +} \ No newline at end of file diff --git a/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/ALVS/2024/12/05/24GBD69TMXZ2TYCAR8-a56c8617-0720-46ce-bc97-12d3f38c3ffb.json b/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/ALVS/2024/12/05/24GBD69TMXZ2TYCAR8-a56c8617-0720-46ce-bc97-12d3f38c3ffb.json new file mode 100644 index 00000000..55daabc5 --- /dev/null +++ b/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/ALVS/2024/12/05/24GBD69TMXZ2TYCAR8-a56c8617-0720-46ce-bc97-12d3f38c3ffb.json @@ -0,0 +1,63 @@ +{ + "serviceHeader": { + "sourceSystem": "CDS", + "destinationSystem": "ALVS", + "correlationId": "1319088", + "serviceCallTimestamp": 1733395701000 + }, + "header": { + "entryReference": "24GBD69TMXZ2TYCAR8", + "entryVersionNumber": 3, + "previousVersionNumber": 2, + "declarationUCR": "4GB361840501000-0160-25", + "declarationPartNumber": null, + "declarationType": "S", + "arrivalDateTime": null, + "submitterTURN": "GB378038429000", + "declarantId": "GB378038429000", + "declarantName": "GB378038429000", + "dispatchCountryCode": "MA", + "goodsLocationCode": "DEUDEUDEU", + "masterUCR": null + }, + "items": [ + { + "itemNumber": 1, + "customsProcedureCode": "4000000", + "taricCommodityCode": "0810100000", + "goodsDescription": "STRAWBERRIES", + "consigneeId": "GB651900746000", + "consigneeName": "GB651900746000", + "itemNetMass": 771.8, + "itemSupplementaryUnits": 0, + "itemThirdQuantity": null, + "itemOriginCountryCode": "MA", + "documents": [ + { + "documentCode": "N002", + "documentReference": "GBCHD2024.5202738", + "documentStatus": "AE", + "documentControl": "P", + "documentQuantity": null + }, + { + "documentCode": "N851", + "documentReference": "GBCHD2024.5202738", + "documentStatus": "AE", + "documentControl": "P", + "documentQuantity": null + } + ], + "checks": [ + { + "checkCode": "H218", + "departmentCode": "HMI" + }, + { + "checkCode": "H219", + "departmentCode": "PHSI" + } + ] + } + ] +} \ No newline at end of file diff --git a/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/ALVS/2024/12/05/24GBD69TMXZ2TYCAR9-0a9acaa6-c5ed-495d-b9a2-64b10ea214aa.json b/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/ALVS/2024/12/05/24GBD69TMXZ2TYCAR9-0a9acaa6-c5ed-495d-b9a2-64b10ea214aa.json new file mode 100644 index 00000000..0dd42cf4 --- /dev/null +++ b/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/ALVS/2024/12/05/24GBD69TMXZ2TYCAR9-0a9acaa6-c5ed-495d-b9a2-64b10ea214aa.json @@ -0,0 +1,63 @@ +{ + "serviceHeader": { + "sourceSystem": "CDS", + "destinationSystem": "ALVS", + "correlationId": "1319121", + "serviceCallTimestamp": 1733396353000 + }, + "header": { + "entryReference": "24GBD69TMXZ2TYCAR9", + "entryVersionNumber": 4, + "previousVersionNumber": 3, + "declarationUCR": "4GB361840501000-0160-25", + "declarationPartNumber": null, + "declarationType": "S", + "arrivalDateTime": null, + "submitterTURN": "GB378038429000", + "declarantId": "GB378038429000", + "declarantName": "GB378038429000", + "dispatchCountryCode": "MA", + "goodsLocationCode": "DEUDEUDEU", + "masterUCR": null + }, + "items": [ + { + "itemNumber": 1, + "customsProcedureCode": "4000000", + "taricCommodityCode": "0810100000", + "goodsDescription": "STRAWBERRIES", + "consigneeId": "GB651900746000", + "consigneeName": "GB651900746000", + "itemNetMass": 771.8, + "itemSupplementaryUnits": 0, + "itemThirdQuantity": null, + "itemOriginCountryCode": "MA", + "documents": [ + { + "documentCode": "N002", + "documentReference": "GBCHD2024.5202739", + "documentStatus": "AE", + "documentControl": "P", + "documentQuantity": null + }, + { + "documentCode": "N851", + "documentReference": "GBCHD2024.5202739", + "documentStatus": "AE", + "documentControl": "P", + "documentQuantity": null + } + ], + "checks": [ + { + "checkCode": "H218", + "departmentCode": "HMI" + }, + { + "checkCode": "H219", + "departmentCode": "PHSI" + } + ] + } + ] +} \ No newline at end of file diff --git a/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/DECISIONS/2024/12/01/24GBD447SAPD7NTAR9-2c45a76d-26a1-4adb-a47b-f1611c61bf55.json b/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/DECISIONS/2024/12/01/24GBD447SAPD7NTAR9-2c45a76d-26a1-4adb-a47b-f1611c61bf55.json new file mode 100644 index 00000000..57031c3b --- /dev/null +++ b/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/DECISIONS/2024/12/01/24GBD447SAPD7NTAR9-2c45a76d-26a1-4adb-a47b-f1611c61bf55.json @@ -0,0 +1 @@ +{"serviceHeader":{"sourceSystem":"ALVS","destinationSystem":"CDS","correlationId":"000","serviceCallTimestamp":1733068859809},"header":{"entryReference":"24GBD447SAPD7NTAR9","entryVersionNumber":2,"decisionNumber":9},"items":[{"itemNumber":1,"documents":[],"checks":[{"checkCode":"H218","decisionCode":"H02","decisionValidUntil":null,"decisionReasons":[]},{"checkCode":"H219","decisionCode":"H02","decisionValidUntil":null,"decisionReasons":[]}]}]} \ No newline at end of file diff --git a/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/DECISIONS/2024/12/02/24GBD447SAPD7NTAR9-3e844164-800b-456f-a0e7-f385de312ddd.json b/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/DECISIONS/2024/12/02/24GBD447SAPD7NTAR9-3e844164-800b-456f-a0e7-f385de312ddd.json new file mode 100644 index 00000000..01e29e57 --- /dev/null +++ b/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/DECISIONS/2024/12/02/24GBD447SAPD7NTAR9-3e844164-800b-456f-a0e7-f385de312ddd.json @@ -0,0 +1 @@ +{"serviceHeader":{"sourceSystem":"ALVS","destinationSystem":"CDS","correlationId":"000","serviceCallTimestamp":1733129518735},"header":{"entryReference":"24GBD447SAPD7NTAR9","entryVersionNumber":2,"decisionNumber":10},"items":[{"itemNumber":1,"documents":[],"checks":[{"checkCode":"H218","decisionCode":"C03","decisionValidUntil":null,"decisionReasons":[]},{"checkCode":"H219","decisionCode":"C03","decisionValidUntil":null,"decisionReasons":[]}]}]} \ No newline at end of file diff --git a/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/DECISIONS/2024/12/05/24GBD69TMXZ2TYCAR7-11b9c031-cceb-42f5-9840-bf59c5f3c73a.json b/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/DECISIONS/2024/12/05/24GBD69TMXZ2TYCAR7-11b9c031-cceb-42f5-9840-bf59c5f3c73a.json new file mode 100644 index 00000000..14d8e3fa --- /dev/null +++ b/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/DECISIONS/2024/12/05/24GBD69TMXZ2TYCAR7-11b9c031-cceb-42f5-9840-bf59c5f3c73a.json @@ -0,0 +1 @@ +{"serviceHeader":{"sourceSystem":"ALVS","destinationSystem":"CDS","correlationId":"000","serviceCallTimestamp":1733432811748},"header":{"entryReference":"24GBD69TMXZ2TYCAR7","entryVersionNumber":4,"decisionNumber":10},"items":[{"itemNumber":1,"documents":[],"checks":[{"checkCode":"H218","decisionCode":"H02","decisionValidUntil":null,"decisionReasons":[]},{"checkCode":"H219","decisionCode":"H02","decisionValidUntil":null,"decisionReasons":[]}]}]} \ No newline at end of file diff --git a/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/DECISIONS/2024/12/05/24GBD69TMXZ2TYCAR7-55977310-7a88-4706-922e-aaf78c545731.json b/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/DECISIONS/2024/12/05/24GBD69TMXZ2TYCAR7-55977310-7a88-4706-922e-aaf78c545731.json new file mode 100644 index 00000000..49d72014 --- /dev/null +++ b/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/DECISIONS/2024/12/05/24GBD69TMXZ2TYCAR7-55977310-7a88-4706-922e-aaf78c545731.json @@ -0,0 +1 @@ +{"serviceHeader":{"sourceSystem":"ALVS","destinationSystem":"CDS","correlationId":"000","serviceCallTimestamp":1733413076680},"header":{"entryReference":"24GBD69TMXZ2TYCAR7","entryVersionNumber":4,"decisionNumber":8},"items":[{"itemNumber":1,"documents":[],"checks":[{"checkCode":"H218","decisionCode":"H02","decisionValidUntil":null,"decisionReasons":[]},{"checkCode":"H219","decisionCode":"H02","decisionValidUntil":null,"decisionReasons":[]}]}]} \ No newline at end of file diff --git a/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/DECISIONS/2024/12/05/24GBD69TMXZ2TYCAR7-6b3bf137-c416-496e-95a8-292207ccaed7.json b/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/DECISIONS/2024/12/05/24GBD69TMXZ2TYCAR7-6b3bf137-c416-496e-95a8-292207ccaed7.json new file mode 100644 index 00000000..2ae8f8ac --- /dev/null +++ b/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/DECISIONS/2024/12/05/24GBD69TMXZ2TYCAR7-6b3bf137-c416-496e-95a8-292207ccaed7.json @@ -0,0 +1 @@ +{"serviceHeader":{"sourceSystem":"ALVS","destinationSystem":"CDS","correlationId":"000","serviceCallTimestamp":1733414267771},"header":{"entryReference":"24GBD69TMXZ2TYCAR7","entryVersionNumber":4,"decisionNumber":9},"items":[{"itemNumber":1,"documents":[],"checks":[{"checkCode":"H218","decisionCode":"H02","decisionValidUntil":null,"decisionReasons":[]},{"checkCode":"H219","decisionCode":"H02","decisionValidUntil":null,"decisionReasons":[]}]}]} \ No newline at end of file diff --git a/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/DECISIONS/2024/12/05/24GBD69TMXZ2TYCAR7-8d6483d5-654b-4cc9-a072-b6c07335204c.json b/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/DECISIONS/2024/12/05/24GBD69TMXZ2TYCAR7-8d6483d5-654b-4cc9-a072-b6c07335204c.json new file mode 100644 index 00000000..9e8f6b50 --- /dev/null +++ b/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/DECISIONS/2024/12/05/24GBD69TMXZ2TYCAR7-8d6483d5-654b-4cc9-a072-b6c07335204c.json @@ -0,0 +1 @@ +{"serviceHeader":{"sourceSystem":"ALVS","destinationSystem":"CDS","correlationId":"000","serviceCallTimestamp":1733399930487},"header":{"entryReference":"24GBD69TMXZ2TYCAR7","entryVersionNumber":4,"decisionNumber":6},"items":[{"itemNumber":1,"documents":[],"checks":[{"checkCode":"H218","decisionCode":"H02","decisionValidUntil":null,"decisionReasons":[]},{"checkCode":"H219","decisionCode":"H02","decisionValidUntil":null,"decisionReasons":[]}]}]} \ No newline at end of file diff --git a/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/DECISIONS/2024/12/05/24GBD69TMXZ2TYCAR7-bbca3d2f-9d7b-455f-9bc2-344775fce228.json b/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/DECISIONS/2024/12/05/24GBD69TMXZ2TYCAR7-bbca3d2f-9d7b-455f-9bc2-344775fce228.json new file mode 100644 index 00000000..f7d4471e --- /dev/null +++ b/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/DECISIONS/2024/12/05/24GBD69TMXZ2TYCAR7-bbca3d2f-9d7b-455f-9bc2-344775fce228.json @@ -0,0 +1 @@ +{"serviceHeader":{"sourceSystem":"ALVS","destinationSystem":"CDS","correlationId":"000","serviceCallTimestamp":1733399949030},"header":{"entryReference":"24GBD69TMXZ2TYCAR7","entryVersionNumber":4,"decisionNumber":7},"items":[{"itemNumber":1,"documents":[],"checks":[{"checkCode":"H218","decisionCode":"H02","decisionValidUntil":null,"decisionReasons":[]},{"checkCode":"H219","decisionCode":"H02","decisionValidUntil":null,"decisionReasons":[]}]}]} \ No newline at end of file diff --git a/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/DECISIONS/2024/12/05/24GBD69TMXZ2TYCAR7-f2a3010f-e751-457e-a957-04c3cceb071f.json b/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/DECISIONS/2024/12/05/24GBD69TMXZ2TYCAR7-f2a3010f-e751-457e-a957-04c3cceb071f.json new file mode 100644 index 00000000..0650beec --- /dev/null +++ b/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/DECISIONS/2024/12/05/24GBD69TMXZ2TYCAR7-f2a3010f-e751-457e-a957-04c3cceb071f.json @@ -0,0 +1 @@ +{"serviceHeader":{"sourceSystem":"ALVS","destinationSystem":"CDS","correlationId":"000","serviceCallTimestamp":1733396368607},"header":{"entryReference":"24GBD69TMXZ2TYCAR7","entryVersionNumber":4,"decisionNumber":5},"items":[{"itemNumber":1,"documents":[],"checks":[{"checkCode":"H218","decisionCode":"X00","decisionValidUntil":null,"decisionReasons":[" A Customs Declaration has been submitted however no matching CHEDPP(s) have been submitted (for CHEDPP number(s) GBCHD2024.5202737). Please correct the CHEDPP number(s) entered on your customs declaration. "]},{"checkCode":"H219","decisionCode":"X00","decisionValidUntil":null,"decisionReasons":[" A Customs Declaration has been submitted however no matching CHEDPP(s) have been submitted (for CHEDPP number(s) GBCHD2024.5202737). Please correct the CHEDPP number(s) entered on your customs declaration. "]}]}]} \ No newline at end of file diff --git a/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/IPAFFS/CHEDPP/2024/12/02/CHEDPP_GB_2024_5167633-831d2688-e6e1-459a-9243-c391dc4bef51.json b/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/IPAFFS/CHEDPP/2024/12/02/CHEDPP_GB_2024_5167633-831d2688-e6e1-459a-9243-c391dc4bef51.json new file mode 100644 index 00000000..0636ef2f --- /dev/null +++ b/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/IPAFFS/CHEDPP/2024/12/02/CHEDPP_GB_2024_5167633-831d2688-e6e1-459a-9243-c391dc4bef51.json @@ -0,0 +1 @@ +{"id":4204789,"referenceNumber":"CHEDPP.GB.2024.5167633","agencyOrganisationId":"8b2122f9-1940-e911-a955-000d3a454330","version":4,"lastUpdated":"2024-12-02T08:45:53.019794049Z","lastUpdatedBy":{"displayName":"7d1c2ceb04679e8877da0e4af6c74b16fa919ec7925c4e3f1985c9515db187ca","userId":"3dd58971-2d3f-e911-a95d-000d3a454f67"},"type":"CHEDPP","status":"VALIDATED","riskAssessment":{"commodityResults":[{"hmiDecision":"REQUIRED","phsiDecision":"REQUIRED","phsiClassification":"Reduced","phsi":{"documentCheck":true,"identityCheck":false,"physicalCheck":false},"uniqueId":"3e5ded71-f6b9-47ea-acf4-9084feae8cd3","eppoCode":"VITVI","indoorOutdoor":"None","propagation":"None","phsiRuleType":"Commodity"}],"assessmentDateTime":"2024-11-26T09:28:48.72394398"},"partOne":{"personResponsible":{"name":"2ba2c5165de17c04b3da9d924dc270fa8aadbbf8bc7a2528c3b3ff08e55c18ad","companyId":"82630b69-18f1-ea11-a815-000d3abb516e","companyName":"60cedc2bb122addbc618f58da69ffb9d9585f593e39ca5d70decf9b5794cf6a9","address":["4fc05e9c75cc879e9bb1b79f44cbf9bcb4cc37107e2d40e44447e00c40cd6c14","e9d18d3409073767d952e833d2f24388f0c65ae363b4b89ab115c286dd682ba0","d96d14f5564eeb355178395b04cdb970c3dc8d01f54d1b7adf0288820457899c","a6e7c6c6deddcc3b5d0d10e801a197278b4a11df24204320b8063dad0000a161","b836f5aecec7bcbc926145038cdb78118e08103bdbc72be2de0a6cfe71b9ff82","b4043b0b8297e379bc559ab33b6ae9c7a9b4ef6519d3baee53270f0c0dd3d960"],"country":"GB","tracesID":1001,"phone":"31c8778dbe8f34a7e05456f27f2761fd4435ebe28611fb23c696255b03a100f6","email":"5988b6809f96769980b70085d1dc469ca98f42e1119bf2df6f16dbd0195468f3","contactId":"73630b69-18f1-ea11-a815-000d3abb516e"},"consignor":{"id":"8f465554-51a4-47e9-8de9-a952db917159","type":"exporter","status":"nonapproved","companyName":"7c4917d97d0f538053b97f9f4e6cf4a9a428cc6ca7ce3a7d2cd5f1936ae47e05","address":{"addressLine1":"5445d3e7652fdcd824df9a71c1ad603a4b07d19397f4572a58ab908eeb897b93","addressLine2":"6d257ba6bae227b41b57eebd9e1edd7208b31f3a8b5cd2f768e3dceb245bcabc","city":"d6c21b948958417ca98b682a573eb8aa1084b292d32f760f253ef53da13e5589","countryISOCode":"PE","telephone":"8a5a8deedc84020f6bc7566e974d5a65b9c331e3dfc4d2a1264231ce22ae8df6","email":"a49f576d2c0f8f7608c36e55c353d7408006b1c92e64e68ea483c1fd72e44309"},"tracesId":10385524},"consignee":{"id":"82630b69-18f1-ea11-a815-000d3abb516e","type":"consignee","companyName":"60cedc2bb122addbc618f58da69ffb9d9585f593e39ca5d70decf9b5794cf6a9","address":{"addressLine1":"4fc05e9c75cc879e9bb1b79f44cbf9bcb4cc37107e2d40e44447e00c40cd6c14","addressLine2":"e9d18d3409073767d952e833d2f24388f0c65ae363b4b89ab115c286dd682ba0","city":"a6e7c6c6deddcc3b5d0d10e801a197278b4a11df24204320b8063dad0000a161","postalZipCode":"b836f5aecec7bcbc926145038cdb78118e08103bdbc72be2de0a6cfe71b9ff82","countryISOCode":"GB","telephone":"31c8778dbe8f34a7e05456f27f2761fd4435ebe28611fb23c696255b03a100f6","email":"ab625d77592d416eca7956e163461fdd179424d9a49a3512a80cb89e02c3b4df"},"tracesId":10193392},"importer":{"id":"82630b69-18f1-ea11-a815-000d3abb516e","type":"importer","companyName":"60cedc2bb122addbc618f58da69ffb9d9585f593e39ca5d70decf9b5794cf6a9","address":{"addressLine1":"4fc05e9c75cc879e9bb1b79f44cbf9bcb4cc37107e2d40e44447e00c40cd6c14","addressLine2":"e9d18d3409073767d952e833d2f24388f0c65ae363b4b89ab115c286dd682ba0","city":"a6e7c6c6deddcc3b5d0d10e801a197278b4a11df24204320b8063dad0000a161","postalZipCode":"b836f5aecec7bcbc926145038cdb78118e08103bdbc72be2de0a6cfe71b9ff82","countryISOCode":"GB","telephone":"31c8778dbe8f34a7e05456f27f2761fd4435ebe28611fb23c696255b03a100f6","email":"ab625d77592d416eca7956e163461fdd179424d9a49a3512a80cb89e02c3b4df"},"tracesId":10193392},"placeOfDestination":{"id":"932f04b9-ebc7-41b0-b707-11b624bdf6b5","type":"destination","status":"nonapproved","companyName":"f3cf5fbd6f3296e8f3bf220f209436c421e876d8ea5bfab426bc733c59dd84da","address":{"addressLine1":"4e56940d1044aa2aa6a2b9a4e3f13d1c4a67949368e030f8db8c2f7b6bfdc0b0","addressLine2":"fcad8c8d4099f3dd0a565afe352f6484e71718b542397901d6aa45df67192896","city":"1d54fc36489fa5e351eecf898327714c952dfdf7a949b11573fd9d82f12b5a75","postalZipCode":"b836f5aecec7bcbc926145038cdb78118e08103bdbc72be2de0a6cfe71b9ff82","countryISOCode":"GB-ENG","telephone":"31c8778dbe8f34a7e05456f27f2761fd4435ebe28611fb23c696255b03a100f6","email":"b2a8476d0553706fa9a14ee7edbc9f49deaf4aba27827df82e6c0490e43c338b"},"tracesId":10259606},"commodities":{"totalGrossWeight":19712,"totalNetWeight":17712,"numberOfPackages":2160,"commodityComplement":[{"commodityID":"0806101090","commodityDescription":"Other","complementID":1,"complementName":"Vitis vinifera","eppoCode":"VITVI","speciesID":"352369","speciesName":"Vitis vinifera","speciesClass":"352369","speciesNomination":"Vitis vinifera","isCdsMatched":true}],"complementParameterSet":[{"uniqueComplementID":"3e5ded71-f6b9-47ea-acf4-9084feae8cd3","complementID":1,"speciesID":"352369","keyDataPair":[{"key":"marketing_standard","data":"SMS"},{"key":"validity_period","data":"5"},{"key":"regulatory_authority","data":"JOINT"},{"key":"variety","data":"None"},{"key":"class","data":"Class I"},{"key":"type_package","data":"Carton"},{"key":"netweight","data":"17712"},{"key":"number_package","data":"2160"},{"key":"quantity","data":"2160"},{"key":"type_quantity","data":"Pieces"},{"key":"commodity_group","data":"Fruit and nuts"},{"key":"low_risk_article72_commodity","data":"true"}]}],"includeNonAblactedAnimals":false,"countryOfOrigin":"PE","countryOfOriginIsPodCountry":false,"consignedCountry":"PE","consignedCountryInChargeGroup":false},"purpose":{"purposeGroup":"For Import"},"pointOfEntry":"GBLGP1PP","pointOfEntryControlPoint":"IPGBLGP1","arrivalDate":"2024-11-28","arrivalTime":"10:00:00","meansOfTransport":{},"meansOfTransportFromEntryPoint":{"id":"MSC ELMA","type":"Ship","document":"MEDUP3534641"},"veterinaryInformation":{"accompanyingDocuments":[{"documentType":"commercialInvoice","documentReference":"E001-358","documentIssueDate":"2024-11-12","attachmentId":"32b694c0-85ff-490b-875e-89c00079ae81","attachmentFilename":"CHED DOCS 10147_0001.pdf","attachmentContentType":"application/pdf","uploadUserId":"32444ecd-1727-ef11-840a-00224882b23b","uploadOrganisationId":"8b2122f9-1940-e911-a955-000d3a454330"},{"documentType":"phytosanitaryCertificate","documentReference":"1532147","documentIssueDate":"2024-11-11","attachmentId":"903a63f1-05ef-4397-adf6-89ae4562287d","attachmentFilename":"CHED DOCS 10147_0001(1).pdf","attachmentContentType":"application/pdf","uploadUserId":"32444ecd-1727-ef11-840a-00224882b23b","uploadOrganisationId":"8b2122f9-1940-e911-a955-000d3a454330"},{"documentType":"billOfLading","documentReference":"MEDUP3534641","documentIssueDate":"2024-11-26","attachmentId":"f4792f9f-79fc-4ae5-af18-a12c8aedf364","attachmentFilename":"MEDUP3534641 fechado.pdf","attachmentContentType":"application/pdf","uploadUserId":"32444ecd-1727-ef11-840a-00224882b23b","uploadOrganisationId":"8b2122f9-1940-e911-a955-000d3a454330"}]},"importerLocalReferenceNumber":"SIJ2411010147 CRLU1185722","sealsContainers":[{"sealNumber":"FJ18018952","containerNumber":"CRLU1185722","officialSeal":false}],"submissionDate":"2024-11-28T08:56:17.093921215Z","submittedBy":{"displayName":"15ad5f9176fb9ee98f975a07436c5ea0759bb83b0b4d0f907dce268932faf636","userId":"32444ecd-1727-ef11-840a-00224882b23b"},"complexCommoditySelected":true,"contactDetails":{"name":"Mark Sanderson","telephone":"01732885566","email":"mark.sanderson@hochfeldinternational.com"},"nominatedContacts":[{"name":"NIKKI FISHER","telephone":"07802 452053","email":"IMPORTS@CHDFORWARDING.CO.UK"}],"isGVMSRoute":false,"provideCtcMrn":"NO"},"decisionBy":{"displayName":"7d1c2ceb04679e8877da0e4af6c74b16fa919ec7925c4e3f1985c9515db187ca","userId":"3dd58971-2d3f-e911-a95d-000d3a454f67"},"decisionDate":"2024-12-02T08:45:52.988157704Z","partTwo":{"controlAuthority":{"officialVeterinarian":{"firstName":"5be5b5400582e1ec459c06ba08dd46cecad0ab26f568c1c1c9faa454254f1a90","lastName":"b6eb7892a231932fab19b2f76e3425546f743eb4c0568ec186215c448fbb0da0","email":"c19f9bb5a41dbf1c2576f967a2a8208c957f3188861dfc687bb0a4c5beaa71aa","phone":"902322b102aeb478028f7680104536eb36a1e5f0468c21b58a743ed1f3636d08","signed":"2024-12-02T08:45:53.019738348"}},"commodityChecks":[{"uniqueComplementId":"3e5ded71-f6b9-47ea-acf4-9084feae8cd3","checks":[{"type":"PHSI_DOCUMENT","status":"Compliant"},{"type":"PHSI_IDENTITY","status":"Auto cleared"},{"type":"PHSI_PHYSICAL","status":"Auto cleared"},{"type":"HMI","status":"Compliant"}],"validityPeriod":5}],"inspectionRequired":"Required"},"partThree":{},"consignmentValidation":[{"field":"uk/gov/defra/tracesx/notificationschema/representation/notification/","message":"Enter an estimated arrival date and time at BCP that is not in the past"}],"etag":"0000000004461A46","riskDecisionLockingTime":"2024-11-28T08:00:00Z","isRiskDecisionLocked":true,"isCdsFullMatched":true,"chedTypeVersion":1} \ No newline at end of file diff --git a/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/IPAFFS/CHEDPP/2024/12/05/CHEDPP_GB_2024_5202737-087b371d-3caa-4092-91db-5457959b201e.json b/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/IPAFFS/CHEDPP/2024/12/05/CHEDPP_GB_2024_5202737-087b371d-3caa-4092-91db-5457959b201e.json new file mode 100644 index 00000000..b0651c46 --- /dev/null +++ b/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/IPAFFS/CHEDPP/2024/12/05/CHEDPP_GB_2024_5202737-087b371d-3caa-4092-91db-5457959b201e.json @@ -0,0 +1 @@ +{"id":4262529,"referenceNumber":"CHEDPP.GB.2024.5202737","agencyOrganisationId":"fe1350f6-8034-eb11-a813-000d3a4aa0dc","version":3,"lastUpdated":"2024-12-05T15:30:36.47481919Z","lastUpdatedBy":{"displayName":"d29dc1245fc8438e7a2fa79bb6b8f84842570e2a6cb3eacd968ca50d892d4349","userId":"d35f313a-6457-ec11-8f8f-6045bd88a791"},"type":"CHEDPP","status":"SUBMITTED","riskAssessment":{"commodityResults":[{"hmiDecision":"NOTREQUIRED","phsiDecision":"REQUIRED","phsiClassification":"Reduced","phsi":{"documentCheck":true,"identityCheck":true,"physicalCheck":true},"uniqueId":"2e83d84a-fd99-484f-93b9-b93b1a8c4194","eppoCode":"FRAAN","indoorOutdoor":"None","propagation":"None","phsiRuleType":"Commodity"}],"assessmentDateTime":"2024-11-26T10:13:20.600768172"},"isHighRiskEuImport":false,"partOne":{"personResponsible":{"name":"df3218131ca41b07f497111a64bc6dfd99d8c73e58472ee39cea6079ad2636f8","companyId":"39f0666f-18f4-ea11-a815-000d3abb516e","companyName":"1cced80eefe4974e79aa6ad2325a0f4c4cca8800366441f66b8776a9201ee278","address":["3457b1617fe56912104fc55806c28dfca8a70a42ac40e6569982a79a71141365","52a038609297458a7e68ee13def2d1339f256e9acc91ddb136a763ace66b596f","9aa386e102ad0048d1c373c694164fdca1b5c659d914beff5d6743f92f7a641f","d1e68b3bff45c0be7a475ab30b0775a8d8dbbbb19ac6b1f92e78d4d0aba0ace0","26a82f137288fdc1138dbaca31f2bb3c70512f773e13b1ce00535b3f20b2820a","b4043b0b8297e379bc559ab33b6ae9c7a9b4ef6519d3baee53270f0c0dd3d960"],"country":"GB","tracesID":1001,"phone":"22ddec2a5d9a12afc5a930f7d81e9b5228cef171cbea0fc9e872288004a722c6","email":"207c2034d4d88313cf490bec5c79d906b13ce107429181bc8f741a0fbcfa6b4e","contactId":"9879f422-9c2d-ec11-b6e5-6045bd8cd550"},"consignor":{"id":"7984115d-c7aa-4ec2-8a3f-5d5fba381c10","type":"exporter","status":"nonapproved","companyName":"68351a7ed58eb70dcedc83d84c99f60918bc3a2b9434d7e327a53ccaaac14c09","address":{"addressLine1":"58f728b6c9172a2bcb6a7ffb2ab8fca6f2d7867bb48681f5ce380c8a43540794","city":"445c5ffad884c3250128310bfc1ea80e72536c1555f5933f1f0c1754df66894e","postalZipCode":"9af15b336e6a9619928537df30b2e6a2376569fcf9d7e773eccede65606529a0","countryISOCode":"MA","telephone":"3f5807ee905f5f3f19c16e8e523c5233d203e6118709ba679bdfd5499a16c03e","email":"51982952de7fd41b107580ae073e8fd9b176d4c8f1a53bb668f647275165d7ac"},"tracesId":10324332},"consignee":{"id":"39f0666f-18f4-ea11-a815-000d3abb516e","type":"consignee","companyName":"1cced80eefe4974e79aa6ad2325a0f4c4cca8800366441f66b8776a9201ee278","address":{"addressLine1":"3457b1617fe56912104fc55806c28dfca8a70a42ac40e6569982a79a71141365","addressLine2":"52a038609297458a7e68ee13def2d1339f256e9acc91ddb136a763ace66b596f","city":"d1e68b3bff45c0be7a475ab30b0775a8d8dbbbb19ac6b1f92e78d4d0aba0ace0","postalZipCode":"26a82f137288fdc1138dbaca31f2bb3c70512f773e13b1ce00535b3f20b2820a","countryISOCode":"GB","telephone":"2164216d8b9049aab58a669c47fb766bd8f84ae19833efdbc77a3d95e698b260","email":"244cd05296392fb4efe205f12c7e5405725c3ee84ee20121bf47a63447d0bb05"},"tracesId":10255845},"importer":{"id":"39f0666f-18f4-ea11-a815-000d3abb516e","type":"importer","companyName":"1cced80eefe4974e79aa6ad2325a0f4c4cca8800366441f66b8776a9201ee278","address":{"addressLine1":"3457b1617fe56912104fc55806c28dfca8a70a42ac40e6569982a79a71141365","addressLine2":"52a038609297458a7e68ee13def2d1339f256e9acc91ddb136a763ace66b596f","city":"d1e68b3bff45c0be7a475ab30b0775a8d8dbbbb19ac6b1f92e78d4d0aba0ace0","postalZipCode":"26a82f137288fdc1138dbaca31f2bb3c70512f773e13b1ce00535b3f20b2820a","countryISOCode":"GB","telephone":"2164216d8b9049aab58a669c47fb766bd8f84ae19833efdbc77a3d95e698b260","email":"244cd05296392fb4efe205f12c7e5405725c3ee84ee20121bf47a63447d0bb05"},"tracesId":10255845},"placeOfDestination":{"id":"39f0666f-18f4-ea11-a815-000d3abb516e","type":"destination","companyName":"1cced80eefe4974e79aa6ad2325a0f4c4cca8800366441f66b8776a9201ee278","address":{"addressLine1":"3457b1617fe56912104fc55806c28dfca8a70a42ac40e6569982a79a71141365","addressLine2":"52a038609297458a7e68ee13def2d1339f256e9acc91ddb136a763ace66b596f","city":"d1e68b3bff45c0be7a475ab30b0775a8d8dbbbb19ac6b1f92e78d4d0aba0ace0","postalZipCode":"26a82f137288fdc1138dbaca31f2bb3c70512f773e13b1ce00535b3f20b2820a","countryISOCode":"GB","telephone":"2164216d8b9049aab58a669c47fb766bd8f84ae19833efdbc77a3d95e698b260","email":"244cd05296392fb4efe205f12c7e5405725c3ee84ee20121bf47a63447d0bb05"},"tracesId":10255845},"commodities":{"totalGrossWeight":965,"totalNetWeight":771.8,"numberOfPackages":170,"commodityComplement":[{"commodityID":"08101000","commodityDescription":"Strawberries","complementID":2,"complementName":"Fragaria x ananassa","eppoCode":"FRAAN","speciesID":"60518","speciesName":"Fragaria x ananassa","speciesClass":"340015","speciesNomination":"Fragaria x ananassa","isCdsMatched":true}],"complementParameterSet":[{"uniqueComplementID":"2e83d84a-fd99-484f-93b9-b93b1a8c4194","complementID":2,"speciesID":"60518","keyDataPair":[{"key":"marketing_standard","data":"SMS"},{"key":"validity_period","data":"3"},{"key":"regulatory_authority","data":"JOINT"},{"key":"variety","data":"None"},{"key":"class","data":"Class I"},{"key":"low_risk_article72_commodity","data":"true"},{"key":"type_package","data":"Carton"},{"key":"netweight","data":"771.80"},{"key":"number_package","data":"170"},{"key":"quantity","data":"771.80"},{"key":"type_quantity","data":"Kilograms"},{"key":"commodity_group","data":"Fruit and nuts"}]}],"includeNonAblactedAnimals":false,"countryOfOrigin":"MA","countryOfOriginIsPodCountry":false,"consignedCountry":"MA","consignedCountryInChargeGroup":false},"purpose":{"purposeGroup":"For Import"},"pointOfEntry":"GBDOVE2","pointOfEntryControlPoint":"INSPSEV1","arrivalDate":"2024-12-05","arrivalTime":"15:45:00","meansOfTransport":{},"meansOfTransportFromEntryPoint":{"id":"R4551BDD","type":"Road Vehicle","document":"N/A"},"veterinaryInformation":{"accompanyingDocuments":[{"documentType":"commercialInvoice","documentReference":"0160-25","documentIssueDate":"2024-11-23","attachmentId":"920e0f68-1400-4eef-8e90-2dfba2611737","attachmentFilename":"ASF R-4551-BDD(1).pdf","attachmentContentType":"application/pdf","uploadUserId":"e81350f6-8034-eb11-a813-000d3a4aa0dc","uploadOrganisationId":"fe1350f6-8034-eb11-a813-000d3a4aa0dc"},{"documentType":"phytosanitaryCertificate","documentReference":"6573/ONSSA/DR2/SPV LARACHE/2024","documentIssueDate":"2024-11-23","attachmentId":"a60ed08c-2400-40af-a7f3-6876b025983e","attachmentFilename":"ASF R-4551-BDD.pdf","attachmentContentType":"application/pdf","uploadUserId":"d35f313a-6457-ec11-8f8f-6045bd88a791","uploadOrganisationId":"fe1350f6-8034-eb11-a813-000d3a4aa0dc"}]},"submissionDate":"2024-12-05T15:30:36.449026324Z","submittedBy":{"displayName":"d29dc1245fc8438e7a2fa79bb6b8f84842570e2a6cb3eacd968ca50d892d4349","userId":"d35f313a-6457-ec11-8f8f-6045bd88a791"},"complexCommoditySelected":true,"contactDetails":{"name":"Gabriella Fantetti","telephone":"01634823346","email":"info@mcelogistics.co.uk","agent":"MCE Logistics"},"isGVMSRoute":true,"isChargeable":true,"wasChargeable":true,"billingInformation":{"isConfirmed":true,"emailAddress":"salesadmin@angussoftfruits.com","phoneNumber":"01634823346","postalAddress":{"addressLine1":"East Seaton Farm","addressLine2":"Arbroath","cityOrTown":"Angus","postalCode":"dd115sd"}},"commonUserCharge":{"wasSentToTradeCharge":true},"provideCtcMrn":"NO"},"partTwo":{"decision":{},"inspectionRequired":"Required"},"partThree":{},"etag":"000000000453DB74","riskDecisionLockingTime":"2024-11-26T18:00:00Z","isRiskDecisionLocked":true,"isCdsFullMatched":true,"chedTypeVersion":1} \ No newline at end of file diff --git a/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/IPAFFS/CHEDPP/2024/12/05/CHEDPP_GB_2024_5202737-568c1698-58cc-42e4-bc03-f46abf0273b3.json b/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/IPAFFS/CHEDPP/2024/12/05/CHEDPP_GB_2024_5202737-568c1698-58cc-42e4-bc03-f46abf0273b3.json new file mode 100644 index 00000000..2d76bfff --- /dev/null +++ b/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/IPAFFS/CHEDPP/2024/12/05/CHEDPP_GB_2024_5202737-568c1698-58cc-42e4-bc03-f46abf0273b3.json @@ -0,0 +1 @@ +{"id":4260152,"referenceNumber":"CHEDPP.GB.2024.5202737","agencyOrganisationId":"fe1350f6-8034-eb11-a813-000d3a4aa0dc","version":2,"lastUpdated":"2024-12-05T11:32:56.156020251Z","lastUpdatedBy":{"displayName":"8c18e8cd289c2fc0a66a08f92e9d6330082c490b803b5e64e949a11b28170c85","userId":"3dd58971-2d3f-e911-a95d-000d3a454f67"},"type":"CHEDPP","status":"AMEND","riskAssessment":{"commodityResults":[{"hmiDecision":"NOTREQUIRED","phsiDecision":"REQUIRED","phsiClassification":"Reduced","phsi":{"documentCheck":true,"identityCheck":true,"physicalCheck":true},"uniqueId":"2e83d84a-fd99-484f-93b9-b93b1a8c4194","eppoCode":"FRAAN","indoorOutdoor":"None","propagation":"None","phsiRuleType":"Commodity"}],"assessmentDateTime":"2024-11-26T10:13:20.600768172"},"isHighRiskEuImport":false,"partOne":{"personResponsible":{"name":"df3218131ca41b07f497111a64bc6dfd99d8c73e58472ee39cea6079ad2636f8","companyId":"39f0666f-18f4-ea11-a815-000d3abb516e","companyName":"1cced80eefe4974e79aa6ad2325a0f4c4cca8800366441f66b8776a9201ee278","address":["3457b1617fe56912104fc55806c28dfca8a70a42ac40e6569982a79a71141365","52a038609297458a7e68ee13def2d1339f256e9acc91ddb136a763ace66b596f","9aa386e102ad0048d1c373c694164fdca1b5c659d914beff5d6743f92f7a641f","d1e68b3bff45c0be7a475ab30b0775a8d8dbbbb19ac6b1f92e78d4d0aba0ace0","26a82f137288fdc1138dbaca31f2bb3c70512f773e13b1ce00535b3f20b2820a","b4043b0b8297e379bc559ab33b6ae9c7a9b4ef6519d3baee53270f0c0dd3d960"],"country":"GB","tracesID":1001,"phone":"22ddec2a5d9a12afc5a930f7d81e9b5228cef171cbea0fc9e872288004a722c6","email":"207c2034d4d88313cf490bec5c79d906b13ce107429181bc8f741a0fbcfa6b4e","contactId":"9879f422-9c2d-ec11-b6e5-6045bd8cd550"},"consignor":{"id":"7984115d-c7aa-4ec2-8a3f-5d5fba381c10","type":"exporter","status":"nonapproved","companyName":"68351a7ed58eb70dcedc83d84c99f60918bc3a2b9434d7e327a53ccaaac14c09","address":{"addressLine1":"58f728b6c9172a2bcb6a7ffb2ab8fca6f2d7867bb48681f5ce380c8a43540794","city":"445c5ffad884c3250128310bfc1ea80e72536c1555f5933f1f0c1754df66894e","postalZipCode":"9af15b336e6a9619928537df30b2e6a2376569fcf9d7e773eccede65606529a0","countryISOCode":"MA","telephone":"3f5807ee905f5f3f19c16e8e523c5233d203e6118709ba679bdfd5499a16c03e","email":"51982952de7fd41b107580ae073e8fd9b176d4c8f1a53bb668f647275165d7ac"},"tracesId":10324332},"consignee":{"id":"39f0666f-18f4-ea11-a815-000d3abb516e","type":"consignee","companyName":"1cced80eefe4974e79aa6ad2325a0f4c4cca8800366441f66b8776a9201ee278","address":{"addressLine1":"3457b1617fe56912104fc55806c28dfca8a70a42ac40e6569982a79a71141365","addressLine2":"52a038609297458a7e68ee13def2d1339f256e9acc91ddb136a763ace66b596f","city":"d1e68b3bff45c0be7a475ab30b0775a8d8dbbbb19ac6b1f92e78d4d0aba0ace0","postalZipCode":"26a82f137288fdc1138dbaca31f2bb3c70512f773e13b1ce00535b3f20b2820a","countryISOCode":"GB","telephone":"2164216d8b9049aab58a669c47fb766bd8f84ae19833efdbc77a3d95e698b260","email":"244cd05296392fb4efe205f12c7e5405725c3ee84ee20121bf47a63447d0bb05"},"tracesId":10255845},"importer":{"id":"39f0666f-18f4-ea11-a815-000d3abb516e","type":"importer","companyName":"1cced80eefe4974e79aa6ad2325a0f4c4cca8800366441f66b8776a9201ee278","address":{"addressLine1":"3457b1617fe56912104fc55806c28dfca8a70a42ac40e6569982a79a71141365","addressLine2":"52a038609297458a7e68ee13def2d1339f256e9acc91ddb136a763ace66b596f","city":"d1e68b3bff45c0be7a475ab30b0775a8d8dbbbb19ac6b1f92e78d4d0aba0ace0","postalZipCode":"26a82f137288fdc1138dbaca31f2bb3c70512f773e13b1ce00535b3f20b2820a","countryISOCode":"GB","telephone":"2164216d8b9049aab58a669c47fb766bd8f84ae19833efdbc77a3d95e698b260","email":"244cd05296392fb4efe205f12c7e5405725c3ee84ee20121bf47a63447d0bb05"},"tracesId":10255845},"placeOfDestination":{"id":"39f0666f-18f4-ea11-a815-000d3abb516e","type":"destination","companyName":"1cced80eefe4974e79aa6ad2325a0f4c4cca8800366441f66b8776a9201ee278","address":{"addressLine1":"3457b1617fe56912104fc55806c28dfca8a70a42ac40e6569982a79a71141365","addressLine2":"52a038609297458a7e68ee13def2d1339f256e9acc91ddb136a763ace66b596f","city":"d1e68b3bff45c0be7a475ab30b0775a8d8dbbbb19ac6b1f92e78d4d0aba0ace0","postalZipCode":"26a82f137288fdc1138dbaca31f2bb3c70512f773e13b1ce00535b3f20b2820a","countryISOCode":"GB","telephone":"2164216d8b9049aab58a669c47fb766bd8f84ae19833efdbc77a3d95e698b260","email":"244cd05296392fb4efe205f12c7e5405725c3ee84ee20121bf47a63447d0bb05"},"tracesId":10255845},"commodities":{"totalGrossWeight":965,"totalNetWeight":771.8,"numberOfPackages":179,"commodityComplement":[{"commodityID":"08101000","commodityDescription":"Strawberries","complementID":2,"complementName":"Fragaria x ananassa","eppoCode":"FRAAN","speciesID":"60518","speciesName":"Fragaria x ananassa","speciesClass":"340015","speciesNomination":"Fragaria x ananassa","isCdsMatched":false}],"complementParameterSet":[{"uniqueComplementID":"2e83d84a-fd99-484f-93b9-b93b1a8c4194","complementID":2,"speciesID":"60518","keyDataPair":[{"key":"marketing_standard","data":"SMS"},{"key":"validity_period","data":"3"},{"key":"regulatory_authority","data":"JOINT"},{"key":"variety","data":"None"},{"key":"class","data":"Class I"},{"key":"low_risk_article72_commodity","data":"true"},{"key":"type_package","data":"Carton"},{"key":"netweight","data":"771.80"},{"key":"number_package","data":"179"},{"key":"quantity","data":"771.80"},{"key":"type_quantity","data":"Kilograms"},{"key":"commodity_group","data":"Fruit and nuts"}]}],"includeNonAblactedAnimals":false,"countryOfOrigin":"MA","countryOfOriginIsPodCountry":false,"consignedCountry":"MA","consignedCountryInChargeGroup":false},"purpose":{"purposeGroup":"For Import"},"pointOfEntry":"GBDOVE2","pointOfEntryControlPoint":"INSPSEV1","arrivalDate":"2024-11-26","arrivalTime":"20:00:00","meansOfTransport":{},"meansOfTransportFromEntryPoint":{"id":"R4551BDD","type":"Road Vehicle","document":"N/A"},"veterinaryInformation":{"accompanyingDocuments":[{"documentType":"phytosanitaryCertificate","documentReference":"56573","documentIssueDate":"2024-11-23","attachmentId":"882e8393-fb04-413d-a039-002708dd12d4","attachmentFilename":"ASF R-4551-BDD.pdf","attachmentContentType":"application/pdf","uploadUserId":"e81350f6-8034-eb11-a813-000d3a4aa0dc","uploadOrganisationId":"fe1350f6-8034-eb11-a813-000d3a4aa0dc"},{"documentType":"commercialInvoice","documentReference":"0160-25","documentIssueDate":"2024-11-23","attachmentId":"920e0f68-1400-4eef-8e90-2dfba2611737","attachmentFilename":"ASF R-4551-BDD(1).pdf","attachmentContentType":"application/pdf","uploadUserId":"e81350f6-8034-eb11-a813-000d3a4aa0dc","uploadOrganisationId":"fe1350f6-8034-eb11-a813-000d3a4aa0dc"}]},"submissionDate":"2024-11-26T10:13:19.212202595Z","submittedBy":{"displayName":"7af0ca2a30c7684f91947985eea370671f6a488210302a769e5ec38e4a34f9ae","userId":"e81350f6-8034-eb11-a813-000d3a4aa0dc"},"complexCommoditySelected":true,"contactDetails":{"name":"Gabriella Fantetti","telephone":"01634823346","email":"info@mcelogistics.co.uk","agent":"MCE Logistics"},"isGVMSRoute":true,"isChargeable":true,"wasChargeable":true,"billingInformation":{"isConfirmed":true,"emailAddress":"salesadmin@angussoftfruits.com","phoneNumber":"01634823346","postalAddress":{"addressLine1":"East Seaton Farm","addressLine2":"Arbroath","cityOrTown":"Angus","postalCode":"dd115sd"}},"commonUserCharge":{"wasSentToTradeCharge":true},"provideCtcMrn":"NO"},"partTwo":{"decision":{},"inspectionRequired":"Required"},"partThree":{},"consignmentValidation":[{"field":"uk/gov/defra/tracesx/notificationschema/representation/notification/","message":"Enter an estimated arrival date and time at BCP that is not in the past"}],"etag":"000000000452D71F","riskDecisionLockingTime":"2024-11-26T18:00:00Z","isRiskDecisionLocked":true,"isCdsFullMatched":false,"chedTypeVersion":1} \ No newline at end of file diff --git a/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/IPAFFS/CHEDPP/2024/12/05/CHEDPP_GB_2024_5202737-5eb8c483-6d30-461d-a86f-f3edb503dd86.json b/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/IPAFFS/CHEDPP/2024/12/05/CHEDPP_GB_2024_5202737-5eb8c483-6d30-461d-a86f-f3edb503dd86.json new file mode 100644 index 00000000..06c50178 --- /dev/null +++ b/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/IPAFFS/CHEDPP/2024/12/05/CHEDPP_GB_2024_5202737-5eb8c483-6d30-461d-a86f-f3edb503dd86.json @@ -0,0 +1 @@ +{"id":4262529,"referenceNumber":"CHEDPP.GB.2024.5202737","agencyOrganisationId":"fe1350f6-8034-eb11-a813-000d3a4aa0dc","version":3,"lastUpdated":"2024-12-05T15:30:36.473Z","lastUpdatedBy":{"displayName":"d29dc1245fc8438e7a2fa79bb6b8f84842570e2a6cb3eacd968ca50d892d4349","userId":"d35f313a-6457-ec11-8f8f-6045bd88a791"},"type":"CHEDPP","status":"IN_PROGRESS","riskAssessment":{"commodityResults":[{"hmiDecision":"NOTREQUIRED","phsiDecision":"REQUIRED","phsiClassification":"Reduced","phsi":{"documentCheck":true,"identityCheck":true,"physicalCheck":true},"uniqueId":"2e83d84a-fd99-484f-93b9-b93b1a8c4194","eppoCode":"FRAAN","indoorOutdoor":"None","propagation":"None","phsiRuleType":"Commodity"}],"assessmentDateTime":"2024-11-26T10:13:20.600768172"},"isHighRiskEuImport":false,"partOne":{"personResponsible":{"name":"df3218131ca41b07f497111a64bc6dfd99d8c73e58472ee39cea6079ad2636f8","companyId":"39f0666f-18f4-ea11-a815-000d3abb516e","companyName":"1cced80eefe4974e79aa6ad2325a0f4c4cca8800366441f66b8776a9201ee278","address":["3457b1617fe56912104fc55806c28dfca8a70a42ac40e6569982a79a71141365","52a038609297458a7e68ee13def2d1339f256e9acc91ddb136a763ace66b596f","9aa386e102ad0048d1c373c694164fdca1b5c659d914beff5d6743f92f7a641f","d1e68b3bff45c0be7a475ab30b0775a8d8dbbbb19ac6b1f92e78d4d0aba0ace0","26a82f137288fdc1138dbaca31f2bb3c70512f773e13b1ce00535b3f20b2820a","b4043b0b8297e379bc559ab33b6ae9c7a9b4ef6519d3baee53270f0c0dd3d960"],"country":"GB","tracesID":1001,"phone":"22ddec2a5d9a12afc5a930f7d81e9b5228cef171cbea0fc9e872288004a722c6","email":"207c2034d4d88313cf490bec5c79d906b13ce107429181bc8f741a0fbcfa6b4e","contactId":"9879f422-9c2d-ec11-b6e5-6045bd8cd550"},"consignor":{"id":"7984115d-c7aa-4ec2-8a3f-5d5fba381c10","type":"exporter","status":"nonapproved","companyName":"68351a7ed58eb70dcedc83d84c99f60918bc3a2b9434d7e327a53ccaaac14c09","address":{"addressLine1":"58f728b6c9172a2bcb6a7ffb2ab8fca6f2d7867bb48681f5ce380c8a43540794","city":"445c5ffad884c3250128310bfc1ea80e72536c1555f5933f1f0c1754df66894e","postalZipCode":"9af15b336e6a9619928537df30b2e6a2376569fcf9d7e773eccede65606529a0","countryISOCode":"MA","telephone":"3f5807ee905f5f3f19c16e8e523c5233d203e6118709ba679bdfd5499a16c03e","email":"51982952de7fd41b107580ae073e8fd9b176d4c8f1a53bb668f647275165d7ac"},"tracesId":10324332},"consignee":{"id":"39f0666f-18f4-ea11-a815-000d3abb516e","type":"consignee","companyName":"1cced80eefe4974e79aa6ad2325a0f4c4cca8800366441f66b8776a9201ee278","address":{"addressLine1":"3457b1617fe56912104fc55806c28dfca8a70a42ac40e6569982a79a71141365","addressLine2":"52a038609297458a7e68ee13def2d1339f256e9acc91ddb136a763ace66b596f","city":"d1e68b3bff45c0be7a475ab30b0775a8d8dbbbb19ac6b1f92e78d4d0aba0ace0","postalZipCode":"26a82f137288fdc1138dbaca31f2bb3c70512f773e13b1ce00535b3f20b2820a","countryISOCode":"GB","telephone":"2164216d8b9049aab58a669c47fb766bd8f84ae19833efdbc77a3d95e698b260","email":"244cd05296392fb4efe205f12c7e5405725c3ee84ee20121bf47a63447d0bb05"},"tracesId":10255845},"importer":{"id":"39f0666f-18f4-ea11-a815-000d3abb516e","type":"importer","companyName":"1cced80eefe4974e79aa6ad2325a0f4c4cca8800366441f66b8776a9201ee278","address":{"addressLine1":"3457b1617fe56912104fc55806c28dfca8a70a42ac40e6569982a79a71141365","addressLine2":"52a038609297458a7e68ee13def2d1339f256e9acc91ddb136a763ace66b596f","city":"d1e68b3bff45c0be7a475ab30b0775a8d8dbbbb19ac6b1f92e78d4d0aba0ace0","postalZipCode":"26a82f137288fdc1138dbaca31f2bb3c70512f773e13b1ce00535b3f20b2820a","countryISOCode":"GB","telephone":"2164216d8b9049aab58a669c47fb766bd8f84ae19833efdbc77a3d95e698b260","email":"244cd05296392fb4efe205f12c7e5405725c3ee84ee20121bf47a63447d0bb05"},"tracesId":10255845},"placeOfDestination":{"id":"39f0666f-18f4-ea11-a815-000d3abb516e","type":"destination","companyName":"1cced80eefe4974e79aa6ad2325a0f4c4cca8800366441f66b8776a9201ee278","address":{"addressLine1":"3457b1617fe56912104fc55806c28dfca8a70a42ac40e6569982a79a71141365","addressLine2":"52a038609297458a7e68ee13def2d1339f256e9acc91ddb136a763ace66b596f","city":"d1e68b3bff45c0be7a475ab30b0775a8d8dbbbb19ac6b1f92e78d4d0aba0ace0","postalZipCode":"26a82f137288fdc1138dbaca31f2bb3c70512f773e13b1ce00535b3f20b2820a","countryISOCode":"GB","telephone":"2164216d8b9049aab58a669c47fb766bd8f84ae19833efdbc77a3d95e698b260","email":"244cd05296392fb4efe205f12c7e5405725c3ee84ee20121bf47a63447d0bb05"},"tracesId":10255845},"commodities":{"totalGrossWeight":965,"totalNetWeight":771.8,"numberOfPackages":170,"commodityComplement":[{"commodityID":"08101000","commodityDescription":"Strawberries","complementID":2,"complementName":"Fragaria x ananassa","eppoCode":"FRAAN","speciesID":"60518","speciesName":"Fragaria x ananassa","speciesClass":"340015","speciesNomination":"Fragaria x ananassa","isCdsMatched":true}],"complementParameterSet":[{"uniqueComplementID":"2e83d84a-fd99-484f-93b9-b93b1a8c4194","complementID":2,"speciesID":"60518","keyDataPair":[{"key":"marketing_standard","data":"SMS"},{"key":"validity_period","data":"3"},{"key":"regulatory_authority","data":"JOINT"},{"key":"variety","data":"None"},{"key":"class","data":"Class I"},{"key":"low_risk_article72_commodity","data":"true"},{"key":"type_package","data":"Carton"},{"key":"netweight","data":"771.80"},{"key":"number_package","data":"170"},{"key":"quantity","data":"771.80"},{"key":"type_quantity","data":"Kilograms"},{"key":"commodity_group","data":"Fruit and nuts"}]}],"includeNonAblactedAnimals":false,"countryOfOrigin":"MA","countryOfOriginIsPodCountry":false,"consignedCountry":"MA","consignedCountryInChargeGroup":false},"purpose":{"purposeGroup":"For Import"},"pointOfEntry":"GBDOVE2","pointOfEntryControlPoint":"INSPSEV1","arrivalDate":"2024-12-05","arrivalTime":"15:45:00","meansOfTransport":{},"meansOfTransportFromEntryPoint":{"id":"R4551BDD","type":"Road Vehicle","document":"N/A"},"veterinaryInformation":{"accompanyingDocuments":[{"documentType":"commercialInvoice","documentReference":"0160-25","documentIssueDate":"2024-11-23","attachmentId":"920e0f68-1400-4eef-8e90-2dfba2611737","attachmentFilename":"ASF R-4551-BDD(1).pdf","attachmentContentType":"application/pdf","uploadUserId":"e81350f6-8034-eb11-a813-000d3a4aa0dc","uploadOrganisationId":"fe1350f6-8034-eb11-a813-000d3a4aa0dc"},{"documentType":"phytosanitaryCertificate","documentReference":"6573/ONSSA/DR2/SPV LARACHE/2024","documentIssueDate":"2024-11-23","attachmentId":"a60ed08c-2400-40af-a7f3-6876b025983e","attachmentFilename":"ASF R-4551-BDD.pdf","attachmentContentType":"application/pdf","uploadUserId":"d35f313a-6457-ec11-8f8f-6045bd88a791","uploadOrganisationId":"fe1350f6-8034-eb11-a813-000d3a4aa0dc"}]},"submissionDate":"2024-12-05T15:30:36.449026324Z","submittedBy":{"displayName":"d29dc1245fc8438e7a2fa79bb6b8f84842570e2a6cb3eacd968ca50d892d4349","userId":"d35f313a-6457-ec11-8f8f-6045bd88a791"},"complexCommoditySelected":true,"contactDetails":{"name":"Gabriella Fantetti","telephone":"01634823346","email":"info@mcelogistics.co.uk","agent":"MCE Logistics"},"isGVMSRoute":true,"isChargeable":true,"wasChargeable":true,"billingInformation":{"isConfirmed":true,"emailAddress":"salesadmin@angussoftfruits.com","phoneNumber":"01634823346","postalAddress":{"addressLine1":"East Seaton Farm","addressLine2":"Arbroath","cityOrTown":"Angus","postalCode":"dd115sd"}},"commonUserCharge":{"wasSentToTradeCharge":true},"provideCtcMrn":"NO"},"partTwo":{"decision":{},"controlAuthority":{"officialVeterinarian":{"firstName":"0286249762f7c94349cdc0ba3bb2255baf9a80036e2193ead1d77696f888582f","lastName":"15f3a2898addfc6c5c4c3795f83a5211e2a895ad7df243746aeeefd4f070f574","email":"a9c126b0f4ea6629154a95732c4e02d695f59d52ce4fdfe9f211278ade32d28a","phone":"4b25d4b15dc438f346ae664fbbdc86a5e0ac8287659299a90a347e3ff9507d7c","signed":"2024-12-05T15:45:02.023912736"}},"commodityChecks":[{"uniqueComplementId":"2e83d84a-fd99-484f-93b9-b93b1a8c4194","checks":[{"type":"PHSI_DOCUMENT","status":"To do"},{"type":"PHSI_IDENTITY","status":"To do"},{"type":"PHSI_PHYSICAL","status":"To do"},{"type":"HMI","status":"Auto cleared","hasChecksComplete":true}]}],"inspectionRequired":"Required"},"partThree":{},"etag":"000000000453DB84","riskDecisionLockingTime":"2024-11-26T18:00:00Z","isRiskDecisionLocked":true,"isCdsFullMatched":true,"chedTypeVersion":1} \ No newline at end of file diff --git a/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/IPAFFS/CHEDPP/2024/12/05/CHEDPP_GB_2024_5202737-67f20a20-3415-4361-91de-e429efdd1a74.json b/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/IPAFFS/CHEDPP/2024/12/05/CHEDPP_GB_2024_5202737-67f20a20-3415-4361-91de-e429efdd1a74.json new file mode 100644 index 00000000..4db84cd1 --- /dev/null +++ b/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/IPAFFS/CHEDPP/2024/12/05/CHEDPP_GB_2024_5202737-67f20a20-3415-4361-91de-e429efdd1a74.json @@ -0,0 +1 @@ +{"id":4262529,"referenceNumber":"CHEDPP.GB.2024.5202737","agencyOrganisationId":"fe1350f6-8034-eb11-a813-000d3a4aa0dc","version":3,"lastUpdated":"2024-12-05T15:22:42.3351018Z","lastUpdatedBy":{"displayName":"1ab303b7d9c2a8880fa4ce48dd190a71db97d0d6c6460f2507af91399d7c715b","userId":"3dd58971-2d3f-e911-a95d-000d3a454f67"},"type":"CHEDPP","status":"AMEND","riskAssessment":{"commodityResults":[{"hmiDecision":"NOTREQUIRED","phsiDecision":"REQUIRED","phsiClassification":"Reduced","phsi":{"documentCheck":true,"identityCheck":true,"physicalCheck":true},"uniqueId":"2e83d84a-fd99-484f-93b9-b93b1a8c4194","eppoCode":"FRAAN","indoorOutdoor":"None","propagation":"None","phsiRuleType":"Commodity"}],"assessmentDateTime":"2024-11-26T10:13:20.600768172"},"isHighRiskEuImport":false,"partOne":{"personResponsible":{"name":"df3218131ca41b07f497111a64bc6dfd99d8c73e58472ee39cea6079ad2636f8","companyId":"39f0666f-18f4-ea11-a815-000d3abb516e","companyName":"1cced80eefe4974e79aa6ad2325a0f4c4cca8800366441f66b8776a9201ee278","address":["3457b1617fe56912104fc55806c28dfca8a70a42ac40e6569982a79a71141365","52a038609297458a7e68ee13def2d1339f256e9acc91ddb136a763ace66b596f","9aa386e102ad0048d1c373c694164fdca1b5c659d914beff5d6743f92f7a641f","d1e68b3bff45c0be7a475ab30b0775a8d8dbbbb19ac6b1f92e78d4d0aba0ace0","26a82f137288fdc1138dbaca31f2bb3c70512f773e13b1ce00535b3f20b2820a","b4043b0b8297e379bc559ab33b6ae9c7a9b4ef6519d3baee53270f0c0dd3d960"],"country":"GB","tracesID":1001,"phone":"22ddec2a5d9a12afc5a930f7d81e9b5228cef171cbea0fc9e872288004a722c6","email":"207c2034d4d88313cf490bec5c79d906b13ce107429181bc8f741a0fbcfa6b4e","contactId":"9879f422-9c2d-ec11-b6e5-6045bd8cd550"},"consignor":{"id":"7984115d-c7aa-4ec2-8a3f-5d5fba381c10","type":"exporter","status":"nonapproved","companyName":"68351a7ed58eb70dcedc83d84c99f60918bc3a2b9434d7e327a53ccaaac14c09","address":{"addressLine1":"58f728b6c9172a2bcb6a7ffb2ab8fca6f2d7867bb48681f5ce380c8a43540794","city":"445c5ffad884c3250128310bfc1ea80e72536c1555f5933f1f0c1754df66894e","postalZipCode":"9af15b336e6a9619928537df30b2e6a2376569fcf9d7e773eccede65606529a0","countryISOCode":"MA","telephone":"3f5807ee905f5f3f19c16e8e523c5233d203e6118709ba679bdfd5499a16c03e","email":"51982952de7fd41b107580ae073e8fd9b176d4c8f1a53bb668f647275165d7ac"},"tracesId":10324332},"consignee":{"id":"39f0666f-18f4-ea11-a815-000d3abb516e","type":"consignee","companyName":"1cced80eefe4974e79aa6ad2325a0f4c4cca8800366441f66b8776a9201ee278","address":{"addressLine1":"3457b1617fe56912104fc55806c28dfca8a70a42ac40e6569982a79a71141365","addressLine2":"52a038609297458a7e68ee13def2d1339f256e9acc91ddb136a763ace66b596f","city":"d1e68b3bff45c0be7a475ab30b0775a8d8dbbbb19ac6b1f92e78d4d0aba0ace0","postalZipCode":"26a82f137288fdc1138dbaca31f2bb3c70512f773e13b1ce00535b3f20b2820a","countryISOCode":"GB","telephone":"2164216d8b9049aab58a669c47fb766bd8f84ae19833efdbc77a3d95e698b260","email":"244cd05296392fb4efe205f12c7e5405725c3ee84ee20121bf47a63447d0bb05"},"tracesId":10255845},"importer":{"id":"39f0666f-18f4-ea11-a815-000d3abb516e","type":"importer","companyName":"1cced80eefe4974e79aa6ad2325a0f4c4cca8800366441f66b8776a9201ee278","address":{"addressLine1":"3457b1617fe56912104fc55806c28dfca8a70a42ac40e6569982a79a71141365","addressLine2":"52a038609297458a7e68ee13def2d1339f256e9acc91ddb136a763ace66b596f","city":"d1e68b3bff45c0be7a475ab30b0775a8d8dbbbb19ac6b1f92e78d4d0aba0ace0","postalZipCode":"26a82f137288fdc1138dbaca31f2bb3c70512f773e13b1ce00535b3f20b2820a","countryISOCode":"GB","telephone":"2164216d8b9049aab58a669c47fb766bd8f84ae19833efdbc77a3d95e698b260","email":"244cd05296392fb4efe205f12c7e5405725c3ee84ee20121bf47a63447d0bb05"},"tracesId":10255845},"placeOfDestination":{"id":"39f0666f-18f4-ea11-a815-000d3abb516e","type":"destination","companyName":"1cced80eefe4974e79aa6ad2325a0f4c4cca8800366441f66b8776a9201ee278","address":{"addressLine1":"3457b1617fe56912104fc55806c28dfca8a70a42ac40e6569982a79a71141365","addressLine2":"52a038609297458a7e68ee13def2d1339f256e9acc91ddb136a763ace66b596f","city":"d1e68b3bff45c0be7a475ab30b0775a8d8dbbbb19ac6b1f92e78d4d0aba0ace0","postalZipCode":"26a82f137288fdc1138dbaca31f2bb3c70512f773e13b1ce00535b3f20b2820a","countryISOCode":"GB","telephone":"2164216d8b9049aab58a669c47fb766bd8f84ae19833efdbc77a3d95e698b260","email":"244cd05296392fb4efe205f12c7e5405725c3ee84ee20121bf47a63447d0bb05"},"tracesId":10255845},"commodities":{"totalGrossWeight":965,"totalNetWeight":771.8,"numberOfPackages":170,"commodityComplement":[{"commodityID":"08101000","commodityDescription":"Strawberries","complementID":2,"complementName":"Fragaria x ananassa","eppoCode":"FRAAN","speciesID":"60518","speciesName":"Fragaria x ananassa","speciesClass":"340015","speciesNomination":"Fragaria x ananassa","isCdsMatched":true}],"complementParameterSet":[{"uniqueComplementID":"2e83d84a-fd99-484f-93b9-b93b1a8c4194","complementID":2,"speciesID":"60518","keyDataPair":[{"key":"marketing_standard","data":"SMS"},{"key":"validity_period","data":"3"},{"key":"regulatory_authority","data":"JOINT"},{"key":"variety","data":"None"},{"key":"class","data":"Class I"},{"key":"low_risk_article72_commodity","data":"true"},{"key":"type_package","data":"Carton"},{"key":"netweight","data":"771.80"},{"key":"number_package","data":"170"},{"key":"quantity","data":"771.80"},{"key":"type_quantity","data":"Kilograms"},{"key":"commodity_group","data":"Fruit and nuts"}]}],"includeNonAblactedAnimals":false,"countryOfOrigin":"MA","countryOfOriginIsPodCountry":false,"consignedCountry":"MA","consignedCountryInChargeGroup":false},"purpose":{"purposeGroup":"For Import"},"pointOfEntry":"GBDOVE2","pointOfEntryControlPoint":"INSPSEV1","arrivalDate":"2024-12-05","arrivalTime":"11:40:00","meansOfTransport":{},"meansOfTransportFromEntryPoint":{"id":"R4551BDD","type":"Road Vehicle","document":"N/A"},"veterinaryInformation":{"accompanyingDocuments":[{"documentType":"phytosanitaryCertificate","documentReference":"56573","documentIssueDate":"2024-11-23","attachmentId":"882e8393-fb04-413d-a039-002708dd12d4","attachmentFilename":"ASF R-4551-BDD.pdf","attachmentContentType":"application/pdf","uploadUserId":"e81350f6-8034-eb11-a813-000d3a4aa0dc","uploadOrganisationId":"fe1350f6-8034-eb11-a813-000d3a4aa0dc"},{"documentType":"commercialInvoice","documentReference":"0160-25","documentIssueDate":"2024-11-23","attachmentId":"920e0f68-1400-4eef-8e90-2dfba2611737","attachmentFilename":"ASF R-4551-BDD(1).pdf","attachmentContentType":"application/pdf","uploadUserId":"e81350f6-8034-eb11-a813-000d3a4aa0dc","uploadOrganisationId":"fe1350f6-8034-eb11-a813-000d3a4aa0dc"}]},"submissionDate":"2024-12-05T11:37:38.031563139Z","submittedBy":{"displayName":"7af0ca2a30c7684f91947985eea370671f6a488210302a769e5ec38e4a34f9ae","userId":"e81350f6-8034-eb11-a813-000d3a4aa0dc"},"complexCommoditySelected":true,"contactDetails":{"name":"Gabriella Fantetti","telephone":"01634823346","email":"info@mcelogistics.co.uk","agent":"MCE Logistics"},"isGVMSRoute":true,"isChargeable":true,"wasChargeable":true,"billingInformation":{"isConfirmed":true,"emailAddress":"salesadmin@angussoftfruits.com","phoneNumber":"01634823346","postalAddress":{"addressLine1":"East Seaton Farm","addressLine2":"Arbroath","cityOrTown":"Angus","postalCode":"dd115sd"}},"commonUserCharge":{"wasSentToTradeCharge":true},"provideCtcMrn":"NO"},"partTwo":{"decision":{},"inspectionRequired":"Required"},"partThree":{},"consignmentValidation":[{"field":"uk/gov/defra/tracesx/notificationschema/representation/notification/","message":"Enter an estimated arrival date and time at BCP that is not in the past"}],"etag":"000000000453150D","riskDecisionLockingTime":"2024-11-26T18:00:00Z","isRiskDecisionLocked":true,"isCdsFullMatched":true,"chedTypeVersion":1} \ No newline at end of file diff --git a/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/IPAFFS/CHEDPP/2024/12/05/CHEDPP_GB_2024_5202737-8a465e2d-3675-4ee9-b1c6-fd62681bb67f.json b/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/IPAFFS/CHEDPP/2024/12/05/CHEDPP_GB_2024_5202737-8a465e2d-3675-4ee9-b1c6-fd62681bb67f.json new file mode 100644 index 00000000..b79388c3 --- /dev/null +++ b/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/IPAFFS/CHEDPP/2024/12/05/CHEDPP_GB_2024_5202737-8a465e2d-3675-4ee9-b1c6-fd62681bb67f.json @@ -0,0 +1 @@ +{"id":4260152,"referenceNumber":"CHEDPP.GB.2024.5202737","agencyOrganisationId":"fe1350f6-8034-eb11-a813-000d3a4aa0dc","version":2,"lastUpdated":"2024-12-05T11:37:38.047Z","lastUpdatedBy":{"displayName":"7af0ca2a30c7684f91947985eea370671f6a488210302a769e5ec38e4a34f9ae","userId":"e81350f6-8034-eb11-a813-000d3a4aa0dc"},"type":"CHEDPP","status":"IN_PROGRESS","riskAssessment":{"commodityResults":[{"hmiDecision":"NOTREQUIRED","phsiDecision":"REQUIRED","phsiClassification":"Reduced","phsi":{"documentCheck":true,"identityCheck":true,"physicalCheck":true},"uniqueId":"2e83d84a-fd99-484f-93b9-b93b1a8c4194","eppoCode":"FRAAN","indoorOutdoor":"None","propagation":"None","phsiRuleType":"Commodity"}],"assessmentDateTime":"2024-11-26T10:13:20.600768172"},"isHighRiskEuImport":false,"partOne":{"personResponsible":{"name":"df3218131ca41b07f497111a64bc6dfd99d8c73e58472ee39cea6079ad2636f8","companyId":"39f0666f-18f4-ea11-a815-000d3abb516e","companyName":"1cced80eefe4974e79aa6ad2325a0f4c4cca8800366441f66b8776a9201ee278","address":["3457b1617fe56912104fc55806c28dfca8a70a42ac40e6569982a79a71141365","52a038609297458a7e68ee13def2d1339f256e9acc91ddb136a763ace66b596f","9aa386e102ad0048d1c373c694164fdca1b5c659d914beff5d6743f92f7a641f","d1e68b3bff45c0be7a475ab30b0775a8d8dbbbb19ac6b1f92e78d4d0aba0ace0","26a82f137288fdc1138dbaca31f2bb3c70512f773e13b1ce00535b3f20b2820a","b4043b0b8297e379bc559ab33b6ae9c7a9b4ef6519d3baee53270f0c0dd3d960"],"country":"GB","tracesID":1001,"phone":"22ddec2a5d9a12afc5a930f7d81e9b5228cef171cbea0fc9e872288004a722c6","email":"207c2034d4d88313cf490bec5c79d906b13ce107429181bc8f741a0fbcfa6b4e","contactId":"9879f422-9c2d-ec11-b6e5-6045bd8cd550"},"consignor":{"id":"7984115d-c7aa-4ec2-8a3f-5d5fba381c10","type":"exporter","status":"nonapproved","companyName":"68351a7ed58eb70dcedc83d84c99f60918bc3a2b9434d7e327a53ccaaac14c09","address":{"addressLine1":"58f728b6c9172a2bcb6a7ffb2ab8fca6f2d7867bb48681f5ce380c8a43540794","city":"445c5ffad884c3250128310bfc1ea80e72536c1555f5933f1f0c1754df66894e","postalZipCode":"9af15b336e6a9619928537df30b2e6a2376569fcf9d7e773eccede65606529a0","countryISOCode":"MA","telephone":"3f5807ee905f5f3f19c16e8e523c5233d203e6118709ba679bdfd5499a16c03e","email":"51982952de7fd41b107580ae073e8fd9b176d4c8f1a53bb668f647275165d7ac"},"tracesId":10324332},"consignee":{"id":"39f0666f-18f4-ea11-a815-000d3abb516e","type":"consignee","companyName":"1cced80eefe4974e79aa6ad2325a0f4c4cca8800366441f66b8776a9201ee278","address":{"addressLine1":"3457b1617fe56912104fc55806c28dfca8a70a42ac40e6569982a79a71141365","addressLine2":"52a038609297458a7e68ee13def2d1339f256e9acc91ddb136a763ace66b596f","city":"d1e68b3bff45c0be7a475ab30b0775a8d8dbbbb19ac6b1f92e78d4d0aba0ace0","postalZipCode":"26a82f137288fdc1138dbaca31f2bb3c70512f773e13b1ce00535b3f20b2820a","countryISOCode":"GB","telephone":"2164216d8b9049aab58a669c47fb766bd8f84ae19833efdbc77a3d95e698b260","email":"244cd05296392fb4efe205f12c7e5405725c3ee84ee20121bf47a63447d0bb05"},"tracesId":10255845},"importer":{"id":"39f0666f-18f4-ea11-a815-000d3abb516e","type":"importer","companyName":"1cced80eefe4974e79aa6ad2325a0f4c4cca8800366441f66b8776a9201ee278","address":{"addressLine1":"3457b1617fe56912104fc55806c28dfca8a70a42ac40e6569982a79a71141365","addressLine2":"52a038609297458a7e68ee13def2d1339f256e9acc91ddb136a763ace66b596f","city":"d1e68b3bff45c0be7a475ab30b0775a8d8dbbbb19ac6b1f92e78d4d0aba0ace0","postalZipCode":"26a82f137288fdc1138dbaca31f2bb3c70512f773e13b1ce00535b3f20b2820a","countryISOCode":"GB","telephone":"2164216d8b9049aab58a669c47fb766bd8f84ae19833efdbc77a3d95e698b260","email":"244cd05296392fb4efe205f12c7e5405725c3ee84ee20121bf47a63447d0bb05"},"tracesId":10255845},"placeOfDestination":{"id":"39f0666f-18f4-ea11-a815-000d3abb516e","type":"destination","companyName":"1cced80eefe4974e79aa6ad2325a0f4c4cca8800366441f66b8776a9201ee278","address":{"addressLine1":"3457b1617fe56912104fc55806c28dfca8a70a42ac40e6569982a79a71141365","addressLine2":"52a038609297458a7e68ee13def2d1339f256e9acc91ddb136a763ace66b596f","city":"d1e68b3bff45c0be7a475ab30b0775a8d8dbbbb19ac6b1f92e78d4d0aba0ace0","postalZipCode":"26a82f137288fdc1138dbaca31f2bb3c70512f773e13b1ce00535b3f20b2820a","countryISOCode":"GB","telephone":"2164216d8b9049aab58a669c47fb766bd8f84ae19833efdbc77a3d95e698b260","email":"244cd05296392fb4efe205f12c7e5405725c3ee84ee20121bf47a63447d0bb05"},"tracesId":10255845},"commodities":{"totalGrossWeight":965,"totalNetWeight":771.8,"numberOfPackages":170,"commodityComplement":[{"commodityID":"08101000","commodityDescription":"Strawberries","complementID":2,"complementName":"Fragaria x ananassa","eppoCode":"FRAAN","speciesID":"60518","speciesName":"Fragaria x ananassa","speciesClass":"340015","speciesNomination":"Fragaria x ananassa","isCdsMatched":false}],"complementParameterSet":[{"uniqueComplementID":"2e83d84a-fd99-484f-93b9-b93b1a8c4194","complementID":2,"speciesID":"60518","keyDataPair":[{"key":"marketing_standard","data":"SMS"},{"key":"validity_period","data":"3"},{"key":"regulatory_authority","data":"JOINT"},{"key":"variety","data":"None"},{"key":"class","data":"Class I"},{"key":"low_risk_article72_commodity","data":"true"},{"key":"type_package","data":"Carton"},{"key":"netweight","data":"771.80"},{"key":"number_package","data":"170"},{"key":"quantity","data":"771.80"},{"key":"type_quantity","data":"Kilograms"},{"key":"commodity_group","data":"Fruit and nuts"}]}],"includeNonAblactedAnimals":false,"countryOfOrigin":"MA","countryOfOriginIsPodCountry":false,"consignedCountry":"MA","consignedCountryInChargeGroup":false},"purpose":{"purposeGroup":"For Import"},"pointOfEntry":"GBDOVE2","pointOfEntryControlPoint":"INSPSEV1","arrivalDate":"2024-12-05","arrivalTime":"11:40:00","meansOfTransport":{},"meansOfTransportFromEntryPoint":{"id":"R4551BDD","type":"Road Vehicle","document":"N/A"},"veterinaryInformation":{"accompanyingDocuments":[{"documentType":"phytosanitaryCertificate","documentReference":"56573","documentIssueDate":"2024-11-23","attachmentId":"882e8393-fb04-413d-a039-002708dd12d4","attachmentFilename":"ASF R-4551-BDD.pdf","attachmentContentType":"application/pdf","uploadUserId":"e81350f6-8034-eb11-a813-000d3a4aa0dc","uploadOrganisationId":"fe1350f6-8034-eb11-a813-000d3a4aa0dc"},{"documentType":"commercialInvoice","documentReference":"0160-25","documentIssueDate":"2024-11-23","attachmentId":"920e0f68-1400-4eef-8e90-2dfba2611737","attachmentFilename":"ASF R-4551-BDD(1).pdf","attachmentContentType":"application/pdf","uploadUserId":"e81350f6-8034-eb11-a813-000d3a4aa0dc","uploadOrganisationId":"fe1350f6-8034-eb11-a813-000d3a4aa0dc"}]},"submissionDate":"2024-12-05T11:37:38.031563139Z","submittedBy":{"displayName":"7af0ca2a30c7684f91947985eea370671f6a488210302a769e5ec38e4a34f9ae","userId":"e81350f6-8034-eb11-a813-000d3a4aa0dc"},"complexCommoditySelected":true,"contactDetails":{"name":"Gabriella Fantetti","telephone":"01634823346","email":"info@mcelogistics.co.uk","agent":"MCE Logistics"},"isGVMSRoute":true,"isChargeable":true,"wasChargeable":true,"billingInformation":{"isConfirmed":true,"emailAddress":"salesadmin@angussoftfruits.com","phoneNumber":"01634823346","postalAddress":{"addressLine1":"East Seaton Farm","addressLine2":"Arbroath","cityOrTown":"Angus","postalCode":"dd115sd"}},"commonUserCharge":{"wasSentToTradeCharge":true},"provideCtcMrn":"NO"},"partTwo":{"decision":{},"controlAuthority":{"officialVeterinarian":{"firstName":"0286249762f7c94349cdc0ba3bb2255baf9a80036e2193ead1d77696f888582f","lastName":"15f3a2898addfc6c5c4c3795f83a5211e2a895ad7df243746aeeefd4f070f574","email":"a9c126b0f4ea6629154a95732c4e02d695f59d52ce4fdfe9f211278ade32d28a","phone":"4b25d4b15dc438f346ae664fbbdc86a5e0ac8287659299a90a347e3ff9507d7c","signed":"2024-12-05T11:40:02.40269906"}},"commodityChecks":[{"uniqueComplementId":"2e83d84a-fd99-484f-93b9-b93b1a8c4194","checks":[{"type":"PHSI_DOCUMENT","status":"To do"},{"type":"PHSI_IDENTITY","status":"To do"},{"type":"PHSI_PHYSICAL","status":"To do"},{"type":"HMI","status":"Auto cleared","hasChecksComplete":true}]}],"inspectionRequired":"Required"},"partThree":{},"etag":"000000000452FDCE","riskDecisionLockingTime":"2024-11-26T18:00:00Z","isRiskDecisionLocked":true,"chedTypeVersion":1} \ No newline at end of file diff --git a/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/IPAFFS/CHEDPP/2024/12/05/CHEDPP_GB_2024_5202737-ab1fd850-0705-4272-b627-57c2a1034f91.json b/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/IPAFFS/CHEDPP/2024/12/05/CHEDPP_GB_2024_5202737-ab1fd850-0705-4272-b627-57c2a1034f91.json new file mode 100644 index 00000000..1eb343cc --- /dev/null +++ b/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/IPAFFS/CHEDPP/2024/12/05/CHEDPP_GB_2024_5202737-ab1fd850-0705-4272-b627-57c2a1034f91.json @@ -0,0 +1 @@ +{"id":4260152,"referenceNumber":"CHEDPP.GB.2024.5202737","agencyOrganisationId":"fe1350f6-8034-eb11-a813-000d3a4aa0dc","version":2,"lastUpdated":"2024-12-05T11:37:38.047215391Z","lastUpdatedBy":{"displayName":"7af0ca2a30c7684f91947985eea370671f6a488210302a769e5ec38e4a34f9ae","userId":"e81350f6-8034-eb11-a813-000d3a4aa0dc"},"type":"CHEDPP","status":"SUBMITTED","riskAssessment":{"commodityResults":[{"hmiDecision":"NOTREQUIRED","phsiDecision":"REQUIRED","phsiClassification":"Reduced","phsi":{"documentCheck":true,"identityCheck":true,"physicalCheck":true},"uniqueId":"2e83d84a-fd99-484f-93b9-b93b1a8c4194","eppoCode":"FRAAN","indoorOutdoor":"None","propagation":"None","phsiRuleType":"Commodity"}],"assessmentDateTime":"2024-11-26T10:13:20.600768172"},"isHighRiskEuImport":false,"partOne":{"personResponsible":{"name":"df3218131ca41b07f497111a64bc6dfd99d8c73e58472ee39cea6079ad2636f8","companyId":"39f0666f-18f4-ea11-a815-000d3abb516e","companyName":"1cced80eefe4974e79aa6ad2325a0f4c4cca8800366441f66b8776a9201ee278","address":["3457b1617fe56912104fc55806c28dfca8a70a42ac40e6569982a79a71141365","52a038609297458a7e68ee13def2d1339f256e9acc91ddb136a763ace66b596f","9aa386e102ad0048d1c373c694164fdca1b5c659d914beff5d6743f92f7a641f","d1e68b3bff45c0be7a475ab30b0775a8d8dbbbb19ac6b1f92e78d4d0aba0ace0","26a82f137288fdc1138dbaca31f2bb3c70512f773e13b1ce00535b3f20b2820a","b4043b0b8297e379bc559ab33b6ae9c7a9b4ef6519d3baee53270f0c0dd3d960"],"country":"GB","tracesID":1001,"phone":"22ddec2a5d9a12afc5a930f7d81e9b5228cef171cbea0fc9e872288004a722c6","email":"207c2034d4d88313cf490bec5c79d906b13ce107429181bc8f741a0fbcfa6b4e","contactId":"9879f422-9c2d-ec11-b6e5-6045bd8cd550"},"consignor":{"id":"7984115d-c7aa-4ec2-8a3f-5d5fba381c10","type":"exporter","status":"nonapproved","companyName":"68351a7ed58eb70dcedc83d84c99f60918bc3a2b9434d7e327a53ccaaac14c09","address":{"addressLine1":"58f728b6c9172a2bcb6a7ffb2ab8fca6f2d7867bb48681f5ce380c8a43540794","city":"445c5ffad884c3250128310bfc1ea80e72536c1555f5933f1f0c1754df66894e","postalZipCode":"9af15b336e6a9619928537df30b2e6a2376569fcf9d7e773eccede65606529a0","countryISOCode":"MA","telephone":"3f5807ee905f5f3f19c16e8e523c5233d203e6118709ba679bdfd5499a16c03e","email":"51982952de7fd41b107580ae073e8fd9b176d4c8f1a53bb668f647275165d7ac"},"tracesId":10324332},"consignee":{"id":"39f0666f-18f4-ea11-a815-000d3abb516e","type":"consignee","companyName":"1cced80eefe4974e79aa6ad2325a0f4c4cca8800366441f66b8776a9201ee278","address":{"addressLine1":"3457b1617fe56912104fc55806c28dfca8a70a42ac40e6569982a79a71141365","addressLine2":"52a038609297458a7e68ee13def2d1339f256e9acc91ddb136a763ace66b596f","city":"d1e68b3bff45c0be7a475ab30b0775a8d8dbbbb19ac6b1f92e78d4d0aba0ace0","postalZipCode":"26a82f137288fdc1138dbaca31f2bb3c70512f773e13b1ce00535b3f20b2820a","countryISOCode":"GB","telephone":"2164216d8b9049aab58a669c47fb766bd8f84ae19833efdbc77a3d95e698b260","email":"244cd05296392fb4efe205f12c7e5405725c3ee84ee20121bf47a63447d0bb05"},"tracesId":10255845},"importer":{"id":"39f0666f-18f4-ea11-a815-000d3abb516e","type":"importer","companyName":"1cced80eefe4974e79aa6ad2325a0f4c4cca8800366441f66b8776a9201ee278","address":{"addressLine1":"3457b1617fe56912104fc55806c28dfca8a70a42ac40e6569982a79a71141365","addressLine2":"52a038609297458a7e68ee13def2d1339f256e9acc91ddb136a763ace66b596f","city":"d1e68b3bff45c0be7a475ab30b0775a8d8dbbbb19ac6b1f92e78d4d0aba0ace0","postalZipCode":"26a82f137288fdc1138dbaca31f2bb3c70512f773e13b1ce00535b3f20b2820a","countryISOCode":"GB","telephone":"2164216d8b9049aab58a669c47fb766bd8f84ae19833efdbc77a3d95e698b260","email":"244cd05296392fb4efe205f12c7e5405725c3ee84ee20121bf47a63447d0bb05"},"tracesId":10255845},"placeOfDestination":{"id":"39f0666f-18f4-ea11-a815-000d3abb516e","type":"destination","companyName":"1cced80eefe4974e79aa6ad2325a0f4c4cca8800366441f66b8776a9201ee278","address":{"addressLine1":"3457b1617fe56912104fc55806c28dfca8a70a42ac40e6569982a79a71141365","addressLine2":"52a038609297458a7e68ee13def2d1339f256e9acc91ddb136a763ace66b596f","city":"d1e68b3bff45c0be7a475ab30b0775a8d8dbbbb19ac6b1f92e78d4d0aba0ace0","postalZipCode":"26a82f137288fdc1138dbaca31f2bb3c70512f773e13b1ce00535b3f20b2820a","countryISOCode":"GB","telephone":"2164216d8b9049aab58a669c47fb766bd8f84ae19833efdbc77a3d95e698b260","email":"244cd05296392fb4efe205f12c7e5405725c3ee84ee20121bf47a63447d0bb05"},"tracesId":10255845},"commodities":{"totalGrossWeight":965,"totalNetWeight":771.8,"numberOfPackages":170,"commodityComplement":[{"commodityID":"08101000","commodityDescription":"Strawberries","complementID":2,"complementName":"Fragaria x ananassa","eppoCode":"FRAAN","speciesID":"60518","speciesName":"Fragaria x ananassa","speciesClass":"340015","speciesNomination":"Fragaria x ananassa","isCdsMatched":false}],"complementParameterSet":[{"uniqueComplementID":"2e83d84a-fd99-484f-93b9-b93b1a8c4194","complementID":2,"speciesID":"60518","keyDataPair":[{"key":"marketing_standard","data":"SMS"},{"key":"validity_period","data":"3"},{"key":"regulatory_authority","data":"JOINT"},{"key":"variety","data":"None"},{"key":"class","data":"Class I"},{"key":"low_risk_article72_commodity","data":"true"},{"key":"type_package","data":"Carton"},{"key":"netweight","data":"771.80"},{"key":"number_package","data":"170"},{"key":"quantity","data":"771.80"},{"key":"type_quantity","data":"Kilograms"},{"key":"commodity_group","data":"Fruit and nuts"}]}],"includeNonAblactedAnimals":false,"countryOfOrigin":"MA","countryOfOriginIsPodCountry":false,"consignedCountry":"MA","consignedCountryInChargeGroup":false},"purpose":{"purposeGroup":"For Import"},"pointOfEntry":"GBDOVE2","pointOfEntryControlPoint":"INSPSEV1","arrivalDate":"2024-12-05","arrivalTime":"11:40:00","meansOfTransport":{},"meansOfTransportFromEntryPoint":{"id":"R4551BDD","type":"Road Vehicle","document":"N/A"},"veterinaryInformation":{"accompanyingDocuments":[{"documentType":"phytosanitaryCertificate","documentReference":"56573","documentIssueDate":"2024-11-23","attachmentId":"882e8393-fb04-413d-a039-002708dd12d4","attachmentFilename":"ASF R-4551-BDD.pdf","attachmentContentType":"application/pdf","uploadUserId":"e81350f6-8034-eb11-a813-000d3a4aa0dc","uploadOrganisationId":"fe1350f6-8034-eb11-a813-000d3a4aa0dc"},{"documentType":"commercialInvoice","documentReference":"0160-25","documentIssueDate":"2024-11-23","attachmentId":"920e0f68-1400-4eef-8e90-2dfba2611737","attachmentFilename":"ASF R-4551-BDD(1).pdf","attachmentContentType":"application/pdf","uploadUserId":"e81350f6-8034-eb11-a813-000d3a4aa0dc","uploadOrganisationId":"fe1350f6-8034-eb11-a813-000d3a4aa0dc"}]},"submissionDate":"2024-12-05T11:37:38.031563139Z","submittedBy":{"displayName":"7af0ca2a30c7684f91947985eea370671f6a488210302a769e5ec38e4a34f9ae","userId":"e81350f6-8034-eb11-a813-000d3a4aa0dc"},"complexCommoditySelected":true,"contactDetails":{"name":"Gabriella Fantetti","telephone":"01634823346","email":"info@mcelogistics.co.uk","agent":"MCE Logistics"},"isGVMSRoute":true,"isChargeable":true,"wasChargeable":true,"billingInformation":{"isConfirmed":true,"emailAddress":"salesadmin@angussoftfruits.com","phoneNumber":"01634823346","postalAddress":{"addressLine1":"East Seaton Farm","addressLine2":"Arbroath","cityOrTown":"Angus","postalCode":"dd115sd"}},"commonUserCharge":{"wasSentToTradeCharge":true},"provideCtcMrn":"NO"},"partTwo":{"decision":{},"inspectionRequired":"Required"},"partThree":{},"etag":"000000000452FDBB","riskDecisionLockingTime":"2024-11-26T18:00:00Z","isRiskDecisionLocked":true,"chedTypeVersion":1} \ No newline at end of file diff --git a/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/IPAFFS/CHEDPP/2024/12/05/CHEDPP_GB_2024_5202738-6eb8c483-6d30-461d-a86f-f3edb503dd86.json b/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/IPAFFS/CHEDPP/2024/12/05/CHEDPP_GB_2024_5202738-6eb8c483-6d30-461d-a86f-f3edb503dd86.json new file mode 100644 index 00000000..c1f0a471 --- /dev/null +++ b/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/IPAFFS/CHEDPP/2024/12/05/CHEDPP_GB_2024_5202738-6eb8c483-6d30-461d-a86f-f3edb503dd86.json @@ -0,0 +1,308 @@ +{ + "id": 4262529, + "referenceNumber": "CHEDPP.GB.2024.5202738", + "agencyOrganisationId": "fe1350f6-8034-eb11-a813-000d3a4aa0dc", + "version": 3, + "lastUpdated": "2024-12-05T15:30:36.473Z", + "lastUpdatedBy": { + "displayName": "d29dc1245fc8438e7a2fa79bb6b8f84842570e2a6cb3eacd968ca50d892d4349", + "userId": "d35f313a-6457-ec11-8f8f-6045bd88a791" + }, + "type": "CHEDPP", + "status": "PARTIALLY_REJECTED", + "riskAssessment": { + "commodityResults": [ + { + "hmiDecision": "NOTREQUIRED", + "phsiDecision": "REQUIRED", + "phsiClassification": "Reduced", + "phsi": { + "documentCheck": true, + "identityCheck": true, + "physicalCheck": true + }, + "uniqueId": "2e83d84a-fd99-484f-93b9-b93b1a8c4194", + "eppoCode": "FRAAN", + "indoorOutdoor": "None", + "propagation": "None", + "phsiRuleType": "Commodity" + } + ], + "assessmentDateTime": "2024-11-26T10:13:20.600768172" + }, + "isHighRiskEuImport": false, + "partOne": { + "personResponsible": { + "name": "df3218131ca41b07f497111a64bc6dfd99d8c73e58472ee39cea6079ad2636f8", + "companyId": "39f0666f-18f4-ea11-a815-000d3abb516e", + "companyName": "1cced80eefe4974e79aa6ad2325a0f4c4cca8800366441f66b8776a9201ee278", + "address": [ + "3457b1617fe56912104fc55806c28dfca8a70a42ac40e6569982a79a71141365", + "52a038609297458a7e68ee13def2d1339f256e9acc91ddb136a763ace66b596f", + "9aa386e102ad0048d1c373c694164fdca1b5c659d914beff5d6743f92f7a641f", + "d1e68b3bff45c0be7a475ab30b0775a8d8dbbbb19ac6b1f92e78d4d0aba0ace0", + "26a82f137288fdc1138dbaca31f2bb3c70512f773e13b1ce00535b3f20b2820a", + "b4043b0b8297e379bc559ab33b6ae9c7a9b4ef6519d3baee53270f0c0dd3d960" + ], + "country": "GB", + "tracesID": 1001, + "phone": "22ddec2a5d9a12afc5a930f7d81e9b5228cef171cbea0fc9e872288004a722c6", + "email": "207c2034d4d88313cf490bec5c79d906b13ce107429181bc8f741a0fbcfa6b4e", + "contactId": "9879f422-9c2d-ec11-b6e5-6045bd8cd550" + }, + "consignor": { + "id": "7984115d-c7aa-4ec2-8a3f-5d5fba381c10", + "type": "exporter", + "status": "nonapproved", + "companyName": "68351a7ed58eb70dcedc83d84c99f60918bc3a2b9434d7e327a53ccaaac14c09", + "address": { + "addressLine1": "58f728b6c9172a2bcb6a7ffb2ab8fca6f2d7867bb48681f5ce380c8a43540794", + "city": "445c5ffad884c3250128310bfc1ea80e72536c1555f5933f1f0c1754df66894e", + "postalZipCode": "9af15b336e6a9619928537df30b2e6a2376569fcf9d7e773eccede65606529a0", + "countryISOCode": "MA", + "telephone": "3f5807ee905f5f3f19c16e8e523c5233d203e6118709ba679bdfd5499a16c03e", + "email": "51982952de7fd41b107580ae073e8fd9b176d4c8f1a53bb668f647275165d7ac" + }, + "tracesId": 10324332 + }, + "consignee": { + "id": "39f0666f-18f4-ea11-a815-000d3abb516e", + "type": "consignee", + "companyName": "1cced80eefe4974e79aa6ad2325a0f4c4cca8800366441f66b8776a9201ee278", + "address": { + "addressLine1": "3457b1617fe56912104fc55806c28dfca8a70a42ac40e6569982a79a71141365", + "addressLine2": "52a038609297458a7e68ee13def2d1339f256e9acc91ddb136a763ace66b596f", + "city": "d1e68b3bff45c0be7a475ab30b0775a8d8dbbbb19ac6b1f92e78d4d0aba0ace0", + "postalZipCode": "26a82f137288fdc1138dbaca31f2bb3c70512f773e13b1ce00535b3f20b2820a", + "countryISOCode": "GB", + "telephone": "2164216d8b9049aab58a669c47fb766bd8f84ae19833efdbc77a3d95e698b260", + "email": "244cd05296392fb4efe205f12c7e5405725c3ee84ee20121bf47a63447d0bb05" + }, + "tracesId": 10255845 + }, + "importer": { + "id": "39f0666f-18f4-ea11-a815-000d3abb516e", + "type": "importer", + "companyName": "1cced80eefe4974e79aa6ad2325a0f4c4cca8800366441f66b8776a9201ee278", + "address": { + "addressLine1": "3457b1617fe56912104fc55806c28dfca8a70a42ac40e6569982a79a71141365", + "addressLine2": "52a038609297458a7e68ee13def2d1339f256e9acc91ddb136a763ace66b596f", + "city": "d1e68b3bff45c0be7a475ab30b0775a8d8dbbbb19ac6b1f92e78d4d0aba0ace0", + "postalZipCode": "26a82f137288fdc1138dbaca31f2bb3c70512f773e13b1ce00535b3f20b2820a", + "countryISOCode": "GB", + "telephone": "2164216d8b9049aab58a669c47fb766bd8f84ae19833efdbc77a3d95e698b260", + "email": "244cd05296392fb4efe205f12c7e5405725c3ee84ee20121bf47a63447d0bb05" + }, + "tracesId": 10255845 + }, + "placeOfDestination": { + "id": "39f0666f-18f4-ea11-a815-000d3abb516e", + "type": "destination", + "companyName": "1cced80eefe4974e79aa6ad2325a0f4c4cca8800366441f66b8776a9201ee278", + "address": { + "addressLine1": "3457b1617fe56912104fc55806c28dfca8a70a42ac40e6569982a79a71141365", + "addressLine2": "52a038609297458a7e68ee13def2d1339f256e9acc91ddb136a763ace66b596f", + "city": "d1e68b3bff45c0be7a475ab30b0775a8d8dbbbb19ac6b1f92e78d4d0aba0ace0", + "postalZipCode": "26a82f137288fdc1138dbaca31f2bb3c70512f773e13b1ce00535b3f20b2820a", + "countryISOCode": "GB", + "telephone": "2164216d8b9049aab58a669c47fb766bd8f84ae19833efdbc77a3d95e698b260", + "email": "244cd05296392fb4efe205f12c7e5405725c3ee84ee20121bf47a63447d0bb05" + }, + "tracesId": 10255845 + }, + "commodities": { + "totalGrossWeight": 965, + "totalNetWeight": 771.8, + "numberOfPackages": 170, + "commodityComplement": [ + { + "commodityID": "08101000", + "commodityDescription": "Strawberries", + "complementID": 2, + "complementName": "Fragaria x ananassa", + "eppoCode": "FRAAN", + "speciesID": "60518", + "speciesName": "Fragaria x ananassa", + "speciesClass": "340015", + "speciesNomination": "Fragaria x ananassa", + "isCdsMatched": true + } + ], + "complementParameterSet": [ + { + "uniqueComplementID": "2e83d84a-fd99-484f-93b9-b93b1a8c4194", + "complementID": 2, + "speciesID": "60518", + "keyDataPair": [ + { + "key": "marketing_standard", + "data": "SMS" + }, + { + "key": "validity_period", + "data": "3" + }, + { + "key": "regulatory_authority", + "data": "JOINT" + }, + { + "key": "variety", + "data": "None" + }, + { + "key": "class", + "data": "Class I" + }, + { + "key": "low_risk_article72_commodity", + "data": "true" + }, + { + "key": "type_package", + "data": "Carton" + }, + { + "key": "netweight", + "data": "771.80" + }, + { + "key": "number_package", + "data": "170" + }, + { + "key": "quantity", + "data": "771.80" + }, + { + "key": "type_quantity", + "data": "Kilograms" + }, + { + "key": "commodity_group", + "data": "Fruit and nuts" + } + ] + } + ], + "includeNonAblactedAnimals": false, + "countryOfOrigin": "MA", + "countryOfOriginIsPodCountry": false, + "consignedCountry": "MA", + "consignedCountryInChargeGroup": false + }, + "purpose": { + "purposeGroup": "For Import" + }, + "pointOfEntry": "GBDOVE2", + "pointOfEntryControlPoint": "INSPSEV1", + "arrivalDate": "2024-12-05", + "arrivalTime": "15:45:00", + "meansOfTransport": { + }, + "meansOfTransportFromEntryPoint": { + "id": "R4551BDD", + "type": "Road Vehicle", + "document": "N/A" + }, + "veterinaryInformation": { + "accompanyingDocuments": [ + { + "documentType": "commercialInvoice", + "documentReference": "0160-25", + "documentIssueDate": "2024-11-23", + "attachmentId": "920e0f68-1400-4eef-8e90-2dfba2611737", + "attachmentFilename": "ASF R-4551-BDD(1).pdf", + "attachmentContentType": "application/pdf", + "uploadUserId": "e81350f6-8034-eb11-a813-000d3a4aa0dc", + "uploadOrganisationId": "fe1350f6-8034-eb11-a813-000d3a4aa0dc" + }, + { + "documentType": "phytosanitaryCertificate", + "documentReference": "6573/ONSSA/DR2/SPV LARACHE/2024", + "documentIssueDate": "2024-11-23", + "attachmentId": "a60ed08c-2400-40af-a7f3-6876b025983e", + "attachmentFilename": "ASF R-4551-BDD.pdf", + "attachmentContentType": "application/pdf", + "uploadUserId": "d35f313a-6457-ec11-8f8f-6045bd88a791", + "uploadOrganisationId": "fe1350f6-8034-eb11-a813-000d3a4aa0dc" + } + ] + }, + "submissionDate": "2024-12-05T15:30:36.449026324Z", + "submittedBy": { + "displayName": "d29dc1245fc8438e7a2fa79bb6b8f84842570e2a6cb3eacd968ca50d892d4349", + "userId": "d35f313a-6457-ec11-8f8f-6045bd88a791" + }, + "complexCommoditySelected": true, + "contactDetails": { + "name": "Gabriella Fantetti", + "telephone": "01634823346", + "email": "info@mcelogistics.co.uk", + "agent": "MCE Logistics" + }, + "isGVMSRoute": true, + "isChargeable": true, + "wasChargeable": true, + "billingInformation": { + "isConfirmed": true, + "emailAddress": "salesadmin@angussoftfruits.com", + "phoneNumber": "01634823346", + "postalAddress": { + "addressLine1": "East Seaton Farm", + "addressLine2": "Arbroath", + "cityOrTown": "Angus", + "postalCode": "dd115sd" + } + }, + "commonUserCharge": { + "wasSentToTradeCharge": true + }, + "provideCtcMrn": "NO" + }, + "partTwo": { + "decision": { + }, + "controlAuthority": { + "officialVeterinarian": { + "firstName": "0286249762f7c94349cdc0ba3bb2255baf9a80036e2193ead1d77696f888582f", + "lastName": "15f3a2898addfc6c5c4c3795f83a5211e2a895ad7df243746aeeefd4f070f574", + "email": "a9c126b0f4ea6629154a95732c4e02d695f59d52ce4fdfe9f211278ade32d28a", + "phone": "4b25d4b15dc438f346ae664fbbdc86a5e0ac8287659299a90a347e3ff9507d7c", + "signed": "2024-12-05T15:45:02.023912736" + } + }, + "commodityChecks": [ + { + "uniqueComplementId": "2e83d84a-fd99-484f-93b9-b93b1a8c4194", + "checks": [ + { + "type": "PHSI_DOCUMENT", + "status": "To do" + }, + { + "type": "PHSI_IDENTITY", + "status": "To do" + }, + { + "type": "PHSI_PHYSICAL", + "status": "To do" + }, + { + "type": "HMI", + "status": "Auto cleared", + "hasChecksComplete": true + } + ] + } + ], + "inspectionRequired": "Required" + }, + "partThree": { + }, + "etag": "000000000453DB84", + "riskDecisionLockingTime": "2024-11-26T18:00:00Z", + "isRiskDecisionLocked": true, + "isCdsFullMatched": true, + "chedTypeVersion": 1 +} \ No newline at end of file diff --git a/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/IPAFFS/CHEDPP/2024/12/05/CHEDPP_GB_2024_5202798-6eb8c483-6d30-461d-a86f-f3edb503dd86.json b/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/IPAFFS/CHEDPP/2024/12/05/CHEDPP_GB_2024_5202798-6eb8c483-6d30-461d-a86f-f3edb503dd86.json new file mode 100644 index 00000000..a56b9ea4 --- /dev/null +++ b/TestDataGenerator/Scenarios/Samples/ChedPpHmiDecisionTests/IPAFFS/CHEDPP/2024/12/05/CHEDPP_GB_2024_5202798-6eb8c483-6d30-461d-a86f-f3edb503dd86.json @@ -0,0 +1,308 @@ +{ + "id": 4262529, + "referenceNumber": "CHEDPP.GB.2024.5202739", + "agencyOrganisationId": "fe1350f6-8034-eb11-a813-000d3a4aa0dc", + "version": 3, + "lastUpdated": "2024-12-05T15:30:36.473Z", + "lastUpdatedBy": { + "displayName": "d29dc1245fc8438e7a2fa79bb6b8f84842570e2a6cb3eacd968ca50d892d4349", + "userId": "d35f313a-6457-ec11-8f8f-6045bd88a791" + }, + "type": "CHEDPP", + "status": "REJECTED", + "riskAssessment": { + "commodityResults": [ + { + "hmiDecision": "NOTREQUIRED", + "phsiDecision": "REQUIRED", + "phsiClassification": "Reduced", + "phsi": { + "documentCheck": true, + "identityCheck": true, + "physicalCheck": true + }, + "uniqueId": "2e83d84a-fd99-484f-93b9-b93b1a8c4194", + "eppoCode": "FRAAN", + "indoorOutdoor": "None", + "propagation": "None", + "phsiRuleType": "Commodity" + } + ], + "assessmentDateTime": "2024-11-26T10:13:20.600768172" + }, + "isHighRiskEuImport": false, + "partOne": { + "personResponsible": { + "name": "df3218131ca41b07f497111a64bc6dfd99d8c73e58472ee39cea6079ad2636f8", + "companyId": "39f0666f-18f4-ea11-a815-000d3abb516e", + "companyName": "1cced80eefe4974e79aa6ad2325a0f4c4cca8800366441f66b8776a9201ee278", + "address": [ + "3457b1617fe56912104fc55806c28dfca8a70a42ac40e6569982a79a71141365", + "52a038609297458a7e68ee13def2d1339f256e9acc91ddb136a763ace66b596f", + "9aa386e102ad0048d1c373c694164fdca1b5c659d914beff5d6743f92f7a641f", + "d1e68b3bff45c0be7a475ab30b0775a8d8dbbbb19ac6b1f92e78d4d0aba0ace0", + "26a82f137288fdc1138dbaca31f2bb3c70512f773e13b1ce00535b3f20b2820a", + "b4043b0b8297e379bc559ab33b6ae9c7a9b4ef6519d3baee53270f0c0dd3d960" + ], + "country": "GB", + "tracesID": 1001, + "phone": "22ddec2a5d9a12afc5a930f7d81e9b5228cef171cbea0fc9e872288004a722c6", + "email": "207c2034d4d88313cf490bec5c79d906b13ce107429181bc8f741a0fbcfa6b4e", + "contactId": "9879f422-9c2d-ec11-b6e5-6045bd8cd550" + }, + "consignor": { + "id": "7984115d-c7aa-4ec2-8a3f-5d5fba381c10", + "type": "exporter", + "status": "nonapproved", + "companyName": "68351a7ed58eb70dcedc83d84c99f60918bc3a2b9434d7e327a53ccaaac14c09", + "address": { + "addressLine1": "58f728b6c9172a2bcb6a7ffb2ab8fca6f2d7867bb48681f5ce380c8a43540794", + "city": "445c5ffad884c3250128310bfc1ea80e72536c1555f5933f1f0c1754df66894e", + "postalZipCode": "9af15b336e6a9619928537df30b2e6a2376569fcf9d7e773eccede65606529a0", + "countryISOCode": "MA", + "telephone": "3f5807ee905f5f3f19c16e8e523c5233d203e6118709ba679bdfd5499a16c03e", + "email": "51982952de7fd41b107580ae073e8fd9b176d4c8f1a53bb668f647275165d7ac" + }, + "tracesId": 10324332 + }, + "consignee": { + "id": "39f0666f-18f4-ea11-a815-000d3abb516e", + "type": "consignee", + "companyName": "1cced80eefe4974e79aa6ad2325a0f4c4cca8800366441f66b8776a9201ee278", + "address": { + "addressLine1": "3457b1617fe56912104fc55806c28dfca8a70a42ac40e6569982a79a71141365", + "addressLine2": "52a038609297458a7e68ee13def2d1339f256e9acc91ddb136a763ace66b596f", + "city": "d1e68b3bff45c0be7a475ab30b0775a8d8dbbbb19ac6b1f92e78d4d0aba0ace0", + "postalZipCode": "26a82f137288fdc1138dbaca31f2bb3c70512f773e13b1ce00535b3f20b2820a", + "countryISOCode": "GB", + "telephone": "2164216d8b9049aab58a669c47fb766bd8f84ae19833efdbc77a3d95e698b260", + "email": "244cd05296392fb4efe205f12c7e5405725c3ee84ee20121bf47a63447d0bb05" + }, + "tracesId": 10255845 + }, + "importer": { + "id": "39f0666f-18f4-ea11-a815-000d3abb516e", + "type": "importer", + "companyName": "1cced80eefe4974e79aa6ad2325a0f4c4cca8800366441f66b8776a9201ee278", + "address": { + "addressLine1": "3457b1617fe56912104fc55806c28dfca8a70a42ac40e6569982a79a71141365", + "addressLine2": "52a038609297458a7e68ee13def2d1339f256e9acc91ddb136a763ace66b596f", + "city": "d1e68b3bff45c0be7a475ab30b0775a8d8dbbbb19ac6b1f92e78d4d0aba0ace0", + "postalZipCode": "26a82f137288fdc1138dbaca31f2bb3c70512f773e13b1ce00535b3f20b2820a", + "countryISOCode": "GB", + "telephone": "2164216d8b9049aab58a669c47fb766bd8f84ae19833efdbc77a3d95e698b260", + "email": "244cd05296392fb4efe205f12c7e5405725c3ee84ee20121bf47a63447d0bb05" + }, + "tracesId": 10255845 + }, + "placeOfDestination": { + "id": "39f0666f-18f4-ea11-a815-000d3abb516e", + "type": "destination", + "companyName": "1cced80eefe4974e79aa6ad2325a0f4c4cca8800366441f66b8776a9201ee278", + "address": { + "addressLine1": "3457b1617fe56912104fc55806c28dfca8a70a42ac40e6569982a79a71141365", + "addressLine2": "52a038609297458a7e68ee13def2d1339f256e9acc91ddb136a763ace66b596f", + "city": "d1e68b3bff45c0be7a475ab30b0775a8d8dbbbb19ac6b1f92e78d4d0aba0ace0", + "postalZipCode": "26a82f137288fdc1138dbaca31f2bb3c70512f773e13b1ce00535b3f20b2820a", + "countryISOCode": "GB", + "telephone": "2164216d8b9049aab58a669c47fb766bd8f84ae19833efdbc77a3d95e698b260", + "email": "244cd05296392fb4efe205f12c7e5405725c3ee84ee20121bf47a63447d0bb05" + }, + "tracesId": 10255845 + }, + "commodities": { + "totalGrossWeight": 965, + "totalNetWeight": 771.8, + "numberOfPackages": 170, + "commodityComplement": [ + { + "commodityID": "08101000", + "commodityDescription": "Strawberries", + "complementID": 2, + "complementName": "Fragaria x ananassa", + "eppoCode": "FRAAN", + "speciesID": "60518", + "speciesName": "Fragaria x ananassa", + "speciesClass": "340015", + "speciesNomination": "Fragaria x ananassa", + "isCdsMatched": true + } + ], + "complementParameterSet": [ + { + "uniqueComplementID": "2e83d84a-fd99-484f-93b9-b93b1a8c4194", + "complementID": 2, + "speciesID": "60518", + "keyDataPair": [ + { + "key": "marketing_standard", + "data": "SMS" + }, + { + "key": "validity_period", + "data": "3" + }, + { + "key": "regulatory_authority", + "data": "JOINT" + }, + { + "key": "variety", + "data": "None" + }, + { + "key": "class", + "data": "Class I" + }, + { + "key": "low_risk_article72_commodity", + "data": "true" + }, + { + "key": "type_package", + "data": "Carton" + }, + { + "key": "netweight", + "data": "771.80" + }, + { + "key": "number_package", + "data": "170" + }, + { + "key": "quantity", + "data": "771.80" + }, + { + "key": "type_quantity", + "data": "Kilograms" + }, + { + "key": "commodity_group", + "data": "Fruit and nuts" + } + ] + } + ], + "includeNonAblactedAnimals": false, + "countryOfOrigin": "MA", + "countryOfOriginIsPodCountry": false, + "consignedCountry": "MA", + "consignedCountryInChargeGroup": false + }, + "purpose": { + "purposeGroup": "For Import" + }, + "pointOfEntry": "GBDOVE2", + "pointOfEntryControlPoint": "INSPSEV1", + "arrivalDate": "2024-12-05", + "arrivalTime": "15:45:00", + "meansOfTransport": { + }, + "meansOfTransportFromEntryPoint": { + "id": "R4551BDD", + "type": "Road Vehicle", + "document": "N/A" + }, + "veterinaryInformation": { + "accompanyingDocuments": [ + { + "documentType": "commercialInvoice", + "documentReference": "0160-25", + "documentIssueDate": "2024-11-23", + "attachmentId": "920e0f68-1400-4eef-8e90-2dfba2611737", + "attachmentFilename": "ASF R-4551-BDD(1).pdf", + "attachmentContentType": "application/pdf", + "uploadUserId": "e81350f6-8034-eb11-a813-000d3a4aa0dc", + "uploadOrganisationId": "fe1350f6-8034-eb11-a813-000d3a4aa0dc" + }, + { + "documentType": "phytosanitaryCertificate", + "documentReference": "6573/ONSSA/DR2/SPV LARACHE/2024", + "documentIssueDate": "2024-11-23", + "attachmentId": "a60ed08c-2400-40af-a7f3-6876b025983e", + "attachmentFilename": "ASF R-4551-BDD.pdf", + "attachmentContentType": "application/pdf", + "uploadUserId": "d35f313a-6457-ec11-8f8f-6045bd88a791", + "uploadOrganisationId": "fe1350f6-8034-eb11-a813-000d3a4aa0dc" + } + ] + }, + "submissionDate": "2024-12-05T15:30:36.449026324Z", + "submittedBy": { + "displayName": "d29dc1245fc8438e7a2fa79bb6b8f84842570e2a6cb3eacd968ca50d892d4349", + "userId": "d35f313a-6457-ec11-8f8f-6045bd88a791" + }, + "complexCommoditySelected": true, + "contactDetails": { + "name": "Gabriella Fantetti", + "telephone": "01634823346", + "email": "info@mcelogistics.co.uk", + "agent": "MCE Logistics" + }, + "isGVMSRoute": true, + "isChargeable": true, + "wasChargeable": true, + "billingInformation": { + "isConfirmed": true, + "emailAddress": "salesadmin@angussoftfruits.com", + "phoneNumber": "01634823346", + "postalAddress": { + "addressLine1": "East Seaton Farm", + "addressLine2": "Arbroath", + "cityOrTown": "Angus", + "postalCode": "dd115sd" + } + }, + "commonUserCharge": { + "wasSentToTradeCharge": true + }, + "provideCtcMrn": "NO" + }, + "partTwo": { + "decision": { + }, + "controlAuthority": { + "officialVeterinarian": { + "firstName": "0286249762f7c94349cdc0ba3bb2255baf9a80036e2193ead1d77696f888582f", + "lastName": "15f3a2898addfc6c5c4c3795f83a5211e2a895ad7df243746aeeefd4f070f574", + "email": "a9c126b0f4ea6629154a95732c4e02d695f59d52ce4fdfe9f211278ade32d28a", + "phone": "4b25d4b15dc438f346ae664fbbdc86a5e0ac8287659299a90a347e3ff9507d7c", + "signed": "2024-12-05T15:45:02.023912736" + } + }, + "commodityChecks": [ + { + "uniqueComplementId": "2e83d84a-fd99-484f-93b9-b93b1a8c4194", + "checks": [ + { + "type": "PHSI_DOCUMENT", + "status": "To do" + }, + { + "type": "PHSI_IDENTITY", + "status": "To do" + }, + { + "type": "PHSI_PHYSICAL", + "status": "To do" + }, + { + "type": "HMI", + "status": "Auto cleared", + "hasChecksComplete": true + } + ] + } + ], + "inspectionRequired": "Required" + }, + "partThree": { + }, + "etag": "000000000453DB84", + "riskDecisionLockingTime": "2024-11-26T18:00:00Z", + "isRiskDecisionLocked": true, + "isCdsFullMatched": true, + "chedTypeVersion": 1 +} \ No newline at end of file diff --git a/TestDataGenerator/Scenarios/Samples/ChedPpPhsiDecisionTests/ALVS/2024/12/01/24GBDB6P6GWPVLKAR7-54916fb6-f900-4043-9d17-2b020325d701.json b/TestDataGenerator/Scenarios/Samples/ChedPpPhsiDecisionTests/ALVS/2024/12/01/24GBDB6P6GWPVLKAR7-54916fb6-f900-4043-9d17-2b020325d701.json index a133e0e7..315639c2 100644 --- a/TestDataGenerator/Scenarios/Samples/ChedPpPhsiDecisionTests/ALVS/2024/12/01/24GBDB6P6GWPVLKAR7-54916fb6-f900-4043-9d17-2b020325d701.json +++ b/TestDataGenerator/Scenarios/Samples/ChedPpPhsiDecisionTests/ALVS/2024/12/01/24GBDB6P6GWPVLKAR7-54916fb6-f900-4043-9d17-2b020325d701.json @@ -1 +1,117 @@ -{"serviceHeader":{"sourceSystem":"CDS","destinationSystem":"ALVS","correlationId":"1306402","serviceCallTimestamp":1733062823000},"header":{"entryReference":"24GBDB6P6GWPVLKAR7","entryVersionNumber":2,"previousVersionNumber":1,"declarationUCR":"4GB943952494000-BER047360A","declarationPartNumber":null,"declarationType":"S","arrivalDateTime":null,"submitterTURN":"GB943952494000","declarantId":"GB943952494000","declarantName":"GB943952494000","dispatchCountryCode":"TR","goodsLocationCode":"FXTFXTFXT","masterUCR":null},"items":[{"itemNumber":1,"customsProcedureCode":"4000000","taricCommodityCode":"0709609920","goodsDescription":"CHILLI PEPPERS","consigneeId":"GB156006924000","consigneeName":"GB156006924000","itemNetMass":4140,"itemSupplementaryUnits":0,"itemThirdQuantity":null,"itemOriginCountryCode":"TR","documents":[{"documentCode":"C678","documentReference":"GBCHD2024.5218351","documentStatus":"AE","documentControl":"P","documentQuantity":null},{"documentCode":"N851","documentReference":"GBCHD2024.5218274","documentStatus":"AG","documentControl":"P","documentQuantity":null}],"checks":[{"checkCode":"H219","departmentCode":"PHSI"},{"checkCode":"H223","departmentCode":"PHA"}]},{"itemNumber":2,"customsProcedureCode":"4000000","taricCommodityCode":"0709601000","goodsDescription":"SWEET PEPPER","consigneeId":"GB156006924000","consigneeName":"GB156006924000","itemNetMass":2805,"itemSupplementaryUnits":0,"itemThirdQuantity":null,"itemOriginCountryCode":"TR","documents":[{"documentCode":"C678","documentReference":"GBCHD2024.5218378","documentStatus":"AE","documentControl":"P","documentQuantity":null},{"documentCode":"N002","documentReference":"GBCHD2024.5218274","documentStatus":"AG","documentControl":"P","documentQuantity":null},{"documentCode":"N851","documentReference":"GBCHD2024.5218274","documentStatus":"AG","documentControl":"P","documentQuantity":null}],"checks":[{"checkCode":"H218","departmentCode":"HMI"},{"checkCode":"H219","departmentCode":"PHSI"},{"checkCode":"H223","departmentCode":"PHA"}]},{"itemNumber":6,"customsProcedureCode":"4000000","taricCommodityCode":"0706909000","goodsDescription":"RADISH","consigneeId":"GB156006924000","consigneeName":"GB156006924000","itemNetMass":400,"itemSupplementaryUnits":0,"itemThirdQuantity":null,"itemOriginCountryCode":"TR","documents":[{"documentCode":"N851","documentReference":"GBCHD2024.5218274","documentStatus":"AG","documentControl":"P","documentQuantity":null}],"checks":[{"checkCode":"H219","departmentCode":"PHSI"}]}]} \ No newline at end of file +{ + "serviceHeader": { + "sourceSystem": "CDS", + "destinationSystem": "ALVS", + "correlationId": "1306402", + "serviceCallTimestamp": 1733062823000 + }, + "header": { + "entryReference": "24GBDB6P6GWPVLKAR7", + "entryVersionNumber": 2, + "previousVersionNumber": 1, + "declarationUCR": "4GB943952494000-BER047360A", + "declarationPartNumber": null, + "declarationType": "S", + "arrivalDateTime": null, + "submitterTURN": "GB943952494000", + "declarantId": "GB943952494000", + "declarantName": "GB943952494000", + "dispatchCountryCode": "TR", + "goodsLocationCode": "FXTFXTFXT", + "masterUCR": null + }, + "items": [ + { + "itemNumber": 1, + "customsProcedureCode": "4000000", + "taricCommodityCode": "0709609920", + "goodsDescription": "CHILLI PEPPERS", + "consigneeId": "GB156006924000", + "consigneeName": "GB156006924000", + "itemNetMass": 4140, + "itemSupplementaryUnits": 0, + "itemThirdQuantity": null, + "itemOriginCountryCode": "TR", + "documents": [ + { + "documentCode": "N851", + "documentReference": "GBCHD2024.5218274", + "documentStatus": "AG", + "documentControl": "P", + "documentQuantity": null + } + ], + "checks": [ + { + "checkCode": "H219", + "departmentCode": "PHSI" + } + ] + }, + { + "itemNumber": 2, + "customsProcedureCode": "4000000", + "taricCommodityCode": "0709601000", + "goodsDescription": "SWEET PEPPER", + "consigneeId": "GB156006924000", + "consigneeName": "GB156006924000", + "itemNetMass": 2805, + "itemSupplementaryUnits": 0, + "itemThirdQuantity": null, + "itemOriginCountryCode": "TR", + "documents": [ + { + "documentCode": "N002", + "documentReference": "GBCHD2024.5218274", + "documentStatus": "AG", + "documentControl": "P", + "documentQuantity": null + }, + { + "documentCode": "N851", + "documentReference": "GBCHD2024.5218274", + "documentStatus": "AG", + "documentControl": "P", + "documentQuantity": null + } + ], + "checks": [ + { + "checkCode": "H218", + "departmentCode": "HMI" + }, + { + "checkCode": "H219", + "departmentCode": "PHSI" + } + ] + }, + { + "itemNumber": 6, + "customsProcedureCode": "4000000", + "taricCommodityCode": "0706909000", + "goodsDescription": "RADISH", + "consigneeId": "GB156006924000", + "consigneeName": "GB156006924000", + "itemNetMass": 400, + "itemSupplementaryUnits": 0, + "itemThirdQuantity": null, + "itemOriginCountryCode": "TR", + "documents": [ + { + "documentCode": "N851", + "documentReference": "GBCHD2024.5218274", + "documentStatus": "AG", + "documentControl": "P", + "documentQuantity": null + } + ], + "checks": [ + { + "checkCode": "H219", + "departmentCode": "PHSI" + } + ] + } + ] +} \ No newline at end of file diff --git a/TestDataGenerator/Scenarios/Samples/ChedPpPhsiDecisionTests/ALVS/2024/12/01/24GBDB6P6GWPVLKAR7-b3420413-6107-4718-af17-bc1818209728.json b/TestDataGenerator/Scenarios/Samples/ChedPpPhsiDecisionTests/ALVS/2024/12/01/24GBDB6P6GWPVLKAR7-b3420413-6107-4718-af17-bc1818209728.json index b2bc3dfc..e2af03d4 100644 --- a/TestDataGenerator/Scenarios/Samples/ChedPpPhsiDecisionTests/ALVS/2024/12/01/24GBDB6P6GWPVLKAR7-b3420413-6107-4718-af17-bc1818209728.json +++ b/TestDataGenerator/Scenarios/Samples/ChedPpPhsiDecisionTests/ALVS/2024/12/01/24GBDB6P6GWPVLKAR7-b3420413-6107-4718-af17-bc1818209728.json @@ -1 +1,117 @@ -{"serviceHeader":{"sourceSystem":"CDS","destinationSystem":"ALVS","correlationId":"1305299","serviceCallTimestamp":1733041785000},"header":{"entryReference":"24GBDB6P6GWPVLKAR7","entryVersionNumber":1,"previousVersionNumber":null,"declarationUCR":"4GB943952494000-BER047360A","declarationPartNumber":null,"declarationType":"S","arrivalDateTime":null,"submitterTURN":"GB943952494000","declarantId":"GB943952494000","declarantName":"GB943952494000","dispatchCountryCode":"TR","goodsLocationCode":"FXTFXTFXT","masterUCR":null},"items":[{"itemNumber":1,"customsProcedureCode":"4000000","taricCommodityCode":"0709609920","goodsDescription":"CHILLI PEPPERS","consigneeId":"GB156006924000","consigneeName":"GB156006924000","itemNetMass":4140,"itemSupplementaryUnits":0,"itemThirdQuantity":null,"itemOriginCountryCode":"TR","documents":[{"documentCode":"C678","documentReference":"GBCHD2024.5218351","documentStatus":"AE","documentControl":"P","documentQuantity":null},{"documentCode":"N851","documentReference":"GBCHD2024.5218274","documentStatus":"AG","documentControl":"P","documentQuantity":null}],"checks":[{"checkCode":"H219","departmentCode":"PHSI"},{"checkCode":"H223","departmentCode":"PHA"}]},{"itemNumber":2,"customsProcedureCode":"4000000","taricCommodityCode":"0709601000","goodsDescription":"SWEET PEPPER","consigneeId":"GB156006924000","consigneeName":"GB156006924000","itemNetMass":2805,"itemSupplementaryUnits":0,"itemThirdQuantity":null,"itemOriginCountryCode":"TR","documents":[{"documentCode":"C678","documentReference":"GBCHD2024.5218378","documentStatus":"AE","documentControl":"P","documentQuantity":null},{"documentCode":"N002","documentReference":"GBCHD2024.5218274","documentStatus":"AG","documentControl":"P","documentQuantity":null},{"documentCode":"N851","documentReference":"GBCHD2024.5218274","documentStatus":"AG","documentControl":"P","documentQuantity":null}],"checks":[{"checkCode":"H218","departmentCode":"HMI"},{"checkCode":"H219","departmentCode":"PHSI"},{"checkCode":"H223","departmentCode":"PHA"}]},{"itemNumber":6,"customsProcedureCode":"4000000","taricCommodityCode":"0706909000","goodsDescription":"RADISH","consigneeId":"GB156006924000","consigneeName":"GB156006924000","itemNetMass":400,"itemSupplementaryUnits":0,"itemThirdQuantity":null,"itemOriginCountryCode":"TR","documents":[{"documentCode":"N851","documentReference":"GBCHD2024.5218274","documentStatus":"AG","documentControl":"P","documentQuantity":null}],"checks":[{"checkCode":"H219","departmentCode":"PHSI"}]}]} \ No newline at end of file +{ + "serviceHeader": { + "sourceSystem": "CDS", + "destinationSystem": "ALVS", + "correlationId": "1305299", + "serviceCallTimestamp": 1733041785000 + }, + "header": { + "entryReference": "24GBDB6P6GWPVLKAR7", + "entryVersionNumber": 1, + "previousVersionNumber": null, + "declarationUCR": "4GB943952494000-BER047360A", + "declarationPartNumber": null, + "declarationType": "S", + "arrivalDateTime": null, + "submitterTURN": "GB943952494000", + "declarantId": "GB943952494000", + "declarantName": "GB943952494000", + "dispatchCountryCode": "TR", + "goodsLocationCode": "FXTFXTFXT", + "masterUCR": null + }, + "items": [ + { + "itemNumber": 1, + "customsProcedureCode": "4000000", + "taricCommodityCode": "0709609920", + "goodsDescription": "CHILLI PEPPERS", + "consigneeId": "GB156006924000", + "consigneeName": "GB156006924000", + "itemNetMass": 4140, + "itemSupplementaryUnits": 0, + "itemThirdQuantity": null, + "itemOriginCountryCode": "TR", + "documents": [ + { + "documentCode": "N851", + "documentReference": "GBCHD2024.5218274", + "documentStatus": "AG", + "documentControl": "P", + "documentQuantity": null + } + ], + "checks": [ + { + "checkCode": "H219", + "departmentCode": "PHSI" + } + ] + }, + { + "itemNumber": 2, + "customsProcedureCode": "4000000", + "taricCommodityCode": "0709601000", + "goodsDescription": "SWEET PEPPER", + "consigneeId": "GB156006924000", + "consigneeName": "GB156006924000", + "itemNetMass": 2805, + "itemSupplementaryUnits": 0, + "itemThirdQuantity": null, + "itemOriginCountryCode": "TR", + "documents": [ + { + "documentCode": "N002", + "documentReference": "GBCHD2024.5218274", + "documentStatus": "AG", + "documentControl": "P", + "documentQuantity": null + }, + { + "documentCode": "N851", + "documentReference": "GBCHD2024.5218274", + "documentStatus": "AG", + "documentControl": "P", + "documentQuantity": null + } + ], + "checks": [ + { + "checkCode": "H218", + "departmentCode": "HMI" + }, + { + "checkCode": "H219", + "departmentCode": "PHSI" + } + ] + }, + { + "itemNumber": 6, + "customsProcedureCode": "4000000", + "taricCommodityCode": "0706909000", + "goodsDescription": "RADISH", + "consigneeId": "GB156006924000", + "consigneeName": "GB156006924000", + "itemNetMass": 400, + "itemSupplementaryUnits": 0, + "itemThirdQuantity": null, + "itemOriginCountryCode": "TR", + "documents": [ + { + "documentCode": "N851", + "documentReference": "GBCHD2024.5218274", + "documentStatus": "AG", + "documentControl": "P", + "documentQuantity": null + } + ], + "checks": [ + { + "checkCode": "H219", + "departmentCode": "PHSI" + } + ] + } + ] +} \ No newline at end of file diff --git a/TestDataGenerator/Scenarios/SpecificFiles/SpecificFilesScenarioGenerator.cs b/TestDataGenerator/Scenarios/SpecificFiles/SpecificFilesScenarioGenerator.cs index 8b3edeee..649e5016 100644 --- a/TestDataGenerator/Scenarios/SpecificFiles/SpecificFilesScenarioGenerator.cs +++ b/TestDataGenerator/Scenarios/SpecificFiles/SpecificFilesScenarioGenerator.cs @@ -42,6 +42,11 @@ public class ChedPpPhsiDecisionTestsScenarioGenerator( ILogger logger) : SpecificFilesScenarioGenerator(sp, logger, "ChedPpPhsiDecisionTests"); +public class ChedPpHmiDecisionTestsScenarioGenerator( + IServiceProvider sp, + ILogger logger) + : SpecificFilesScenarioGenerator(sp, logger, "ChedPpHmiDecisionTests"); + public class DeletedNotificationTestsScenarioGenerator( IServiceProvider sp, ILogger logger)