Advertisement
rsocol

Anexa5.xsd

Nov 6th, 2021
1,255
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 4.86 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="mfp:anaf:dgti:administrare_creante:declaratie:v1" targetNamespace="mfp:anaf:dgti:administrare_creante:declaratie:v1" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.02" xml:lang="ro">
  3.     <!--
  4. Explicaţii Taguri/Atribute:
  5. 1. "cui" - Codul de identificare fiscală al instituţiei publice beneficiare
  6. 2. "cnp" - CNP/NIF sau CUI/CIF contribuabil
  7. 3. "nrDocT" - număr document creanţă (opţional)
  8. 4. "dataT" - data document creanţa (opţional)
  9. 5. "dataI" - data înştiinţării de plată (data calcul obligaţie)
  10. 6. "codClsBug" - cod clasificaţie bugetară (anexa nr. 8)
  11. 7. "codDb" - cod intern al naturii obligaţiei
  12. 8. "catS" - cod categorie de sumă (R - rămăşiţă, C - curent, A - accesorii)
  13. 9. "sumaI"- suma iniţială stabilită prin titlu de creanţă
  14. 10. "sumaR" - suma rămasă prin plăţi parţiale efectuate
  15. -->
  16.     <xs:element name="administratorCreanta">
  17.         <xs:complexType>
  18.             <xs:sequence>
  19.                 <xs:element name="contribuabil" minOccurs="1" maxOccurs="unbounded" type="ContribuabilCType"/>
  20.             </xs:sequence>
  21.             <xs:attribute name="cui" type="CuiSType" use="required"/>
  22.         </xs:complexType>
  23.     </xs:element>
  24.     <xs:complexType name="ContribuabilCType">
  25.         <xs:complexContent>
  26.             <xs:restriction base="xs:anyType">
  27.                 <xs:attribute name="cnp" type="CnpSType" use="required"/>
  28.                 <xs:attribute name="idRefOp" use="required">
  29.                     <xs:simpleType>
  30.                         <xs:restriction base="xs:token">
  31.                             <!--
  32. <xs:length value="10"/>-->
  33.                             <xs:minLength value="1"/>
  34.                             <xs:maxLength value="10"/>
  35.                         </xs:restriction>
  36.                     </xs:simpleType>
  37.                 </xs:attribute>
  38.                 <xs:attribute name="nrDocT">
  39.                     <xs:simpleType>
  40.                         <xs:restriction base="xs:token">
  41.                             <!--
  42. <xs:length value="10"/>-->
  43.                             <xs:minLength value="1"/>
  44.                             <xs:maxLength value="10"/>
  45.                         </xs:restriction>
  46.                     </xs:simpleType>
  47.                 </xs:attribute>
  48.                 <xs:attribute name="dataT" type="DateSType"/>
  49.                 <xs:attribute name="dataI" type="DateSType"/>
  50.                 <xs:attribute name="codClsBug" use="required">
  51.                     <xs:simpleType>
  52.                         <xs:restriction base="xs:token">
  53.                             <xs:pattern value="d(1,10)"/>
  54.                         </xs:restriction>
  55.                     </xs:simpleType>
  56.                 </xs:attribute>
  57.                 <xs:attribute name="codDb" use="required">
  58.                     <xs:simpleType>
  59.                         <xs:restriction base="xs:token">
  60.                             <xs:length value="3"/>
  61.                             <!--
  62. <xs:minLength value="1"/>
  63. <xs:maxLength value="3"/>-->
  64.                         </xs:restriction>
  65.                     </xs:simpleType>
  66.                 </xs:attribute>
  67.                 <xs:attribute name="catS" use="required">
  68.                     <xs:simpleType>
  69.                         <xs:restriction base="xs:token">
  70.                             <xs:length value="2"/>
  71.                             <!--
  72. <xs:minLength value="1"/>
  73. <xs:maxLength value="2"/>-->
  74.                         </xs:restriction>
  75.                     </xs:simpleType>
  76.                 </xs:attribute>
  77.                 <xs:attribute name="sumaI" type="SumaSType" use="required"/>
  78.                 <xs:attribute name="sumaR" type="SumaSType" use="required"/>
  79.             </xs:restriction>
  80.         </xs:complexContent>
  81.     </xs:complexType>
  82.     <xs:simpleType name="SumaSType">
  83.         <xs:restriction base="xs:integer">
  84.             <xs:minInclusive value="0"/>
  85.             <xs:maxInclusive value="9999999999"/>
  86.         </xs:restriction>
  87.     </xs:simpleType>
  88.     <xs:simpleType name="CuiSType">
  89.         <xs:restriction base="xs:string">
  90.             <xs:pattern value="[1-9]d(1,9)"/>
  91.         </xs:restriction>
  92.     </xs:simpleType>
  93.     <xs:simpleType name="CnpSType">
  94.         <xs:restriction base="xs:string">
  95.             <xs:pattern value="[1-9]d(12)|[1-9]d(1,9)"/>
  96.         </xs:restriction>
  97.     </xs:simpleType>
  98.     <xs:simpleType name="DateSType">
  99.         <xs:restriction base="xs:string">
  100.             <xs:pattern value="([1-9]│0[1-9]│[12][0-9]│3[01])/([1-9]│0[1-9]│1[012])/d("/>
  101.             <!--<xs:pattern value="([1-9]│0[1-9]│[12][0-9]│3[01]).([1-9]│0[1-9]│1[012]).d("/>-->
  102.             <!--<xs:pattern value=".(│([1-9]│0[1-9]│[12][0-9]│3[01]).([1-9]│0[1-9]│1[012]).d("/>-->
  103.         </xs:restriction>
  104.     </xs:simpleType>
  105. </xs:schema>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement