New Carrier authorisation format in Scotland. #240
AWDMcIntyre
started this conversation in
General
Replies: 2 comments 4 replies
|
WCR/R/ registrations submit fine against DEFRA today, for the exact same reason EAS/R/ does — the API enforces no pattern on carrier.registrationNumber. So neither the old nor the new format "fails the system" at the DEFRA level. An operator with a WCR/R/1234567 number sails through. Based on my testing. |
2 replies
|
Can you please double check your response @ChrisNicholson30 as this is incorrect and you are pattern checking - API enforces no pattern on carrier.registrationNumber { |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
The carrier.registrationNumber field description in the Receipt API spec lists the recognised Scottish formats as current WCR/R/1234567 and previous SCO/, SEA/, SNO/, SWE/, WCR/. This no longer reflects the current SEPA position.
SEPA has migrated waste carrier/broker/dealer registrations onto the Environmental Authorisations (Scotland) Regulations 2018 (EASR) framework. Registrations issued under EASR now use the format EAS/R/9999999 (e.g. EAS/R/6100732), replacing the older WCR/R/9999999 references.
This is a live change — I hold a registration reissued under EASR under the new format
The field is correctly typed as a nullable string with no enforced pattern, so this doesn't currently cause submission failures — the issue is purely that the descriptive guidance is out of date. Flagging it for two reasons:
Those in Scotland reading the spec will see their current registration format described as unrecognised, which is confusing.
If a validation pattern is ever derived from this description, EAS/R/ registrations would be rejected until the list is updated.
All reactions