@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix mcr: <https://registry.apicrafter.io/vocab#> .
@prefix dt: <https://registry.apicrafter.io/datatype/> .
@prefix cat: <https://registry.apicrafter.io/category/> .
@prefix country: <https://registry.apicrafter.io/country/> .
@prefix tool: <https://registry.apicrafter.io/tool/> .

dt:de_leitweg_id a skos:Concept ;
    skos:inScheme <https://registry.apicrafter.io/> ;
    skos:topConceptOf <https://registry.apicrafter.io/> ;
    skos:notation "de_leitweg_id" ;
    skos:prefLabel "German e-invoice routing ID (Leitweg-ID)"@en ;
    skos:definition "Leitweg-ID, the address of a public contracting authority that receives electronic invoices in Germany, given as the buyer reference (BT-10) of an XRechnung. It has three parts separated by hyphens: a coarse address of 2 to 12 digits that starts with the state code (01 to 16) or 99 for the federal administration, an optional fine address of up to 30 letters and digits, and two check digits by ISO 7064 MOD 97-10."@en ;
    skos:prefLabel "Leitweg-ID"@de ;
    skos:prefLabel "Маршрутный идентификатор электронного счёта Германии (Leitweg-ID)"@ru ;
    skos:definition "Адрес государственного заказчика для получения электронных счетов (XRechnung) - грубый адрес из 2-12 цифр, необязательный точный адрес и две контрольные цифры ISO 7064 MOD 97-10."@ru ;
    skos:example "991-03730-19" ;
    skos:example "16055000-A1B2C3-61" ;
    mcr:status "draft" ;
    mcr:isPII false ;
    mcr:classification "identifier" ;
    mcr:regexp "^(?:0[1-9]|1[0-6]|99)\\d{0,10}(?:-[0-9A-Z]{1,30})?-\\d{2}$" ;
    mcr:checksum "iso7064_mod97_10" ;
    dcterms:spatial country:DE ;
    rdfs:seeAlso <https://leitweg-id.de/> ;
    rdfs:seeAlso <https://de.wikipedia.org/wiki/Leitweg-ID> ;
    rdfs:seeAlso <https://arthurdejong.org/python-stdnum/doc/2.2/stdnum.de.leitweg.html> .
