Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Suspicious translation from old evco-id to new ema-id #2

Open
inbrain opened this issue Feb 24, 2015 · 1 comment
Open

Suspicious translation from old evco-id to new ema-id #2

inbrain opened this issue Feb 24, 2015 · 1 comment

Comments

@inbrain
Copy link

inbrain commented Feb 24, 2015

NL-TNM-009637-9 is parsed as NL-TNM-000096379-M but check digit was not taken into account at all. Maybe it's wrong?

@kostjas
Copy link

kostjas commented Feb 24, 2015

According to specification:
contract IDs as defined in DIN SPEC 91286 may be used as well by adding two zeros (”00”) at the beginning of the Instance-part and the old check digit at position 14. A second check digit may be calculated over the resulting ID and may be added on position 15. (algorithm of check digit calculation for ISO 15118-1 Contract IDs is described here: here: http://www.ochp.eu/id-validator/e-mobility-ids_evcoid_check-digit-calculation_explanation/)
Example: The DIN-Contract-ID DE-8AA-123A56-3 must be set as EMAID DE- 8AA-00123A563-N.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants