diff --git a/.landscape.yml b/.landscape.yml deleted file mode 100755 index 09c3ab8..0000000 --- a/.landscape.yml +++ /dev/null @@ -1,5 +0,0 @@ -python-targets: - - 3 -ignore-patterns: - - _dsig\.py$ - - _schema\.py$ \ No newline at end of file diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..c56f891 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,37 @@ +repos: +- repo: git@github.com:pre-commit/pre-commit-hooks + rev: v2.3.0 + hooks: + - id: debug-statements + - id: trailing-whitespace + - id: check-merge-conflict + - id: check-ast + - id: check-byte-order-marker + - id: check-json + - id: check-symlinks + - id: check-vcs-permalinks + - id: check-xml + - id: check-yaml + - id: forbid-new-submodules + - id: flake8 + args: ['--exclude=docs/*,*migrations*,_schema.py,_dsig.py', '--ignore=E501,W503'] + +- repo: local + hooks: + - id: check-datetime-now + name: check_datetime_now + description: Prefer datetime.utcnow() + language: pygrep + entry: 'datetime\.now\(\)' + types: [python] + +- repo: https://github.com/pre-commit/mirrors-isort + rev: v4.3.21 + hooks: + - id: isort + additional_dependencies: ['toml'] + +- repo: https://github.com/python/black + rev: 19.3b0 + hooks: + - id: black diff --git a/.travis.yml b/.travis.yml index 6262a30..8246f98 100755 --- a/.travis.yml +++ b/.travis.yml @@ -1,14 +1,26 @@ language: python -python: - - "3.6" +cache: pip + +matrix: + include: + - python: '3.6.0' + - python: '3.6.1' + - python: '3.6.2' + - python: '3.6.3' + - python: '3.6.4' + - python: '3.6.5' + - python: '3.6.6' + - python: '3.7.0' + dist: xenial + sudo: true install: - pip install -r requirements.txt - pip install coveralls script: - - coverage run --source=PyNFSe setup.py test + - pytest after_success: - coveralls \ No newline at end of file diff --git a/LICENCE b/LICENCE deleted file mode 100755 index 0aa718b..0000000 --- a/LICENCE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2017 Marcelo Belli de Oliveira - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. \ No newline at end of file diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..65c5ca8 --- /dev/null +++ b/LICENSE @@ -0,0 +1,165 @@ + GNU LESSER GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + + This version of the GNU Lesser General Public License incorporates +the terms and conditions of version 3 of the GNU General Public +License, supplemented by the additional permissions listed below. + + 0. Additional Definitions. + + As used herein, "this License" refers to version 3 of the GNU Lesser +General Public License, and the "GNU GPL" refers to version 3 of the GNU +General Public License. + + "The Library" refers to a covered work governed by this License, +other than an Application or a Combined Work as defined below. + + An "Application" is any work that makes use of an interface provided +by the Library, but which is not otherwise based on the Library. +Defining a subclass of a class defined by the Library is deemed a mode +of using an interface provided by the Library. + + A "Combined Work" is a work produced by combining or linking an +Application with the Library. The particular version of the Library +with which the Combined Work was made is also called the "Linked +Version". + + The "Minimal Corresponding Source" for a Combined Work means the +Corresponding Source for the Combined Work, excluding any source code +for portions of the Combined Work that, considered in isolation, are +based on the Application, and not on the Linked Version. + + The "Corresponding Application Code" for a Combined Work means the +object code and/or source code for the Application, including any data +and utility programs needed for reproducing the Combined Work from the +Application, but excluding the System Libraries of the Combined Work. + + 1. Exception to Section 3 of the GNU GPL. + + You may convey a covered work under sections 3 and 4 of this License +without being bound by section 3 of the GNU GPL. + + 2. Conveying Modified Versions. + + If you modify a copy of the Library, and, in your modifications, a +facility refers to a function or data to be supplied by an Application +that uses the facility (other than as an argument passed when the +facility is invoked), then you may convey a copy of the modified +version: + + a) under this License, provided that you make a good faith effort to + ensure that, in the event an Application does not supply the + function or data, the facility still operates, and performs + whatever part of its purpose remains meaningful, or + + b) under the GNU GPL, with none of the additional permissions of + this License applicable to that copy. + + 3. Object Code Incorporating Material from Library Header Files. + + The object code form of an Application may incorporate material from +a header file that is part of the Library. You may convey such object +code under terms of your choice, provided that, if the incorporated +material is not limited to numerical parameters, data structure +layouts and accessors, or small macros, inline functions and templates +(ten or fewer lines in length), you do both of the following: + + a) Give prominent notice with each copy of the object code that the + Library is used in it and that the Library and its use are + covered by this License. + + b) Accompany the object code with a copy of the GNU GPL and this license + document. + + 4. Combined Works. + + You may convey a Combined Work under terms of your choice that, +taken together, effectively do not restrict modification of the +portions of the Library contained in the Combined Work and reverse +engineering for debugging such modifications, if you also do each of +the following: + + a) Give prominent notice with each copy of the Combined Work that + the Library is used in it and that the Library and its use are + covered by this License. + + b) Accompany the Combined Work with a copy of the GNU GPL and this license + document. + + c) For a Combined Work that displays copyright notices during + execution, include the copyright notice for the Library among + these notices, as well as a reference directing the user to the + copies of the GNU GPL and this license document. + + d) Do one of the following: + + 0) Convey the Minimal Corresponding Source under the terms of this + License, and the Corresponding Application Code in a form + suitable for, and under terms that permit, the user to + recombine or relink the Application with a modified version of + the Linked Version to produce a modified Combined Work, in the + manner specified by section 6 of the GNU GPL for conveying + Corresponding Source. + + 1) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (a) uses at run time + a copy of the Library already present on the user's computer + system, and (b) will operate properly with a modified version + of the Library that is interface-compatible with the Linked + Version. + + e) Provide Installation Information, but only if you would otherwise + be required to provide such information under section 6 of the + GNU GPL, and only to the extent that such information is + necessary to install and execute a modified version of the + Combined Work produced by recombining or relinking the + Application with a modified version of the Linked Version. (If + you use option 4d0, the Installation Information must accompany + the Minimal Corresponding Source and Corresponding Application + Code. If you use option 4d1, you must provide the Installation + Information in the manner specified by section 6 of the GNU GPL + for conveying Corresponding Source.) + + 5. Combined Libraries. + + You may place library facilities that are a work based on the +Library side by side in a single library together with other library +facilities that are not Applications and are not covered by this +License, and convey such a combined library under terms of your +choice, if you do both of the following: + + a) Accompany the combined library with a copy of the same work based + on the Library, uncombined with any other library facilities, + conveyed under the terms of this License. + + b) Give prominent notice with the combined library that part of it + is a work based on the Library, and explaining where to find the + accompanying uncombined form of the same work. + + 6. Revised Versions of the GNU Lesser General Public License. + + The Free Software Foundation may publish revised and/or new versions +of the GNU Lesser General Public License from time to time. Such new +versions will be similar in spirit to the present version, but may +differ in detail to address new problems or concerns. + + Each version is given a distinguishing version number. If the +Library as you received it specifies that a certain numbered version +of the GNU Lesser General Public License "or any later version" +applies to it, you have the option of following the terms and +conditions either of that published version or of any later version +published by the Free Software Foundation. If the Library as you +received it does not specify a version number of the GNU Lesser +General Public License, you may choose any version of the GNU Lesser +General Public License ever published by the Free Software Foundation. + + If the Library as you received it specifies that a proxy can decide +whether future versions of the GNU Lesser General Public License shall +apply, that proxy's public statement of acceptance of any version is +permanent authorization for you to choose that version for the +Library. diff --git a/PyNFSe/nfse/pr/curitiba/__init__.py b/PyNFSe/nfse/pr/curitiba/__init__.py deleted file mode 100755 index a08241d..0000000 --- a/PyNFSe/nfse/pr/curitiba/__init__.py +++ /dev/null @@ -1 +0,0 @@ -from ._facade import Facade as NFSeCuritiba \ No newline at end of file diff --git a/PyNFSe/nfse/pr/curitiba/_dsig.py b/PyNFSe/nfse/pr/curitiba/_dsig.py deleted file mode 100755 index 09d70d7..0000000 --- a/PyNFSe/nfse/pr/curitiba/_dsig.py +++ /dev/null @@ -1,2239 +0,0 @@ -# ./_dsig.py -# -*- coding: utf-8 -*- -# PyXB bindings for NM:f1c343a882e7a65fb879f4ee813309f8231f28c8 -# Generated 2016-11-27 20:29:26.552708 by PyXB version 1.2.5 using Python 3.5.2.final.0 -# Namespace http://www.w3.org/2000/09/xmldsig# [xmlns:dsig] - -from __future__ import unicode_literals -import pyxb -import pyxb.binding -import pyxb.binding.saxer -import io -import pyxb.utils.utility -import pyxb.utils.domutils -import sys -import pyxb.utils.six as _six -# Unique identifier for bindings created at the same time -_GenerationUID = pyxb.utils.utility.UniqueIdentifier('urn:uuid:f41c9a26-b4f0-11e6-9ca1-406c8f42f6c5') - -# Version of PyXB used to generate the bindings -_PyXBVersion = '1.2.5' -# Generated bindings are not compatible across PyXB versions -if pyxb.__version__ != _PyXBVersion: - raise pyxb.PyXBVersionError(_PyXBVersion) - -# A holder for module-level binding classes so we can access them from -# inside class definitions where property names may conflict. -_module_typeBindings = pyxb.utils.utility.Object() - -# Import bindings for namespaces imported into schema -import pyxb.binding.datatypes - -# NOTE: All namespace declarations are reserved within the binding -Namespace = pyxb.namespace.NamespaceForURI('http://www.w3.org/2000/09/xmldsig#', create_if_missing=True) -Namespace.configureCategories(['typeBinding', 'elementBinding']) - -def CreateFromDocument (xml_text, default_namespace=None, location_base=None): - """Parse the given XML and use the document element to create a - Python instance. - - @param xml_text An XML document. This should be data (Python 2 - str or Python 3 bytes), or a text (Python 2 unicode or Python 3 - str) in the L{pyxb._InputEncoding} encoding. - - @keyword default_namespace The L{pyxb.Namespace} instance to use as the - default namespace where there is no default namespace in scope. - If unspecified or C{None}, the namespace of the module containing - this function will be used. - - @keyword location_base: An object to be recorded as the base of all - L{pyxb.utils.utility.Location} instances associated with events and - objects handled by the parser. You might pass the URI from which - the document was obtained. - """ - - if pyxb.XMLStyle_saxer != pyxb._XMLStyle: - dom = pyxb.utils.domutils.StringToDOM(xml_text) - return CreateFromDOM(dom.documentElement, default_namespace=default_namespace) - if default_namespace is None: - default_namespace = Namespace.fallbackNamespace() - saxer = pyxb.binding.saxer.make_parser(fallback_namespace=default_namespace, location_base=location_base) - handler = saxer.getContentHandler() - xmld = xml_text - if isinstance(xmld, _six.text_type): - xmld = xmld.encode(pyxb._InputEncoding) - saxer.parse(io.BytesIO(xmld)) - instance = handler.rootObject() - return instance - -def CreateFromDOM (node, default_namespace=None): - """Create a Python instance from the given DOM node. - The node tag must correspond to an element declaration in this module. - - @deprecated: Forcing use of DOM interface is unnecessary; use L{CreateFromDocument}.""" - if default_namespace is None: - default_namespace = Namespace.fallbackNamespace() - return pyxb.binding.basis.element.AnyCreateFromDOM(node, default_namespace) - - -# Atomic simple type: {http://www.w3.org/2000/09/xmldsig#}CryptoBinary -class CryptoBinary (pyxb.binding.datatypes.base64Binary): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'CryptoBinary') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 34, 0) - _Documentation = None -CryptoBinary._InitializeFacetMap() -Namespace.addCategoryObject('typeBinding', 'CryptoBinary', CryptoBinary) -_module_typeBindings.CryptoBinary = CryptoBinary - -# Atomic simple type: {http://www.w3.org/2000/09/xmldsig#}DigestValueType -class DigestValueType (pyxb.binding.datatypes.base64Binary): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'DigestValueType') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 134, 0) - _Documentation = None -DigestValueType._InitializeFacetMap() -Namespace.addCategoryObject('typeBinding', 'DigestValueType', DigestValueType) -_module_typeBindings.DigestValueType = DigestValueType - -# Atomic simple type: {http://www.w3.org/2000/09/xmldsig#}HMACOutputLengthType -class HMACOutputLengthType (pyxb.binding.datatypes.integer): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'HMACOutputLengthType') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 281, 0) - _Documentation = None -HMACOutputLengthType._InitializeFacetMap() -Namespace.addCategoryObject('typeBinding', 'HMACOutputLengthType', HMACOutputLengthType) -_module_typeBindings.HMACOutputLengthType = HMACOutputLengthType - -# Complex type {http://www.w3.org/2000/09/xmldsig#}SignatureType with content type ELEMENT_ONLY -class SignatureType (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://www.w3.org/2000/09/xmldsig#}SignatureType with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'SignatureType') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 42, 0) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://www.w3.org/2000/09/xmldsig#}SignatureValue uses Python identifier SignatureValue - __SignatureValue = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'SignatureValue'), 'SignatureValue', '__httpwww_w3_org200009xmldsig_SignatureType_httpwww_w3_org200009xmldsigSignatureValue', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 52, 2), ) - - - SignatureValue = property(__SignatureValue.value, __SignatureValue.set, None, None) - - - # Element {http://www.w3.org/2000/09/xmldsig#}SignedInfo uses Python identifier SignedInfo - __SignedInfo = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'SignedInfo'), 'SignedInfo', '__httpwww_w3_org200009xmldsig_SignatureType_httpwww_w3_org200009xmldsigSignedInfo', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 63, 0), ) - - - SignedInfo = property(__SignedInfo.value, __SignedInfo.set, None, None) - - - # Element {http://www.w3.org/2000/09/xmldsig#}KeyInfo uses Python identifier KeyInfo - __KeyInfo = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'KeyInfo'), 'KeyInfo', '__httpwww_w3_org200009xmldsig_SignatureType_httpwww_w3_org200009xmldsigKeyInfo', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 142, 0), ) - - - KeyInfo = property(__KeyInfo.value, __KeyInfo.set, None, None) - - - # Element {http://www.w3.org/2000/09/xmldsig#}Object uses Python identifier Object - __Object = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Object'), 'Object', '__httpwww_w3_org200009xmldsig_SignatureType_httpwww_w3_org200009xmldsigObject', True, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 241, 0), ) - - - Object = property(__Object.value, __Object.set, None, None) - - - # Attribute Id uses Python identifier Id - __Id = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'Id'), 'Id', '__httpwww_w3_org200009xmldsig_SignatureType_Id', pyxb.binding.datatypes.ID) - __Id._DeclarationLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 49, 2) - __Id._UseLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 49, 2) - - Id = property(__Id.value, __Id.set, None, None) - - _ElementMap.update({ - __SignatureValue.name() : __SignatureValue, - __SignedInfo.name() : __SignedInfo, - __KeyInfo.name() : __KeyInfo, - __Object.name() : __Object - }) - _AttributeMap.update({ - __Id.name() : __Id - }) -_module_typeBindings.SignatureType = SignatureType -Namespace.addCategoryObject('typeBinding', 'SignatureType', SignatureType) - - -# Complex type {http://www.w3.org/2000/09/xmldsig#}SignatureValueType with content type SIMPLE -class SignatureValueType (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://www.w3.org/2000/09/xmldsig#}SignatureValueType with content type SIMPLE""" - _TypeDefinition = pyxb.binding.datatypes.base64Binary - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_SIMPLE - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'SignatureValueType') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 53, 2) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.base64Binary - - # Attribute Id uses Python identifier Id - __Id = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'Id'), 'Id', '__httpwww_w3_org200009xmldsig_SignatureValueType_Id', pyxb.binding.datatypes.ID) - __Id._DeclarationLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 56, 8) - __Id._UseLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 56, 8) - - Id = property(__Id.value, __Id.set, None, None) - - _ElementMap.update({ - - }) - _AttributeMap.update({ - __Id.name() : __Id - }) -_module_typeBindings.SignatureValueType = SignatureValueType -Namespace.addCategoryObject('typeBinding', 'SignatureValueType', SignatureValueType) - - -# Complex type {http://www.w3.org/2000/09/xmldsig#}SignedInfoType with content type ELEMENT_ONLY -class SignedInfoType (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://www.w3.org/2000/09/xmldsig#}SignedInfoType with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'SignedInfoType') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 64, 0) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://www.w3.org/2000/09/xmldsig#}CanonicalizationMethod uses Python identifier CanonicalizationMethod - __CanonicalizationMethod = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'CanonicalizationMethod'), 'CanonicalizationMethod', '__httpwww_w3_org200009xmldsig_SignedInfoType_httpwww_w3_org200009xmldsigCanonicalizationMethod', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 73, 2), ) - - - CanonicalizationMethod = property(__CanonicalizationMethod.value, __CanonicalizationMethod.set, None, None) - - - # Element {http://www.w3.org/2000/09/xmldsig#}SignatureMethod uses Python identifier SignatureMethod - __SignatureMethod = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'SignatureMethod'), 'SignatureMethod', '__httpwww_w3_org200009xmldsig_SignedInfoType_httpwww_w3_org200009xmldsigSignatureMethod', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 82, 2), ) - - - SignatureMethod = property(__SignatureMethod.value, __SignatureMethod.set, None, None) - - - # Element {http://www.w3.org/2000/09/xmldsig#}Reference uses Python identifier Reference - __Reference = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Reference'), 'Reference', '__httpwww_w3_org200009xmldsig_SignedInfoType_httpwww_w3_org200009xmldsigReference', True, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 94, 0), ) - - - Reference = property(__Reference.value, __Reference.set, None, None) - - - # Attribute Id uses Python identifier Id - __Id = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'Id'), 'Id', '__httpwww_w3_org200009xmldsig_SignedInfoType_Id', pyxb.binding.datatypes.ID) - __Id._DeclarationLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 70, 2) - __Id._UseLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 70, 2) - - Id = property(__Id.value, __Id.set, None, None) - - _ElementMap.update({ - __CanonicalizationMethod.name() : __CanonicalizationMethod, - __SignatureMethod.name() : __SignatureMethod, - __Reference.name() : __Reference - }) - _AttributeMap.update({ - __Id.name() : __Id - }) -_module_typeBindings.SignedInfoType = SignedInfoType -Namespace.addCategoryObject('typeBinding', 'SignedInfoType', SignedInfoType) - - -# Complex type {http://www.w3.org/2000/09/xmldsig#}CanonicalizationMethodType with content type MIXED -class CanonicalizationMethodType (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://www.w3.org/2000/09/xmldsig#}CanonicalizationMethodType with content type MIXED""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_MIXED - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'CanonicalizationMethodType') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 74, 2) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Attribute Algorithm uses Python identifier Algorithm - __Algorithm = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'Algorithm'), 'Algorithm', '__httpwww_w3_org200009xmldsig_CanonicalizationMethodType_Algorithm', pyxb.binding.datatypes.anyURI, required=True) - __Algorithm._DeclarationLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 79, 4) - __Algorithm._UseLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 79, 4) - - Algorithm = property(__Algorithm.value, __Algorithm.set, None, None) - - _HasWildcardElement = True - _ElementMap.update({ - - }) - _AttributeMap.update({ - __Algorithm.name() : __Algorithm - }) -_module_typeBindings.CanonicalizationMethodType = CanonicalizationMethodType -Namespace.addCategoryObject('typeBinding', 'CanonicalizationMethodType', CanonicalizationMethodType) - - -# Complex type {http://www.w3.org/2000/09/xmldsig#}SignatureMethodType with content type MIXED -class SignatureMethodType (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://www.w3.org/2000/09/xmldsig#}SignatureMethodType with content type MIXED""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_MIXED - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'SignatureMethodType') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 83, 2) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://www.w3.org/2000/09/xmldsig#}HMACOutputLength uses Python identifier HMACOutputLength - __HMACOutputLength = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'HMACOutputLength'), 'HMACOutputLength', '__httpwww_w3_org200009xmldsig_SignatureMethodType_httpwww_w3_org200009xmldsigHMACOutputLength', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 85, 6), ) - - - HMACOutputLength = property(__HMACOutputLength.value, __HMACOutputLength.set, None, None) - - - # Attribute Algorithm uses Python identifier Algorithm - __Algorithm = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'Algorithm'), 'Algorithm', '__httpwww_w3_org200009xmldsig_SignatureMethodType_Algorithm', pyxb.binding.datatypes.anyURI, required=True) - __Algorithm._DeclarationLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 89, 4) - __Algorithm._UseLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 89, 4) - - Algorithm = property(__Algorithm.value, __Algorithm.set, None, None) - - _HasWildcardElement = True - _ElementMap.update({ - __HMACOutputLength.name() : __HMACOutputLength - }) - _AttributeMap.update({ - __Algorithm.name() : __Algorithm - }) -_module_typeBindings.SignatureMethodType = SignatureMethodType -Namespace.addCategoryObject('typeBinding', 'SignatureMethodType', SignatureMethodType) - - -# Complex type {http://www.w3.org/2000/09/xmldsig#}ReferenceType with content type ELEMENT_ONLY -class ReferenceType (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://www.w3.org/2000/09/xmldsig#}ReferenceType with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'ReferenceType') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 95, 0) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://www.w3.org/2000/09/xmldsig#}Transforms uses Python identifier Transforms - __Transforms = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Transforms'), 'Transforms', '__httpwww_w3_org200009xmldsig_ReferenceType_httpwww_w3_org200009xmldsigTransforms', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 106, 2), ) - - - Transforms = property(__Transforms.value, __Transforms.set, None, None) - - - # Element {http://www.w3.org/2000/09/xmldsig#}DigestMethod uses Python identifier DigestMethod - __DigestMethod = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'DigestMethod'), 'DigestMethod', '__httpwww_w3_org200009xmldsig_ReferenceType_httpwww_w3_org200009xmldsigDigestMethod', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 125, 0), ) - - - DigestMethod = property(__DigestMethod.value, __DigestMethod.set, None, None) - - - # Element {http://www.w3.org/2000/09/xmldsig#}DigestValue uses Python identifier DigestValue - __DigestValue = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'DigestValue'), 'DigestValue', '__httpwww_w3_org200009xmldsig_ReferenceType_httpwww_w3_org200009xmldsigDigestValue', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 133, 0), ) - - - DigestValue = property(__DigestValue.value, __DigestValue.set, None, None) - - - # Attribute Id uses Python identifier Id - __Id = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'Id'), 'Id', '__httpwww_w3_org200009xmldsig_ReferenceType_Id', pyxb.binding.datatypes.ID) - __Id._DeclarationLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 101, 2) - __Id._UseLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 101, 2) - - Id = property(__Id.value, __Id.set, None, None) - - - # Attribute URI uses Python identifier URI - __URI = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'URI'), 'URI', '__httpwww_w3_org200009xmldsig_ReferenceType_URI', pyxb.binding.datatypes.anyURI) - __URI._DeclarationLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 102, 2) - __URI._UseLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 102, 2) - - URI = property(__URI.value, __URI.set, None, None) - - - # Attribute Type uses Python identifier Type - __Type = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'Type'), 'Type', '__httpwww_w3_org200009xmldsig_ReferenceType_Type', pyxb.binding.datatypes.anyURI) - __Type._DeclarationLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 103, 2) - __Type._UseLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 103, 2) - - Type = property(__Type.value, __Type.set, None, None) - - _ElementMap.update({ - __Transforms.name() : __Transforms, - __DigestMethod.name() : __DigestMethod, - __DigestValue.name() : __DigestValue - }) - _AttributeMap.update({ - __Id.name() : __Id, - __URI.name() : __URI, - __Type.name() : __Type - }) -_module_typeBindings.ReferenceType = ReferenceType -Namespace.addCategoryObject('typeBinding', 'ReferenceType', ReferenceType) - - -# Complex type {http://www.w3.org/2000/09/xmldsig#}TransformsType with content type ELEMENT_ONLY -class TransformsType (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://www.w3.org/2000/09/xmldsig#}TransformsType with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'TransformsType') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 107, 2) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://www.w3.org/2000/09/xmldsig#}Transform uses Python identifier Transform - __Transform = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Transform'), 'Transform', '__httpwww_w3_org200009xmldsig_TransformsType_httpwww_w3_org200009xmldsigTransform', True, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 113, 2), ) - - - Transform = property(__Transform.value, __Transform.set, None, None) - - _ElementMap.update({ - __Transform.name() : __Transform - }) - _AttributeMap.update({ - - }) -_module_typeBindings.TransformsType = TransformsType -Namespace.addCategoryObject('typeBinding', 'TransformsType', TransformsType) - - -# Complex type {http://www.w3.org/2000/09/xmldsig#}TransformType with content type MIXED -class TransformType (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://www.w3.org/2000/09/xmldsig#}TransformType with content type MIXED""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_MIXED - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'TransformType') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 114, 2) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://www.w3.org/2000/09/xmldsig#}XPath uses Python identifier XPath - __XPath = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'XPath'), 'XPath', '__httpwww_w3_org200009xmldsig_TransformType_httpwww_w3_org200009xmldsigXPath', True, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 118, 6), ) - - - XPath = property(__XPath.value, __XPath.set, None, None) - - - # Attribute Algorithm uses Python identifier Algorithm - __Algorithm = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'Algorithm'), 'Algorithm', '__httpwww_w3_org200009xmldsig_TransformType_Algorithm', pyxb.binding.datatypes.anyURI, required=True) - __Algorithm._DeclarationLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 120, 4) - __Algorithm._UseLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 120, 4) - - Algorithm = property(__Algorithm.value, __Algorithm.set, None, None) - - _HasWildcardElement = True - _ElementMap.update({ - __XPath.name() : __XPath - }) - _AttributeMap.update({ - __Algorithm.name() : __Algorithm - }) -_module_typeBindings.TransformType = TransformType -Namespace.addCategoryObject('typeBinding', 'TransformType', TransformType) - - -# Complex type {http://www.w3.org/2000/09/xmldsig#}DigestMethodType with content type MIXED -class DigestMethodType (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://www.w3.org/2000/09/xmldsig#}DigestMethodType with content type MIXED""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_MIXED - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'DigestMethodType') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 126, 0) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Attribute Algorithm uses Python identifier Algorithm - __Algorithm = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'Algorithm'), 'Algorithm', '__httpwww_w3_org200009xmldsig_DigestMethodType_Algorithm', pyxb.binding.datatypes.anyURI, required=True) - __Algorithm._DeclarationLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 130, 2) - __Algorithm._UseLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 130, 2) - - Algorithm = property(__Algorithm.value, __Algorithm.set, None, None) - - _HasWildcardElement = True - _ElementMap.update({ - - }) - _AttributeMap.update({ - __Algorithm.name() : __Algorithm - }) -_module_typeBindings.DigestMethodType = DigestMethodType -Namespace.addCategoryObject('typeBinding', 'DigestMethodType', DigestMethodType) - - -# Complex type {http://www.w3.org/2000/09/xmldsig#}KeyInfoType with content type MIXED -class KeyInfoType (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://www.w3.org/2000/09/xmldsig#}KeyInfoType with content type MIXED""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_MIXED - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'KeyInfoType') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 143, 0) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://www.w3.org/2000/09/xmldsig#}KeyName uses Python identifier KeyName - __KeyName = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'KeyName'), 'KeyName', '__httpwww_w3_org200009xmldsig_KeyInfoType_httpwww_w3_org200009xmldsigKeyName', True, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 158, 2), ) - - - KeyName = property(__KeyName.value, __KeyName.set, None, None) - - - # Element {http://www.w3.org/2000/09/xmldsig#}MgmtData uses Python identifier MgmtData - __MgmtData = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'MgmtData'), 'MgmtData', '__httpwww_w3_org200009xmldsig_KeyInfoType_httpwww_w3_org200009xmldsigMgmtData', True, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 159, 2), ) - - - MgmtData = property(__MgmtData.value, __MgmtData.set, None, None) - - - # Element {http://www.w3.org/2000/09/xmldsig#}KeyValue uses Python identifier KeyValue - __KeyValue = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'KeyValue'), 'KeyValue', '__httpwww_w3_org200009xmldsig_KeyInfoType_httpwww_w3_org200009xmldsigKeyValue', True, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 161, 2), ) - - - KeyValue = property(__KeyValue.value, __KeyValue.set, None, None) - - - # Element {http://www.w3.org/2000/09/xmldsig#}RetrievalMethod uses Python identifier RetrievalMethod - __RetrievalMethod = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'RetrievalMethod'), 'RetrievalMethod', '__httpwww_w3_org200009xmldsig_KeyInfoType_httpwww_w3_org200009xmldsigRetrievalMethod', True, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 170, 2), ) - - - RetrievalMethod = property(__RetrievalMethod.value, __RetrievalMethod.set, None, None) - - - # Element {http://www.w3.org/2000/09/xmldsig#}X509Data uses Python identifier X509Data - __X509Data = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'X509Data'), 'X509Data', '__httpwww_w3_org200009xmldsig_KeyInfoType_httpwww_w3_org200009xmldsigX509Data', True, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 181, 0), ) - - - X509Data = property(__X509Data.value, __X509Data.set, None, None) - - - # Element {http://www.w3.org/2000/09/xmldsig#}PGPData uses Python identifier PGPData - __PGPData = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'PGPData'), 'PGPData', '__httpwww_w3_org200009xmldsig_KeyInfoType_httpwww_w3_org200009xmldsigPGPData', True, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 206, 0), ) - - - PGPData = property(__PGPData.value, __PGPData.set, None, None) - - - # Element {http://www.w3.org/2000/09/xmldsig#}SPKIData uses Python identifier SPKIData - __SPKIData = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'SPKIData'), 'SPKIData', '__httpwww_w3_org200009xmldsig_KeyInfoType_httpwww_w3_org200009xmldsigSPKIData', True, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 227, 0), ) - - - SPKIData = property(__SPKIData.value, __SPKIData.set, None, None) - - - # Attribute Id uses Python identifier Id - __Id = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'Id'), 'Id', '__httpwww_w3_org200009xmldsig_KeyInfoType_Id', pyxb.binding.datatypes.ID) - __Id._DeclarationLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 155, 2) - __Id._UseLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 155, 2) - - Id = property(__Id.value, __Id.set, None, None) - - _HasWildcardElement = True - _ElementMap.update({ - __KeyName.name() : __KeyName, - __MgmtData.name() : __MgmtData, - __KeyValue.name() : __KeyValue, - __RetrievalMethod.name() : __RetrievalMethod, - __X509Data.name() : __X509Data, - __PGPData.name() : __PGPData, - __SPKIData.name() : __SPKIData - }) - _AttributeMap.update({ - __Id.name() : __Id - }) -_module_typeBindings.KeyInfoType = KeyInfoType -Namespace.addCategoryObject('typeBinding', 'KeyInfoType', KeyInfoType) - - -# Complex type {http://www.w3.org/2000/09/xmldsig#}KeyValueType with content type MIXED -class KeyValueType (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://www.w3.org/2000/09/xmldsig#}KeyValueType with content type MIXED""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_MIXED - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'KeyValueType') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 162, 2) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://www.w3.org/2000/09/xmldsig#}DSAKeyValue uses Python identifier DSAKeyValue - __DSAKeyValue = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'DSAKeyValue'), 'DSAKeyValue', '__httpwww_w3_org200009xmldsig_KeyValueType_httpwww_w3_org200009xmldsigDSAKeyValue', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 287, 0), ) - - - DSAKeyValue = property(__DSAKeyValue.value, __DSAKeyValue.set, None, None) - - - # Element {http://www.w3.org/2000/09/xmldsig#}RSAKeyValue uses Python identifier RSAKeyValue - __RSAKeyValue = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'RSAKeyValue'), 'RSAKeyValue', '__httpwww_w3_org200009xmldsig_KeyValueType_httpwww_w3_org200009xmldsigRSAKeyValue', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 304, 0), ) - - - RSAKeyValue = property(__RSAKeyValue.value, __RSAKeyValue.set, None, None) - - _HasWildcardElement = True - _ElementMap.update({ - __DSAKeyValue.name() : __DSAKeyValue, - __RSAKeyValue.name() : __RSAKeyValue - }) - _AttributeMap.update({ - - }) -_module_typeBindings.KeyValueType = KeyValueType -Namespace.addCategoryObject('typeBinding', 'KeyValueType', KeyValueType) - - -# Complex type {http://www.w3.org/2000/09/xmldsig#}RetrievalMethodType with content type ELEMENT_ONLY -class RetrievalMethodType (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://www.w3.org/2000/09/xmldsig#}RetrievalMethodType with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'RetrievalMethodType') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 171, 2) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://www.w3.org/2000/09/xmldsig#}Transforms uses Python identifier Transforms - __Transforms = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Transforms'), 'Transforms', '__httpwww_w3_org200009xmldsig_RetrievalMethodType_httpwww_w3_org200009xmldsigTransforms', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 106, 2), ) - - - Transforms = property(__Transforms.value, __Transforms.set, None, None) - - - # Attribute URI uses Python identifier URI - __URI = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'URI'), 'URI', '__httpwww_w3_org200009xmldsig_RetrievalMethodType_URI', pyxb.binding.datatypes.anyURI) - __URI._DeclarationLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 175, 4) - __URI._UseLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 175, 4) - - URI = property(__URI.value, __URI.set, None, None) - - - # Attribute Type uses Python identifier Type - __Type = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'Type'), 'Type', '__httpwww_w3_org200009xmldsig_RetrievalMethodType_Type', pyxb.binding.datatypes.anyURI) - __Type._DeclarationLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 176, 4) - __Type._UseLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 176, 4) - - Type = property(__Type.value, __Type.set, None, None) - - _ElementMap.update({ - __Transforms.name() : __Transforms - }) - _AttributeMap.update({ - __URI.name() : __URI, - __Type.name() : __Type - }) -_module_typeBindings.RetrievalMethodType = RetrievalMethodType -Namespace.addCategoryObject('typeBinding', 'RetrievalMethodType', RetrievalMethodType) - - -# Complex type {http://www.w3.org/2000/09/xmldsig#}X509DataType with content type ELEMENT_ONLY -class X509DataType (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://www.w3.org/2000/09/xmldsig#}X509DataType with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'X509DataType') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 182, 0) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://www.w3.org/2000/09/xmldsig#}X509IssuerSerial uses Python identifier X509IssuerSerial - __X509IssuerSerial = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'X509IssuerSerial'), 'X509IssuerSerial', '__httpwww_w3_org200009xmldsig_X509DataType_httpwww_w3_org200009xmldsigX509IssuerSerial', True, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 185, 6), ) - - - X509IssuerSerial = property(__X509IssuerSerial.value, __X509IssuerSerial.set, None, None) - - - # Element {http://www.w3.org/2000/09/xmldsig#}X509SKI uses Python identifier X509SKI - __X509SKI = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'X509SKI'), 'X509SKI', '__httpwww_w3_org200009xmldsig_X509DataType_httpwww_w3_org200009xmldsigX509SKI', True, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 186, 6), ) - - - X509SKI = property(__X509SKI.value, __X509SKI.set, None, None) - - - # Element {http://www.w3.org/2000/09/xmldsig#}X509SubjectName uses Python identifier X509SubjectName - __X509SubjectName = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'X509SubjectName'), 'X509SubjectName', '__httpwww_w3_org200009xmldsig_X509DataType_httpwww_w3_org200009xmldsigX509SubjectName', True, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 187, 6), ) - - - X509SubjectName = property(__X509SubjectName.value, __X509SubjectName.set, None, None) - - - # Element {http://www.w3.org/2000/09/xmldsig#}X509Certificate uses Python identifier X509Certificate - __X509Certificate = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'X509Certificate'), 'X509Certificate', '__httpwww_w3_org200009xmldsig_X509DataType_httpwww_w3_org200009xmldsigX509Certificate', True, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 188, 6), ) - - - X509Certificate = property(__X509Certificate.value, __X509Certificate.set, None, None) - - - # Element {http://www.w3.org/2000/09/xmldsig#}X509CRL uses Python identifier X509CRL - __X509CRL = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'X509CRL'), 'X509CRL', '__httpwww_w3_org200009xmldsig_X509DataType_httpwww_w3_org200009xmldsigX509CRL', True, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 189, 6), ) - - - X509CRL = property(__X509CRL.value, __X509CRL.set, None, None) - - _HasWildcardElement = True - _ElementMap.update({ - __X509IssuerSerial.name() : __X509IssuerSerial, - __X509SKI.name() : __X509SKI, - __X509SubjectName.name() : __X509SubjectName, - __X509Certificate.name() : __X509Certificate, - __X509CRL.name() : __X509CRL - }) - _AttributeMap.update({ - - }) -_module_typeBindings.X509DataType = X509DataType -Namespace.addCategoryObject('typeBinding', 'X509DataType', X509DataType) - - -# Complex type {http://www.w3.org/2000/09/xmldsig#}X509IssuerSerialType with content type ELEMENT_ONLY -class X509IssuerSerialType (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://www.w3.org/2000/09/xmldsig#}X509IssuerSerialType with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'X509IssuerSerialType') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 195, 0) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://www.w3.org/2000/09/xmldsig#}X509IssuerName uses Python identifier X509IssuerName - __X509IssuerName = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'X509IssuerName'), 'X509IssuerName', '__httpwww_w3_org200009xmldsig_X509IssuerSerialType_httpwww_w3_org200009xmldsigX509IssuerName', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 197, 4), ) - - - X509IssuerName = property(__X509IssuerName.value, __X509IssuerName.set, None, None) - - - # Element {http://www.w3.org/2000/09/xmldsig#}X509SerialNumber uses Python identifier X509SerialNumber - __X509SerialNumber = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'X509SerialNumber'), 'X509SerialNumber', '__httpwww_w3_org200009xmldsig_X509IssuerSerialType_httpwww_w3_org200009xmldsigX509SerialNumber', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 198, 4), ) - - - X509SerialNumber = property(__X509SerialNumber.value, __X509SerialNumber.set, None, None) - - _ElementMap.update({ - __X509IssuerName.name() : __X509IssuerName, - __X509SerialNumber.name() : __X509SerialNumber - }) - _AttributeMap.update({ - - }) -_module_typeBindings.X509IssuerSerialType = X509IssuerSerialType -Namespace.addCategoryObject('typeBinding', 'X509IssuerSerialType', X509IssuerSerialType) - - -# Complex type {http://www.w3.org/2000/09/xmldsig#}PGPDataType with content type ELEMENT_ONLY -class PGPDataType (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://www.w3.org/2000/09/xmldsig#}PGPDataType with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'PGPDataType') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 207, 0) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://www.w3.org/2000/09/xmldsig#}PGPKeyID uses Python identifier PGPKeyID - __PGPKeyID = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'PGPKeyID'), 'PGPKeyID', '__httpwww_w3_org200009xmldsig_PGPDataType_httpwww_w3_org200009xmldsigPGPKeyID', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 210, 6), ) - - - PGPKeyID = property(__PGPKeyID.value, __PGPKeyID.set, None, None) - - - # Element {http://www.w3.org/2000/09/xmldsig#}PGPKeyPacket uses Python identifier PGPKeyPacket - __PGPKeyPacket = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'PGPKeyPacket'), 'PGPKeyPacket', '__httpwww_w3_org200009xmldsig_PGPDataType_httpwww_w3_org200009xmldsigPGPKeyPacket', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 211, 6), ) - - - PGPKeyPacket = property(__PGPKeyPacket.value, __PGPKeyPacket.set, None, None) - - _HasWildcardElement = True - _ElementMap.update({ - __PGPKeyID.name() : __PGPKeyID, - __PGPKeyPacket.name() : __PGPKeyPacket - }) - _AttributeMap.update({ - - }) -_module_typeBindings.PGPDataType = PGPDataType -Namespace.addCategoryObject('typeBinding', 'PGPDataType', PGPDataType) - - -# Complex type {http://www.w3.org/2000/09/xmldsig#}SPKIDataType with content type ELEMENT_ONLY -class SPKIDataType (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://www.w3.org/2000/09/xmldsig#}SPKIDataType with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'SPKIDataType') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 228, 0) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://www.w3.org/2000/09/xmldsig#}SPKISexp uses Python identifier SPKISexp - __SPKISexp = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'SPKISexp'), 'SPKISexp', '__httpwww_w3_org200009xmldsig_SPKIDataType_httpwww_w3_org200009xmldsigSPKISexp', True, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 230, 4), ) - - - SPKISexp = property(__SPKISexp.value, __SPKISexp.set, None, None) - - _HasWildcardElement = True - _ElementMap.update({ - __SPKISexp.name() : __SPKISexp - }) - _AttributeMap.update({ - - }) -_module_typeBindings.SPKIDataType = SPKIDataType -Namespace.addCategoryObject('typeBinding', 'SPKIDataType', SPKIDataType) - - -# Complex type {http://www.w3.org/2000/09/xmldsig#}ObjectType with content type MIXED -class ObjectType (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://www.w3.org/2000/09/xmldsig#}ObjectType with content type MIXED""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_MIXED - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'ObjectType') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 242, 0) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Attribute Id uses Python identifier Id - __Id = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'Id'), 'Id', '__httpwww_w3_org200009xmldsig_ObjectType_Id', pyxb.binding.datatypes.ID) - __Id._DeclarationLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 246, 2) - __Id._UseLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 246, 2) - - Id = property(__Id.value, __Id.set, None, None) - - - # Attribute MimeType uses Python identifier MimeType - __MimeType = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'MimeType'), 'MimeType', '__httpwww_w3_org200009xmldsig_ObjectType_MimeType', pyxb.binding.datatypes.string) - __MimeType._DeclarationLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 247, 2) - __MimeType._UseLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 247, 2) - - MimeType = property(__MimeType.value, __MimeType.set, None, None) - - - # Attribute Encoding uses Python identifier Encoding - __Encoding = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'Encoding'), 'Encoding', '__httpwww_w3_org200009xmldsig_ObjectType_Encoding', pyxb.binding.datatypes.anyURI) - __Encoding._DeclarationLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 248, 2) - __Encoding._UseLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 248, 2) - - Encoding = property(__Encoding.value, __Encoding.set, None, None) - - _HasWildcardElement = True - _ElementMap.update({ - - }) - _AttributeMap.update({ - __Id.name() : __Id, - __MimeType.name() : __MimeType, - __Encoding.name() : __Encoding - }) -_module_typeBindings.ObjectType = ObjectType -Namespace.addCategoryObject('typeBinding', 'ObjectType', ObjectType) - - -# Complex type {http://www.w3.org/2000/09/xmldsig#}ManifestType with content type ELEMENT_ONLY -class ManifestType (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://www.w3.org/2000/09/xmldsig#}ManifestType with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'ManifestType') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 252, 0) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://www.w3.org/2000/09/xmldsig#}Reference uses Python identifier Reference - __Reference = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Reference'), 'Reference', '__httpwww_w3_org200009xmldsig_ManifestType_httpwww_w3_org200009xmldsigReference', True, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 94, 0), ) - - - Reference = property(__Reference.value, __Reference.set, None, None) - - - # Attribute Id uses Python identifier Id - __Id = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'Id'), 'Id', '__httpwww_w3_org200009xmldsig_ManifestType_Id', pyxb.binding.datatypes.ID) - __Id._DeclarationLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 256, 2) - __Id._UseLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 256, 2) - - Id = property(__Id.value, __Id.set, None, None) - - _ElementMap.update({ - __Reference.name() : __Reference - }) - _AttributeMap.update({ - __Id.name() : __Id - }) -_module_typeBindings.ManifestType = ManifestType -Namespace.addCategoryObject('typeBinding', 'ManifestType', ManifestType) - - -# Complex type {http://www.w3.org/2000/09/xmldsig#}SignaturePropertiesType with content type ELEMENT_ONLY -class SignaturePropertiesType (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://www.w3.org/2000/09/xmldsig#}SignaturePropertiesType with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'SignaturePropertiesType') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 260, 0) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://www.w3.org/2000/09/xmldsig#}SignatureProperty uses Python identifier SignatureProperty - __SignatureProperty = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'SignatureProperty'), 'SignatureProperty', '__httpwww_w3_org200009xmldsig_SignaturePropertiesType_httpwww_w3_org200009xmldsigSignatureProperty', True, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 267, 3), ) - - - SignatureProperty = property(__SignatureProperty.value, __SignatureProperty.set, None, None) - - - # Attribute Id uses Python identifier Id - __Id = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'Id'), 'Id', '__httpwww_w3_org200009xmldsig_SignaturePropertiesType_Id', pyxb.binding.datatypes.ID) - __Id._DeclarationLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 264, 2) - __Id._UseLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 264, 2) - - Id = property(__Id.value, __Id.set, None, None) - - _ElementMap.update({ - __SignatureProperty.name() : __SignatureProperty - }) - _AttributeMap.update({ - __Id.name() : __Id - }) -_module_typeBindings.SignaturePropertiesType = SignaturePropertiesType -Namespace.addCategoryObject('typeBinding', 'SignaturePropertiesType', SignaturePropertiesType) - - -# Complex type {http://www.w3.org/2000/09/xmldsig#}SignaturePropertyType with content type MIXED -class SignaturePropertyType (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://www.w3.org/2000/09/xmldsig#}SignaturePropertyType with content type MIXED""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_MIXED - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'SignaturePropertyType') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 268, 3) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Attribute Target uses Python identifier Target - __Target = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'Target'), 'Target', '__httpwww_w3_org200009xmldsig_SignaturePropertyType_Target', pyxb.binding.datatypes.anyURI, required=True) - __Target._DeclarationLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 273, 5) - __Target._UseLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 273, 5) - - Target = property(__Target.value, __Target.set, None, None) - - - # Attribute Id uses Python identifier Id - __Id = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'Id'), 'Id', '__httpwww_w3_org200009xmldsig_SignaturePropertyType_Id', pyxb.binding.datatypes.ID) - __Id._DeclarationLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 274, 5) - __Id._UseLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 274, 5) - - Id = property(__Id.value, __Id.set, None, None) - - _HasWildcardElement = True - _ElementMap.update({ - - }) - _AttributeMap.update({ - __Target.name() : __Target, - __Id.name() : __Id - }) -_module_typeBindings.SignaturePropertyType = SignaturePropertyType -Namespace.addCategoryObject('typeBinding', 'SignaturePropertyType', SignaturePropertyType) - - -# Complex type {http://www.w3.org/2000/09/xmldsig#}DSAKeyValueType with content type ELEMENT_ONLY -class DSAKeyValueType (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://www.w3.org/2000/09/xmldsig#}DSAKeyValueType with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'DSAKeyValueType') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 288, 0) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://www.w3.org/2000/09/xmldsig#}P uses Python identifier P - __P = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'P'), 'P', '__httpwww_w3_org200009xmldsig_DSAKeyValueType_httpwww_w3_org200009xmldsigP', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 291, 6), ) - - - P = property(__P.value, __P.set, None, None) - - - # Element {http://www.w3.org/2000/09/xmldsig#}Q uses Python identifier Q - __Q = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Q'), 'Q', '__httpwww_w3_org200009xmldsig_DSAKeyValueType_httpwww_w3_org200009xmldsigQ', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 292, 6), ) - - - Q = property(__Q.value, __Q.set, None, None) - - - # Element {http://www.w3.org/2000/09/xmldsig#}G uses Python identifier G - __G = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'G'), 'G', '__httpwww_w3_org200009xmldsig_DSAKeyValueType_httpwww_w3_org200009xmldsigG', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 294, 4), ) - - - G = property(__G.value, __G.set, None, None) - - - # Element {http://www.w3.org/2000/09/xmldsig#}Y uses Python identifier Y - __Y = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Y'), 'Y', '__httpwww_w3_org200009xmldsig_DSAKeyValueType_httpwww_w3_org200009xmldsigY', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 295, 4), ) - - - Y = property(__Y.value, __Y.set, None, None) - - - # Element {http://www.w3.org/2000/09/xmldsig#}J uses Python identifier J - __J = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'J'), 'J', '__httpwww_w3_org200009xmldsig_DSAKeyValueType_httpwww_w3_org200009xmldsigJ', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 296, 4), ) - - - J = property(__J.value, __J.set, None, None) - - - # Element {http://www.w3.org/2000/09/xmldsig#}Seed uses Python identifier Seed - __Seed = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Seed'), 'Seed', '__httpwww_w3_org200009xmldsig_DSAKeyValueType_httpwww_w3_org200009xmldsigSeed', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 298, 6), ) - - - Seed = property(__Seed.value, __Seed.set, None, None) - - - # Element {http://www.w3.org/2000/09/xmldsig#}PgenCounter uses Python identifier PgenCounter - __PgenCounter = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'PgenCounter'), 'PgenCounter', '__httpwww_w3_org200009xmldsig_DSAKeyValueType_httpwww_w3_org200009xmldsigPgenCounter', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 299, 6), ) - - - PgenCounter = property(__PgenCounter.value, __PgenCounter.set, None, None) - - _ElementMap.update({ - __P.name() : __P, - __Q.name() : __Q, - __G.name() : __G, - __Y.name() : __Y, - __J.name() : __J, - __Seed.name() : __Seed, - __PgenCounter.name() : __PgenCounter - }) - _AttributeMap.update({ - - }) -_module_typeBindings.DSAKeyValueType = DSAKeyValueType -Namespace.addCategoryObject('typeBinding', 'DSAKeyValueType', DSAKeyValueType) - - -# Complex type {http://www.w3.org/2000/09/xmldsig#}RSAKeyValueType with content type ELEMENT_ONLY -class RSAKeyValueType (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://www.w3.org/2000/09/xmldsig#}RSAKeyValueType with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'RSAKeyValueType') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 305, 0) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://www.w3.org/2000/09/xmldsig#}Modulus uses Python identifier Modulus - __Modulus = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Modulus'), 'Modulus', '__httpwww_w3_org200009xmldsig_RSAKeyValueType_httpwww_w3_org200009xmldsigModulus', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 307, 4), ) - - - Modulus = property(__Modulus.value, __Modulus.set, None, None) - - - # Element {http://www.w3.org/2000/09/xmldsig#}Exponent uses Python identifier Exponent - __Exponent = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Exponent'), 'Exponent', '__httpwww_w3_org200009xmldsig_RSAKeyValueType_httpwww_w3_org200009xmldsigExponent', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 308, 4), ) - - - Exponent = property(__Exponent.value, __Exponent.set, None, None) - - _ElementMap.update({ - __Modulus.name() : __Modulus, - __Exponent.name() : __Exponent - }) - _AttributeMap.update({ - - }) -_module_typeBindings.RSAKeyValueType = RSAKeyValueType -Namespace.addCategoryObject('typeBinding', 'RSAKeyValueType', RSAKeyValueType) - - -KeyName = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'KeyName'), pyxb.binding.datatypes.string, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 158, 2)) -Namespace.addCategoryObject('elementBinding', KeyName.name().localName(), KeyName) - -MgmtData = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'MgmtData'), pyxb.binding.datatypes.string, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 159, 2)) -Namespace.addCategoryObject('elementBinding', MgmtData.name().localName(), MgmtData) - -Signature = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Signature'), SignatureType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 41, 0)) -Namespace.addCategoryObject('elementBinding', Signature.name().localName(), Signature) - -SignatureValue = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'SignatureValue'), SignatureValueType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 52, 2)) -Namespace.addCategoryObject('elementBinding', SignatureValue.name().localName(), SignatureValue) - -SignedInfo = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'SignedInfo'), SignedInfoType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 63, 0)) -Namespace.addCategoryObject('elementBinding', SignedInfo.name().localName(), SignedInfo) - -CanonicalizationMethod = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'CanonicalizationMethod'), CanonicalizationMethodType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 73, 2)) -Namespace.addCategoryObject('elementBinding', CanonicalizationMethod.name().localName(), CanonicalizationMethod) - -SignatureMethod = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'SignatureMethod'), SignatureMethodType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 82, 2)) -Namespace.addCategoryObject('elementBinding', SignatureMethod.name().localName(), SignatureMethod) - -Reference = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Reference'), ReferenceType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 94, 0)) -Namespace.addCategoryObject('elementBinding', Reference.name().localName(), Reference) - -Transforms = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Transforms'), TransformsType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 106, 2)) -Namespace.addCategoryObject('elementBinding', Transforms.name().localName(), Transforms) - -Transform = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Transform'), TransformType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 113, 2)) -Namespace.addCategoryObject('elementBinding', Transform.name().localName(), Transform) - -DigestMethod = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'DigestMethod'), DigestMethodType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 125, 0)) -Namespace.addCategoryObject('elementBinding', DigestMethod.name().localName(), DigestMethod) - -DigestValue = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'DigestValue'), DigestValueType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 133, 0)) -Namespace.addCategoryObject('elementBinding', DigestValue.name().localName(), DigestValue) - -KeyInfo = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'KeyInfo'), KeyInfoType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 142, 0)) -Namespace.addCategoryObject('elementBinding', KeyInfo.name().localName(), KeyInfo) - -KeyValue = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'KeyValue'), KeyValueType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 161, 2)) -Namespace.addCategoryObject('elementBinding', KeyValue.name().localName(), KeyValue) - -RetrievalMethod = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'RetrievalMethod'), RetrievalMethodType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 170, 2)) -Namespace.addCategoryObject('elementBinding', RetrievalMethod.name().localName(), RetrievalMethod) - -X509Data = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'X509Data'), X509DataType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 181, 0)) -Namespace.addCategoryObject('elementBinding', X509Data.name().localName(), X509Data) - -PGPData = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'PGPData'), PGPDataType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 206, 0)) -Namespace.addCategoryObject('elementBinding', PGPData.name().localName(), PGPData) - -SPKIData = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'SPKIData'), SPKIDataType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 227, 0)) -Namespace.addCategoryObject('elementBinding', SPKIData.name().localName(), SPKIData) - -Object = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Object'), ObjectType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 241, 0)) -Namespace.addCategoryObject('elementBinding', Object.name().localName(), Object) - -Manifest = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Manifest'), ManifestType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 251, 0)) -Namespace.addCategoryObject('elementBinding', Manifest.name().localName(), Manifest) - -SignatureProperties = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'SignatureProperties'), SignaturePropertiesType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 259, 0)) -Namespace.addCategoryObject('elementBinding', SignatureProperties.name().localName(), SignatureProperties) - -SignatureProperty = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'SignatureProperty'), SignaturePropertyType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 267, 3)) -Namespace.addCategoryObject('elementBinding', SignatureProperty.name().localName(), SignatureProperty) - -DSAKeyValue = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'DSAKeyValue'), DSAKeyValueType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 287, 0)) -Namespace.addCategoryObject('elementBinding', DSAKeyValue.name().localName(), DSAKeyValue) - -RSAKeyValue = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'RSAKeyValue'), RSAKeyValueType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 304, 0)) -Namespace.addCategoryObject('elementBinding', RSAKeyValue.name().localName(), RSAKeyValue) - - - -SignatureType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'SignatureValue'), SignatureValueType, scope=SignatureType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 52, 2))) - -SignatureType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'SignedInfo'), SignedInfoType, scope=SignatureType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 63, 0))) - -SignatureType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'KeyInfo'), KeyInfoType, scope=SignatureType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 142, 0))) - -SignatureType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Object'), ObjectType, scope=SignatureType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 241, 0))) - -def _BuildAutomaton (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton - del _BuildAutomaton - import pyxb.utils.fac as fac - - counters = set() - cc_0 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 46, 4)) - counters.add(cc_0) - cc_1 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 47, 4)) - counters.add(cc_1) - states = [] - final_update = None - symbol = pyxb.binding.content.ElementUse(SignatureType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'SignedInfo')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 44, 4)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = set() - symbol = pyxb.binding.content.ElementUse(SignatureType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'SignatureValue')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 45, 4)) - st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - final_update = set() - final_update.add(fac.UpdateInstruction(cc_0, False)) - symbol = pyxb.binding.content.ElementUse(SignatureType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'KeyInfo')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 46, 4)) - st_2 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_2) - final_update = set() - final_update.add(fac.UpdateInstruction(cc_1, False)) - symbol = pyxb.binding.content.ElementUse(SignatureType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Object')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 47, 4)) - st_3 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_3) - transitions = [] - transitions.append(fac.Transition(st_1, [ - ])) - st_0._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_2, [ - ])) - transitions.append(fac.Transition(st_3, [ - ])) - st_1._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_2, [ - fac.UpdateInstruction(cc_0, True) ])) - transitions.append(fac.Transition(st_3, [ - fac.UpdateInstruction(cc_0, False) ])) - st_2._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_3, [ - fac.UpdateInstruction(cc_1, True) ])) - st_3._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -SignatureType._Automaton = _BuildAutomaton() - - - - -SignedInfoType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'CanonicalizationMethod'), CanonicalizationMethodType, scope=SignedInfoType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 73, 2))) - -SignedInfoType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'SignatureMethod'), SignatureMethodType, scope=SignedInfoType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 82, 2))) - -SignedInfoType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Reference'), ReferenceType, scope=SignedInfoType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 94, 0))) - -def _BuildAutomaton_ (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_ - del _BuildAutomaton_ - import pyxb.utils.fac as fac - - counters = set() - states = [] - final_update = None - symbol = pyxb.binding.content.ElementUse(SignedInfoType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'CanonicalizationMethod')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 66, 4)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = None - symbol = pyxb.binding.content.ElementUse(SignedInfoType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'SignatureMethod')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 67, 4)) - st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - final_update = set() - symbol = pyxb.binding.content.ElementUse(SignedInfoType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Reference')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 68, 4)) - st_2 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_2) - transitions = [] - transitions.append(fac.Transition(st_1, [ - ])) - st_0._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_2, [ - ])) - st_1._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_2, [ - ])) - st_2._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -SignedInfoType._Automaton = _BuildAutomaton_() - - - - -def _BuildAutomaton_2 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_2 - del _BuildAutomaton_2 - import pyxb.utils.fac as fac - - counters = set() - cc_0 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 76, 6)) - counters.add(cc_0) - states = [] - final_update = set() - final_update.add(fac.UpdateInstruction(cc_0, False)) - symbol = pyxb.binding.content.WildcardUse(pyxb.binding.content.Wildcard(process_contents=pyxb.binding.content.Wildcard.PC_strict, namespace_constraint=pyxb.binding.content.Wildcard.NC_any), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 76, 6)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - transitions = [] - transitions.append(fac.Transition(st_0, [ - fac.UpdateInstruction(cc_0, True) ])) - st_0._set_transitionSet(transitions) - return fac.Automaton(states, counters, True, containing_state=None) -CanonicalizationMethodType._Automaton = _BuildAutomaton_2() - - - - -SignatureMethodType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'HMACOutputLength'), HMACOutputLengthType, scope=SignatureMethodType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 85, 6))) - -def _BuildAutomaton_3 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_3 - del _BuildAutomaton_3 - import pyxb.utils.fac as fac - - counters = set() - cc_0 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 85, 6)) - counters.add(cc_0) - cc_1 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 86, 6)) - counters.add(cc_1) - states = [] - final_update = set() - final_update.add(fac.UpdateInstruction(cc_0, False)) - symbol = pyxb.binding.content.ElementUse(SignatureMethodType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'HMACOutputLength')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 85, 6)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = set() - final_update.add(fac.UpdateInstruction(cc_1, False)) - symbol = pyxb.binding.content.WildcardUse(pyxb.binding.content.Wildcard(process_contents=pyxb.binding.content.Wildcard.PC_strict, namespace_constraint=(pyxb.binding.content.Wildcard.NC_not, 'http://www.w3.org/2000/09/xmldsig#')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 86, 6)) - st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - transitions = [] - transitions.append(fac.Transition(st_0, [ - fac.UpdateInstruction(cc_0, True) ])) - transitions.append(fac.Transition(st_1, [ - fac.UpdateInstruction(cc_0, False) ])) - st_0._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_1, [ - fac.UpdateInstruction(cc_1, True) ])) - st_1._set_transitionSet(transitions) - return fac.Automaton(states, counters, True, containing_state=None) -SignatureMethodType._Automaton = _BuildAutomaton_3() - - - - -ReferenceType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Transforms'), TransformsType, scope=ReferenceType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 106, 2))) - -ReferenceType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'DigestMethod'), DigestMethodType, scope=ReferenceType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 125, 0))) - -ReferenceType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'DigestValue'), DigestValueType, scope=ReferenceType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 133, 0))) - -def _BuildAutomaton_4 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_4 - del _BuildAutomaton_4 - import pyxb.utils.fac as fac - - counters = set() - cc_0 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 97, 4)) - counters.add(cc_0) - states = [] - final_update = None - symbol = pyxb.binding.content.ElementUse(ReferenceType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Transforms')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 97, 4)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = None - symbol = pyxb.binding.content.ElementUse(ReferenceType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'DigestMethod')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 98, 4)) - st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - final_update = set() - symbol = pyxb.binding.content.ElementUse(ReferenceType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'DigestValue')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 99, 4)) - st_2 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_2) - transitions = [] - transitions.append(fac.Transition(st_0, [ - fac.UpdateInstruction(cc_0, True) ])) - transitions.append(fac.Transition(st_1, [ - fac.UpdateInstruction(cc_0, False) ])) - st_0._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_2, [ - ])) - st_1._set_transitionSet(transitions) - transitions = [] - st_2._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -ReferenceType._Automaton = _BuildAutomaton_4() - - - - -TransformsType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Transform'), TransformType, scope=TransformsType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 113, 2))) - -def _BuildAutomaton_5 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_5 - del _BuildAutomaton_5 - import pyxb.utils.fac as fac - - counters = set() - states = [] - final_update = set() - symbol = pyxb.binding.content.ElementUse(TransformsType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Transform')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 109, 6)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - transitions = [] - transitions.append(fac.Transition(st_0, [ - ])) - st_0._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -TransformsType._Automaton = _BuildAutomaton_5() - - - - -TransformType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'XPath'), pyxb.binding.datatypes.string, scope=TransformType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 118, 6))) - -def _BuildAutomaton_6 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_6 - del _BuildAutomaton_6 - import pyxb.utils.fac as fac - - counters = set() - cc_0 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 115, 4)) - counters.add(cc_0) - states = [] - final_update = set() - final_update.add(fac.UpdateInstruction(cc_0, False)) - symbol = pyxb.binding.content.WildcardUse(pyxb.binding.content.Wildcard(process_contents=pyxb.binding.content.Wildcard.PC_lax, namespace_constraint=(pyxb.binding.content.Wildcard.NC_not, 'http://www.w3.org/2000/09/xmldsig#')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 116, 6)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = set() - final_update.add(fac.UpdateInstruction(cc_0, False)) - symbol = pyxb.binding.content.ElementUse(TransformType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'XPath')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 118, 6)) - st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - transitions = [] - transitions.append(fac.Transition(st_0, [ - fac.UpdateInstruction(cc_0, True) ])) - transitions.append(fac.Transition(st_1, [ - fac.UpdateInstruction(cc_0, True) ])) - st_0._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_0, [ - fac.UpdateInstruction(cc_0, True) ])) - transitions.append(fac.Transition(st_1, [ - fac.UpdateInstruction(cc_0, True) ])) - st_1._set_transitionSet(transitions) - return fac.Automaton(states, counters, True, containing_state=None) -TransformType._Automaton = _BuildAutomaton_6() - - - - -def _BuildAutomaton_7 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_7 - del _BuildAutomaton_7 - import pyxb.utils.fac as fac - - counters = set() - cc_0 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 128, 4)) - counters.add(cc_0) - states = [] - final_update = set() - final_update.add(fac.UpdateInstruction(cc_0, False)) - symbol = pyxb.binding.content.WildcardUse(pyxb.binding.content.Wildcard(process_contents=pyxb.binding.content.Wildcard.PC_lax, namespace_constraint=(pyxb.binding.content.Wildcard.NC_not, 'http://www.w3.org/2000/09/xmldsig#')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 128, 4)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - transitions = [] - transitions.append(fac.Transition(st_0, [ - fac.UpdateInstruction(cc_0, True) ])) - st_0._set_transitionSet(transitions) - return fac.Automaton(states, counters, True, containing_state=None) -DigestMethodType._Automaton = _BuildAutomaton_7() - - - - -KeyInfoType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'KeyName'), pyxb.binding.datatypes.string, scope=KeyInfoType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 158, 2))) - -KeyInfoType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'MgmtData'), pyxb.binding.datatypes.string, scope=KeyInfoType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 159, 2))) - -KeyInfoType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'KeyValue'), KeyValueType, scope=KeyInfoType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 161, 2))) - -KeyInfoType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'RetrievalMethod'), RetrievalMethodType, scope=KeyInfoType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 170, 2))) - -KeyInfoType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'X509Data'), X509DataType, scope=KeyInfoType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 181, 0))) - -KeyInfoType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'PGPData'), PGPDataType, scope=KeyInfoType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 206, 0))) - -KeyInfoType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'SPKIData'), SPKIDataType, scope=KeyInfoType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 227, 0))) - -def _BuildAutomaton_8 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_8 - del _BuildAutomaton_8 - import pyxb.utils.fac as fac - - counters = set() - states = [] - final_update = set() - symbol = pyxb.binding.content.ElementUse(KeyInfoType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'KeyName')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 145, 4)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = set() - symbol = pyxb.binding.content.ElementUse(KeyInfoType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'KeyValue')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 146, 4)) - st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - final_update = set() - symbol = pyxb.binding.content.ElementUse(KeyInfoType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'RetrievalMethod')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 147, 4)) - st_2 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_2) - final_update = set() - symbol = pyxb.binding.content.ElementUse(KeyInfoType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'X509Data')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 148, 4)) - st_3 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_3) - final_update = set() - symbol = pyxb.binding.content.ElementUse(KeyInfoType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'PGPData')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 149, 4)) - st_4 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_4) - final_update = set() - symbol = pyxb.binding.content.ElementUse(KeyInfoType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'SPKIData')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 150, 4)) - st_5 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_5) - final_update = set() - symbol = pyxb.binding.content.ElementUse(KeyInfoType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'MgmtData')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 151, 4)) - st_6 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_6) - final_update = set() - symbol = pyxb.binding.content.WildcardUse(pyxb.binding.content.Wildcard(process_contents=pyxb.binding.content.Wildcard.PC_lax, namespace_constraint=(pyxb.binding.content.Wildcard.NC_not, 'http://www.w3.org/2000/09/xmldsig#')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 152, 4)) - st_7 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_7) - transitions = [] - transitions.append(fac.Transition(st_0, [ - ])) - transitions.append(fac.Transition(st_1, [ - ])) - transitions.append(fac.Transition(st_2, [ - ])) - transitions.append(fac.Transition(st_3, [ - ])) - transitions.append(fac.Transition(st_4, [ - ])) - transitions.append(fac.Transition(st_5, [ - ])) - transitions.append(fac.Transition(st_6, [ - ])) - transitions.append(fac.Transition(st_7, [ - ])) - st_0._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_0, [ - ])) - transitions.append(fac.Transition(st_1, [ - ])) - transitions.append(fac.Transition(st_2, [ - ])) - transitions.append(fac.Transition(st_3, [ - ])) - transitions.append(fac.Transition(st_4, [ - ])) - transitions.append(fac.Transition(st_5, [ - ])) - transitions.append(fac.Transition(st_6, [ - ])) - transitions.append(fac.Transition(st_7, [ - ])) - st_1._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_0, [ - ])) - transitions.append(fac.Transition(st_1, [ - ])) - transitions.append(fac.Transition(st_2, [ - ])) - transitions.append(fac.Transition(st_3, [ - ])) - transitions.append(fac.Transition(st_4, [ - ])) - transitions.append(fac.Transition(st_5, [ - ])) - transitions.append(fac.Transition(st_6, [ - ])) - transitions.append(fac.Transition(st_7, [ - ])) - st_2._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_0, [ - ])) - transitions.append(fac.Transition(st_1, [ - ])) - transitions.append(fac.Transition(st_2, [ - ])) - transitions.append(fac.Transition(st_3, [ - ])) - transitions.append(fac.Transition(st_4, [ - ])) - transitions.append(fac.Transition(st_5, [ - ])) - transitions.append(fac.Transition(st_6, [ - ])) - transitions.append(fac.Transition(st_7, [ - ])) - st_3._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_0, [ - ])) - transitions.append(fac.Transition(st_1, [ - ])) - transitions.append(fac.Transition(st_2, [ - ])) - transitions.append(fac.Transition(st_3, [ - ])) - transitions.append(fac.Transition(st_4, [ - ])) - transitions.append(fac.Transition(st_5, [ - ])) - transitions.append(fac.Transition(st_6, [ - ])) - transitions.append(fac.Transition(st_7, [ - ])) - st_4._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_0, [ - ])) - transitions.append(fac.Transition(st_1, [ - ])) - transitions.append(fac.Transition(st_2, [ - ])) - transitions.append(fac.Transition(st_3, [ - ])) - transitions.append(fac.Transition(st_4, [ - ])) - transitions.append(fac.Transition(st_5, [ - ])) - transitions.append(fac.Transition(st_6, [ - ])) - transitions.append(fac.Transition(st_7, [ - ])) - st_5._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_0, [ - ])) - transitions.append(fac.Transition(st_1, [ - ])) - transitions.append(fac.Transition(st_2, [ - ])) - transitions.append(fac.Transition(st_3, [ - ])) - transitions.append(fac.Transition(st_4, [ - ])) - transitions.append(fac.Transition(st_5, [ - ])) - transitions.append(fac.Transition(st_6, [ - ])) - transitions.append(fac.Transition(st_7, [ - ])) - st_6._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_0, [ - ])) - transitions.append(fac.Transition(st_1, [ - ])) - transitions.append(fac.Transition(st_2, [ - ])) - transitions.append(fac.Transition(st_3, [ - ])) - transitions.append(fac.Transition(st_4, [ - ])) - transitions.append(fac.Transition(st_5, [ - ])) - transitions.append(fac.Transition(st_6, [ - ])) - transitions.append(fac.Transition(st_7, [ - ])) - st_7._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -KeyInfoType._Automaton = _BuildAutomaton_8() - - - - -KeyValueType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'DSAKeyValue'), DSAKeyValueType, scope=KeyValueType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 287, 0))) - -KeyValueType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'RSAKeyValue'), RSAKeyValueType, scope=KeyValueType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 304, 0))) - -def _BuildAutomaton_9 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_9 - del _BuildAutomaton_9 - import pyxb.utils.fac as fac - - counters = set() - states = [] - final_update = set() - symbol = pyxb.binding.content.ElementUse(KeyValueType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'DSAKeyValue')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 164, 5)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = set() - symbol = pyxb.binding.content.ElementUse(KeyValueType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'RSAKeyValue')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 165, 5)) - st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - final_update = set() - symbol = pyxb.binding.content.WildcardUse(pyxb.binding.content.Wildcard(process_contents=pyxb.binding.content.Wildcard.PC_lax, namespace_constraint=(pyxb.binding.content.Wildcard.NC_not, 'http://www.w3.org/2000/09/xmldsig#')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 166, 5)) - st_2 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_2) - transitions = [] - st_0._set_transitionSet(transitions) - transitions = [] - st_1._set_transitionSet(transitions) - transitions = [] - st_2._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -KeyValueType._Automaton = _BuildAutomaton_9() - - - - -RetrievalMethodType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Transforms'), TransformsType, scope=RetrievalMethodType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 106, 2))) - -def _BuildAutomaton_10 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_10 - del _BuildAutomaton_10 - import pyxb.utils.fac as fac - - counters = set() - cc_0 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 173, 6)) - counters.add(cc_0) - states = [] - final_update = set() - final_update.add(fac.UpdateInstruction(cc_0, False)) - symbol = pyxb.binding.content.ElementUse(RetrievalMethodType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Transforms')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 173, 6)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - transitions = [] - transitions.append(fac.Transition(st_0, [ - fac.UpdateInstruction(cc_0, True) ])) - st_0._set_transitionSet(transitions) - return fac.Automaton(states, counters, True, containing_state=None) -RetrievalMethodType._Automaton = _BuildAutomaton_10() - - - - -X509DataType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'X509IssuerSerial'), X509IssuerSerialType, scope=X509DataType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 185, 6))) - -X509DataType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'X509SKI'), pyxb.binding.datatypes.base64Binary, scope=X509DataType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 186, 6))) - -X509DataType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'X509SubjectName'), pyxb.binding.datatypes.string, scope=X509DataType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 187, 6))) - -X509DataType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'X509Certificate'), pyxb.binding.datatypes.base64Binary, scope=X509DataType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 188, 6))) - -X509DataType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'X509CRL'), pyxb.binding.datatypes.base64Binary, scope=X509DataType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 189, 6))) - -def _BuildAutomaton_11 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_11 - del _BuildAutomaton_11 - import pyxb.utils.fac as fac - - counters = set() - states = [] - final_update = set() - symbol = pyxb.binding.content.ElementUse(X509DataType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'X509IssuerSerial')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 185, 6)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = set() - symbol = pyxb.binding.content.ElementUse(X509DataType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'X509SKI')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 186, 6)) - st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - final_update = set() - symbol = pyxb.binding.content.ElementUse(X509DataType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'X509SubjectName')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 187, 6)) - st_2 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_2) - final_update = set() - symbol = pyxb.binding.content.ElementUse(X509DataType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'X509Certificate')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 188, 6)) - st_3 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_3) - final_update = set() - symbol = pyxb.binding.content.ElementUse(X509DataType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'X509CRL')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 189, 6)) - st_4 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_4) - final_update = set() - symbol = pyxb.binding.content.WildcardUse(pyxb.binding.content.Wildcard(process_contents=pyxb.binding.content.Wildcard.PC_lax, namespace_constraint=(pyxb.binding.content.Wildcard.NC_not, 'http://www.w3.org/2000/09/xmldsig#')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 190, 6)) - st_5 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_5) - transitions = [] - transitions.append(fac.Transition(st_0, [ - ])) - transitions.append(fac.Transition(st_1, [ - ])) - transitions.append(fac.Transition(st_2, [ - ])) - transitions.append(fac.Transition(st_3, [ - ])) - transitions.append(fac.Transition(st_4, [ - ])) - transitions.append(fac.Transition(st_5, [ - ])) - st_0._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_0, [ - ])) - transitions.append(fac.Transition(st_1, [ - ])) - transitions.append(fac.Transition(st_2, [ - ])) - transitions.append(fac.Transition(st_3, [ - ])) - transitions.append(fac.Transition(st_4, [ - ])) - transitions.append(fac.Transition(st_5, [ - ])) - st_1._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_0, [ - ])) - transitions.append(fac.Transition(st_1, [ - ])) - transitions.append(fac.Transition(st_2, [ - ])) - transitions.append(fac.Transition(st_3, [ - ])) - transitions.append(fac.Transition(st_4, [ - ])) - transitions.append(fac.Transition(st_5, [ - ])) - st_2._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_0, [ - ])) - transitions.append(fac.Transition(st_1, [ - ])) - transitions.append(fac.Transition(st_2, [ - ])) - transitions.append(fac.Transition(st_3, [ - ])) - transitions.append(fac.Transition(st_4, [ - ])) - transitions.append(fac.Transition(st_5, [ - ])) - st_3._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_0, [ - ])) - transitions.append(fac.Transition(st_1, [ - ])) - transitions.append(fac.Transition(st_2, [ - ])) - transitions.append(fac.Transition(st_3, [ - ])) - transitions.append(fac.Transition(st_4, [ - ])) - transitions.append(fac.Transition(st_5, [ - ])) - st_4._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_0, [ - ])) - transitions.append(fac.Transition(st_1, [ - ])) - transitions.append(fac.Transition(st_2, [ - ])) - transitions.append(fac.Transition(st_3, [ - ])) - transitions.append(fac.Transition(st_4, [ - ])) - transitions.append(fac.Transition(st_5, [ - ])) - st_5._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -X509DataType._Automaton = _BuildAutomaton_11() - - - - -X509IssuerSerialType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'X509IssuerName'), pyxb.binding.datatypes.string, scope=X509IssuerSerialType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 197, 4))) - -X509IssuerSerialType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'X509SerialNumber'), pyxb.binding.datatypes.integer, scope=X509IssuerSerialType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 198, 4))) - -def _BuildAutomaton_12 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_12 - del _BuildAutomaton_12 - import pyxb.utils.fac as fac - - counters = set() - states = [] - final_update = None - symbol = pyxb.binding.content.ElementUse(X509IssuerSerialType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'X509IssuerName')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 197, 4)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = set() - symbol = pyxb.binding.content.ElementUse(X509IssuerSerialType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'X509SerialNumber')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 198, 4)) - st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - transitions = [] - transitions.append(fac.Transition(st_1, [ - ])) - st_0._set_transitionSet(transitions) - transitions = [] - st_1._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -X509IssuerSerialType._Automaton = _BuildAutomaton_12() - - - - -PGPDataType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'PGPKeyID'), pyxb.binding.datatypes.base64Binary, scope=PGPDataType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 210, 6))) - -PGPDataType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'PGPKeyPacket'), pyxb.binding.datatypes.base64Binary, scope=PGPDataType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 211, 6))) - -def _BuildAutomaton_13 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_13 - del _BuildAutomaton_13 - import pyxb.utils.fac as fac - - counters = set() - cc_0 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 211, 6)) - counters.add(cc_0) - cc_1 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 212, 6)) - counters.add(cc_1) - cc_2 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 217, 6)) - counters.add(cc_2) - states = [] - final_update = set() - symbol = pyxb.binding.content.ElementUse(PGPDataType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'PGPKeyID')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 210, 6)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = set() - final_update.add(fac.UpdateInstruction(cc_0, False)) - symbol = pyxb.binding.content.ElementUse(PGPDataType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'PGPKeyPacket')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 211, 6)) - st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - final_update = set() - final_update.add(fac.UpdateInstruction(cc_1, False)) - symbol = pyxb.binding.content.WildcardUse(pyxb.binding.content.Wildcard(process_contents=pyxb.binding.content.Wildcard.PC_lax, namespace_constraint=(pyxb.binding.content.Wildcard.NC_not, 'http://www.w3.org/2000/09/xmldsig#')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 212, 6)) - st_2 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_2) - final_update = set() - symbol = pyxb.binding.content.ElementUse(PGPDataType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'PGPKeyPacket')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 216, 6)) - st_3 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_3) - final_update = set() - final_update.add(fac.UpdateInstruction(cc_2, False)) - symbol = pyxb.binding.content.WildcardUse(pyxb.binding.content.Wildcard(process_contents=pyxb.binding.content.Wildcard.PC_lax, namespace_constraint=(pyxb.binding.content.Wildcard.NC_not, 'http://www.w3.org/2000/09/xmldsig#')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 217, 6)) - st_4 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_4) - transitions = [] - transitions.append(fac.Transition(st_1, [ - ])) - transitions.append(fac.Transition(st_2, [ - ])) - st_0._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_1, [ - fac.UpdateInstruction(cc_0, True) ])) - transitions.append(fac.Transition(st_2, [ - fac.UpdateInstruction(cc_0, False) ])) - st_1._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_2, [ - fac.UpdateInstruction(cc_1, True) ])) - st_2._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_4, [ - ])) - st_3._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_4, [ - fac.UpdateInstruction(cc_2, True) ])) - st_4._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -PGPDataType._Automaton = _BuildAutomaton_13() - - - - -SPKIDataType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'SPKISexp'), pyxb.binding.datatypes.base64Binary, scope=SPKIDataType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 230, 4))) - -def _BuildAutomaton_14 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_14 - del _BuildAutomaton_14 - import pyxb.utils.fac as fac - - counters = set() - cc_0 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 231, 4)) - counters.add(cc_0) - states = [] - final_update = set() - symbol = pyxb.binding.content.ElementUse(SPKIDataType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'SPKISexp')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 230, 4)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = set() - final_update.add(fac.UpdateInstruction(cc_0, False)) - symbol = pyxb.binding.content.WildcardUse(pyxb.binding.content.Wildcard(process_contents=pyxb.binding.content.Wildcard.PC_lax, namespace_constraint=(pyxb.binding.content.Wildcard.NC_not, 'http://www.w3.org/2000/09/xmldsig#')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 231, 4)) - st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - transitions = [] - transitions.append(fac.Transition(st_0, [ - ])) - transitions.append(fac.Transition(st_1, [ - ])) - st_0._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_0, [ - fac.UpdateInstruction(cc_0, False) ])) - transitions.append(fac.Transition(st_1, [ - fac.UpdateInstruction(cc_0, True) ])) - st_1._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -SPKIDataType._Automaton = _BuildAutomaton_14() - - - - -def _BuildAutomaton_15 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_15 - del _BuildAutomaton_15 - import pyxb.utils.fac as fac - - counters = set() - cc_0 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 243, 2)) - counters.add(cc_0) - states = [] - final_update = set() - final_update.add(fac.UpdateInstruction(cc_0, False)) - symbol = pyxb.binding.content.WildcardUse(pyxb.binding.content.Wildcard(process_contents=pyxb.binding.content.Wildcard.PC_lax, namespace_constraint=pyxb.binding.content.Wildcard.NC_any), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 244, 4)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - transitions = [] - transitions.append(fac.Transition(st_0, [ - fac.UpdateInstruction(cc_0, True) ])) - st_0._set_transitionSet(transitions) - return fac.Automaton(states, counters, True, containing_state=None) -ObjectType._Automaton = _BuildAutomaton_15() - - - - -ManifestType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Reference'), ReferenceType, scope=ManifestType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 94, 0))) - -def _BuildAutomaton_16 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_16 - del _BuildAutomaton_16 - import pyxb.utils.fac as fac - - counters = set() - states = [] - final_update = set() - symbol = pyxb.binding.content.ElementUse(ManifestType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Reference')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 254, 4)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - transitions = [] - transitions.append(fac.Transition(st_0, [ - ])) - st_0._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -ManifestType._Automaton = _BuildAutomaton_16() - - - - -SignaturePropertiesType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'SignatureProperty'), SignaturePropertyType, scope=SignaturePropertiesType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 267, 3))) - -def _BuildAutomaton_17 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_17 - del _BuildAutomaton_17 - import pyxb.utils.fac as fac - - counters = set() - states = [] - final_update = set() - symbol = pyxb.binding.content.ElementUse(SignaturePropertiesType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'SignatureProperty')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 262, 4)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - transitions = [] - transitions.append(fac.Transition(st_0, [ - ])) - st_0._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -SignaturePropertiesType._Automaton = _BuildAutomaton_17() - - - - -def _BuildAutomaton_18 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_18 - del _BuildAutomaton_18 - import pyxb.utils.fac as fac - - counters = set() - states = [] - final_update = set() - symbol = pyxb.binding.content.WildcardUse(pyxb.binding.content.Wildcard(process_contents=pyxb.binding.content.Wildcard.PC_lax, namespace_constraint=(pyxb.binding.content.Wildcard.NC_not, 'http://www.w3.org/2000/09/xmldsig#')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 270, 7)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - transitions = [] - transitions.append(fac.Transition(st_0, [ - ])) - st_0._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -SignaturePropertyType._Automaton = _BuildAutomaton_18() - - - - -DSAKeyValueType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'P'), CryptoBinary, scope=DSAKeyValueType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 291, 6))) - -DSAKeyValueType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Q'), CryptoBinary, scope=DSAKeyValueType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 292, 6))) - -DSAKeyValueType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'G'), CryptoBinary, scope=DSAKeyValueType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 294, 4))) - -DSAKeyValueType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Y'), CryptoBinary, scope=DSAKeyValueType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 295, 4))) - -DSAKeyValueType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'J'), CryptoBinary, scope=DSAKeyValueType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 296, 4))) - -DSAKeyValueType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Seed'), CryptoBinary, scope=DSAKeyValueType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 298, 6))) - -DSAKeyValueType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'PgenCounter'), CryptoBinary, scope=DSAKeyValueType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 299, 6))) - -def _BuildAutomaton_19 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_19 - del _BuildAutomaton_19 - import pyxb.utils.fac as fac - - counters = set() - cc_0 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 290, 4)) - counters.add(cc_0) - cc_1 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 294, 4)) - counters.add(cc_1) - cc_2 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 296, 4)) - counters.add(cc_2) - cc_3 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 297, 4)) - counters.add(cc_3) - states = [] - final_update = None - symbol = pyxb.binding.content.ElementUse(DSAKeyValueType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'P')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 291, 6)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = None - symbol = pyxb.binding.content.ElementUse(DSAKeyValueType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Q')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 292, 6)) - st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - final_update = None - symbol = pyxb.binding.content.ElementUse(DSAKeyValueType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'G')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 294, 4)) - st_2 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_2) - final_update = set() - symbol = pyxb.binding.content.ElementUse(DSAKeyValueType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Y')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 295, 4)) - st_3 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_3) - final_update = set() - final_update.add(fac.UpdateInstruction(cc_2, False)) - symbol = pyxb.binding.content.ElementUse(DSAKeyValueType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'J')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 296, 4)) - st_4 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_4) - final_update = None - symbol = pyxb.binding.content.ElementUse(DSAKeyValueType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Seed')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 298, 6)) - st_5 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_5) - final_update = set() - final_update.add(fac.UpdateInstruction(cc_3, False)) - symbol = pyxb.binding.content.ElementUse(DSAKeyValueType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'PgenCounter')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 299, 6)) - st_6 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_6) - transitions = [] - transitions.append(fac.Transition(st_1, [ - ])) - st_0._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_0, [ - fac.UpdateInstruction(cc_0, True) ])) - transitions.append(fac.Transition(st_2, [ - fac.UpdateInstruction(cc_0, False) ])) - transitions.append(fac.Transition(st_3, [ - fac.UpdateInstruction(cc_0, False) ])) - st_1._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_2, [ - fac.UpdateInstruction(cc_1, True) ])) - transitions.append(fac.Transition(st_3, [ - fac.UpdateInstruction(cc_1, False) ])) - st_2._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_4, [ - ])) - transitions.append(fac.Transition(st_5, [ - ])) - st_3._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_4, [ - fac.UpdateInstruction(cc_2, True) ])) - transitions.append(fac.Transition(st_5, [ - fac.UpdateInstruction(cc_2, False) ])) - st_4._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_6, [ - ])) - st_5._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_5, [ - fac.UpdateInstruction(cc_3, True) ])) - st_6._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -DSAKeyValueType._Automaton = _BuildAutomaton_19() - - - - -RSAKeyValueType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Modulus'), CryptoBinary, scope=RSAKeyValueType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 307, 4))) - -RSAKeyValueType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Exponent'), CryptoBinary, scope=RSAKeyValueType, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 308, 4))) - -def _BuildAutomaton_20 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_20 - del _BuildAutomaton_20 - import pyxb.utils.fac as fac - - counters = set() - states = [] - final_update = None - symbol = pyxb.binding.content.ElementUse(RSAKeyValueType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Modulus')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 307, 4)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = set() - symbol = pyxb.binding.content.ElementUse(RSAKeyValueType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Exponent')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 308, 4)) - st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - transitions = [] - transitions.append(fac.Transition(st_1, [ - ])) - st_0._set_transitionSet(transitions) - transitions = [] - st_1._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -RSAKeyValueType._Automaton = _BuildAutomaton_20() - diff --git a/PyNFSe/nfse/pr/curitiba/_facade.py b/PyNFSe/nfse/pr/curitiba/_facade.py deleted file mode 100755 index e297ce1..0000000 --- a/PyNFSe/nfse/pr/curitiba/_facade.py +++ /dev/null @@ -1,68 +0,0 @@ -from PyNFSe.utils.certificado import certificado as c -from PyNFSe.utils.assinatura import Assinatura -from PyNFSe.nfse.pr.curitiba import serializacao as s -from PyNFSe.nfse.pr.curitiba.comunicacao import Comunicacao - - -class Facade: - - def __init__(self, certificado_pfx, senha, producao=False): - namespace = '{http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}' - url_homologacao = 'https://pilotoisscuritiba.curitiba.pr.gov.br/nfse_ws/NfseWs.asmx?WSDL' - url_producao = 'https://isscuritiba.curitiba.pr.gov.br/Iss.NfseWebService/nfsews.asmx?WSDL' - - cert, cert_file, key, key_file = c(certificado_pfx, senha) - url_ambiente = url_producao if producao else url_homologacao - cert_file_and_key_file = (cert_file.name, key_file.name) - - self._assinador = Assinatura(cert, key, namespace) - self._servicos_wsdl = Comunicacao(url_ambiente, cert_file_and_key_file, producao) - - def consultar_nfse_por_numero(self, dict_prestador, numero_nfse): - xml = s.consulta_nfse_por_numero(dict_prestador, numero_nfse) - xml_retorno = self._servicos_wsdl.consultar_nfse(xml) - - return xml_retorno - - def consultar_nfse_por_data(self, dict_prestador, data_inicial, data_final): - xml = s.consulta_nfse_por_data(dict_prestador, data_inicial, data_final) - xml_retorno = self._servicos_wsdl.consultar_nfse(xml) - - return xml_retorno - - def consultar_nfse_por_rps(self, dict_rps): - xml = s.consulta_nfse_por_rps(dict_rps) - xml_retorno = self._servicos_wsdl.consultar_nfse_por_rps(xml) - - return xml_retorno - - def consultar_situacao_lote_rps(self, dict_prestador, protocolo): - xml = s.consulta_situacao_lote_rps(dict_prestador, protocolo) - xml_retorno = self._servicos_wsdl.consultar_situacao_lote_rps(xml) - - return xml_retorno - - def consultar_lote_rps(self, dict_prestador, protocolo): - xml = s.consulta_lote_rps(dict_prestador, protocolo) - xml_retorno = self._servicos_wsdl.consultar_lote_rps(xml) - - return xml_retorno - - def recepcionar_lote_rps(self, dict_lote_rps): - xml = s.envio_lote_rps(dict_lote_rps) - xml = self._assinador.assinar_lote_rps(xml) - xml_retorno = self._servicos_wsdl.recepcionar_lote_rps(xml) - - return xml_retorno - - def cancelar_nfse(self, dict_pedido_cancelamento_nfse): - xml = s.cancela_nfse(dict_pedido_cancelamento_nfse) - xml = self._assinador.assinar_cancelamento_nfse(xml) - xml_retorno = self._servicos_wsdl.cancelar_nfse(xml) - - return xml_retorno - - def validar_xml(self, xml): - retorno = self._servicos_wsdl.validar_xml(xml) - - return retorno diff --git a/PyNFSe/nfse/pr/curitiba/_schema.py b/PyNFSe/nfse/pr/curitiba/_schema.py deleted file mode 100755 index acba611..0000000 --- a/PyNFSe/nfse/pr/curitiba/_schema.py +++ /dev/null @@ -1,5521 +0,0 @@ -# ./schema_curitiba.py -# -*- coding: utf-8 -*- -# PyXB bindings for NM:9ba128ee7a18904e1e4aaf2a1fb2c1125650aa5c -# Generated 2016-11-27 20:29:26.553074 by PyXB version 1.2.5 using Python 3.5.2.final.0 -# Namespace http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd - -from __future__ import unicode_literals -import pyxb -import pyxb.binding -import pyxb.binding.saxer -import io -import pyxb.utils.utility -import pyxb.utils.domutils -import sys -import pyxb.utils.six as _six -# Unique identifier for bindings created at the same time -_GenerationUID = pyxb.utils.utility.UniqueIdentifier('urn:uuid:f41c9a26-b4f0-11e6-9ca1-406c8f42f6c5') - -# Version of PyXB used to generate the bindings -_PyXBVersion = '1.2.5' -# Generated bindings are not compatible across PyXB versions -if pyxb.__version__ != _PyXBVersion: - raise pyxb.PyXBVersionError(_PyXBVersion) - -# A holder for module-level binding classes so we can access them from -# inside class definitions where property names may conflict. -_module_typeBindings = pyxb.utils.utility.Object() - -# Import bindings for namespaces imported into schema -from . import _dsig as _ImportedBinding__dsig -import pyxb.binding.datatypes - -# NOTE: All namespace declarations are reserved within the binding -Namespace = pyxb.namespace.NamespaceForURI('http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd', create_if_missing=True) -Namespace.configureCategories(['typeBinding', 'elementBinding']) -_Namespace_dsig = _ImportedBinding__dsig.Namespace -_Namespace_dsig.configureCategories(['typeBinding', 'elementBinding']) - -def CreateFromDocument (xml_text, default_namespace=None, location_base=None): - """Parse the given XML and use the document element to create a - Python instance. - - @param xml_text An XML document. This should be data (Python 2 - str or Python 3 bytes), or a text (Python 2 unicode or Python 3 - str) in the L{pyxb._InputEncoding} encoding. - - @keyword default_namespace The L{pyxb.Namespace} instance to use as the - default namespace where there is no default namespace in scope. - If unspecified or C{None}, the namespace of the module containing - this function will be used. - - @keyword location_base: An object to be recorded as the base of all - L{pyxb.utils.utility.Location} instances associated with events and - objects handled by the parser. You might pass the URI from which - the document was obtained. - """ - - if pyxb.XMLStyle_saxer != pyxb._XMLStyle: - dom = pyxb.utils.domutils.StringToDOM(xml_text) - return CreateFromDOM(dom.documentElement, default_namespace=default_namespace) - if default_namespace is None: - default_namespace = Namespace.fallbackNamespace() - saxer = pyxb.binding.saxer.make_parser(fallback_namespace=default_namespace, location_base=location_base) - handler = saxer.getContentHandler() - xmld = xml_text - if isinstance(xmld, _six.text_type): - xmld = xmld.encode(pyxb._InputEncoding) - saxer.parse(io.BytesIO(xmld)) - instance = handler.rootObject() - return instance - -def CreateFromDOM (node, default_namespace=None): - """Create a Python instance from the given DOM node. - The node tag must correspond to an element declaration in this module. - - @deprecated: Forcing use of DOM interface is unnecessary; use L{CreateFromDocument}.""" - if default_namespace is None: - default_namespace = Namespace.fallbackNamespace() - return pyxb.binding.basis.element.AnyCreateFromDOM(node, default_namespace) - - -# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsNumeroNfse -class tsNumeroNfse (pyxb.binding.datatypes.nonNegativeInteger): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tsNumeroNfse') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 11, 4) - _Documentation = None -tsNumeroNfse._CF_totalDigits = pyxb.binding.facets.CF_totalDigits(value=pyxb.binding.datatypes.positiveInteger(15)) -tsNumeroNfse._InitializeFacetMap(tsNumeroNfse._CF_totalDigits) -Namespace.addCategoryObject('typeBinding', 'tsNumeroNfse', tsNumeroNfse) -_module_typeBindings.tsNumeroNfse = tsNumeroNfse - -# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsCodigoVerificacao -class tsCodigoVerificacao (pyxb.binding.datatypes.string): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tsCodigoVerificacao') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 16, 1) - _Documentation = None -tsCodigoVerificacao._CF_whiteSpace = pyxb.binding.facets.CF_whiteSpace(value=pyxb.binding.facets._WhiteSpace_enum.collapse) -tsCodigoVerificacao._CF_minLength = pyxb.binding.facets.CF_minLength(value=pyxb.binding.datatypes.nonNegativeInteger(1)) -tsCodigoVerificacao._CF_maxLength = pyxb.binding.facets.CF_maxLength(value=pyxb.binding.datatypes.nonNegativeInteger(9)) -tsCodigoVerificacao._InitializeFacetMap(tsCodigoVerificacao._CF_whiteSpace, - tsCodigoVerificacao._CF_minLength, - tsCodigoVerificacao._CF_maxLength) -Namespace.addCategoryObject('typeBinding', 'tsCodigoVerificacao', tsCodigoVerificacao) -_module_typeBindings.tsCodigoVerificacao = tsCodigoVerificacao - -# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsStatusRps -class tsStatusRps (pyxb.binding.datatypes.byte): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tsStatusRps') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 23, 1) - _Documentation = None -tsStatusRps._CF_pattern = pyxb.binding.facets.CF_pattern() -tsStatusRps._CF_pattern.addPattern(pattern='1|2') -tsStatusRps._InitializeFacetMap(tsStatusRps._CF_pattern) -Namespace.addCategoryObject('typeBinding', 'tsStatusRps', tsStatusRps) -_module_typeBindings.tsStatusRps = tsStatusRps - -# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsStatusNfse -class tsStatusNfse (pyxb.binding.datatypes.byte): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tsStatusNfse') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 28, 1) - _Documentation = None -tsStatusNfse._CF_pattern = pyxb.binding.facets.CF_pattern() -tsStatusNfse._CF_pattern.addPattern(pattern='1|2') -tsStatusNfse._InitializeFacetMap(tsStatusNfse._CF_pattern) -Namespace.addCategoryObject('typeBinding', 'tsStatusNfse', tsStatusNfse) -_module_typeBindings.tsStatusNfse = tsStatusNfse - -# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsNaturezaOperacao -class tsNaturezaOperacao (pyxb.binding.datatypes.byte): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tsNaturezaOperacao') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 33, 1) - _Documentation = None -tsNaturezaOperacao._CF_pattern = pyxb.binding.facets.CF_pattern() -tsNaturezaOperacao._CF_pattern.addPattern(pattern='1|2|3|4|5|6') -tsNaturezaOperacao._InitializeFacetMap(tsNaturezaOperacao._CF_pattern) -Namespace.addCategoryObject('typeBinding', 'tsNaturezaOperacao', tsNaturezaOperacao) -_module_typeBindings.tsNaturezaOperacao = tsNaturezaOperacao - -# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsRegimeEspecialTributacao -class tsRegimeEspecialTributacao (pyxb.binding.datatypes.byte): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tsRegimeEspecialTributacao') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 38, 1) - _Documentation = None -tsRegimeEspecialTributacao._CF_pattern = pyxb.binding.facets.CF_pattern() -tsRegimeEspecialTributacao._CF_pattern.addPattern(pattern='1|2|3|4|5|6') -tsRegimeEspecialTributacao._InitializeFacetMap(tsRegimeEspecialTributacao._CF_pattern) -Namespace.addCategoryObject('typeBinding', 'tsRegimeEspecialTributacao', tsRegimeEspecialTributacao) -_module_typeBindings.tsRegimeEspecialTributacao = tsRegimeEspecialTributacao - -# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsSimNao -class tsSimNao (pyxb.binding.datatypes.byte): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tsSimNao') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 43, 1) - _Documentation = None -tsSimNao._CF_pattern = pyxb.binding.facets.CF_pattern() -tsSimNao._CF_pattern.addPattern(pattern='1|2') -tsSimNao._InitializeFacetMap(tsSimNao._CF_pattern) -Namespace.addCategoryObject('typeBinding', 'tsSimNao', tsSimNao) -_module_typeBindings.tsSimNao = tsSimNao - -# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsNumeroRps -class tsNumeroRps (pyxb.binding.datatypes.nonNegativeInteger): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tsNumeroRps') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 48, 1) - _Documentation = None -tsNumeroRps._CF_totalDigits = pyxb.binding.facets.CF_totalDigits(value=pyxb.binding.datatypes.positiveInteger(15)) -tsNumeroRps._InitializeFacetMap(tsNumeroRps._CF_totalDigits) -Namespace.addCategoryObject('typeBinding', 'tsNumeroRps', tsNumeroRps) -_module_typeBindings.tsNumeroRps = tsNumeroRps - -# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsSerieRps -class tsSerieRps (pyxb.binding.datatypes.string): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tsSerieRps') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 53, 1) - _Documentation = None -tsSerieRps._CF_whiteSpace = pyxb.binding.facets.CF_whiteSpace(value=pyxb.binding.facets._WhiteSpace_enum.collapse) -tsSerieRps._CF_minLength = pyxb.binding.facets.CF_minLength(value=pyxb.binding.datatypes.nonNegativeInteger(1)) -tsSerieRps._CF_maxLength = pyxb.binding.facets.CF_maxLength(value=pyxb.binding.datatypes.nonNegativeInteger(5)) -tsSerieRps._InitializeFacetMap(tsSerieRps._CF_whiteSpace, - tsSerieRps._CF_minLength, - tsSerieRps._CF_maxLength) -Namespace.addCategoryObject('typeBinding', 'tsSerieRps', tsSerieRps) -_module_typeBindings.tsSerieRps = tsSerieRps - -# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsTipoRps -class tsTipoRps (pyxb.binding.datatypes.byte): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tsTipoRps') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 60, 1) - _Documentation = None -tsTipoRps._CF_pattern = pyxb.binding.facets.CF_pattern() -tsTipoRps._CF_pattern.addPattern(pattern='1|2|3') -tsTipoRps._InitializeFacetMap(tsTipoRps._CF_pattern) -Namespace.addCategoryObject('typeBinding', 'tsTipoRps', tsTipoRps) -_module_typeBindings.tsTipoRps = tsTipoRps - -# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsOutrasInformacoes -class tsOutrasInformacoes (pyxb.binding.datatypes.string): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tsOutrasInformacoes') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 65, 1) - _Documentation = None -tsOutrasInformacoes._CF_whiteSpace = pyxb.binding.facets.CF_whiteSpace(value=pyxb.binding.facets._WhiteSpace_enum.collapse) -tsOutrasInformacoes._CF_minLength = pyxb.binding.facets.CF_minLength(value=pyxb.binding.datatypes.nonNegativeInteger(1)) -tsOutrasInformacoes._CF_maxLength = pyxb.binding.facets.CF_maxLength(value=pyxb.binding.datatypes.nonNegativeInteger(255)) -tsOutrasInformacoes._InitializeFacetMap(tsOutrasInformacoes._CF_whiteSpace, - tsOutrasInformacoes._CF_minLength, - tsOutrasInformacoes._CF_maxLength) -Namespace.addCategoryObject('typeBinding', 'tsOutrasInformacoes', tsOutrasInformacoes) -_module_typeBindings.tsOutrasInformacoes = tsOutrasInformacoes - -# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsValor -class tsValor (pyxb.binding.datatypes.decimal): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tsValor') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 72, 1) - _Documentation = None -tsValor._CF_fractionDigits = pyxb.binding.facets.CF_fractionDigits(value=pyxb.binding.datatypes.nonNegativeInteger(2)) -tsValor._CF_totalDigits = pyxb.binding.facets.CF_totalDigits(value=pyxb.binding.datatypes.positiveInteger(15)) -tsValor._CF_minInclusive = pyxb.binding.facets.CF_minInclusive(value=pyxb.binding.datatypes.decimal('0.0'), value_datatype=tsValor) -tsValor._InitializeFacetMap(tsValor._CF_fractionDigits, - tsValor._CF_totalDigits, - tsValor._CF_minInclusive) -Namespace.addCategoryObject('typeBinding', 'tsValor', tsValor) -_module_typeBindings.tsValor = tsValor - -# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsItemListaServico -class tsItemListaServico (pyxb.binding.datatypes.string): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tsItemListaServico') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 79, 1) - _Documentation = None -tsItemListaServico._CF_whiteSpace = pyxb.binding.facets.CF_whiteSpace(value=pyxb.binding.facets._WhiteSpace_enum.collapse) -tsItemListaServico._CF_minLength = pyxb.binding.facets.CF_minLength(value=pyxb.binding.datatypes.nonNegativeInteger(1)) -tsItemListaServico._CF_maxLength = pyxb.binding.facets.CF_maxLength(value=pyxb.binding.datatypes.nonNegativeInteger(5)) -tsItemListaServico._InitializeFacetMap(tsItemListaServico._CF_whiteSpace, - tsItemListaServico._CF_minLength, - tsItemListaServico._CF_maxLength) -Namespace.addCategoryObject('typeBinding', 'tsItemListaServico', tsItemListaServico) -_module_typeBindings.tsItemListaServico = tsItemListaServico - -# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsCodigoCnae -class tsCodigoCnae (pyxb.binding.datatypes.int): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tsCodigoCnae') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 86, 1) - _Documentation = None -tsCodigoCnae._CF_totalDigits = pyxb.binding.facets.CF_totalDigits(value=pyxb.binding.datatypes.positiveInteger(7)) -tsCodigoCnae._InitializeFacetMap(tsCodigoCnae._CF_totalDigits) -Namespace.addCategoryObject('typeBinding', 'tsCodigoCnae', tsCodigoCnae) -_module_typeBindings.tsCodigoCnae = tsCodigoCnae - -# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsCodigoTributacao -class tsCodigoTributacao (pyxb.binding.datatypes.string): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tsCodigoTributacao') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 91, 1) - _Documentation = None -tsCodigoTributacao._CF_whiteSpace = pyxb.binding.facets.CF_whiteSpace(value=pyxb.binding.facets._WhiteSpace_enum.collapse) -tsCodigoTributacao._CF_minLength = pyxb.binding.facets.CF_minLength(value=pyxb.binding.datatypes.nonNegativeInteger(1)) -tsCodigoTributacao._CF_maxLength = pyxb.binding.facets.CF_maxLength(value=pyxb.binding.datatypes.nonNegativeInteger(20)) -tsCodigoTributacao._InitializeFacetMap(tsCodigoTributacao._CF_whiteSpace, - tsCodigoTributacao._CF_minLength, - tsCodigoTributacao._CF_maxLength) -Namespace.addCategoryObject('typeBinding', 'tsCodigoTributacao', tsCodigoTributacao) -_module_typeBindings.tsCodigoTributacao = tsCodigoTributacao - -# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsAliquota -class tsAliquota (pyxb.binding.datatypes.decimal): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tsAliquota') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 98, 1) - _Documentation = None -tsAliquota._CF_fractionDigits = pyxb.binding.facets.CF_fractionDigits(value=pyxb.binding.datatypes.nonNegativeInteger(4)) -tsAliquota._CF_totalDigits = pyxb.binding.facets.CF_totalDigits(value=pyxb.binding.datatypes.positiveInteger(5)) -tsAliquota._CF_minInclusive = pyxb.binding.facets.CF_minInclusive(value=pyxb.binding.datatypes.decimal('0.0'), value_datatype=tsAliquota) -tsAliquota._InitializeFacetMap(tsAliquota._CF_fractionDigits, - tsAliquota._CF_totalDigits, - tsAliquota._CF_minInclusive) -Namespace.addCategoryObject('typeBinding', 'tsAliquota', tsAliquota) -_module_typeBindings.tsAliquota = tsAliquota - -# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsDiscriminacao -class tsDiscriminacao (pyxb.binding.datatypes.string): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tsDiscriminacao') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 105, 1) - _Documentation = None -tsDiscriminacao._CF_whiteSpace = pyxb.binding.facets.CF_whiteSpace(value=pyxb.binding.facets._WhiteSpace_enum.collapse) -tsDiscriminacao._CF_minLength = pyxb.binding.facets.CF_minLength(value=pyxb.binding.datatypes.nonNegativeInteger(1)) -tsDiscriminacao._CF_maxLength = pyxb.binding.facets.CF_maxLength(value=pyxb.binding.datatypes.nonNegativeInteger(2000)) -tsDiscriminacao._InitializeFacetMap(tsDiscriminacao._CF_whiteSpace, - tsDiscriminacao._CF_minLength, - tsDiscriminacao._CF_maxLength) -Namespace.addCategoryObject('typeBinding', 'tsDiscriminacao', tsDiscriminacao) -_module_typeBindings.tsDiscriminacao = tsDiscriminacao - -# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsCodigoMunicipioIbge -class tsCodigoMunicipioIbge (pyxb.binding.datatypes.int): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tsCodigoMunicipioIbge') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 112, 1) - _Documentation = None -tsCodigoMunicipioIbge._CF_totalDigits = pyxb.binding.facets.CF_totalDigits(value=pyxb.binding.datatypes.positiveInteger(7)) -tsCodigoMunicipioIbge._InitializeFacetMap(tsCodigoMunicipioIbge._CF_totalDigits) -Namespace.addCategoryObject('typeBinding', 'tsCodigoMunicipioIbge', tsCodigoMunicipioIbge) -_module_typeBindings.tsCodigoMunicipioIbge = tsCodigoMunicipioIbge - -# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsInscricaoMunicipal -class tsInscricaoMunicipal (pyxb.binding.datatypes.string): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tsInscricaoMunicipal') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 117, 1) - _Documentation = None -tsInscricaoMunicipal._CF_whiteSpace = pyxb.binding.facets.CF_whiteSpace(value=pyxb.binding.facets._WhiteSpace_enum.collapse) -tsInscricaoMunicipal._CF_minLength = pyxb.binding.facets.CF_minLength(value=pyxb.binding.datatypes.nonNegativeInteger(1)) -tsInscricaoMunicipal._CF_maxLength = pyxb.binding.facets.CF_maxLength(value=pyxb.binding.datatypes.nonNegativeInteger(15)) -tsInscricaoMunicipal._InitializeFacetMap(tsInscricaoMunicipal._CF_whiteSpace, - tsInscricaoMunicipal._CF_minLength, - tsInscricaoMunicipal._CF_maxLength) -Namespace.addCategoryObject('typeBinding', 'tsInscricaoMunicipal', tsInscricaoMunicipal) -_module_typeBindings.tsInscricaoMunicipal = tsInscricaoMunicipal - -# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsRazaoSocial -class tsRazaoSocial (pyxb.binding.datatypes.string): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tsRazaoSocial') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 124, 1) - _Documentation = None -tsRazaoSocial._CF_whiteSpace = pyxb.binding.facets.CF_whiteSpace(value=pyxb.binding.facets._WhiteSpace_enum.collapse) -tsRazaoSocial._CF_minLength = pyxb.binding.facets.CF_minLength(value=pyxb.binding.datatypes.nonNegativeInteger(1)) -tsRazaoSocial._CF_maxLength = pyxb.binding.facets.CF_maxLength(value=pyxb.binding.datatypes.nonNegativeInteger(115)) -tsRazaoSocial._InitializeFacetMap(tsRazaoSocial._CF_whiteSpace, - tsRazaoSocial._CF_minLength, - tsRazaoSocial._CF_maxLength) -Namespace.addCategoryObject('typeBinding', 'tsRazaoSocial', tsRazaoSocial) -_module_typeBindings.tsRazaoSocial = tsRazaoSocial - -# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsNomeFantasia -class tsNomeFantasia (pyxb.binding.datatypes.string): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tsNomeFantasia') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 131, 1) - _Documentation = None -tsNomeFantasia._CF_whiteSpace = pyxb.binding.facets.CF_whiteSpace(value=pyxb.binding.facets._WhiteSpace_enum.collapse) -tsNomeFantasia._CF_minLength = pyxb.binding.facets.CF_minLength(value=pyxb.binding.datatypes.nonNegativeInteger(1)) -tsNomeFantasia._CF_maxLength = pyxb.binding.facets.CF_maxLength(value=pyxb.binding.datatypes.nonNegativeInteger(60)) -tsNomeFantasia._InitializeFacetMap(tsNomeFantasia._CF_whiteSpace, - tsNomeFantasia._CF_minLength, - tsNomeFantasia._CF_maxLength) -Namespace.addCategoryObject('typeBinding', 'tsNomeFantasia', tsNomeFantasia) -_module_typeBindings.tsNomeFantasia = tsNomeFantasia - -# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsCnpj -class tsCnpj (pyxb.binding.datatypes.string): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tsCnpj') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 138, 1) - _Documentation = None -tsCnpj._CF_whiteSpace = pyxb.binding.facets.CF_whiteSpace(value=pyxb.binding.facets._WhiteSpace_enum.collapse) -tsCnpj._CF_length = pyxb.binding.facets.CF_length(value=pyxb.binding.datatypes.nonNegativeInteger(14)) -tsCnpj._InitializeFacetMap(tsCnpj._CF_whiteSpace, - tsCnpj._CF_length) -Namespace.addCategoryObject('typeBinding', 'tsCnpj', tsCnpj) -_module_typeBindings.tsCnpj = tsCnpj - -# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsEndereco -class tsEndereco (pyxb.binding.datatypes.string): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tsEndereco') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 144, 1) - _Documentation = None -tsEndereco._CF_whiteSpace = pyxb.binding.facets.CF_whiteSpace(value=pyxb.binding.facets._WhiteSpace_enum.collapse) -tsEndereco._CF_minLength = pyxb.binding.facets.CF_minLength(value=pyxb.binding.datatypes.nonNegativeInteger(1)) -tsEndereco._CF_maxLength = pyxb.binding.facets.CF_maxLength(value=pyxb.binding.datatypes.nonNegativeInteger(125)) -tsEndereco._InitializeFacetMap(tsEndereco._CF_whiteSpace, - tsEndereco._CF_minLength, - tsEndereco._CF_maxLength) -Namespace.addCategoryObject('typeBinding', 'tsEndereco', tsEndereco) -_module_typeBindings.tsEndereco = tsEndereco - -# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsNumeroEndereco -class tsNumeroEndereco (pyxb.binding.datatypes.string): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tsNumeroEndereco') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 151, 1) - _Documentation = None -tsNumeroEndereco._CF_whiteSpace = pyxb.binding.facets.CF_whiteSpace(value=pyxb.binding.facets._WhiteSpace_enum.collapse) -tsNumeroEndereco._CF_minLength = pyxb.binding.facets.CF_minLength(value=pyxb.binding.datatypes.nonNegativeInteger(1)) -tsNumeroEndereco._CF_maxLength = pyxb.binding.facets.CF_maxLength(value=pyxb.binding.datatypes.nonNegativeInteger(10)) -tsNumeroEndereco._InitializeFacetMap(tsNumeroEndereco._CF_whiteSpace, - tsNumeroEndereco._CF_minLength, - tsNumeroEndereco._CF_maxLength) -Namespace.addCategoryObject('typeBinding', 'tsNumeroEndereco', tsNumeroEndereco) -_module_typeBindings.tsNumeroEndereco = tsNumeroEndereco - -# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsComplementoEndereco -class tsComplementoEndereco (pyxb.binding.datatypes.string): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tsComplementoEndereco') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 158, 1) - _Documentation = None -tsComplementoEndereco._CF_whiteSpace = pyxb.binding.facets.CF_whiteSpace(value=pyxb.binding.facets._WhiteSpace_enum.collapse) -tsComplementoEndereco._CF_minLength = pyxb.binding.facets.CF_minLength(value=pyxb.binding.datatypes.nonNegativeInteger(1)) -tsComplementoEndereco._CF_maxLength = pyxb.binding.facets.CF_maxLength(value=pyxb.binding.datatypes.nonNegativeInteger(60)) -tsComplementoEndereco._InitializeFacetMap(tsComplementoEndereco._CF_whiteSpace, - tsComplementoEndereco._CF_minLength, - tsComplementoEndereco._CF_maxLength) -Namespace.addCategoryObject('typeBinding', 'tsComplementoEndereco', tsComplementoEndereco) -_module_typeBindings.tsComplementoEndereco = tsComplementoEndereco - -# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsBairro -class tsBairro (pyxb.binding.datatypes.string): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tsBairro') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 165, 1) - _Documentation = None -tsBairro._CF_whiteSpace = pyxb.binding.facets.CF_whiteSpace(value=pyxb.binding.facets._WhiteSpace_enum.collapse) -tsBairro._CF_minLength = pyxb.binding.facets.CF_minLength(value=pyxb.binding.datatypes.nonNegativeInteger(1)) -tsBairro._CF_maxLength = pyxb.binding.facets.CF_maxLength(value=pyxb.binding.datatypes.nonNegativeInteger(60)) -tsBairro._InitializeFacetMap(tsBairro._CF_whiteSpace, - tsBairro._CF_minLength, - tsBairro._CF_maxLength) -Namespace.addCategoryObject('typeBinding', 'tsBairro', tsBairro) -_module_typeBindings.tsBairro = tsBairro - -# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsUf -class tsUf (pyxb.binding.datatypes.string): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tsUf') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 172, 1) - _Documentation = None -tsUf._CF_length = pyxb.binding.facets.CF_length(value=pyxb.binding.datatypes.nonNegativeInteger(2)) -tsUf._InitializeFacetMap(tsUf._CF_length) -Namespace.addCategoryObject('typeBinding', 'tsUf', tsUf) -_module_typeBindings.tsUf = tsUf - -# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsCep -class tsCep (pyxb.binding.datatypes.int): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tsCep') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 177, 1) - _Documentation = None -tsCep._CF_totalDigits = pyxb.binding.facets.CF_totalDigits(value=pyxb.binding.datatypes.positiveInteger(8)) -tsCep._InitializeFacetMap(tsCep._CF_totalDigits) -Namespace.addCategoryObject('typeBinding', 'tsCep', tsCep) -_module_typeBindings.tsCep = tsCep - -# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsEmail -class tsEmail (pyxb.binding.datatypes.string): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tsEmail') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 182, 1) - _Documentation = None -tsEmail._CF_whiteSpace = pyxb.binding.facets.CF_whiteSpace(value=pyxb.binding.facets._WhiteSpace_enum.collapse) -tsEmail._CF_minLength = pyxb.binding.facets.CF_minLength(value=pyxb.binding.datatypes.nonNegativeInteger(1)) -tsEmail._CF_maxLength = pyxb.binding.facets.CF_maxLength(value=pyxb.binding.datatypes.nonNegativeInteger(80)) -tsEmail._InitializeFacetMap(tsEmail._CF_whiteSpace, - tsEmail._CF_minLength, - tsEmail._CF_maxLength) -Namespace.addCategoryObject('typeBinding', 'tsEmail', tsEmail) -_module_typeBindings.tsEmail = tsEmail - -# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsTelefone -class tsTelefone (pyxb.binding.datatypes.string): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tsTelefone') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 189, 1) - _Documentation = None -tsTelefone._CF_whiteSpace = pyxb.binding.facets.CF_whiteSpace(value=pyxb.binding.facets._WhiteSpace_enum.collapse) -tsTelefone._CF_minLength = pyxb.binding.facets.CF_minLength(value=pyxb.binding.datatypes.nonNegativeInteger(1)) -tsTelefone._CF_maxLength = pyxb.binding.facets.CF_maxLength(value=pyxb.binding.datatypes.nonNegativeInteger(11)) -tsTelefone._InitializeFacetMap(tsTelefone._CF_whiteSpace, - tsTelefone._CF_minLength, - tsTelefone._CF_maxLength) -Namespace.addCategoryObject('typeBinding', 'tsTelefone', tsTelefone) -_module_typeBindings.tsTelefone = tsTelefone - -# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsCpf -class tsCpf (pyxb.binding.datatypes.string): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tsCpf') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 196, 1) - _Documentation = None -tsCpf._CF_length = pyxb.binding.facets.CF_length(value=pyxb.binding.datatypes.nonNegativeInteger(11)) -tsCpf._InitializeFacetMap(tsCpf._CF_length) -Namespace.addCategoryObject('typeBinding', 'tsCpf', tsCpf) -_module_typeBindings.tsCpf = tsCpf - -# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsIndicacaoCpfCnpj -class tsIndicacaoCpfCnpj (pyxb.binding.datatypes.byte): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tsIndicacaoCpfCnpj') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 201, 1) - _Documentation = None -tsIndicacaoCpfCnpj._CF_pattern = pyxb.binding.facets.CF_pattern() -tsIndicacaoCpfCnpj._CF_pattern.addPattern(pattern='1|2|3') -tsIndicacaoCpfCnpj._InitializeFacetMap(tsIndicacaoCpfCnpj._CF_pattern) -Namespace.addCategoryObject('typeBinding', 'tsIndicacaoCpfCnpj', tsIndicacaoCpfCnpj) -_module_typeBindings.tsIndicacaoCpfCnpj = tsIndicacaoCpfCnpj - -# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsCodigoObra -class tsCodigoObra (pyxb.binding.datatypes.string): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tsCodigoObra') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 206, 1) - _Documentation = None -tsCodigoObra._CF_whiteSpace = pyxb.binding.facets.CF_whiteSpace(value=pyxb.binding.facets._WhiteSpace_enum.collapse) -tsCodigoObra._CF_minLength = pyxb.binding.facets.CF_minLength(value=pyxb.binding.datatypes.nonNegativeInteger(1)) -tsCodigoObra._CF_maxLength = pyxb.binding.facets.CF_maxLength(value=pyxb.binding.datatypes.nonNegativeInteger(15)) -tsCodigoObra._InitializeFacetMap(tsCodigoObra._CF_whiteSpace, - tsCodigoObra._CF_minLength, - tsCodigoObra._CF_maxLength) -Namespace.addCategoryObject('typeBinding', 'tsCodigoObra', tsCodigoObra) -_module_typeBindings.tsCodigoObra = tsCodigoObra - -# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsArt -class tsArt (pyxb.binding.datatypes.string): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tsArt') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 213, 1) - _Documentation = None -tsArt._CF_whiteSpace = pyxb.binding.facets.CF_whiteSpace(value=pyxb.binding.facets._WhiteSpace_enum.collapse) -tsArt._CF_minLength = pyxb.binding.facets.CF_minLength(value=pyxb.binding.datatypes.nonNegativeInteger(1)) -tsArt._CF_maxLength = pyxb.binding.facets.CF_maxLength(value=pyxb.binding.datatypes.nonNegativeInteger(15)) -tsArt._InitializeFacetMap(tsArt._CF_whiteSpace, - tsArt._CF_minLength, - tsArt._CF_maxLength) -Namespace.addCategoryObject('typeBinding', 'tsArt', tsArt) -_module_typeBindings.tsArt = tsArt - -# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsNumeroLote -class tsNumeroLote (pyxb.binding.datatypes.nonNegativeInteger): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tsNumeroLote') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 220, 1) - _Documentation = None -tsNumeroLote._CF_totalDigits = pyxb.binding.facets.CF_totalDigits(value=pyxb.binding.datatypes.positiveInteger(15)) -tsNumeroLote._InitializeFacetMap(tsNumeroLote._CF_totalDigits) -Namespace.addCategoryObject('typeBinding', 'tsNumeroLote', tsNumeroLote) -_module_typeBindings.tsNumeroLote = tsNumeroLote - -# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsNumeroProtocolo -class tsNumeroProtocolo (pyxb.binding.datatypes.string): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tsNumeroProtocolo') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 225, 1) - _Documentation = None -tsNumeroProtocolo._CF_maxLength = pyxb.binding.facets.CF_maxLength(value=pyxb.binding.datatypes.nonNegativeInteger(50)) -tsNumeroProtocolo._InitializeFacetMap(tsNumeroProtocolo._CF_maxLength) -Namespace.addCategoryObject('typeBinding', 'tsNumeroProtocolo', tsNumeroProtocolo) -_module_typeBindings.tsNumeroProtocolo = tsNumeroProtocolo - -# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsSituacaoLoteRps -class tsSituacaoLoteRps (pyxb.binding.datatypes.byte): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tsSituacaoLoteRps') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 230, 1) - _Documentation = None -tsSituacaoLoteRps._CF_pattern = pyxb.binding.facets.CF_pattern() -tsSituacaoLoteRps._CF_pattern.addPattern(pattern='1|2|3|4') -tsSituacaoLoteRps._InitializeFacetMap(tsSituacaoLoteRps._CF_pattern) -Namespace.addCategoryObject('typeBinding', 'tsSituacaoLoteRps', tsSituacaoLoteRps) -_module_typeBindings.tsSituacaoLoteRps = tsSituacaoLoteRps - -# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsQuantidadeRps -class tsQuantidadeRps (pyxb.binding.datatypes.int): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tsQuantidadeRps') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 235, 1) - _Documentation = None -tsQuantidadeRps._InitializeFacetMap() -Namespace.addCategoryObject('typeBinding', 'tsQuantidadeRps', tsQuantidadeRps) -_module_typeBindings.tsQuantidadeRps = tsQuantidadeRps - -# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsCodigoMensagemAlerta -class tsCodigoMensagemAlerta (pyxb.binding.datatypes.string): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tsCodigoMensagemAlerta') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 239, 1) - _Documentation = None -tsCodigoMensagemAlerta._CF_whiteSpace = pyxb.binding.facets.CF_whiteSpace(value=pyxb.binding.facets._WhiteSpace_enum.collapse) -tsCodigoMensagemAlerta._CF_minLength = pyxb.binding.facets.CF_minLength(value=pyxb.binding.datatypes.nonNegativeInteger(1)) -tsCodigoMensagemAlerta._CF_maxLength = pyxb.binding.facets.CF_maxLength(value=pyxb.binding.datatypes.nonNegativeInteger(4)) -tsCodigoMensagemAlerta._InitializeFacetMap(tsCodigoMensagemAlerta._CF_whiteSpace, - tsCodigoMensagemAlerta._CF_minLength, - tsCodigoMensagemAlerta._CF_maxLength) -Namespace.addCategoryObject('typeBinding', 'tsCodigoMensagemAlerta', tsCodigoMensagemAlerta) -_module_typeBindings.tsCodigoMensagemAlerta = tsCodigoMensagemAlerta - -# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsDescricaoMensagemAlerta -class tsDescricaoMensagemAlerta (pyxb.binding.datatypes.string): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tsDescricaoMensagemAlerta') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 246, 1) - _Documentation = None -tsDescricaoMensagemAlerta._CF_whiteSpace = pyxb.binding.facets.CF_whiteSpace(value=pyxb.binding.facets._WhiteSpace_enum.collapse) -tsDescricaoMensagemAlerta._CF_minLength = pyxb.binding.facets.CF_minLength(value=pyxb.binding.datatypes.nonNegativeInteger(1)) -tsDescricaoMensagemAlerta._CF_maxLength = pyxb.binding.facets.CF_maxLength(value=pyxb.binding.datatypes.nonNegativeInteger(200)) -tsDescricaoMensagemAlerta._InitializeFacetMap(tsDescricaoMensagemAlerta._CF_whiteSpace, - tsDescricaoMensagemAlerta._CF_minLength, - tsDescricaoMensagemAlerta._CF_maxLength) -Namespace.addCategoryObject('typeBinding', 'tsDescricaoMensagemAlerta', tsDescricaoMensagemAlerta) -_module_typeBindings.tsDescricaoMensagemAlerta = tsDescricaoMensagemAlerta - -# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsCodigoCancelamentoNfse -class tsCodigoCancelamentoNfse (pyxb.binding.datatypes.string): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tsCodigoCancelamentoNfse') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 253, 1) - _Documentation = None -tsCodigoCancelamentoNfse._CF_whiteSpace = pyxb.binding.facets.CF_whiteSpace(value=pyxb.binding.facets._WhiteSpace_enum.collapse) -tsCodigoCancelamentoNfse._CF_minLength = pyxb.binding.facets.CF_minLength(value=pyxb.binding.datatypes.nonNegativeInteger(1)) -tsCodigoCancelamentoNfse._CF_maxLength = pyxb.binding.facets.CF_maxLength(value=pyxb.binding.datatypes.nonNegativeInteger(4)) -tsCodigoCancelamentoNfse._InitializeFacetMap(tsCodigoCancelamentoNfse._CF_whiteSpace, - tsCodigoCancelamentoNfse._CF_minLength, - tsCodigoCancelamentoNfse._CF_maxLength) -Namespace.addCategoryObject('typeBinding', 'tsCodigoCancelamentoNfse', tsCodigoCancelamentoNfse) -_module_typeBindings.tsCodigoCancelamentoNfse = tsCodigoCancelamentoNfse - -# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsIdTag -class tsIdTag (pyxb.binding.datatypes.string): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tsIdTag') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 260, 1) - _Documentation = None -tsIdTag._CF_maxLength = pyxb.binding.facets.CF_maxLength(value=pyxb.binding.datatypes.nonNegativeInteger(255)) -tsIdTag._InitializeFacetMap(tsIdTag._CF_maxLength) -Namespace.addCategoryObject('typeBinding', 'tsIdTag', tsIdTag) -_module_typeBindings.tsIdTag = tsIdTag - -# Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcCpfCnpj with content type ELEMENT_ONLY -class tcCpfCnpj (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcCpfCnpj with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tcCpfCnpj') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 268, 4) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Cpf uses Python identifier Cpf - __Cpf = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Cpf'), 'Cpf', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcCpfCnpj_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdCpf', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 270, 12), ) - - - Cpf = property(__Cpf.value, __Cpf.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Cnpj uses Python identifier Cnpj - __Cnpj = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Cnpj'), 'Cnpj', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcCpfCnpj_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdCnpj', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 271, 12), ) - - - Cnpj = property(__Cnpj.value, __Cnpj.set, None, None) - - _ElementMap.update({ - __Cpf.name() : __Cpf, - __Cnpj.name() : __Cnpj - }) - _AttributeMap.update({ - - }) -_module_typeBindings.tcCpfCnpj = tcCpfCnpj -Namespace.addCategoryObject('typeBinding', 'tcCpfCnpj', tcCpfCnpj) - - -# Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcEndereco with content type ELEMENT_ONLY -class tcEndereco (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcEndereco with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tcEndereco') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 274, 4) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Endereco uses Python identifier Endereco - __Endereco = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Endereco'), 'Endereco', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcEndereco_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdEndereco', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 276, 12), ) - - - Endereco = property(__Endereco.value, __Endereco.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Numero uses Python identifier Numero - __Numero = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Numero'), 'Numero', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcEndereco_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdNumero', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 277, 12), ) - - - Numero = property(__Numero.value, __Numero.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Complemento uses Python identifier Complemento - __Complemento = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Complemento'), 'Complemento', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcEndereco_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdComplemento', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 278, 12), ) - - - Complemento = property(__Complemento.value, __Complemento.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Bairro uses Python identifier Bairro - __Bairro = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Bairro'), 'Bairro', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcEndereco_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdBairro', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 279, 12), ) - - - Bairro = property(__Bairro.value, __Bairro.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}CodigoMunicipio uses Python identifier CodigoMunicipio - __CodigoMunicipio = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'CodigoMunicipio'), 'CodigoMunicipio', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcEndereco_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdCodigoMunicipio', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 280, 12), ) - - - CodigoMunicipio = property(__CodigoMunicipio.value, __CodigoMunicipio.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Uf uses Python identifier Uf - __Uf = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Uf'), 'Uf', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcEndereco_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdUf', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 281, 12), ) - - - Uf = property(__Uf.value, __Uf.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Cep uses Python identifier Cep - __Cep = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Cep'), 'Cep', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcEndereco_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdCep', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 282, 12), ) - - - Cep = property(__Cep.value, __Cep.set, None, None) - - _ElementMap.update({ - __Endereco.name() : __Endereco, - __Numero.name() : __Numero, - __Complemento.name() : __Complemento, - __Bairro.name() : __Bairro, - __CodigoMunicipio.name() : __CodigoMunicipio, - __Uf.name() : __Uf, - __Cep.name() : __Cep - }) - _AttributeMap.update({ - - }) -_module_typeBindings.tcEndereco = tcEndereco -Namespace.addCategoryObject('typeBinding', 'tcEndereco', tcEndereco) - - -# Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcContato with content type ELEMENT_ONLY -class tcContato (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcContato with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tcContato') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 285, 4) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Telefone uses Python identifier Telefone - __Telefone = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Telefone'), 'Telefone', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcContato_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdTelefone', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 287, 12), ) - - - Telefone = property(__Telefone.value, __Telefone.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Email uses Python identifier Email - __Email = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Email'), 'Email', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcContato_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdEmail', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 288, 12), ) - - - Email = property(__Email.value, __Email.set, None, None) - - _ElementMap.update({ - __Telefone.name() : __Telefone, - __Email.name() : __Email - }) - _AttributeMap.update({ - - }) -_module_typeBindings.tcContato = tcContato -Namespace.addCategoryObject('typeBinding', 'tcContato', tcContato) - - -# Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcIdentificacaoOrgaoGerador with content type ELEMENT_ONLY -class tcIdentificacaoOrgaoGerador (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcIdentificacaoOrgaoGerador with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tcIdentificacaoOrgaoGerador') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 291, 4) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}CodigoMunicipio uses Python identifier CodigoMunicipio - __CodigoMunicipio = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'CodigoMunicipio'), 'CodigoMunicipio', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcIdentificacaoOrgaoGerador_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdCodigoMunicipio', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 293, 12), ) - - - CodigoMunicipio = property(__CodigoMunicipio.value, __CodigoMunicipio.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Uf uses Python identifier Uf - __Uf = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Uf'), 'Uf', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcIdentificacaoOrgaoGerador_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdUf', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 294, 12), ) - - - Uf = property(__Uf.value, __Uf.set, None, None) - - _ElementMap.update({ - __CodigoMunicipio.name() : __CodigoMunicipio, - __Uf.name() : __Uf - }) - _AttributeMap.update({ - - }) -_module_typeBindings.tcIdentificacaoOrgaoGerador = tcIdentificacaoOrgaoGerador -Namespace.addCategoryObject('typeBinding', 'tcIdentificacaoOrgaoGerador', tcIdentificacaoOrgaoGerador) - - -# Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcIdentificacaoRps with content type ELEMENT_ONLY -class tcIdentificacaoRps (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcIdentificacaoRps with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tcIdentificacaoRps') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 297, 4) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Numero uses Python identifier Numero - __Numero = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Numero'), 'Numero', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcIdentificacaoRps_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdNumero', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 299, 12), ) - - - Numero = property(__Numero.value, __Numero.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Serie uses Python identifier Serie - __Serie = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Serie'), 'Serie', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcIdentificacaoRps_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdSerie', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 300, 12), ) - - - Serie = property(__Serie.value, __Serie.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Tipo uses Python identifier Tipo - __Tipo = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Tipo'), 'Tipo', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcIdentificacaoRps_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdTipo', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 301, 12), ) - - - Tipo = property(__Tipo.value, __Tipo.set, None, None) - - _ElementMap.update({ - __Numero.name() : __Numero, - __Serie.name() : __Serie, - __Tipo.name() : __Tipo - }) - _AttributeMap.update({ - - }) -_module_typeBindings.tcIdentificacaoRps = tcIdentificacaoRps -Namespace.addCategoryObject('typeBinding', 'tcIdentificacaoRps', tcIdentificacaoRps) - - -# Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcIdentificacaoPrestador with content type ELEMENT_ONLY -class tcIdentificacaoPrestador (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcIdentificacaoPrestador with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tcIdentificacaoPrestador') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 304, 4) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Cnpj uses Python identifier Cnpj - __Cnpj = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Cnpj'), 'Cnpj', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcIdentificacaoPrestador_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdCnpj', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 306, 12), ) - - - Cnpj = property(__Cnpj.value, __Cnpj.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}InscricaoMunicipal uses Python identifier InscricaoMunicipal - __InscricaoMunicipal = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'InscricaoMunicipal'), 'InscricaoMunicipal', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcIdentificacaoPrestador_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdInscricaoMunicipal', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 307, 12), ) - - - InscricaoMunicipal = property(__InscricaoMunicipal.value, __InscricaoMunicipal.set, None, None) - - _ElementMap.update({ - __Cnpj.name() : __Cnpj, - __InscricaoMunicipal.name() : __InscricaoMunicipal - }) - _AttributeMap.update({ - - }) -_module_typeBindings.tcIdentificacaoPrestador = tcIdentificacaoPrestador -Namespace.addCategoryObject('typeBinding', 'tcIdentificacaoPrestador', tcIdentificacaoPrestador) - - -# Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcIdentificacaoTomador with content type ELEMENT_ONLY -class tcIdentificacaoTomador (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcIdentificacaoTomador with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tcIdentificacaoTomador') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 310, 4) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}CpfCnpj uses Python identifier CpfCnpj - __CpfCnpj = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'CpfCnpj'), 'CpfCnpj', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcIdentificacaoTomador_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdCpfCnpj', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 312, 12), ) - - - CpfCnpj = property(__CpfCnpj.value, __CpfCnpj.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}InscricaoMunicipal uses Python identifier InscricaoMunicipal - __InscricaoMunicipal = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'InscricaoMunicipal'), 'InscricaoMunicipal', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcIdentificacaoTomador_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdInscricaoMunicipal', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 313, 12), ) - - - InscricaoMunicipal = property(__InscricaoMunicipal.value, __InscricaoMunicipal.set, None, None) - - _ElementMap.update({ - __CpfCnpj.name() : __CpfCnpj, - __InscricaoMunicipal.name() : __InscricaoMunicipal - }) - _AttributeMap.update({ - - }) -_module_typeBindings.tcIdentificacaoTomador = tcIdentificacaoTomador -Namespace.addCategoryObject('typeBinding', 'tcIdentificacaoTomador', tcIdentificacaoTomador) - - -# Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcDadosTomador with content type ELEMENT_ONLY -class tcDadosTomador (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcDadosTomador with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tcDadosTomador') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 316, 4) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}IdentificacaoTomador uses Python identifier IdentificacaoTomador - __IdentificacaoTomador = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'IdentificacaoTomador'), 'IdentificacaoTomador', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcDadosTomador_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdIdentificacaoTomador', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 318, 12), ) - - - IdentificacaoTomador = property(__IdentificacaoTomador.value, __IdentificacaoTomador.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}RazaoSocial uses Python identifier RazaoSocial - __RazaoSocial = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'RazaoSocial'), 'RazaoSocial', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcDadosTomador_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdRazaoSocial', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 319, 12), ) - - - RazaoSocial = property(__RazaoSocial.value, __RazaoSocial.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Endereco uses Python identifier Endereco - __Endereco = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Endereco'), 'Endereco', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcDadosTomador_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdEndereco', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 320, 12), ) - - - Endereco = property(__Endereco.value, __Endereco.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Contato uses Python identifier Contato - __Contato = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Contato'), 'Contato', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcDadosTomador_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdContato', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 321, 12), ) - - - Contato = property(__Contato.value, __Contato.set, None, None) - - _ElementMap.update({ - __IdentificacaoTomador.name() : __IdentificacaoTomador, - __RazaoSocial.name() : __RazaoSocial, - __Endereco.name() : __Endereco, - __Contato.name() : __Contato - }) - _AttributeMap.update({ - - }) -_module_typeBindings.tcDadosTomador = tcDadosTomador -Namespace.addCategoryObject('typeBinding', 'tcDadosTomador', tcDadosTomador) - - -# Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcIdentificacaoIntermediarioServico with content type ELEMENT_ONLY -class tcIdentificacaoIntermediarioServico (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcIdentificacaoIntermediarioServico with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tcIdentificacaoIntermediarioServico') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 324, 4) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}RazaoSocial uses Python identifier RazaoSocial - __RazaoSocial = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'RazaoSocial'), 'RazaoSocial', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcIdentificacaoIntermediarioServico_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdRazaoSocial', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 326, 12), ) - - - RazaoSocial = property(__RazaoSocial.value, __RazaoSocial.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}CpfCnpj uses Python identifier CpfCnpj - __CpfCnpj = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'CpfCnpj'), 'CpfCnpj', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcIdentificacaoIntermediarioServico_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdCpfCnpj', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 327, 12), ) - - - CpfCnpj = property(__CpfCnpj.value, __CpfCnpj.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}InscricaoMunicipal uses Python identifier InscricaoMunicipal - __InscricaoMunicipal = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'InscricaoMunicipal'), 'InscricaoMunicipal', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcIdentificacaoIntermediarioServico_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdInscricaoMunicipal', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 328, 12), ) - - - InscricaoMunicipal = property(__InscricaoMunicipal.value, __InscricaoMunicipal.set, None, None) - - _ElementMap.update({ - __RazaoSocial.name() : __RazaoSocial, - __CpfCnpj.name() : __CpfCnpj, - __InscricaoMunicipal.name() : __InscricaoMunicipal - }) - _AttributeMap.update({ - - }) -_module_typeBindings.tcIdentificacaoIntermediarioServico = tcIdentificacaoIntermediarioServico -Namespace.addCategoryObject('typeBinding', 'tcIdentificacaoIntermediarioServico', tcIdentificacaoIntermediarioServico) - - -# Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcValores with content type ELEMENT_ONLY -class tcValores (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcValores with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tcValores') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 331, 4) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}ValorServicos uses Python identifier ValorServicos - __ValorServicos = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'ValorServicos'), 'ValorServicos', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcValores_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdValorServicos', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 333, 12), ) - - - ValorServicos = property(__ValorServicos.value, __ValorServicos.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}ValorDeducoes uses Python identifier ValorDeducoes - __ValorDeducoes = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'ValorDeducoes'), 'ValorDeducoes', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcValores_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdValorDeducoes', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 334, 12), ) - - - ValorDeducoes = property(__ValorDeducoes.value, __ValorDeducoes.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}ValorPis uses Python identifier ValorPis - __ValorPis = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'ValorPis'), 'ValorPis', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcValores_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdValorPis', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 335, 12), ) - - - ValorPis = property(__ValorPis.value, __ValorPis.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}ValorCofins uses Python identifier ValorCofins - __ValorCofins = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'ValorCofins'), 'ValorCofins', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcValores_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdValorCofins', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 336, 12), ) - - - ValorCofins = property(__ValorCofins.value, __ValorCofins.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}ValorInss uses Python identifier ValorInss - __ValorInss = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'ValorInss'), 'ValorInss', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcValores_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdValorInss', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 337, 12), ) - - - ValorInss = property(__ValorInss.value, __ValorInss.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}ValorIr uses Python identifier ValorIr - __ValorIr = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'ValorIr'), 'ValorIr', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcValores_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdValorIr', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 338, 12), ) - - - ValorIr = property(__ValorIr.value, __ValorIr.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}ValorCsll uses Python identifier ValorCsll - __ValorCsll = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'ValorCsll'), 'ValorCsll', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcValores_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdValorCsll', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 339, 12), ) - - - ValorCsll = property(__ValorCsll.value, __ValorCsll.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}IssRetido uses Python identifier IssRetido - __IssRetido = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'IssRetido'), 'IssRetido', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcValores_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdIssRetido', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 340, 12), ) - - - IssRetido = property(__IssRetido.value, __IssRetido.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}ValorIss uses Python identifier ValorIss - __ValorIss = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'ValorIss'), 'ValorIss', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcValores_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdValorIss', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 341, 12), ) - - - ValorIss = property(__ValorIss.value, __ValorIss.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}ValorIssRetido uses Python identifier ValorIssRetido - __ValorIssRetido = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'ValorIssRetido'), 'ValorIssRetido', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcValores_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdValorIssRetido', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 342, 12), ) - - - ValorIssRetido = property(__ValorIssRetido.value, __ValorIssRetido.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}OutrasRetencoes uses Python identifier OutrasRetencoes - __OutrasRetencoes = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'OutrasRetencoes'), 'OutrasRetencoes', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcValores_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdOutrasRetencoes', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 343, 12), ) - - - OutrasRetencoes = property(__OutrasRetencoes.value, __OutrasRetencoes.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}BaseCalculo uses Python identifier BaseCalculo - __BaseCalculo = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'BaseCalculo'), 'BaseCalculo', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcValores_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdBaseCalculo', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 344, 12), ) - - - BaseCalculo = property(__BaseCalculo.value, __BaseCalculo.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Aliquota uses Python identifier Aliquota - __Aliquota = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Aliquota'), 'Aliquota', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcValores_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdAliquota', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 345, 12), ) - - - Aliquota = property(__Aliquota.value, __Aliquota.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}ValorLiquidoNfse uses Python identifier ValorLiquidoNfse - __ValorLiquidoNfse = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'ValorLiquidoNfse'), 'ValorLiquidoNfse', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcValores_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdValorLiquidoNfse', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 346, 12), ) - - - ValorLiquidoNfse = property(__ValorLiquidoNfse.value, __ValorLiquidoNfse.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}DescontoIncondicionado uses Python identifier DescontoIncondicionado - __DescontoIncondicionado = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'DescontoIncondicionado'), 'DescontoIncondicionado', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcValores_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdDescontoIncondicionado', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 347, 12), ) - - - DescontoIncondicionado = property(__DescontoIncondicionado.value, __DescontoIncondicionado.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}DescontoCondicionado uses Python identifier DescontoCondicionado - __DescontoCondicionado = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'DescontoCondicionado'), 'DescontoCondicionado', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcValores_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdDescontoCondicionado', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 348, 12), ) - - - DescontoCondicionado = property(__DescontoCondicionado.value, __DescontoCondicionado.set, None, None) - - _ElementMap.update({ - __ValorServicos.name() : __ValorServicos, - __ValorDeducoes.name() : __ValorDeducoes, - __ValorPis.name() : __ValorPis, - __ValorCofins.name() : __ValorCofins, - __ValorInss.name() : __ValorInss, - __ValorIr.name() : __ValorIr, - __ValorCsll.name() : __ValorCsll, - __IssRetido.name() : __IssRetido, - __ValorIss.name() : __ValorIss, - __ValorIssRetido.name() : __ValorIssRetido, - __OutrasRetencoes.name() : __OutrasRetencoes, - __BaseCalculo.name() : __BaseCalculo, - __Aliquota.name() : __Aliquota, - __ValorLiquidoNfse.name() : __ValorLiquidoNfse, - __DescontoIncondicionado.name() : __DescontoIncondicionado, - __DescontoCondicionado.name() : __DescontoCondicionado - }) - _AttributeMap.update({ - - }) -_module_typeBindings.tcValores = tcValores -Namespace.addCategoryObject('typeBinding', 'tcValores', tcValores) - - -# Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcDadosServico with content type ELEMENT_ONLY -class tcDadosServico (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcDadosServico with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tcDadosServico') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 351, 4) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Valores uses Python identifier Valores - __Valores = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Valores'), 'Valores', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcDadosServico_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdValores', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 353, 12), ) - - - Valores = property(__Valores.value, __Valores.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}ItemListaServico uses Python identifier ItemListaServico - __ItemListaServico = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'ItemListaServico'), 'ItemListaServico', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcDadosServico_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdItemListaServico', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 354, 12), ) - - - ItemListaServico = property(__ItemListaServico.value, __ItemListaServico.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}CodigoCnae uses Python identifier CodigoCnae - __CodigoCnae = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'CodigoCnae'), 'CodigoCnae', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcDadosServico_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdCodigoCnae', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 355, 12), ) - - - CodigoCnae = property(__CodigoCnae.value, __CodigoCnae.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}CodigoTributacaoMunicipio uses Python identifier CodigoTributacaoMunicipio - __CodigoTributacaoMunicipio = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'CodigoTributacaoMunicipio'), 'CodigoTributacaoMunicipio', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcDadosServico_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdCodigoTributacaoMunicipio', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 356, 12), ) - - - CodigoTributacaoMunicipio = property(__CodigoTributacaoMunicipio.value, __CodigoTributacaoMunicipio.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Discriminacao uses Python identifier Discriminacao - __Discriminacao = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Discriminacao'), 'Discriminacao', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcDadosServico_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdDiscriminacao', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 357, 12), ) - - - Discriminacao = property(__Discriminacao.value, __Discriminacao.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}CodigoMunicipio uses Python identifier CodigoMunicipio - __CodigoMunicipio = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'CodigoMunicipio'), 'CodigoMunicipio', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcDadosServico_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdCodigoMunicipio', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 358, 12), ) - - - CodigoMunicipio = property(__CodigoMunicipio.value, __CodigoMunicipio.set, None, None) - - _ElementMap.update({ - __Valores.name() : __Valores, - __ItemListaServico.name() : __ItemListaServico, - __CodigoCnae.name() : __CodigoCnae, - __CodigoTributacaoMunicipio.name() : __CodigoTributacaoMunicipio, - __Discriminacao.name() : __Discriminacao, - __CodigoMunicipio.name() : __CodigoMunicipio - }) - _AttributeMap.update({ - - }) -_module_typeBindings.tcDadosServico = tcDadosServico -Namespace.addCategoryObject('typeBinding', 'tcDadosServico', tcDadosServico) - - -# Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcDadosConstrucaoCivil with content type ELEMENT_ONLY -class tcDadosConstrucaoCivil (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcDadosConstrucaoCivil with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tcDadosConstrucaoCivil') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 361, 4) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}CodigoObra uses Python identifier CodigoObra - __CodigoObra = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'CodigoObra'), 'CodigoObra', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcDadosConstrucaoCivil_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdCodigoObra', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 363, 12), ) - - - CodigoObra = property(__CodigoObra.value, __CodigoObra.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Art uses Python identifier Art - __Art = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Art'), 'Art', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcDadosConstrucaoCivil_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdArt', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 364, 12), ) - - - Art = property(__Art.value, __Art.set, None, None) - - _ElementMap.update({ - __CodigoObra.name() : __CodigoObra, - __Art.name() : __Art - }) - _AttributeMap.update({ - - }) -_module_typeBindings.tcDadosConstrucaoCivil = tcDadosConstrucaoCivil -Namespace.addCategoryObject('typeBinding', 'tcDadosConstrucaoCivil', tcDadosConstrucaoCivil) - - -# Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcDadosPrestador with content type ELEMENT_ONLY -class tcDadosPrestador (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcDadosPrestador with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tcDadosPrestador') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 367, 4) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}IdentificacaoPrestador uses Python identifier IdentificacaoPrestador - __IdentificacaoPrestador = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'IdentificacaoPrestador'), 'IdentificacaoPrestador', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcDadosPrestador_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdIdentificacaoPrestador', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 369, 12), ) - - - IdentificacaoPrestador = property(__IdentificacaoPrestador.value, __IdentificacaoPrestador.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}RazaoSocial uses Python identifier RazaoSocial - __RazaoSocial = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'RazaoSocial'), 'RazaoSocial', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcDadosPrestador_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdRazaoSocial', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 370, 12), ) - - - RazaoSocial = property(__RazaoSocial.value, __RazaoSocial.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}NomeFantasia uses Python identifier NomeFantasia - __NomeFantasia = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'NomeFantasia'), 'NomeFantasia', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcDadosPrestador_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdNomeFantasia', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 371, 12), ) - - - NomeFantasia = property(__NomeFantasia.value, __NomeFantasia.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Endereco uses Python identifier Endereco - __Endereco = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Endereco'), 'Endereco', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcDadosPrestador_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdEndereco', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 372, 12), ) - - - Endereco = property(__Endereco.value, __Endereco.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Contato uses Python identifier Contato - __Contato = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Contato'), 'Contato', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcDadosPrestador_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdContato', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 373, 12), ) - - - Contato = property(__Contato.value, __Contato.set, None, None) - - _ElementMap.update({ - __IdentificacaoPrestador.name() : __IdentificacaoPrestador, - __RazaoSocial.name() : __RazaoSocial, - __NomeFantasia.name() : __NomeFantasia, - __Endereco.name() : __Endereco, - __Contato.name() : __Contato - }) - _AttributeMap.update({ - - }) -_module_typeBindings.tcDadosPrestador = tcDadosPrestador -Namespace.addCategoryObject('typeBinding', 'tcDadosPrestador', tcDadosPrestador) - - -# Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcRps with content type ELEMENT_ONLY -class tcRps (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcRps with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tcRps') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 394, 4) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}InfRps uses Python identifier InfRps - __InfRps = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'InfRps'), 'InfRps', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcRps_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdInfRps', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 396, 12), ) - - - InfRps = property(__InfRps.value, __InfRps.set, None, None) - - - # Element {http://www.w3.org/2000/09/xmldsig#}Signature uses Python identifier Signature - __Signature = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(_Namespace_dsig, 'Signature'), 'Signature', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcRps_httpwww_w3_org200009xmldsigSignature', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 41, 0), ) - - - Signature = property(__Signature.value, __Signature.set, None, None) - - _ElementMap.update({ - __InfRps.name() : __InfRps, - __Signature.name() : __Signature - }) - _AttributeMap.update({ - - }) -_module_typeBindings.tcRps = tcRps -Namespace.addCategoryObject('typeBinding', 'tcRps', tcRps) - - -# Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcIdentificacaoNfse with content type ELEMENT_ONLY -class tcIdentificacaoNfse (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcIdentificacaoNfse with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tcIdentificacaoNfse') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 400, 4) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Numero uses Python identifier Numero - __Numero = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Numero'), 'Numero', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcIdentificacaoNfse_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdNumero', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 402, 12), ) - - - Numero = property(__Numero.value, __Numero.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Cnpj uses Python identifier Cnpj - __Cnpj = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Cnpj'), 'Cnpj', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcIdentificacaoNfse_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdCnpj', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 403, 12), ) - - - Cnpj = property(__Cnpj.value, __Cnpj.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}InscricaoMunicipal uses Python identifier InscricaoMunicipal - __InscricaoMunicipal = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'InscricaoMunicipal'), 'InscricaoMunicipal', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcIdentificacaoNfse_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdInscricaoMunicipal', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 404, 12), ) - - - InscricaoMunicipal = property(__InscricaoMunicipal.value, __InscricaoMunicipal.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}CodigoMunicipio uses Python identifier CodigoMunicipio - __CodigoMunicipio = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'CodigoMunicipio'), 'CodigoMunicipio', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcIdentificacaoNfse_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdCodigoMunicipio', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 405, 12), ) - - - CodigoMunicipio = property(__CodigoMunicipio.value, __CodigoMunicipio.set, None, None) - - _ElementMap.update({ - __Numero.name() : __Numero, - __Cnpj.name() : __Cnpj, - __InscricaoMunicipal.name() : __InscricaoMunicipal, - __CodigoMunicipio.name() : __CodigoMunicipio - }) - _AttributeMap.update({ - - }) -_module_typeBindings.tcIdentificacaoNfse = tcIdentificacaoNfse -Namespace.addCategoryObject('typeBinding', 'tcIdentificacaoNfse', tcIdentificacaoNfse) - - -# Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcNfse with content type ELEMENT_ONLY -class tcNfse (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcNfse with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tcNfse') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 432, 4) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}InfNfse uses Python identifier InfNfse - __InfNfse = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'InfNfse'), 'InfNfse', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcNfse_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdInfNfse', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 434, 12), ) - - - InfNfse = property(__InfNfse.value, __InfNfse.set, None, None) - - - # Element {http://www.w3.org/2000/09/xmldsig#}Signature uses Python identifier Signature - __Signature = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(_Namespace_dsig, 'Signature'), 'Signature', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcNfse_httpwww_w3_org200009xmldsigSignature', True, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 41, 0), ) - - - Signature = property(__Signature.value, __Signature.set, None, None) - - _ElementMap.update({ - __InfNfse.name() : __InfNfse, - __Signature.name() : __Signature - }) - _AttributeMap.update({ - - }) -_module_typeBindings.tcNfse = tcNfse -Namespace.addCategoryObject('typeBinding', 'tcNfse', tcNfse) - - -# Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcPedidoCancelamento with content type ELEMENT_ONLY -class tcPedidoCancelamento (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcPedidoCancelamento with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tcPedidoCancelamento') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 446, 4) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}InfPedidoCancelamento uses Python identifier InfPedidoCancelamento - __InfPedidoCancelamento = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'InfPedidoCancelamento'), 'InfPedidoCancelamento', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcPedidoCancelamento_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdInfPedidoCancelamento', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 448, 12), ) - - - InfPedidoCancelamento = property(__InfPedidoCancelamento.value, __InfPedidoCancelamento.set, None, None) - - - # Element {http://www.w3.org/2000/09/xmldsig#}Signature uses Python identifier Signature - __Signature = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(_Namespace_dsig, 'Signature'), 'Signature', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcPedidoCancelamento_httpwww_w3_org200009xmldsigSignature', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 41, 0), ) - - - Signature = property(__Signature.value, __Signature.set, None, None) - - _ElementMap.update({ - __InfPedidoCancelamento.name() : __InfPedidoCancelamento, - __Signature.name() : __Signature - }) - _AttributeMap.update({ - - }) -_module_typeBindings.tcPedidoCancelamento = tcPedidoCancelamento -Namespace.addCategoryObject('typeBinding', 'tcPedidoCancelamento', tcPedidoCancelamento) - - -# Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcCancelamentoNfse with content type ELEMENT_ONLY -class tcCancelamentoNfse (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcCancelamentoNfse with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tcCancelamentoNfse') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 460, 4) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Confirmacao uses Python identifier Confirmacao - __Confirmacao = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Confirmacao'), 'Confirmacao', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcCancelamentoNfse_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdConfirmacao', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 462, 12), ) - - - Confirmacao = property(__Confirmacao.value, __Confirmacao.set, None, None) - - - # Element {http://www.w3.org/2000/09/xmldsig#}Signature uses Python identifier Signature - __Signature = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(_Namespace_dsig, 'Signature'), 'Signature', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcCancelamentoNfse_httpwww_w3_org200009xmldsigSignature', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 41, 0), ) - - - Signature = property(__Signature.value, __Signature.set, None, None) - - _ElementMap.update({ - __Confirmacao.name() : __Confirmacao, - __Signature.name() : __Signature - }) - _AttributeMap.update({ - - }) -_module_typeBindings.tcCancelamentoNfse = tcCancelamentoNfse -Namespace.addCategoryObject('typeBinding', 'tcCancelamentoNfse', tcCancelamentoNfse) - - -# Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcSubstituicaoNfse with content type ELEMENT_ONLY -class tcSubstituicaoNfse (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcSubstituicaoNfse with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tcSubstituicaoNfse') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 473, 4) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}SubstituicaoNfse uses Python identifier SubstituicaoNfse - __SubstituicaoNfse = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'SubstituicaoNfse'), 'SubstituicaoNfse', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcSubstituicaoNfse_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdSubstituicaoNfse', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 475, 12), ) - - - SubstituicaoNfse = property(__SubstituicaoNfse.value, __SubstituicaoNfse.set, None, None) - - - # Element {http://www.w3.org/2000/09/xmldsig#}Signature uses Python identifier Signature - __Signature = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(_Namespace_dsig, 'Signature'), 'Signature', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcSubstituicaoNfse_httpwww_w3_org200009xmldsigSignature', True, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 41, 0), ) - - - Signature = property(__Signature.value, __Signature.set, None, None) - - _ElementMap.update({ - __SubstituicaoNfse.name() : __SubstituicaoNfse, - __Signature.name() : __Signature - }) - _AttributeMap.update({ - - }) -_module_typeBindings.tcSubstituicaoNfse = tcSubstituicaoNfse -Namespace.addCategoryObject('typeBinding', 'tcSubstituicaoNfse', tcSubstituicaoNfse) - - -# Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcCompNfse with content type ELEMENT_ONLY -class tcCompNfse (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcCompNfse with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tcCompNfse') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 479, 4) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Nfse uses Python identifier Nfse - __Nfse = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Nfse'), 'Nfse', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcCompNfse_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdNfse', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 481, 12), ) - - - Nfse = property(__Nfse.value, __Nfse.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}NfseCancelamento uses Python identifier NfseCancelamento - __NfseCancelamento = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'NfseCancelamento'), 'NfseCancelamento', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcCompNfse_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdNfseCancelamento', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 482, 12), ) - - - NfseCancelamento = property(__NfseCancelamento.value, __NfseCancelamento.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}NfseSubstituicao uses Python identifier NfseSubstituicao - __NfseSubstituicao = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'NfseSubstituicao'), 'NfseSubstituicao', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcCompNfse_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdNfseSubstituicao', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 483, 12), ) - - - NfseSubstituicao = property(__NfseSubstituicao.value, __NfseSubstituicao.set, None, None) - - _ElementMap.update({ - __Nfse.name() : __Nfse, - __NfseCancelamento.name() : __NfseCancelamento, - __NfseSubstituicao.name() : __NfseSubstituicao - }) - _AttributeMap.update({ - - }) -_module_typeBindings.tcCompNfse = tcCompNfse -Namespace.addCategoryObject('typeBinding', 'tcCompNfse', tcCompNfse) - - -# Complex type [anonymous] with content type ELEMENT_ONLY -class CTD_ANON (pyxb.binding.basis.complexTypeDefinition): - """Complex type [anonymous] with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = None - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 488, 8) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}MensagemRetorno uses Python identifier MensagemRetorno - __MensagemRetorno = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'MensagemRetorno'), 'MensagemRetorno', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdMensagemRetorno', True, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 490, 16), ) - - - MensagemRetorno = property(__MensagemRetorno.value, __MensagemRetorno.set, None, None) - - _ElementMap.update({ - __MensagemRetorno.name() : __MensagemRetorno - }) - _AttributeMap.update({ - - }) -_module_typeBindings.CTD_ANON = CTD_ANON - - -# Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcMensagemRetorno with content type ELEMENT_ONLY -class tcMensagemRetorno (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcMensagemRetorno with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tcMensagemRetorno') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 494, 4) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Codigo uses Python identifier Codigo - __Codigo = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Codigo'), 'Codigo', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcMensagemRetorno_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdCodigo', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 496, 12), ) - - - Codigo = property(__Codigo.value, __Codigo.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Mensagem uses Python identifier Mensagem - __Mensagem = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Mensagem'), 'Mensagem', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcMensagemRetorno_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdMensagem', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 497, 12), ) - - - Mensagem = property(__Mensagem.value, __Mensagem.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Correcao uses Python identifier Correcao - __Correcao = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Correcao'), 'Correcao', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcMensagemRetorno_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdCorrecao', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 498, 12), ) - - - Correcao = property(__Correcao.value, __Correcao.set, None, None) - - _ElementMap.update({ - __Codigo.name() : __Codigo, - __Mensagem.name() : __Mensagem, - __Correcao.name() : __Correcao - }) - _AttributeMap.update({ - - }) -_module_typeBindings.tcMensagemRetorno = tcMensagemRetorno -Namespace.addCategoryObject('typeBinding', 'tcMensagemRetorno', tcMensagemRetorno) - - -# Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcMensagemRetornoLote with content type ELEMENT_ONLY -class tcMensagemRetornoLote (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcMensagemRetornoLote with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tcMensagemRetornoLote') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 501, 4) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}IdentificacaoRps uses Python identifier IdentificacaoRps - __IdentificacaoRps = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'IdentificacaoRps'), 'IdentificacaoRps', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcMensagemRetornoLote_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdIdentificacaoRps', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 503, 12), ) - - - IdentificacaoRps = property(__IdentificacaoRps.value, __IdentificacaoRps.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Codigo uses Python identifier Codigo - __Codigo = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Codigo'), 'Codigo', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcMensagemRetornoLote_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdCodigo', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 504, 12), ) - - - Codigo = property(__Codigo.value, __Codigo.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Mensagem uses Python identifier Mensagem - __Mensagem = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Mensagem'), 'Mensagem', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcMensagemRetornoLote_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdMensagem', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 505, 12), ) - - - Mensagem = property(__Mensagem.value, __Mensagem.set, None, None) - - _ElementMap.update({ - __IdentificacaoRps.name() : __IdentificacaoRps, - __Codigo.name() : __Codigo, - __Mensagem.name() : __Mensagem - }) - _AttributeMap.update({ - - }) -_module_typeBindings.tcMensagemRetornoLote = tcMensagemRetornoLote -Namespace.addCategoryObject('typeBinding', 'tcMensagemRetornoLote', tcMensagemRetornoLote) - - -# Complex type [anonymous] with content type ELEMENT_ONLY -class CTD_ANON_ (pyxb.binding.basis.complexTypeDefinition): - """Complex type [anonymous] with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = None - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 515, 16) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Rps uses Python identifier Rps - __Rps = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Rps'), 'Rps', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON__httpisscuritiba_curitiba_pr_gov_brissnfse_xsdRps', True, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 517, 24), ) - - - Rps = property(__Rps.value, __Rps.set, None, None) - - _ElementMap.update({ - __Rps.name() : __Rps - }) - _AttributeMap.update({ - - }) -_module_typeBindings.CTD_ANON_ = CTD_ANON_ - - -# Complex type [anonymous] with content type ELEMENT_ONLY -class CTD_ANON_2 (pyxb.binding.basis.complexTypeDefinition): - """Complex type [anonymous] with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = None - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 527, 8) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}ListaMensagemRetorno uses Python identifier ListaMensagemRetorno - __ListaMensagemRetorno = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'ListaMensagemRetorno'), 'ListaMensagemRetorno', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_2_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdListaMensagemRetorno', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 487, 4), ) - - - ListaMensagemRetorno = property(__ListaMensagemRetorno.value, __ListaMensagemRetorno.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}NumeroLote uses Python identifier NumeroLote - __NumeroLote = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'NumeroLote'), 'NumeroLote', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_2_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdNumeroLote', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 530, 20), ) - - - NumeroLote = property(__NumeroLote.value, __NumeroLote.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}DataRecebimento uses Python identifier DataRecebimento - __DataRecebimento = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'DataRecebimento'), 'DataRecebimento', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_2_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdDataRecebimento', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 531, 20), ) - - - DataRecebimento = property(__DataRecebimento.value, __DataRecebimento.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Protocolo uses Python identifier Protocolo - __Protocolo = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Protocolo'), 'Protocolo', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_2_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdProtocolo', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 532, 20), ) - - - Protocolo = property(__Protocolo.value, __Protocolo.set, None, None) - - _ElementMap.update({ - __ListaMensagemRetorno.name() : __ListaMensagemRetorno, - __NumeroLote.name() : __NumeroLote, - __DataRecebimento.name() : __DataRecebimento, - __Protocolo.name() : __Protocolo - }) - _AttributeMap.update({ - - }) -_module_typeBindings.CTD_ANON_2 = CTD_ANON_2 - - -# Complex type [anonymous] with content type ELEMENT_ONLY -class CTD_ANON_3 (pyxb.binding.basis.complexTypeDefinition): - """Complex type [anonymous] with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = None - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 540, 8) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}LoteRps uses Python identifier LoteRps - __LoteRps = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'LoteRps'), 'LoteRps', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_3_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdLoteRps', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 542, 16), ) - - - LoteRps = property(__LoteRps.value, __LoteRps.set, None, None) - - - # Element {http://www.w3.org/2000/09/xmldsig#}Signature uses Python identifier Signature - __Signature = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(_Namespace_dsig, 'Signature'), 'Signature', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_3_httpwww_w3_org200009xmldsigSignature', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 41, 0), ) - - - Signature = property(__Signature.value, __Signature.set, None, None) - - _ElementMap.update({ - __LoteRps.name() : __LoteRps, - __Signature.name() : __Signature - }) - _AttributeMap.update({ - - }) -_module_typeBindings.CTD_ANON_3 = CTD_ANON_3 - - -# Complex type [anonymous] with content type ELEMENT_ONLY -class CTD_ANON_4 (pyxb.binding.basis.complexTypeDefinition): - """Complex type [anonymous] with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = None - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 549, 8) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}ListaMensagemRetorno uses Python identifier ListaMensagemRetorno - __ListaMensagemRetorno = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'ListaMensagemRetorno'), 'ListaMensagemRetorno', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_4_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdListaMensagemRetorno', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 487, 4), ) - - - ListaMensagemRetorno = property(__ListaMensagemRetorno.value, __ListaMensagemRetorno.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}NumeroLote uses Python identifier NumeroLote - __NumeroLote = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'NumeroLote'), 'NumeroLote', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_4_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdNumeroLote', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 552, 20), ) - - - NumeroLote = property(__NumeroLote.value, __NumeroLote.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Situacao uses Python identifier Situacao - __Situacao = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Situacao'), 'Situacao', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_4_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdSituacao', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 553, 20), ) - - - Situacao = property(__Situacao.value, __Situacao.set, None, None) - - _ElementMap.update({ - __ListaMensagemRetorno.name() : __ListaMensagemRetorno, - __NumeroLote.name() : __NumeroLote, - __Situacao.name() : __Situacao - }) - _AttributeMap.update({ - - }) -_module_typeBindings.CTD_ANON_4 = CTD_ANON_4 - - -# Complex type [anonymous] with content type ELEMENT_ONLY -class CTD_ANON_5 (pyxb.binding.basis.complexTypeDefinition): - """Complex type [anonymous] with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = None - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 561, 8) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Prestador uses Python identifier Prestador - __Prestador = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Prestador'), 'Prestador', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_5_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdPrestador', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 563, 16), ) - - - Prestador = property(__Prestador.value, __Prestador.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Protocolo uses Python identifier Protocolo - __Protocolo = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Protocolo'), 'Protocolo', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_5_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdProtocolo', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 564, 16), ) - - - Protocolo = property(__Protocolo.value, __Protocolo.set, None, None) - - _ElementMap.update({ - __Prestador.name() : __Prestador, - __Protocolo.name() : __Protocolo - }) - _AttributeMap.update({ - - }) -_module_typeBindings.CTD_ANON_5 = CTD_ANON_5 - - -# Complex type [anonymous] with content type ELEMENT_ONLY -class CTD_ANON_6 (pyxb.binding.basis.complexTypeDefinition): - """Complex type [anonymous] with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = None - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 570, 8) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}ListaMensagemRetorno uses Python identifier ListaMensagemRetorno - __ListaMensagemRetorno = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'ListaMensagemRetorno'), 'ListaMensagemRetorno', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_6_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdListaMensagemRetorno', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 487, 4), ) - - - ListaMensagemRetorno = property(__ListaMensagemRetorno.value, __ListaMensagemRetorno.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}CompNfse uses Python identifier CompNfse - __CompNfse = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'CompNfse'), 'CompNfse', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_6_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdCompNfse', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 572, 16), ) - - - CompNfse = property(__CompNfse.value, __CompNfse.set, None, None) - - _ElementMap.update({ - __ListaMensagemRetorno.name() : __ListaMensagemRetorno, - __CompNfse.name() : __CompNfse - }) - _AttributeMap.update({ - - }) -_module_typeBindings.CTD_ANON_6 = CTD_ANON_6 - - -# Complex type [anonymous] with content type ELEMENT_ONLY -class CTD_ANON_7 (pyxb.binding.basis.complexTypeDefinition): - """Complex type [anonymous] with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = None - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 579, 8) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}IdentificacaoRps uses Python identifier IdentificacaoRps - __IdentificacaoRps = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'IdentificacaoRps'), 'IdentificacaoRps', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_7_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdIdentificacaoRps', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 581, 16), ) - - - IdentificacaoRps = property(__IdentificacaoRps.value, __IdentificacaoRps.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Prestador uses Python identifier Prestador - __Prestador = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Prestador'), 'Prestador', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_7_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdPrestador', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 582, 16), ) - - - Prestador = property(__Prestador.value, __Prestador.set, None, None) - - _ElementMap.update({ - __IdentificacaoRps.name() : __IdentificacaoRps, - __Prestador.name() : __Prestador - }) - _AttributeMap.update({ - - }) -_module_typeBindings.CTD_ANON_7 = CTD_ANON_7 - - -# Complex type [anonymous] with content type ELEMENT_ONLY -class CTD_ANON_8 (pyxb.binding.basis.complexTypeDefinition): - """Complex type [anonymous] with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = None - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 588, 8) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}ListaMensagemRetorno uses Python identifier ListaMensagemRetorno - __ListaMensagemRetorno = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'ListaMensagemRetorno'), 'ListaMensagemRetorno', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_8_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdListaMensagemRetorno', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 487, 4), ) - - - ListaMensagemRetorno = property(__ListaMensagemRetorno.value, __ListaMensagemRetorno.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}ListaNfse uses Python identifier ListaNfse - __ListaNfse = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'ListaNfse'), 'ListaNfse', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_8_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdListaNfse', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 590, 16), ) - - - ListaNfse = property(__ListaNfse.value, __ListaNfse.set, None, None) - - _ElementMap.update({ - __ListaMensagemRetorno.name() : __ListaMensagemRetorno, - __ListaNfse.name() : __ListaNfse - }) - _AttributeMap.update({ - - }) -_module_typeBindings.CTD_ANON_8 = CTD_ANON_8 - - -# Complex type [anonymous] with content type ELEMENT_ONLY -class CTD_ANON_9 (pyxb.binding.basis.complexTypeDefinition): - """Complex type [anonymous] with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = None - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 591, 20) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}CompNfse uses Python identifier CompNfse - __CompNfse = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'CompNfse'), 'CompNfse', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_9_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdCompNfse', True, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 593, 28), ) - - - CompNfse = property(__CompNfse.value, __CompNfse.set, None, None) - - _ElementMap.update({ - __CompNfse.name() : __CompNfse - }) - _AttributeMap.update({ - - }) -_module_typeBindings.CTD_ANON_9 = CTD_ANON_9 - - -# Complex type [anonymous] with content type ELEMENT_ONLY -class CTD_ANON_10 (pyxb.binding.basis.complexTypeDefinition): - """Complex type [anonymous] with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = None - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 603, 8) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Prestador uses Python identifier Prestador - __Prestador = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Prestador'), 'Prestador', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_10_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdPrestador', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 605, 16), ) - - - Prestador = property(__Prestador.value, __Prestador.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}NumeroNfse uses Python identifier NumeroNfse - __NumeroNfse = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'NumeroNfse'), 'NumeroNfse', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_10_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdNumeroNfse', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 606, 16), ) - - - NumeroNfse = property(__NumeroNfse.value, __NumeroNfse.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}PeriodoEmissao uses Python identifier PeriodoEmissao - __PeriodoEmissao = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'PeriodoEmissao'), 'PeriodoEmissao', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_10_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdPeriodoEmissao', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 607, 16), ) - - - PeriodoEmissao = property(__PeriodoEmissao.value, __PeriodoEmissao.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Tomador uses Python identifier Tomador - __Tomador = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Tomador'), 'Tomador', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_10_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdTomador', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 615, 16), ) - - - Tomador = property(__Tomador.value, __Tomador.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}IntermediarioServico uses Python identifier IntermediarioServico - __IntermediarioServico = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'IntermediarioServico'), 'IntermediarioServico', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_10_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdIntermediarioServico', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 616, 16), ) - - - IntermediarioServico = property(__IntermediarioServico.value, __IntermediarioServico.set, None, None) - - _ElementMap.update({ - __Prestador.name() : __Prestador, - __NumeroNfse.name() : __NumeroNfse, - __PeriodoEmissao.name() : __PeriodoEmissao, - __Tomador.name() : __Tomador, - __IntermediarioServico.name() : __IntermediarioServico - }) - _AttributeMap.update({ - - }) -_module_typeBindings.CTD_ANON_10 = CTD_ANON_10 - - -# Complex type [anonymous] with content type ELEMENT_ONLY -class CTD_ANON_11 (pyxb.binding.basis.complexTypeDefinition): - """Complex type [anonymous] with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = None - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 608, 20) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}DataInicial uses Python identifier DataInicial - __DataInicial = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'DataInicial'), 'DataInicial', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_11_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdDataInicial', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 610, 28), ) - - - DataInicial = property(__DataInicial.value, __DataInicial.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}DataFinal uses Python identifier DataFinal - __DataFinal = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'DataFinal'), 'DataFinal', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_11_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdDataFinal', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 611, 28), ) - - - DataFinal = property(__DataFinal.value, __DataFinal.set, None, None) - - _ElementMap.update({ - __DataInicial.name() : __DataInicial, - __DataFinal.name() : __DataFinal - }) - _AttributeMap.update({ - - }) -_module_typeBindings.CTD_ANON_11 = CTD_ANON_11 - - -# Complex type [anonymous] with content type ELEMENT_ONLY -class CTD_ANON_12 (pyxb.binding.basis.complexTypeDefinition): - """Complex type [anonymous] with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = None - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 622, 8) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}ListaMensagemRetorno uses Python identifier ListaMensagemRetorno - __ListaMensagemRetorno = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'ListaMensagemRetorno'), 'ListaMensagemRetorno', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_12_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdListaMensagemRetorno', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 487, 4), ) - - - ListaMensagemRetorno = property(__ListaMensagemRetorno.value, __ListaMensagemRetorno.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}ListaNfse uses Python identifier ListaNfse - __ListaNfse = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'ListaNfse'), 'ListaNfse', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_12_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdListaNfse', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 624, 16), ) - - - ListaNfse = property(__ListaNfse.value, __ListaNfse.set, None, None) - - _ElementMap.update({ - __ListaMensagemRetorno.name() : __ListaMensagemRetorno, - __ListaNfse.name() : __ListaNfse - }) - _AttributeMap.update({ - - }) -_module_typeBindings.CTD_ANON_12 = CTD_ANON_12 - - -# Complex type [anonymous] with content type ELEMENT_ONLY -class CTD_ANON_13 (pyxb.binding.basis.complexTypeDefinition): - """Complex type [anonymous] with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = None - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 625, 20) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}CompNfse uses Python identifier CompNfse - __CompNfse = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'CompNfse'), 'CompNfse', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_13_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdCompNfse', True, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 627, 28), ) - - - CompNfse = property(__CompNfse.value, __CompNfse.set, None, None) - - _ElementMap.update({ - __CompNfse.name() : __CompNfse - }) - _AttributeMap.update({ - - }) -_module_typeBindings.CTD_ANON_13 = CTD_ANON_13 - - -# Complex type [anonymous] with content type ELEMENT_ONLY -class CTD_ANON_14 (pyxb.binding.basis.complexTypeDefinition): - """Complex type [anonymous] with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = None - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 637, 8) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Prestador uses Python identifier Prestador - __Prestador = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Prestador'), 'Prestador', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_14_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdPrestador', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 639, 16), ) - - - Prestador = property(__Prestador.value, __Prestador.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Protocolo uses Python identifier Protocolo - __Protocolo = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Protocolo'), 'Protocolo', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_14_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdProtocolo', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 640, 16), ) - - - Protocolo = property(__Protocolo.value, __Protocolo.set, None, None) - - _ElementMap.update({ - __Prestador.name() : __Prestador, - __Protocolo.name() : __Protocolo - }) - _AttributeMap.update({ - - }) -_module_typeBindings.CTD_ANON_14 = CTD_ANON_14 - - -# Complex type [anonymous] with content type ELEMENT_ONLY -class CTD_ANON_15 (pyxb.binding.basis.complexTypeDefinition): - """Complex type [anonymous] with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = None - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 646, 8) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}ListaMensagemRetorno uses Python identifier ListaMensagemRetorno - __ListaMensagemRetorno = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'ListaMensagemRetorno'), 'ListaMensagemRetorno', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_15_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdListaMensagemRetorno', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 487, 4), ) - - - ListaMensagemRetorno = property(__ListaMensagemRetorno.value, __ListaMensagemRetorno.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Cancelamento uses Python identifier Cancelamento - __Cancelamento = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Cancelamento'), 'Cancelamento', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_15_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdCancelamento', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 648, 16), ) - - - Cancelamento = property(__Cancelamento.value, __Cancelamento.set, None, None) - - _ElementMap.update({ - __ListaMensagemRetorno.name() : __ListaMensagemRetorno, - __Cancelamento.name() : __Cancelamento - }) - _AttributeMap.update({ - - }) -_module_typeBindings.CTD_ANON_15 = CTD_ANON_15 - - -# Complex type [anonymous] with content type ELEMENT_ONLY -class CTD_ANON_16 (pyxb.binding.basis.complexTypeDefinition): - """Complex type [anonymous] with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = None - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 655, 8) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Pedido uses Python identifier Pedido - __Pedido = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Pedido'), 'Pedido', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_16_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdPedido', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 657, 16), ) - - - Pedido = property(__Pedido.value, __Pedido.set, None, None) - - _ElementMap.update({ - __Pedido.name() : __Pedido - }) - _AttributeMap.update({ - - }) -_module_typeBindings.CTD_ANON_16 = CTD_ANON_16 - - -# Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcInfRps with content type ELEMENT_ONLY -class tcInfRps (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcInfRps with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tcInfRps') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 376, 4) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}IdentificacaoRps uses Python identifier IdentificacaoRps - __IdentificacaoRps = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'IdentificacaoRps'), 'IdentificacaoRps', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfRps_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdIdentificacaoRps', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 378, 12), ) - - - IdentificacaoRps = property(__IdentificacaoRps.value, __IdentificacaoRps.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}DataEmissao uses Python identifier DataEmissao - __DataEmissao = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'DataEmissao'), 'DataEmissao', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfRps_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdDataEmissao', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 379, 12), ) - - - DataEmissao = property(__DataEmissao.value, __DataEmissao.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}NaturezaOperacao uses Python identifier NaturezaOperacao - __NaturezaOperacao = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'NaturezaOperacao'), 'NaturezaOperacao', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfRps_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdNaturezaOperacao', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 380, 12), ) - - - NaturezaOperacao = property(__NaturezaOperacao.value, __NaturezaOperacao.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}RegimeEspecialTributacao uses Python identifier RegimeEspecialTributacao - __RegimeEspecialTributacao = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'RegimeEspecialTributacao'), 'RegimeEspecialTributacao', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfRps_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdRegimeEspecialTributacao', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 381, 12), ) - - - RegimeEspecialTributacao = property(__RegimeEspecialTributacao.value, __RegimeEspecialTributacao.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}OptanteSimplesNacional uses Python identifier OptanteSimplesNacional - __OptanteSimplesNacional = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'OptanteSimplesNacional'), 'OptanteSimplesNacional', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfRps_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdOptanteSimplesNacional', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 382, 12), ) - - - OptanteSimplesNacional = property(__OptanteSimplesNacional.value, __OptanteSimplesNacional.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}IncentivadorCultural uses Python identifier IncentivadorCultural - __IncentivadorCultural = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'IncentivadorCultural'), 'IncentivadorCultural', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfRps_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdIncentivadorCultural', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 383, 12), ) - - - IncentivadorCultural = property(__IncentivadorCultural.value, __IncentivadorCultural.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Status uses Python identifier Status - __Status = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Status'), 'Status', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfRps_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdStatus', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 384, 12), ) - - - Status = property(__Status.value, __Status.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}RpsSubstituido uses Python identifier RpsSubstituido - __RpsSubstituido = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'RpsSubstituido'), 'RpsSubstituido', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfRps_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdRpsSubstituido', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 385, 12), ) - - - RpsSubstituido = property(__RpsSubstituido.value, __RpsSubstituido.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Servico uses Python identifier Servico - __Servico = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Servico'), 'Servico', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfRps_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdServico', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 386, 12), ) - - - Servico = property(__Servico.value, __Servico.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Prestador uses Python identifier Prestador - __Prestador = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Prestador'), 'Prestador', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfRps_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdPrestador', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 387, 12), ) - - - Prestador = property(__Prestador.value, __Prestador.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Tomador uses Python identifier Tomador - __Tomador = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Tomador'), 'Tomador', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfRps_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdTomador', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 388, 12), ) - - - Tomador = property(__Tomador.value, __Tomador.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}IntermediarioServico uses Python identifier IntermediarioServico - __IntermediarioServico = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'IntermediarioServico'), 'IntermediarioServico', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfRps_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdIntermediarioServico', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 389, 12), ) - - - IntermediarioServico = property(__IntermediarioServico.value, __IntermediarioServico.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}ContrucaoCivil uses Python identifier ContrucaoCivil - __ContrucaoCivil = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'ContrucaoCivil'), 'ContrucaoCivil', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfRps_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdContrucaoCivil', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 390, 12), ) - - - ContrucaoCivil = property(__ContrucaoCivil.value, __ContrucaoCivil.set, None, None) - - - # Attribute id uses Python identifier id - __id = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'id'), 'id', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfRps_id', _module_typeBindings.tsIdTag) - __id._DeclarationLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 392, 8) - __id._UseLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 392, 8) - - id = property(__id.value, __id.set, None, None) - - _ElementMap.update({ - __IdentificacaoRps.name() : __IdentificacaoRps, - __DataEmissao.name() : __DataEmissao, - __NaturezaOperacao.name() : __NaturezaOperacao, - __RegimeEspecialTributacao.name() : __RegimeEspecialTributacao, - __OptanteSimplesNacional.name() : __OptanteSimplesNacional, - __IncentivadorCultural.name() : __IncentivadorCultural, - __Status.name() : __Status, - __RpsSubstituido.name() : __RpsSubstituido, - __Servico.name() : __Servico, - __Prestador.name() : __Prestador, - __Tomador.name() : __Tomador, - __IntermediarioServico.name() : __IntermediarioServico, - __ContrucaoCivil.name() : __ContrucaoCivil - }) - _AttributeMap.update({ - __id.name() : __id - }) -_module_typeBindings.tcInfRps = tcInfRps -Namespace.addCategoryObject('typeBinding', 'tcInfRps', tcInfRps) - - -# Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcInfNfse with content type ELEMENT_ONLY -class tcInfNfse (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcInfNfse with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tcInfNfse') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 408, 4) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Numero uses Python identifier Numero - __Numero = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Numero'), 'Numero', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfNfse_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdNumero', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 410, 12), ) - - - Numero = property(__Numero.value, __Numero.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}CodigoVerificacao uses Python identifier CodigoVerificacao - __CodigoVerificacao = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'CodigoVerificacao'), 'CodigoVerificacao', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfNfse_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdCodigoVerificacao', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 411, 12), ) - - - CodigoVerificacao = property(__CodigoVerificacao.value, __CodigoVerificacao.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}DataEmissao uses Python identifier DataEmissao - __DataEmissao = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'DataEmissao'), 'DataEmissao', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfNfse_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdDataEmissao', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 412, 12), ) - - - DataEmissao = property(__DataEmissao.value, __DataEmissao.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}IdentificacaoRps uses Python identifier IdentificacaoRps - __IdentificacaoRps = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'IdentificacaoRps'), 'IdentificacaoRps', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfNfse_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdIdentificacaoRps', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 413, 12), ) - - - IdentificacaoRps = property(__IdentificacaoRps.value, __IdentificacaoRps.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}DataEmissaoRps uses Python identifier DataEmissaoRps - __DataEmissaoRps = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'DataEmissaoRps'), 'DataEmissaoRps', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfNfse_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdDataEmissaoRps', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 414, 12), ) - - - DataEmissaoRps = property(__DataEmissaoRps.value, __DataEmissaoRps.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}NaturezaOperacao uses Python identifier NaturezaOperacao - __NaturezaOperacao = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'NaturezaOperacao'), 'NaturezaOperacao', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfNfse_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdNaturezaOperacao', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 415, 12), ) - - - NaturezaOperacao = property(__NaturezaOperacao.value, __NaturezaOperacao.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}RegimeEspecialTributacao uses Python identifier RegimeEspecialTributacao - __RegimeEspecialTributacao = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'RegimeEspecialTributacao'), 'RegimeEspecialTributacao', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfNfse_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdRegimeEspecialTributacao', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 416, 12), ) - - - RegimeEspecialTributacao = property(__RegimeEspecialTributacao.value, __RegimeEspecialTributacao.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}OptanteSimplesNacional uses Python identifier OptanteSimplesNacional - __OptanteSimplesNacional = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'OptanteSimplesNacional'), 'OptanteSimplesNacional', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfNfse_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdOptanteSimplesNacional', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 417, 12), ) - - - OptanteSimplesNacional = property(__OptanteSimplesNacional.value, __OptanteSimplesNacional.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}IncentivadorCultural uses Python identifier IncentivadorCultural - __IncentivadorCultural = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'IncentivadorCultural'), 'IncentivadorCultural', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfNfse_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdIncentivadorCultural', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 418, 12), ) - - - IncentivadorCultural = property(__IncentivadorCultural.value, __IncentivadorCultural.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Competencia uses Python identifier Competencia - __Competencia = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Competencia'), 'Competencia', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfNfse_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdCompetencia', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 419, 12), ) - - - Competencia = property(__Competencia.value, __Competencia.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}NfseSubstituida uses Python identifier NfseSubstituida - __NfseSubstituida = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'NfseSubstituida'), 'NfseSubstituida', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfNfse_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdNfseSubstituida', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 420, 12), ) - - - NfseSubstituida = property(__NfseSubstituida.value, __NfseSubstituida.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}OutrasInformacoes uses Python identifier OutrasInformacoes - __OutrasInformacoes = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'OutrasInformacoes'), 'OutrasInformacoes', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfNfse_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdOutrasInformacoes', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 421, 12), ) - - - OutrasInformacoes = property(__OutrasInformacoes.value, __OutrasInformacoes.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Servico uses Python identifier Servico - __Servico = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Servico'), 'Servico', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfNfse_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdServico', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 422, 12), ) - - - Servico = property(__Servico.value, __Servico.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}ValorCredito uses Python identifier ValorCredito - __ValorCredito = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'ValorCredito'), 'ValorCredito', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfNfse_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdValorCredito', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 423, 12), ) - - - ValorCredito = property(__ValorCredito.value, __ValorCredito.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}PrestadorServico uses Python identifier PrestadorServico - __PrestadorServico = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'PrestadorServico'), 'PrestadorServico', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfNfse_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdPrestadorServico', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 424, 12), ) - - - PrestadorServico = property(__PrestadorServico.value, __PrestadorServico.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}TomadorServico uses Python identifier TomadorServico - __TomadorServico = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'TomadorServico'), 'TomadorServico', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfNfse_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdTomadorServico', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 425, 12), ) - - - TomadorServico = property(__TomadorServico.value, __TomadorServico.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}IntermediarioServico uses Python identifier IntermediarioServico - __IntermediarioServico = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'IntermediarioServico'), 'IntermediarioServico', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfNfse_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdIntermediarioServico', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 426, 12), ) - - - IntermediarioServico = property(__IntermediarioServico.value, __IntermediarioServico.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}OrgaoGerador uses Python identifier OrgaoGerador - __OrgaoGerador = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'OrgaoGerador'), 'OrgaoGerador', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfNfse_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdOrgaoGerador', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 427, 12), ) - - - OrgaoGerador = property(__OrgaoGerador.value, __OrgaoGerador.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}ContrucaoCivil uses Python identifier ContrucaoCivil - __ContrucaoCivil = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'ContrucaoCivil'), 'ContrucaoCivil', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfNfse_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdContrucaoCivil', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 428, 12), ) - - - ContrucaoCivil = property(__ContrucaoCivil.value, __ContrucaoCivil.set, None, None) - - - # Attribute id uses Python identifier id - __id = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'id'), 'id', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfNfse_id', _module_typeBindings.tsIdTag) - __id._DeclarationLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 430, 8) - __id._UseLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 430, 8) - - id = property(__id.value, __id.set, None, None) - - _ElementMap.update({ - __Numero.name() : __Numero, - __CodigoVerificacao.name() : __CodigoVerificacao, - __DataEmissao.name() : __DataEmissao, - __IdentificacaoRps.name() : __IdentificacaoRps, - __DataEmissaoRps.name() : __DataEmissaoRps, - __NaturezaOperacao.name() : __NaturezaOperacao, - __RegimeEspecialTributacao.name() : __RegimeEspecialTributacao, - __OptanteSimplesNacional.name() : __OptanteSimplesNacional, - __IncentivadorCultural.name() : __IncentivadorCultural, - __Competencia.name() : __Competencia, - __NfseSubstituida.name() : __NfseSubstituida, - __OutrasInformacoes.name() : __OutrasInformacoes, - __Servico.name() : __Servico, - __ValorCredito.name() : __ValorCredito, - __PrestadorServico.name() : __PrestadorServico, - __TomadorServico.name() : __TomadorServico, - __IntermediarioServico.name() : __IntermediarioServico, - __OrgaoGerador.name() : __OrgaoGerador, - __ContrucaoCivil.name() : __ContrucaoCivil - }) - _AttributeMap.update({ - __id.name() : __id - }) -_module_typeBindings.tcInfNfse = tcInfNfse -Namespace.addCategoryObject('typeBinding', 'tcInfNfse', tcInfNfse) - - -# Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcInfPedidoCancelamento with content type ELEMENT_ONLY -class tcInfPedidoCancelamento (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcInfPedidoCancelamento with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tcInfPedidoCancelamento') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 439, 4) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}IdentificacaoNfse uses Python identifier IdentificacaoNfse - __IdentificacaoNfse = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'IdentificacaoNfse'), 'IdentificacaoNfse', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfPedidoCancelamento_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdIdentificacaoNfse', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 441, 12), ) - - - IdentificacaoNfse = property(__IdentificacaoNfse.value, __IdentificacaoNfse.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}CodigoCancelamento uses Python identifier CodigoCancelamento - __CodigoCancelamento = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'CodigoCancelamento'), 'CodigoCancelamento', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfPedidoCancelamento_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdCodigoCancelamento', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 442, 12), ) - - - CodigoCancelamento = property(__CodigoCancelamento.value, __CodigoCancelamento.set, None, None) - - - # Attribute id uses Python identifier id - __id = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'id'), 'id', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfPedidoCancelamento_id', _module_typeBindings.tsIdTag) - __id._DeclarationLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 444, 8) - __id._UseLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 444, 8) - - id = property(__id.value, __id.set, None, None) - - _ElementMap.update({ - __IdentificacaoNfse.name() : __IdentificacaoNfse, - __CodigoCancelamento.name() : __CodigoCancelamento - }) - _AttributeMap.update({ - __id.name() : __id - }) -_module_typeBindings.tcInfPedidoCancelamento = tcInfPedidoCancelamento -Namespace.addCategoryObject('typeBinding', 'tcInfPedidoCancelamento', tcInfPedidoCancelamento) - - -# Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcConfirmacaoCancelamento with content type ELEMENT_ONLY -class tcConfirmacaoCancelamento (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcConfirmacaoCancelamento with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tcConfirmacaoCancelamento') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 452, 4) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Pedido uses Python identifier Pedido - __Pedido = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Pedido'), 'Pedido', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcConfirmacaoCancelamento_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdPedido', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 454, 12), ) - - - Pedido = property(__Pedido.value, __Pedido.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}DataHoraCancelamento uses Python identifier DataHoraCancelamento - __DataHoraCancelamento = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'DataHoraCancelamento'), 'DataHoraCancelamento', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcConfirmacaoCancelamento_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdDataHoraCancelamento', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 455, 12), ) - - - DataHoraCancelamento = property(__DataHoraCancelamento.value, __DataHoraCancelamento.set, None, None) - - - # Attribute id uses Python identifier id - __id = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'id'), 'id', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcConfirmacaoCancelamento_id', _module_typeBindings.tsIdTag) - __id._DeclarationLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 457, 8) - __id._UseLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 457, 8) - - id = property(__id.value, __id.set, None, None) - - _ElementMap.update({ - __Pedido.name() : __Pedido, - __DataHoraCancelamento.name() : __DataHoraCancelamento - }) - _AttributeMap.update({ - __id.name() : __id - }) -_module_typeBindings.tcConfirmacaoCancelamento = tcConfirmacaoCancelamento -Namespace.addCategoryObject('typeBinding', 'tcConfirmacaoCancelamento', tcConfirmacaoCancelamento) - - -# Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcInfSubstituicaoNfse with content type ELEMENT_ONLY -class tcInfSubstituicaoNfse (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcInfSubstituicaoNfse with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tcInfSubstituicaoNfse') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 467, 4) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}NfseSubstituidora uses Python identifier NfseSubstituidora - __NfseSubstituidora = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'NfseSubstituidora'), 'NfseSubstituidora', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfSubstituicaoNfse_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdNfseSubstituidora', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 469, 12), ) - - - NfseSubstituidora = property(__NfseSubstituidora.value, __NfseSubstituidora.set, None, None) - - - # Attribute id uses Python identifier id - __id = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'id'), 'id', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfSubstituicaoNfse_id', _module_typeBindings.tsIdTag) - __id._DeclarationLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 471, 8) - __id._UseLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 471, 8) - - id = property(__id.value, __id.set, None, None) - - _ElementMap.update({ - __NfseSubstituidora.name() : __NfseSubstituidora - }) - _AttributeMap.update({ - __id.name() : __id - }) -_module_typeBindings.tcInfSubstituicaoNfse = tcInfSubstituicaoNfse -Namespace.addCategoryObject('typeBinding', 'tcInfSubstituicaoNfse', tcInfSubstituicaoNfse) - - -# Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcLoteRps with content type ELEMENT_ONLY -class tcLoteRps (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcLoteRps with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tcLoteRps') - _XSDLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 508, 4) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}NumeroLote uses Python identifier NumeroLote - __NumeroLote = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'NumeroLote'), 'NumeroLote', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcLoteRps_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdNumeroLote', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 510, 12), ) - - - NumeroLote = property(__NumeroLote.value, __NumeroLote.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Cnpj uses Python identifier Cnpj - __Cnpj = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Cnpj'), 'Cnpj', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcLoteRps_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdCnpj', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 511, 12), ) - - - Cnpj = property(__Cnpj.value, __Cnpj.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}InscricaoMunicipal uses Python identifier InscricaoMunicipal - __InscricaoMunicipal = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'InscricaoMunicipal'), 'InscricaoMunicipal', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcLoteRps_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdInscricaoMunicipal', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 512, 12), ) - - - InscricaoMunicipal = property(__InscricaoMunicipal.value, __InscricaoMunicipal.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}QuantidadeRps uses Python identifier QuantidadeRps - __QuantidadeRps = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'QuantidadeRps'), 'QuantidadeRps', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcLoteRps_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdQuantidadeRps', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 513, 12), ) - - - QuantidadeRps = property(__QuantidadeRps.value, __QuantidadeRps.set, None, None) - - - # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}ListaRps uses Python identifier ListaRps - __ListaRps = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'ListaRps'), 'ListaRps', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcLoteRps_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdListaRps', False, pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 514, 12), ) - - - ListaRps = property(__ListaRps.value, __ListaRps.set, None, None) - - - # Attribute id uses Python identifier id - __id = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'id'), 'id', '__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcLoteRps_id', _module_typeBindings.tsIdTag) - __id._DeclarationLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 523, 8) - __id._UseLocation = pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 523, 8) - - id = property(__id.value, __id.set, None, None) - - _ElementMap.update({ - __NumeroLote.name() : __NumeroLote, - __Cnpj.name() : __Cnpj, - __InscricaoMunicipal.name() : __InscricaoMunicipal, - __QuantidadeRps.name() : __QuantidadeRps, - __ListaRps.name() : __ListaRps - }) - _AttributeMap.update({ - __id.name() : __id - }) -_module_typeBindings.tcLoteRps = tcLoteRps -Namespace.addCategoryObject('typeBinding', 'tcLoteRps', tcLoteRps) - - -CompNfse = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'CompNfse'), tcCompNfse, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 486, 4)) -Namespace.addCategoryObject('elementBinding', CompNfse.name().localName(), CompNfse) - -ListaMensagemRetorno = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'ListaMensagemRetorno'), CTD_ANON, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 487, 4)) -Namespace.addCategoryObject('elementBinding', ListaMensagemRetorno.name().localName(), ListaMensagemRetorno) - -EnviarLoteRpsResposta = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'EnviarLoteRpsResposta'), CTD_ANON_2, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 526, 4)) -Namespace.addCategoryObject('elementBinding', EnviarLoteRpsResposta.name().localName(), EnviarLoteRpsResposta) - -EnviarLoteRpsEnvio = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'EnviarLoteRpsEnvio'), CTD_ANON_3, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 539, 4)) -Namespace.addCategoryObject('elementBinding', EnviarLoteRpsEnvio.name().localName(), EnviarLoteRpsEnvio) - -ConsultarSituacaoLoteRpsResposta = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'ConsultarSituacaoLoteRpsResposta'), CTD_ANON_4, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 548, 4)) -Namespace.addCategoryObject('elementBinding', ConsultarSituacaoLoteRpsResposta.name().localName(), ConsultarSituacaoLoteRpsResposta) - -ConsultarSituacaoLoteRpsEnvio = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'ConsultarSituacaoLoteRpsEnvio'), CTD_ANON_5, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 560, 4)) -Namespace.addCategoryObject('elementBinding', ConsultarSituacaoLoteRpsEnvio.name().localName(), ConsultarSituacaoLoteRpsEnvio) - -ConsultarNfseRpsResposta = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'ConsultarNfseRpsResposta'), CTD_ANON_6, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 569, 4)) -Namespace.addCategoryObject('elementBinding', ConsultarNfseRpsResposta.name().localName(), ConsultarNfseRpsResposta) - -ConsultarNfseRpsEnvio = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'ConsultarNfseRpsEnvio'), CTD_ANON_7, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 578, 4)) -Namespace.addCategoryObject('elementBinding', ConsultarNfseRpsEnvio.name().localName(), ConsultarNfseRpsEnvio) - -ConsultarNfseResposta = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'ConsultarNfseResposta'), CTD_ANON_8, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 587, 4)) -Namespace.addCategoryObject('elementBinding', ConsultarNfseResposta.name().localName(), ConsultarNfseResposta) - -ConsultarNfseEnvio = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'ConsultarNfseEnvio'), CTD_ANON_10, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 602, 4)) -Namespace.addCategoryObject('elementBinding', ConsultarNfseEnvio.name().localName(), ConsultarNfseEnvio) - -ConsultarLoteRpsResposta = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'ConsultarLoteRpsResposta'), CTD_ANON_12, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 621, 4)) -Namespace.addCategoryObject('elementBinding', ConsultarLoteRpsResposta.name().localName(), ConsultarLoteRpsResposta) - -ConsultarLoteRpsEnvio = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'ConsultarLoteRpsEnvio'), CTD_ANON_14, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 636, 4)) -Namespace.addCategoryObject('elementBinding', ConsultarLoteRpsEnvio.name().localName(), ConsultarLoteRpsEnvio) - -CancelarNfseResposta = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'CancelarNfseResposta'), CTD_ANON_15, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 645, 4)) -Namespace.addCategoryObject('elementBinding', CancelarNfseResposta.name().localName(), CancelarNfseResposta) - -CancelarNfseEnvio = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'CancelarNfseEnvio'), CTD_ANON_16, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 654, 4)) -Namespace.addCategoryObject('elementBinding', CancelarNfseEnvio.name().localName(), CancelarNfseEnvio) - - - -tcCpfCnpj._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Cpf'), tsCpf, scope=tcCpfCnpj, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 270, 12))) - -tcCpfCnpj._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Cnpj'), tsCnpj, scope=tcCpfCnpj, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 271, 12))) - -def _BuildAutomaton (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton - del _BuildAutomaton - import pyxb.utils.fac as fac - - counters = set() - states = [] - final_update = set() - symbol = pyxb.binding.content.ElementUse(tcCpfCnpj._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Cpf')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 270, 12)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = set() - symbol = pyxb.binding.content.ElementUse(tcCpfCnpj._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Cnpj')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 271, 12)) - st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - transitions = [] - st_0._set_transitionSet(transitions) - transitions = [] - st_1._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -tcCpfCnpj._Automaton = _BuildAutomaton() - - - - -tcEndereco._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Endereco'), tsEndereco, scope=tcEndereco, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 276, 12))) - -tcEndereco._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Numero'), tsNumeroEndereco, scope=tcEndereco, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 277, 12))) - -tcEndereco._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Complemento'), tsComplementoEndereco, scope=tcEndereco, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 278, 12))) - -tcEndereco._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Bairro'), tsBairro, scope=tcEndereco, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 279, 12))) - -tcEndereco._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'CodigoMunicipio'), tsCodigoMunicipioIbge, scope=tcEndereco, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 280, 12))) - -tcEndereco._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Uf'), tsUf, scope=tcEndereco, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 281, 12))) - -tcEndereco._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Cep'), tsCep, scope=tcEndereco, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 282, 12))) - -def _BuildAutomaton_ (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_ - del _BuildAutomaton_ - import pyxb.utils.fac as fac - - counters = set() - cc_0 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 276, 12)) - counters.add(cc_0) - cc_1 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 277, 12)) - counters.add(cc_1) - cc_2 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 278, 12)) - counters.add(cc_2) - cc_3 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 279, 12)) - counters.add(cc_3) - cc_4 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 280, 12)) - counters.add(cc_4) - cc_5 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 281, 12)) - counters.add(cc_5) - cc_6 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 282, 12)) - counters.add(cc_6) - states = [] - final_update = set() - final_update.add(fac.UpdateInstruction(cc_0, False)) - symbol = pyxb.binding.content.ElementUse(tcEndereco._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Endereco')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 276, 12)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = set() - final_update.add(fac.UpdateInstruction(cc_1, False)) - symbol = pyxb.binding.content.ElementUse(tcEndereco._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Numero')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 277, 12)) - st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - final_update = set() - final_update.add(fac.UpdateInstruction(cc_2, False)) - symbol = pyxb.binding.content.ElementUse(tcEndereco._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Complemento')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 278, 12)) - st_2 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_2) - final_update = set() - final_update.add(fac.UpdateInstruction(cc_3, False)) - symbol = pyxb.binding.content.ElementUse(tcEndereco._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Bairro')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 279, 12)) - st_3 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_3) - final_update = set() - final_update.add(fac.UpdateInstruction(cc_4, False)) - symbol = pyxb.binding.content.ElementUse(tcEndereco._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'CodigoMunicipio')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 280, 12)) - st_4 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_4) - final_update = set() - final_update.add(fac.UpdateInstruction(cc_5, False)) - symbol = pyxb.binding.content.ElementUse(tcEndereco._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Uf')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 281, 12)) - st_5 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_5) - final_update = set() - final_update.add(fac.UpdateInstruction(cc_6, False)) - symbol = pyxb.binding.content.ElementUse(tcEndereco._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Cep')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 282, 12)) - st_6 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_6) - transitions = [] - transitions.append(fac.Transition(st_0, [ - fac.UpdateInstruction(cc_0, True) ])) - transitions.append(fac.Transition(st_1, [ - fac.UpdateInstruction(cc_0, False) ])) - transitions.append(fac.Transition(st_2, [ - fac.UpdateInstruction(cc_0, False) ])) - transitions.append(fac.Transition(st_3, [ - fac.UpdateInstruction(cc_0, False) ])) - transitions.append(fac.Transition(st_4, [ - fac.UpdateInstruction(cc_0, False) ])) - transitions.append(fac.Transition(st_5, [ - fac.UpdateInstruction(cc_0, False) ])) - transitions.append(fac.Transition(st_6, [ - fac.UpdateInstruction(cc_0, False) ])) - st_0._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_1, [ - fac.UpdateInstruction(cc_1, True) ])) - transitions.append(fac.Transition(st_2, [ - fac.UpdateInstruction(cc_1, False) ])) - transitions.append(fac.Transition(st_3, [ - fac.UpdateInstruction(cc_1, False) ])) - transitions.append(fac.Transition(st_4, [ - fac.UpdateInstruction(cc_1, False) ])) - transitions.append(fac.Transition(st_5, [ - fac.UpdateInstruction(cc_1, False) ])) - transitions.append(fac.Transition(st_6, [ - fac.UpdateInstruction(cc_1, False) ])) - st_1._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_2, [ - fac.UpdateInstruction(cc_2, True) ])) - transitions.append(fac.Transition(st_3, [ - fac.UpdateInstruction(cc_2, False) ])) - transitions.append(fac.Transition(st_4, [ - fac.UpdateInstruction(cc_2, False) ])) - transitions.append(fac.Transition(st_5, [ - fac.UpdateInstruction(cc_2, False) ])) - transitions.append(fac.Transition(st_6, [ - fac.UpdateInstruction(cc_2, False) ])) - st_2._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_3, [ - fac.UpdateInstruction(cc_3, True) ])) - transitions.append(fac.Transition(st_4, [ - fac.UpdateInstruction(cc_3, False) ])) - transitions.append(fac.Transition(st_5, [ - fac.UpdateInstruction(cc_3, False) ])) - transitions.append(fac.Transition(st_6, [ - fac.UpdateInstruction(cc_3, False) ])) - st_3._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_4, [ - fac.UpdateInstruction(cc_4, True) ])) - transitions.append(fac.Transition(st_5, [ - fac.UpdateInstruction(cc_4, False) ])) - transitions.append(fac.Transition(st_6, [ - fac.UpdateInstruction(cc_4, False) ])) - st_4._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_5, [ - fac.UpdateInstruction(cc_5, True) ])) - transitions.append(fac.Transition(st_6, [ - fac.UpdateInstruction(cc_5, False) ])) - st_5._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_6, [ - fac.UpdateInstruction(cc_6, True) ])) - st_6._set_transitionSet(transitions) - return fac.Automaton(states, counters, True, containing_state=None) -tcEndereco._Automaton = _BuildAutomaton_() - - - - -tcContato._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Telefone'), tsTelefone, scope=tcContato, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 287, 12))) - -tcContato._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Email'), tsEmail, scope=tcContato, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 288, 12))) - -def _BuildAutomaton_2 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_2 - del _BuildAutomaton_2 - import pyxb.utils.fac as fac - - counters = set() - cc_0 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 287, 12)) - counters.add(cc_0) - cc_1 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 288, 12)) - counters.add(cc_1) - states = [] - final_update = set() - final_update.add(fac.UpdateInstruction(cc_0, False)) - symbol = pyxb.binding.content.ElementUse(tcContato._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Telefone')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 287, 12)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = set() - final_update.add(fac.UpdateInstruction(cc_1, False)) - symbol = pyxb.binding.content.ElementUse(tcContato._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Email')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 288, 12)) - st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - transitions = [] - transitions.append(fac.Transition(st_0, [ - fac.UpdateInstruction(cc_0, True) ])) - transitions.append(fac.Transition(st_1, [ - fac.UpdateInstruction(cc_0, False) ])) - st_0._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_1, [ - fac.UpdateInstruction(cc_1, True) ])) - st_1._set_transitionSet(transitions) - return fac.Automaton(states, counters, True, containing_state=None) -tcContato._Automaton = _BuildAutomaton_2() - - - - -tcIdentificacaoOrgaoGerador._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'CodigoMunicipio'), tsCodigoMunicipioIbge, scope=tcIdentificacaoOrgaoGerador, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 293, 12))) - -tcIdentificacaoOrgaoGerador._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Uf'), tsUf, scope=tcIdentificacaoOrgaoGerador, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 294, 12))) - -def _BuildAutomaton_3 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_3 - del _BuildAutomaton_3 - import pyxb.utils.fac as fac - - counters = set() - states = [] - final_update = None - symbol = pyxb.binding.content.ElementUse(tcIdentificacaoOrgaoGerador._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'CodigoMunicipio')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 293, 12)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = set() - symbol = pyxb.binding.content.ElementUse(tcIdentificacaoOrgaoGerador._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Uf')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 294, 12)) - st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - transitions = [] - transitions.append(fac.Transition(st_1, [ - ])) - st_0._set_transitionSet(transitions) - transitions = [] - st_1._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -tcIdentificacaoOrgaoGerador._Automaton = _BuildAutomaton_3() - - - - -tcIdentificacaoRps._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Numero'), tsNumeroRps, scope=tcIdentificacaoRps, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 299, 12))) - -tcIdentificacaoRps._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Serie'), tsSerieRps, scope=tcIdentificacaoRps, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 300, 12))) - -tcIdentificacaoRps._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Tipo'), tsTipoRps, scope=tcIdentificacaoRps, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 301, 12))) - -def _BuildAutomaton_4 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_4 - del _BuildAutomaton_4 - import pyxb.utils.fac as fac - - counters = set() - states = [] - final_update = None - symbol = pyxb.binding.content.ElementUse(tcIdentificacaoRps._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Numero')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 299, 12)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = None - symbol = pyxb.binding.content.ElementUse(tcIdentificacaoRps._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Serie')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 300, 12)) - st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - final_update = set() - symbol = pyxb.binding.content.ElementUse(tcIdentificacaoRps._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Tipo')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 301, 12)) - st_2 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_2) - transitions = [] - transitions.append(fac.Transition(st_1, [ - ])) - st_0._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_2, [ - ])) - st_1._set_transitionSet(transitions) - transitions = [] - st_2._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -tcIdentificacaoRps._Automaton = _BuildAutomaton_4() - - - - -tcIdentificacaoPrestador._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Cnpj'), tsCnpj, scope=tcIdentificacaoPrestador, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 306, 12))) - -tcIdentificacaoPrestador._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'InscricaoMunicipal'), tsInscricaoMunicipal, scope=tcIdentificacaoPrestador, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 307, 12))) - -def _BuildAutomaton_5 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_5 - del _BuildAutomaton_5 - import pyxb.utils.fac as fac - - counters = set() - cc_0 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 307, 12)) - counters.add(cc_0) - states = [] - final_update = set() - symbol = pyxb.binding.content.ElementUse(tcIdentificacaoPrestador._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Cnpj')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 306, 12)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = set() - final_update.add(fac.UpdateInstruction(cc_0, False)) - symbol = pyxb.binding.content.ElementUse(tcIdentificacaoPrestador._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'InscricaoMunicipal')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 307, 12)) - st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - transitions = [] - transitions.append(fac.Transition(st_1, [ - ])) - st_0._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_1, [ - fac.UpdateInstruction(cc_0, True) ])) - st_1._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -tcIdentificacaoPrestador._Automaton = _BuildAutomaton_5() - - - - -tcIdentificacaoTomador._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'CpfCnpj'), tcCpfCnpj, scope=tcIdentificacaoTomador, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 312, 12))) - -tcIdentificacaoTomador._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'InscricaoMunicipal'), tsInscricaoMunicipal, scope=tcIdentificacaoTomador, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 313, 12))) - -def _BuildAutomaton_6 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_6 - del _BuildAutomaton_6 - import pyxb.utils.fac as fac - - counters = set() - cc_0 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 312, 12)) - counters.add(cc_0) - cc_1 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 313, 12)) - counters.add(cc_1) - states = [] - final_update = set() - final_update.add(fac.UpdateInstruction(cc_0, False)) - symbol = pyxb.binding.content.ElementUse(tcIdentificacaoTomador._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'CpfCnpj')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 312, 12)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = set() - final_update.add(fac.UpdateInstruction(cc_1, False)) - symbol = pyxb.binding.content.ElementUse(tcIdentificacaoTomador._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'InscricaoMunicipal')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 313, 12)) - st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - transitions = [] - transitions.append(fac.Transition(st_0, [ - fac.UpdateInstruction(cc_0, True) ])) - transitions.append(fac.Transition(st_1, [ - fac.UpdateInstruction(cc_0, False) ])) - st_0._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_1, [ - fac.UpdateInstruction(cc_1, True) ])) - st_1._set_transitionSet(transitions) - return fac.Automaton(states, counters, True, containing_state=None) -tcIdentificacaoTomador._Automaton = _BuildAutomaton_6() - - - - -tcDadosTomador._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'IdentificacaoTomador'), tcIdentificacaoTomador, scope=tcDadosTomador, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 318, 12))) - -tcDadosTomador._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'RazaoSocial'), tsRazaoSocial, scope=tcDadosTomador, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 319, 12))) - -tcDadosTomador._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Endereco'), tcEndereco, scope=tcDadosTomador, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 320, 12))) - -tcDadosTomador._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Contato'), tcContato, scope=tcDadosTomador, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 321, 12))) - -def _BuildAutomaton_7 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_7 - del _BuildAutomaton_7 - import pyxb.utils.fac as fac - - counters = set() - cc_0 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 318, 12)) - counters.add(cc_0) - cc_1 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 319, 12)) - counters.add(cc_1) - cc_2 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 320, 12)) - counters.add(cc_2) - cc_3 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 321, 12)) - counters.add(cc_3) - states = [] - final_update = set() - final_update.add(fac.UpdateInstruction(cc_0, False)) - symbol = pyxb.binding.content.ElementUse(tcDadosTomador._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'IdentificacaoTomador')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 318, 12)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = set() - final_update.add(fac.UpdateInstruction(cc_1, False)) - symbol = pyxb.binding.content.ElementUse(tcDadosTomador._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'RazaoSocial')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 319, 12)) - st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - final_update = set() - final_update.add(fac.UpdateInstruction(cc_2, False)) - symbol = pyxb.binding.content.ElementUse(tcDadosTomador._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Endereco')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 320, 12)) - st_2 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_2) - final_update = set() - final_update.add(fac.UpdateInstruction(cc_3, False)) - symbol = pyxb.binding.content.ElementUse(tcDadosTomador._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Contato')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 321, 12)) - st_3 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_3) - transitions = [] - transitions.append(fac.Transition(st_0, [ - fac.UpdateInstruction(cc_0, True) ])) - transitions.append(fac.Transition(st_1, [ - fac.UpdateInstruction(cc_0, False) ])) - transitions.append(fac.Transition(st_2, [ - fac.UpdateInstruction(cc_0, False) ])) - transitions.append(fac.Transition(st_3, [ - fac.UpdateInstruction(cc_0, False) ])) - st_0._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_1, [ - fac.UpdateInstruction(cc_1, True) ])) - transitions.append(fac.Transition(st_2, [ - fac.UpdateInstruction(cc_1, False) ])) - transitions.append(fac.Transition(st_3, [ - fac.UpdateInstruction(cc_1, False) ])) - st_1._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_2, [ - fac.UpdateInstruction(cc_2, True) ])) - transitions.append(fac.Transition(st_3, [ - fac.UpdateInstruction(cc_2, False) ])) - st_2._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_3, [ - fac.UpdateInstruction(cc_3, True) ])) - st_3._set_transitionSet(transitions) - return fac.Automaton(states, counters, True, containing_state=None) -tcDadosTomador._Automaton = _BuildAutomaton_7() - - - - -tcIdentificacaoIntermediarioServico._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'RazaoSocial'), tsRazaoSocial, scope=tcIdentificacaoIntermediarioServico, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 326, 12))) - -tcIdentificacaoIntermediarioServico._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'CpfCnpj'), tcCpfCnpj, scope=tcIdentificacaoIntermediarioServico, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 327, 12))) - -tcIdentificacaoIntermediarioServico._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'InscricaoMunicipal'), tsInscricaoMunicipal, scope=tcIdentificacaoIntermediarioServico, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 328, 12))) - -def _BuildAutomaton_8 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_8 - del _BuildAutomaton_8 - import pyxb.utils.fac as fac - - counters = set() - cc_0 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 328, 12)) - counters.add(cc_0) - states = [] - final_update = None - symbol = pyxb.binding.content.ElementUse(tcIdentificacaoIntermediarioServico._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'RazaoSocial')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 326, 12)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = set() - symbol = pyxb.binding.content.ElementUse(tcIdentificacaoIntermediarioServico._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'CpfCnpj')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 327, 12)) - st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - final_update = set() - final_update.add(fac.UpdateInstruction(cc_0, False)) - symbol = pyxb.binding.content.ElementUse(tcIdentificacaoIntermediarioServico._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'InscricaoMunicipal')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 328, 12)) - st_2 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_2) - transitions = [] - transitions.append(fac.Transition(st_1, [ - ])) - st_0._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_2, [ - ])) - st_1._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_2, [ - fac.UpdateInstruction(cc_0, True) ])) - st_2._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -tcIdentificacaoIntermediarioServico._Automaton = _BuildAutomaton_8() - - - - -tcValores._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'ValorServicos'), tsValor, scope=tcValores, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 333, 12))) - -tcValores._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'ValorDeducoes'), tsValor, scope=tcValores, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 334, 12))) - -tcValores._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'ValorPis'), tsValor, scope=tcValores, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 335, 12))) - -tcValores._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'ValorCofins'), tsValor, scope=tcValores, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 336, 12))) - -tcValores._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'ValorInss'), tsValor, scope=tcValores, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 337, 12))) - -tcValores._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'ValorIr'), tsValor, scope=tcValores, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 338, 12))) - -tcValores._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'ValorCsll'), tsValor, scope=tcValores, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 339, 12))) - -tcValores._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'IssRetido'), tsSimNao, scope=tcValores, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 340, 12))) - -tcValores._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'ValorIss'), tsValor, scope=tcValores, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 341, 12))) - -tcValores._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'ValorIssRetido'), tsValor, scope=tcValores, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 342, 12))) - -tcValores._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'OutrasRetencoes'), tsValor, scope=tcValores, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 343, 12))) - -tcValores._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'BaseCalculo'), tsValor, scope=tcValores, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 344, 12))) - -tcValores._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Aliquota'), tsAliquota, scope=tcValores, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 345, 12))) - -tcValores._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'ValorLiquidoNfse'), tsValor, scope=tcValores, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 346, 12))) - -tcValores._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'DescontoIncondicionado'), tsValor, scope=tcValores, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 347, 12))) - -tcValores._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'DescontoCondicionado'), tsValor, scope=tcValores, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 348, 12))) - -def _BuildAutomaton_9 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_9 - del _BuildAutomaton_9 - import pyxb.utils.fac as fac - - counters = set() - cc_0 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 334, 12)) - counters.add(cc_0) - cc_1 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 335, 12)) - counters.add(cc_1) - cc_2 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 336, 12)) - counters.add(cc_2) - cc_3 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 337, 12)) - counters.add(cc_3) - cc_4 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 338, 12)) - counters.add(cc_4) - cc_5 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 339, 12)) - counters.add(cc_5) - cc_6 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 341, 12)) - counters.add(cc_6) - cc_7 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 342, 12)) - counters.add(cc_7) - cc_8 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 343, 12)) - counters.add(cc_8) - cc_9 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 344, 12)) - counters.add(cc_9) - cc_10 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 345, 12)) - counters.add(cc_10) - cc_11 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 346, 12)) - counters.add(cc_11) - cc_12 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 347, 12)) - counters.add(cc_12) - cc_13 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 348, 12)) - counters.add(cc_13) - states = [] - final_update = None - symbol = pyxb.binding.content.ElementUse(tcValores._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'ValorServicos')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 333, 12)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = None - symbol = pyxb.binding.content.ElementUse(tcValores._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'ValorDeducoes')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 334, 12)) - st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - final_update = None - symbol = pyxb.binding.content.ElementUse(tcValores._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'ValorPis')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 335, 12)) - st_2 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_2) - final_update = None - symbol = pyxb.binding.content.ElementUse(tcValores._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'ValorCofins')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 336, 12)) - st_3 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_3) - final_update = None - symbol = pyxb.binding.content.ElementUse(tcValores._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'ValorInss')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 337, 12)) - st_4 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_4) - final_update = None - symbol = pyxb.binding.content.ElementUse(tcValores._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'ValorIr')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 338, 12)) - st_5 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_5) - final_update = None - symbol = pyxb.binding.content.ElementUse(tcValores._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'ValorCsll')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 339, 12)) - st_6 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_6) - final_update = set() - symbol = pyxb.binding.content.ElementUse(tcValores._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'IssRetido')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 340, 12)) - st_7 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_7) - final_update = set() - final_update.add(fac.UpdateInstruction(cc_6, False)) - symbol = pyxb.binding.content.ElementUse(tcValores._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'ValorIss')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 341, 12)) - st_8 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_8) - final_update = set() - final_update.add(fac.UpdateInstruction(cc_7, False)) - symbol = pyxb.binding.content.ElementUse(tcValores._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'ValorIssRetido')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 342, 12)) - st_9 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_9) - final_update = set() - final_update.add(fac.UpdateInstruction(cc_8, False)) - symbol = pyxb.binding.content.ElementUse(tcValores._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'OutrasRetencoes')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 343, 12)) - st_10 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_10) - final_update = set() - final_update.add(fac.UpdateInstruction(cc_9, False)) - symbol = pyxb.binding.content.ElementUse(tcValores._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'BaseCalculo')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 344, 12)) - st_11 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_11) - final_update = set() - final_update.add(fac.UpdateInstruction(cc_10, False)) - symbol = pyxb.binding.content.ElementUse(tcValores._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Aliquota')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 345, 12)) - st_12 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_12) - final_update = set() - final_update.add(fac.UpdateInstruction(cc_11, False)) - symbol = pyxb.binding.content.ElementUse(tcValores._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'ValorLiquidoNfse')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 346, 12)) - st_13 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_13) - final_update = set() - final_update.add(fac.UpdateInstruction(cc_12, False)) - symbol = pyxb.binding.content.ElementUse(tcValores._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'DescontoIncondicionado')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 347, 12)) - st_14 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_14) - final_update = set() - final_update.add(fac.UpdateInstruction(cc_13, False)) - symbol = pyxb.binding.content.ElementUse(tcValores._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'DescontoCondicionado')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 348, 12)) - st_15 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_15) - transitions = [] - transitions.append(fac.Transition(st_1, [ - ])) - transitions.append(fac.Transition(st_2, [ - ])) - transitions.append(fac.Transition(st_3, [ - ])) - transitions.append(fac.Transition(st_4, [ - ])) - transitions.append(fac.Transition(st_5, [ - ])) - transitions.append(fac.Transition(st_6, [ - ])) - transitions.append(fac.Transition(st_7, [ - ])) - st_0._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_1, [ - fac.UpdateInstruction(cc_0, True) ])) - transitions.append(fac.Transition(st_2, [ - fac.UpdateInstruction(cc_0, False) ])) - transitions.append(fac.Transition(st_3, [ - fac.UpdateInstruction(cc_0, False) ])) - transitions.append(fac.Transition(st_4, [ - fac.UpdateInstruction(cc_0, False) ])) - transitions.append(fac.Transition(st_5, [ - fac.UpdateInstruction(cc_0, False) ])) - transitions.append(fac.Transition(st_6, [ - fac.UpdateInstruction(cc_0, False) ])) - transitions.append(fac.Transition(st_7, [ - fac.UpdateInstruction(cc_0, False) ])) - st_1._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_2, [ - fac.UpdateInstruction(cc_1, True) ])) - transitions.append(fac.Transition(st_3, [ - fac.UpdateInstruction(cc_1, False) ])) - transitions.append(fac.Transition(st_4, [ - fac.UpdateInstruction(cc_1, False) ])) - transitions.append(fac.Transition(st_5, [ - fac.UpdateInstruction(cc_1, False) ])) - transitions.append(fac.Transition(st_6, [ - fac.UpdateInstruction(cc_1, False) ])) - transitions.append(fac.Transition(st_7, [ - fac.UpdateInstruction(cc_1, False) ])) - st_2._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_3, [ - fac.UpdateInstruction(cc_2, True) ])) - transitions.append(fac.Transition(st_4, [ - fac.UpdateInstruction(cc_2, False) ])) - transitions.append(fac.Transition(st_5, [ - fac.UpdateInstruction(cc_2, False) ])) - transitions.append(fac.Transition(st_6, [ - fac.UpdateInstruction(cc_2, False) ])) - transitions.append(fac.Transition(st_7, [ - fac.UpdateInstruction(cc_2, False) ])) - st_3._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_4, [ - fac.UpdateInstruction(cc_3, True) ])) - transitions.append(fac.Transition(st_5, [ - fac.UpdateInstruction(cc_3, False) ])) - transitions.append(fac.Transition(st_6, [ - fac.UpdateInstruction(cc_3, False) ])) - transitions.append(fac.Transition(st_7, [ - fac.UpdateInstruction(cc_3, False) ])) - st_4._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_5, [ - fac.UpdateInstruction(cc_4, True) ])) - transitions.append(fac.Transition(st_6, [ - fac.UpdateInstruction(cc_4, False) ])) - transitions.append(fac.Transition(st_7, [ - fac.UpdateInstruction(cc_4, False) ])) - st_5._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_6, [ - fac.UpdateInstruction(cc_5, True) ])) - transitions.append(fac.Transition(st_7, [ - fac.UpdateInstruction(cc_5, False) ])) - st_6._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_8, [ - ])) - transitions.append(fac.Transition(st_9, [ - ])) - transitions.append(fac.Transition(st_10, [ - ])) - transitions.append(fac.Transition(st_11, [ - ])) - transitions.append(fac.Transition(st_12, [ - ])) - transitions.append(fac.Transition(st_13, [ - ])) - transitions.append(fac.Transition(st_14, [ - ])) - transitions.append(fac.Transition(st_15, [ - ])) - st_7._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_8, [ - fac.UpdateInstruction(cc_6, True) ])) - transitions.append(fac.Transition(st_9, [ - fac.UpdateInstruction(cc_6, False) ])) - transitions.append(fac.Transition(st_10, [ - fac.UpdateInstruction(cc_6, False) ])) - transitions.append(fac.Transition(st_11, [ - fac.UpdateInstruction(cc_6, False) ])) - transitions.append(fac.Transition(st_12, [ - fac.UpdateInstruction(cc_6, False) ])) - transitions.append(fac.Transition(st_13, [ - fac.UpdateInstruction(cc_6, False) ])) - transitions.append(fac.Transition(st_14, [ - fac.UpdateInstruction(cc_6, False) ])) - transitions.append(fac.Transition(st_15, [ - fac.UpdateInstruction(cc_6, False) ])) - st_8._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_9, [ - fac.UpdateInstruction(cc_7, True) ])) - transitions.append(fac.Transition(st_10, [ - fac.UpdateInstruction(cc_7, False) ])) - transitions.append(fac.Transition(st_11, [ - fac.UpdateInstruction(cc_7, False) ])) - transitions.append(fac.Transition(st_12, [ - fac.UpdateInstruction(cc_7, False) ])) - transitions.append(fac.Transition(st_13, [ - fac.UpdateInstruction(cc_7, False) ])) - transitions.append(fac.Transition(st_14, [ - fac.UpdateInstruction(cc_7, False) ])) - transitions.append(fac.Transition(st_15, [ - fac.UpdateInstruction(cc_7, False) ])) - st_9._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_10, [ - fac.UpdateInstruction(cc_8, True) ])) - transitions.append(fac.Transition(st_11, [ - fac.UpdateInstruction(cc_8, False) ])) - transitions.append(fac.Transition(st_12, [ - fac.UpdateInstruction(cc_8, False) ])) - transitions.append(fac.Transition(st_13, [ - fac.UpdateInstruction(cc_8, False) ])) - transitions.append(fac.Transition(st_14, [ - fac.UpdateInstruction(cc_8, False) ])) - transitions.append(fac.Transition(st_15, [ - fac.UpdateInstruction(cc_8, False) ])) - st_10._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_11, [ - fac.UpdateInstruction(cc_9, True) ])) - transitions.append(fac.Transition(st_12, [ - fac.UpdateInstruction(cc_9, False) ])) - transitions.append(fac.Transition(st_13, [ - fac.UpdateInstruction(cc_9, False) ])) - transitions.append(fac.Transition(st_14, [ - fac.UpdateInstruction(cc_9, False) ])) - transitions.append(fac.Transition(st_15, [ - fac.UpdateInstruction(cc_9, False) ])) - st_11._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_12, [ - fac.UpdateInstruction(cc_10, True) ])) - transitions.append(fac.Transition(st_13, [ - fac.UpdateInstruction(cc_10, False) ])) - transitions.append(fac.Transition(st_14, [ - fac.UpdateInstruction(cc_10, False) ])) - transitions.append(fac.Transition(st_15, [ - fac.UpdateInstruction(cc_10, False) ])) - st_12._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_13, [ - fac.UpdateInstruction(cc_11, True) ])) - transitions.append(fac.Transition(st_14, [ - fac.UpdateInstruction(cc_11, False) ])) - transitions.append(fac.Transition(st_15, [ - fac.UpdateInstruction(cc_11, False) ])) - st_13._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_14, [ - fac.UpdateInstruction(cc_12, True) ])) - transitions.append(fac.Transition(st_15, [ - fac.UpdateInstruction(cc_12, False) ])) - st_14._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_15, [ - fac.UpdateInstruction(cc_13, True) ])) - st_15._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -tcValores._Automaton = _BuildAutomaton_9() - - - - -tcDadosServico._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Valores'), tcValores, scope=tcDadosServico, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 353, 12))) - -tcDadosServico._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'ItemListaServico'), tsItemListaServico, scope=tcDadosServico, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 354, 12))) - -tcDadosServico._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'CodigoCnae'), tsCodigoCnae, scope=tcDadosServico, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 355, 12))) - -tcDadosServico._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'CodigoTributacaoMunicipio'), tsCodigoTributacao, scope=tcDadosServico, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 356, 12))) - -tcDadosServico._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Discriminacao'), tsDiscriminacao, scope=tcDadosServico, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 357, 12))) - -tcDadosServico._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'CodigoMunicipio'), tsCodigoMunicipioIbge, scope=tcDadosServico, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 358, 12))) - -def _BuildAutomaton_10 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_10 - del _BuildAutomaton_10 - import pyxb.utils.fac as fac - - counters = set() - cc_0 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 355, 12)) - counters.add(cc_0) - cc_1 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 356, 12)) - counters.add(cc_1) - states = [] - final_update = None - symbol = pyxb.binding.content.ElementUse(tcDadosServico._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Valores')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 353, 12)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = None - symbol = pyxb.binding.content.ElementUse(tcDadosServico._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'ItemListaServico')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 354, 12)) - st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - final_update = None - symbol = pyxb.binding.content.ElementUse(tcDadosServico._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'CodigoCnae')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 355, 12)) - st_2 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_2) - final_update = None - symbol = pyxb.binding.content.ElementUse(tcDadosServico._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'CodigoTributacaoMunicipio')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 356, 12)) - st_3 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_3) - final_update = None - symbol = pyxb.binding.content.ElementUse(tcDadosServico._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Discriminacao')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 357, 12)) - st_4 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_4) - final_update = set() - symbol = pyxb.binding.content.ElementUse(tcDadosServico._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'CodigoMunicipio')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 358, 12)) - st_5 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_5) - transitions = [] - transitions.append(fac.Transition(st_1, [ - ])) - st_0._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_2, [ - ])) - transitions.append(fac.Transition(st_3, [ - ])) - transitions.append(fac.Transition(st_4, [ - ])) - st_1._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_2, [ - fac.UpdateInstruction(cc_0, True) ])) - transitions.append(fac.Transition(st_3, [ - fac.UpdateInstruction(cc_0, False) ])) - transitions.append(fac.Transition(st_4, [ - fac.UpdateInstruction(cc_0, False) ])) - st_2._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_3, [ - fac.UpdateInstruction(cc_1, True) ])) - transitions.append(fac.Transition(st_4, [ - fac.UpdateInstruction(cc_1, False) ])) - st_3._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_5, [ - ])) - st_4._set_transitionSet(transitions) - transitions = [] - st_5._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -tcDadosServico._Automaton = _BuildAutomaton_10() - - - - -tcDadosConstrucaoCivil._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'CodigoObra'), tsCodigoObra, scope=tcDadosConstrucaoCivil, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 363, 12))) - -tcDadosConstrucaoCivil._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Art'), tsArt, scope=tcDadosConstrucaoCivil, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 364, 12))) - -def _BuildAutomaton_11 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_11 - del _BuildAutomaton_11 - import pyxb.utils.fac as fac - - counters = set() - states = [] - final_update = None - symbol = pyxb.binding.content.ElementUse(tcDadosConstrucaoCivil._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'CodigoObra')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 363, 12)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = set() - symbol = pyxb.binding.content.ElementUse(tcDadosConstrucaoCivil._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Art')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 364, 12)) - st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - transitions = [] - transitions.append(fac.Transition(st_1, [ - ])) - st_0._set_transitionSet(transitions) - transitions = [] - st_1._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -tcDadosConstrucaoCivil._Automaton = _BuildAutomaton_11() - - - - -tcDadosPrestador._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'IdentificacaoPrestador'), tcIdentificacaoPrestador, scope=tcDadosPrestador, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 369, 12))) - -tcDadosPrestador._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'RazaoSocial'), tsRazaoSocial, scope=tcDadosPrestador, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 370, 12))) - -tcDadosPrestador._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'NomeFantasia'), tsNomeFantasia, scope=tcDadosPrestador, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 371, 12))) - -tcDadosPrestador._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Endereco'), tcEndereco, scope=tcDadosPrestador, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 372, 12))) - -tcDadosPrestador._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Contato'), tcContato, scope=tcDadosPrestador, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 373, 12))) - -def _BuildAutomaton_12 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_12 - del _BuildAutomaton_12 - import pyxb.utils.fac as fac - - counters = set() - cc_0 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 371, 12)) - counters.add(cc_0) - cc_1 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 373, 12)) - counters.add(cc_1) - states = [] - final_update = None - symbol = pyxb.binding.content.ElementUse(tcDadosPrestador._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'IdentificacaoPrestador')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 369, 12)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = None - symbol = pyxb.binding.content.ElementUse(tcDadosPrestador._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'RazaoSocial')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 370, 12)) - st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - final_update = None - symbol = pyxb.binding.content.ElementUse(tcDadosPrestador._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'NomeFantasia')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 371, 12)) - st_2 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_2) - final_update = set() - symbol = pyxb.binding.content.ElementUse(tcDadosPrestador._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Endereco')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 372, 12)) - st_3 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_3) - final_update = set() - final_update.add(fac.UpdateInstruction(cc_1, False)) - symbol = pyxb.binding.content.ElementUse(tcDadosPrestador._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Contato')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 373, 12)) - st_4 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_4) - transitions = [] - transitions.append(fac.Transition(st_1, [ - ])) - st_0._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_2, [ - ])) - transitions.append(fac.Transition(st_3, [ - ])) - st_1._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_2, [ - fac.UpdateInstruction(cc_0, True) ])) - transitions.append(fac.Transition(st_3, [ - fac.UpdateInstruction(cc_0, False) ])) - st_2._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_4, [ - ])) - st_3._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_4, [ - fac.UpdateInstruction(cc_1, True) ])) - st_4._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -tcDadosPrestador._Automaton = _BuildAutomaton_12() - - - - -tcRps._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'InfRps'), tcInfRps, scope=tcRps, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 396, 12))) - -tcRps._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(_Namespace_dsig, 'Signature'), _ImportedBinding__dsig.SignatureType, scope=tcRps, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 41, 0))) - -def _BuildAutomaton_13 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_13 - del _BuildAutomaton_13 - import pyxb.utils.fac as fac - - counters = set() - cc_0 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 397, 12)) - counters.add(cc_0) - states = [] - final_update = set() - symbol = pyxb.binding.content.ElementUse(tcRps._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'InfRps')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 396, 12)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = set() - final_update.add(fac.UpdateInstruction(cc_0, False)) - symbol = pyxb.binding.content.ElementUse(tcRps._UseForTag(pyxb.namespace.ExpandedName(_Namespace_dsig, 'Signature')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 397, 12)) - st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - transitions = [] - transitions.append(fac.Transition(st_1, [ - ])) - st_0._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_1, [ - fac.UpdateInstruction(cc_0, True) ])) - st_1._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -tcRps._Automaton = _BuildAutomaton_13() - - - - -tcIdentificacaoNfse._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Numero'), tsNumeroNfse, scope=tcIdentificacaoNfse, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 402, 12))) - -tcIdentificacaoNfse._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Cnpj'), tsCnpj, scope=tcIdentificacaoNfse, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 403, 12))) - -tcIdentificacaoNfse._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'InscricaoMunicipal'), tsInscricaoMunicipal, scope=tcIdentificacaoNfse, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 404, 12))) - -tcIdentificacaoNfse._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'CodigoMunicipio'), tsCodigoMunicipioIbge, scope=tcIdentificacaoNfse, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 405, 12))) - -def _BuildAutomaton_14 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_14 - del _BuildAutomaton_14 - import pyxb.utils.fac as fac - - counters = set() - cc_0 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 404, 12)) - counters.add(cc_0) - states = [] - final_update = None - symbol = pyxb.binding.content.ElementUse(tcIdentificacaoNfse._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Numero')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 402, 12)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = None - symbol = pyxb.binding.content.ElementUse(tcIdentificacaoNfse._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Cnpj')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 403, 12)) - st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - final_update = None - symbol = pyxb.binding.content.ElementUse(tcIdentificacaoNfse._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'InscricaoMunicipal')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 404, 12)) - st_2 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_2) - final_update = set() - symbol = pyxb.binding.content.ElementUse(tcIdentificacaoNfse._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'CodigoMunicipio')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 405, 12)) - st_3 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_3) - transitions = [] - transitions.append(fac.Transition(st_1, [ - ])) - st_0._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_2, [ - ])) - transitions.append(fac.Transition(st_3, [ - ])) - st_1._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_2, [ - fac.UpdateInstruction(cc_0, True) ])) - transitions.append(fac.Transition(st_3, [ - fac.UpdateInstruction(cc_0, False) ])) - st_2._set_transitionSet(transitions) - transitions = [] - st_3._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -tcIdentificacaoNfse._Automaton = _BuildAutomaton_14() - - - - -tcNfse._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'InfNfse'), tcInfNfse, scope=tcNfse, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 434, 12))) - -tcNfse._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(_Namespace_dsig, 'Signature'), _ImportedBinding__dsig.SignatureType, scope=tcNfse, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 41, 0))) - -def _BuildAutomaton_15 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_15 - del _BuildAutomaton_15 - import pyxb.utils.fac as fac - - counters = set() - cc_0 = fac.CounterCondition(min=1, max=2, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 435, 12)) - counters.add(cc_0) - states = [] - final_update = None - symbol = pyxb.binding.content.ElementUse(tcNfse._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'InfNfse')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 434, 12)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = set() - final_update.add(fac.UpdateInstruction(cc_0, False)) - symbol = pyxb.binding.content.ElementUse(tcNfse._UseForTag(pyxb.namespace.ExpandedName(_Namespace_dsig, 'Signature')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 435, 12)) - st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - transitions = [] - transitions.append(fac.Transition(st_1, [ - ])) - st_0._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_1, [ - fac.UpdateInstruction(cc_0, True) ])) - st_1._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -tcNfse._Automaton = _BuildAutomaton_15() - - - - -tcPedidoCancelamento._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'InfPedidoCancelamento'), tcInfPedidoCancelamento, scope=tcPedidoCancelamento, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 448, 12))) - -tcPedidoCancelamento._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(_Namespace_dsig, 'Signature'), _ImportedBinding__dsig.SignatureType, scope=tcPedidoCancelamento, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 41, 0))) - -def _BuildAutomaton_16 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_16 - del _BuildAutomaton_16 - import pyxb.utils.fac as fac - - counters = set() - cc_0 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 449, 12)) - counters.add(cc_0) - states = [] - final_update = set() - symbol = pyxb.binding.content.ElementUse(tcPedidoCancelamento._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'InfPedidoCancelamento')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 448, 12)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = set() - final_update.add(fac.UpdateInstruction(cc_0, False)) - symbol = pyxb.binding.content.ElementUse(tcPedidoCancelamento._UseForTag(pyxb.namespace.ExpandedName(_Namespace_dsig, 'Signature')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 449, 12)) - st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - transitions = [] - transitions.append(fac.Transition(st_1, [ - ])) - st_0._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_1, [ - fac.UpdateInstruction(cc_0, True) ])) - st_1._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -tcPedidoCancelamento._Automaton = _BuildAutomaton_16() - - - - -tcCancelamentoNfse._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Confirmacao'), tcConfirmacaoCancelamento, scope=tcCancelamentoNfse, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 462, 12))) - -tcCancelamentoNfse._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(_Namespace_dsig, 'Signature'), _ImportedBinding__dsig.SignatureType, scope=tcCancelamentoNfse, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 41, 0))) - -def _BuildAutomaton_17 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_17 - del _BuildAutomaton_17 - import pyxb.utils.fac as fac - - counters = set() - states = [] - final_update = None - symbol = pyxb.binding.content.ElementUse(tcCancelamentoNfse._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Confirmacao')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 462, 12)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = set() - symbol = pyxb.binding.content.ElementUse(tcCancelamentoNfse._UseForTag(pyxb.namespace.ExpandedName(_Namespace_dsig, 'Signature')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 463, 12)) - st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - transitions = [] - transitions.append(fac.Transition(st_1, [ - ])) - st_0._set_transitionSet(transitions) - transitions = [] - st_1._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -tcCancelamentoNfse._Automaton = _BuildAutomaton_17() - - - - -tcSubstituicaoNfse._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'SubstituicaoNfse'), tcInfSubstituicaoNfse, scope=tcSubstituicaoNfse, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 475, 12))) - -tcSubstituicaoNfse._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(_Namespace_dsig, 'Signature'), _ImportedBinding__dsig.SignatureType, scope=tcSubstituicaoNfse, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 41, 0))) - -def _BuildAutomaton_18 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_18 - del _BuildAutomaton_18 - import pyxb.utils.fac as fac - - counters = set() - cc_0 = fac.CounterCondition(min=1, max=2, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 476, 12)) - counters.add(cc_0) - states = [] - final_update = None - symbol = pyxb.binding.content.ElementUse(tcSubstituicaoNfse._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'SubstituicaoNfse')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 475, 12)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = set() - final_update.add(fac.UpdateInstruction(cc_0, False)) - symbol = pyxb.binding.content.ElementUse(tcSubstituicaoNfse._UseForTag(pyxb.namespace.ExpandedName(_Namespace_dsig, 'Signature')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 476, 12)) - st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - transitions = [] - transitions.append(fac.Transition(st_1, [ - ])) - st_0._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_1, [ - fac.UpdateInstruction(cc_0, True) ])) - st_1._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -tcSubstituicaoNfse._Automaton = _BuildAutomaton_18() - - - - -tcCompNfse._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Nfse'), tcNfse, scope=tcCompNfse, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 481, 12))) - -tcCompNfse._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'NfseCancelamento'), tcCancelamentoNfse, scope=tcCompNfse, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 482, 12))) - -tcCompNfse._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'NfseSubstituicao'), tcSubstituicaoNfse, scope=tcCompNfse, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 483, 12))) - -def _BuildAutomaton_19 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_19 - del _BuildAutomaton_19 - import pyxb.utils.fac as fac - - counters = set() - cc_0 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 482, 12)) - counters.add(cc_0) - cc_1 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 483, 12)) - counters.add(cc_1) - states = [] - final_update = set() - symbol = pyxb.binding.content.ElementUse(tcCompNfse._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Nfse')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 481, 12)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = set() - final_update.add(fac.UpdateInstruction(cc_0, False)) - symbol = pyxb.binding.content.ElementUse(tcCompNfse._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'NfseCancelamento')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 482, 12)) - st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - final_update = set() - final_update.add(fac.UpdateInstruction(cc_1, False)) - symbol = pyxb.binding.content.ElementUse(tcCompNfse._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'NfseSubstituicao')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 483, 12)) - st_2 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_2) - transitions = [] - transitions.append(fac.Transition(st_1, [ - ])) - transitions.append(fac.Transition(st_2, [ - ])) - st_0._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_1, [ - fac.UpdateInstruction(cc_0, True) ])) - transitions.append(fac.Transition(st_2, [ - fac.UpdateInstruction(cc_0, False) ])) - st_1._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_2, [ - fac.UpdateInstruction(cc_1, True) ])) - st_2._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -tcCompNfse._Automaton = _BuildAutomaton_19() - - - - -CTD_ANON._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'MensagemRetorno'), tcMensagemRetorno, scope=CTD_ANON, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 490, 16))) - -def _BuildAutomaton_20 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_20 - del _BuildAutomaton_20 - import pyxb.utils.fac as fac - - counters = set() - states = [] - final_update = set() - symbol = pyxb.binding.content.ElementUse(CTD_ANON._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'MensagemRetorno')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 490, 16)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - transitions = [] - transitions.append(fac.Transition(st_0, [ - ])) - st_0._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -CTD_ANON._Automaton = _BuildAutomaton_20() - - - - -tcMensagemRetorno._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Codigo'), tsCodigoMensagemAlerta, scope=tcMensagemRetorno, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 496, 12))) - -tcMensagemRetorno._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Mensagem'), tsDescricaoMensagemAlerta, scope=tcMensagemRetorno, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 497, 12))) - -tcMensagemRetorno._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Correcao'), tsDescricaoMensagemAlerta, scope=tcMensagemRetorno, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 498, 12))) - -def _BuildAutomaton_21 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_21 - del _BuildAutomaton_21 - import pyxb.utils.fac as fac - - counters = set() - cc_0 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 498, 12)) - counters.add(cc_0) - states = [] - final_update = None - symbol = pyxb.binding.content.ElementUse(tcMensagemRetorno._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Codigo')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 496, 12)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = set() - symbol = pyxb.binding.content.ElementUse(tcMensagemRetorno._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Mensagem')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 497, 12)) - st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - final_update = set() - final_update.add(fac.UpdateInstruction(cc_0, False)) - symbol = pyxb.binding.content.ElementUse(tcMensagemRetorno._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Correcao')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 498, 12)) - st_2 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_2) - transitions = [] - transitions.append(fac.Transition(st_1, [ - ])) - st_0._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_2, [ - ])) - st_1._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_2, [ - fac.UpdateInstruction(cc_0, True) ])) - st_2._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -tcMensagemRetorno._Automaton = _BuildAutomaton_21() - - - - -tcMensagemRetornoLote._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'IdentificacaoRps'), tcIdentificacaoRps, scope=tcMensagemRetornoLote, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 503, 12))) - -tcMensagemRetornoLote._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Codigo'), tsCodigoMensagemAlerta, scope=tcMensagemRetornoLote, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 504, 12))) - -tcMensagemRetornoLote._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Mensagem'), tsDescricaoMensagemAlerta, scope=tcMensagemRetornoLote, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 505, 12))) - -def _BuildAutomaton_22 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_22 - del _BuildAutomaton_22 - import pyxb.utils.fac as fac - - counters = set() - states = [] - final_update = None - symbol = pyxb.binding.content.ElementUse(tcMensagemRetornoLote._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'IdentificacaoRps')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 503, 12)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = None - symbol = pyxb.binding.content.ElementUse(tcMensagemRetornoLote._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Codigo')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 504, 12)) - st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - final_update = set() - symbol = pyxb.binding.content.ElementUse(tcMensagemRetornoLote._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Mensagem')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 505, 12)) - st_2 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_2) - transitions = [] - transitions.append(fac.Transition(st_1, [ - ])) - st_0._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_2, [ - ])) - st_1._set_transitionSet(transitions) - transitions = [] - st_2._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -tcMensagemRetornoLote._Automaton = _BuildAutomaton_22() - - - - -CTD_ANON_._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Rps'), tcRps, scope=CTD_ANON_, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 517, 24))) - -def _BuildAutomaton_23 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_23 - del _BuildAutomaton_23 - import pyxb.utils.fac as fac - - counters = set() - states = [] - final_update = set() - symbol = pyxb.binding.content.ElementUse(CTD_ANON_._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Rps')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 517, 24)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - transitions = [] - transitions.append(fac.Transition(st_0, [ - ])) - st_0._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -CTD_ANON_._Automaton = _BuildAutomaton_23() - - - - -CTD_ANON_2._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'ListaMensagemRetorno'), CTD_ANON, scope=CTD_ANON_2, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 487, 4))) - -CTD_ANON_2._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'NumeroLote'), tsNumeroLote, scope=CTD_ANON_2, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 530, 20))) - -CTD_ANON_2._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'DataRecebimento'), pyxb.binding.datatypes.dateTime, scope=CTD_ANON_2, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 531, 20))) - -CTD_ANON_2._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Protocolo'), tsNumeroProtocolo, scope=CTD_ANON_2, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 532, 20))) - -def _BuildAutomaton_24 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_24 - del _BuildAutomaton_24 - import pyxb.utils.fac as fac - - counters = set() - states = [] - final_update = None - symbol = pyxb.binding.content.ElementUse(CTD_ANON_2._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'NumeroLote')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 530, 20)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = None - symbol = pyxb.binding.content.ElementUse(CTD_ANON_2._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'DataRecebimento')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 531, 20)) - st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - final_update = set() - symbol = pyxb.binding.content.ElementUse(CTD_ANON_2._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Protocolo')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 532, 20)) - st_2 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_2) - final_update = set() - symbol = pyxb.binding.content.ElementUse(CTD_ANON_2._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'ListaMensagemRetorno')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 534, 16)) - st_3 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_3) - transitions = [] - transitions.append(fac.Transition(st_1, [ - ])) - st_0._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_2, [ - ])) - st_1._set_transitionSet(transitions) - transitions = [] - st_2._set_transitionSet(transitions) - transitions = [] - st_3._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -CTD_ANON_2._Automaton = _BuildAutomaton_24() - - - - -CTD_ANON_3._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'LoteRps'), tcLoteRps, scope=CTD_ANON_3, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 542, 16))) - -CTD_ANON_3._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(_Namespace_dsig, 'Signature'), _ImportedBinding__dsig.SignatureType, scope=CTD_ANON_3, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd', 41, 0))) - -def _BuildAutomaton_25 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_25 - del _BuildAutomaton_25 - import pyxb.utils.fac as fac - - counters = set() - cc_0 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 543, 16)) - counters.add(cc_0) - states = [] - final_update = set() - symbol = pyxb.binding.content.ElementUse(CTD_ANON_3._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'LoteRps')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 542, 16)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = set() - final_update.add(fac.UpdateInstruction(cc_0, False)) - symbol = pyxb.binding.content.ElementUse(CTD_ANON_3._UseForTag(pyxb.namespace.ExpandedName(_Namespace_dsig, 'Signature')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 543, 16)) - st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - transitions = [] - transitions.append(fac.Transition(st_1, [ - ])) - st_0._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_1, [ - fac.UpdateInstruction(cc_0, True) ])) - st_1._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -CTD_ANON_3._Automaton = _BuildAutomaton_25() - - - - -CTD_ANON_4._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'ListaMensagemRetorno'), CTD_ANON, scope=CTD_ANON_4, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 487, 4))) - -CTD_ANON_4._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'NumeroLote'), tsNumeroLote, scope=CTD_ANON_4, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 552, 20))) - -CTD_ANON_4._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Situacao'), tsSituacaoLoteRps, scope=CTD_ANON_4, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 553, 20))) - -def _BuildAutomaton_26 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_26 - del _BuildAutomaton_26 - import pyxb.utils.fac as fac - - counters = set() - states = [] - final_update = None - symbol = pyxb.binding.content.ElementUse(CTD_ANON_4._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'NumeroLote')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 552, 20)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = set() - symbol = pyxb.binding.content.ElementUse(CTD_ANON_4._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Situacao')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 553, 20)) - st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - final_update = set() - symbol = pyxb.binding.content.ElementUse(CTD_ANON_4._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'ListaMensagemRetorno')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 555, 16)) - st_2 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_2) - transitions = [] - transitions.append(fac.Transition(st_1, [ - ])) - st_0._set_transitionSet(transitions) - transitions = [] - st_1._set_transitionSet(transitions) - transitions = [] - st_2._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -CTD_ANON_4._Automaton = _BuildAutomaton_26() - - - - -CTD_ANON_5._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Prestador'), tcIdentificacaoPrestador, scope=CTD_ANON_5, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 563, 16))) - -CTD_ANON_5._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Protocolo'), tsNumeroProtocolo, scope=CTD_ANON_5, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 564, 16))) - -def _BuildAutomaton_27 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_27 - del _BuildAutomaton_27 - import pyxb.utils.fac as fac - - counters = set() - states = [] - final_update = None - symbol = pyxb.binding.content.ElementUse(CTD_ANON_5._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Prestador')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 563, 16)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = set() - symbol = pyxb.binding.content.ElementUse(CTD_ANON_5._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Protocolo')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 564, 16)) - st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - transitions = [] - transitions.append(fac.Transition(st_1, [ - ])) - st_0._set_transitionSet(transitions) - transitions = [] - st_1._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -CTD_ANON_5._Automaton = _BuildAutomaton_27() - - - - -CTD_ANON_6._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'ListaMensagemRetorno'), CTD_ANON, scope=CTD_ANON_6, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 487, 4))) - -CTD_ANON_6._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'CompNfse'), tcCompNfse, scope=CTD_ANON_6, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 572, 16))) - -def _BuildAutomaton_28 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_28 - del _BuildAutomaton_28 - import pyxb.utils.fac as fac - - counters = set() - states = [] - final_update = set() - symbol = pyxb.binding.content.ElementUse(CTD_ANON_6._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'CompNfse')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 572, 16)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = set() - symbol = pyxb.binding.content.ElementUse(CTD_ANON_6._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'ListaMensagemRetorno')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 573, 16)) - st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - transitions = [] - st_0._set_transitionSet(transitions) - transitions = [] - st_1._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -CTD_ANON_6._Automaton = _BuildAutomaton_28() - - - - -CTD_ANON_7._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'IdentificacaoRps'), tcIdentificacaoRps, scope=CTD_ANON_7, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 581, 16))) - -CTD_ANON_7._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Prestador'), tcIdentificacaoPrestador, scope=CTD_ANON_7, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 582, 16))) - -def _BuildAutomaton_29 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_29 - del _BuildAutomaton_29 - import pyxb.utils.fac as fac - - counters = set() - states = [] - final_update = None - symbol = pyxb.binding.content.ElementUse(CTD_ANON_7._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'IdentificacaoRps')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 581, 16)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = set() - symbol = pyxb.binding.content.ElementUse(CTD_ANON_7._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Prestador')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 582, 16)) - st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - transitions = [] - transitions.append(fac.Transition(st_1, [ - ])) - st_0._set_transitionSet(transitions) - transitions = [] - st_1._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -CTD_ANON_7._Automaton = _BuildAutomaton_29() - - - - -CTD_ANON_8._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'ListaMensagemRetorno'), CTD_ANON, scope=CTD_ANON_8, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 487, 4))) - -CTD_ANON_8._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'ListaNfse'), CTD_ANON_9, scope=CTD_ANON_8, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 590, 16))) - -def _BuildAutomaton_30 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_30 - del _BuildAutomaton_30 - import pyxb.utils.fac as fac - - counters = set() - states = [] - final_update = set() - symbol = pyxb.binding.content.ElementUse(CTD_ANON_8._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'ListaNfse')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 590, 16)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = set() - symbol = pyxb.binding.content.ElementUse(CTD_ANON_8._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'ListaMensagemRetorno')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 597, 16)) - st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - transitions = [] - st_0._set_transitionSet(transitions) - transitions = [] - st_1._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -CTD_ANON_8._Automaton = _BuildAutomaton_30() - - - - -CTD_ANON_9._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'CompNfse'), tcCompNfse, scope=CTD_ANON_9, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 593, 28))) - -def _BuildAutomaton_31 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_31 - del _BuildAutomaton_31 - import pyxb.utils.fac as fac - - counters = set() - cc_0 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 593, 28)) - counters.add(cc_0) - states = [] - final_update = set() - final_update.add(fac.UpdateInstruction(cc_0, False)) - symbol = pyxb.binding.content.ElementUse(CTD_ANON_9._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'CompNfse')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 593, 28)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - transitions = [] - transitions.append(fac.Transition(st_0, [ - fac.UpdateInstruction(cc_0, True) ])) - st_0._set_transitionSet(transitions) - return fac.Automaton(states, counters, True, containing_state=None) -CTD_ANON_9._Automaton = _BuildAutomaton_31() - - - - -CTD_ANON_10._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Prestador'), tcIdentificacaoPrestador, scope=CTD_ANON_10, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 605, 16))) - -CTD_ANON_10._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'NumeroNfse'), tsNumeroNfse, scope=CTD_ANON_10, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 606, 16))) - -CTD_ANON_10._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'PeriodoEmissao'), CTD_ANON_11, scope=CTD_ANON_10, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 607, 16))) - -CTD_ANON_10._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Tomador'), tcIdentificacaoTomador, scope=CTD_ANON_10, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 615, 16))) - -CTD_ANON_10._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'IntermediarioServico'), tcIdentificacaoIntermediarioServico, scope=CTD_ANON_10, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 616, 16))) - -def _BuildAutomaton_32 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_32 - del _BuildAutomaton_32 - import pyxb.utils.fac as fac - - counters = set() - cc_0 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 606, 16)) - counters.add(cc_0) - cc_1 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 607, 16)) - counters.add(cc_1) - cc_2 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 615, 16)) - counters.add(cc_2) - cc_3 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 616, 16)) - counters.add(cc_3) - states = [] - final_update = set() - symbol = pyxb.binding.content.ElementUse(CTD_ANON_10._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Prestador')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 605, 16)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = set() - final_update.add(fac.UpdateInstruction(cc_0, False)) - symbol = pyxb.binding.content.ElementUse(CTD_ANON_10._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'NumeroNfse')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 606, 16)) - st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - final_update = set() - final_update.add(fac.UpdateInstruction(cc_1, False)) - symbol = pyxb.binding.content.ElementUse(CTD_ANON_10._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'PeriodoEmissao')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 607, 16)) - st_2 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_2) - final_update = set() - final_update.add(fac.UpdateInstruction(cc_2, False)) - symbol = pyxb.binding.content.ElementUse(CTD_ANON_10._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Tomador')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 615, 16)) - st_3 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_3) - final_update = set() - final_update.add(fac.UpdateInstruction(cc_3, False)) - symbol = pyxb.binding.content.ElementUse(CTD_ANON_10._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'IntermediarioServico')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 616, 16)) - st_4 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_4) - transitions = [] - transitions.append(fac.Transition(st_1, [ - ])) - transitions.append(fac.Transition(st_2, [ - ])) - transitions.append(fac.Transition(st_3, [ - ])) - transitions.append(fac.Transition(st_4, [ - ])) - st_0._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_1, [ - fac.UpdateInstruction(cc_0, True) ])) - transitions.append(fac.Transition(st_2, [ - fac.UpdateInstruction(cc_0, False) ])) - transitions.append(fac.Transition(st_3, [ - fac.UpdateInstruction(cc_0, False) ])) - transitions.append(fac.Transition(st_4, [ - fac.UpdateInstruction(cc_0, False) ])) - st_1._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_2, [ - fac.UpdateInstruction(cc_1, True) ])) - transitions.append(fac.Transition(st_3, [ - fac.UpdateInstruction(cc_1, False) ])) - transitions.append(fac.Transition(st_4, [ - fac.UpdateInstruction(cc_1, False) ])) - st_2._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_3, [ - fac.UpdateInstruction(cc_2, True) ])) - transitions.append(fac.Transition(st_4, [ - fac.UpdateInstruction(cc_2, False) ])) - st_3._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_4, [ - fac.UpdateInstruction(cc_3, True) ])) - st_4._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -CTD_ANON_10._Automaton = _BuildAutomaton_32() - - - - -CTD_ANON_11._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'DataInicial'), pyxb.binding.datatypes.date, scope=CTD_ANON_11, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 610, 28))) - -CTD_ANON_11._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'DataFinal'), pyxb.binding.datatypes.date, scope=CTD_ANON_11, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 611, 28))) - -def _BuildAutomaton_33 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_33 - del _BuildAutomaton_33 - import pyxb.utils.fac as fac - - counters = set() - states = [] - final_update = None - symbol = pyxb.binding.content.ElementUse(CTD_ANON_11._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'DataInicial')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 610, 28)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = set() - symbol = pyxb.binding.content.ElementUse(CTD_ANON_11._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'DataFinal')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 611, 28)) - st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - transitions = [] - transitions.append(fac.Transition(st_1, [ - ])) - st_0._set_transitionSet(transitions) - transitions = [] - st_1._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -CTD_ANON_11._Automaton = _BuildAutomaton_33() - - - - -CTD_ANON_12._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'ListaMensagemRetorno'), CTD_ANON, scope=CTD_ANON_12, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 487, 4))) - -CTD_ANON_12._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'ListaNfse'), CTD_ANON_13, scope=CTD_ANON_12, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 624, 16))) - -def _BuildAutomaton_34 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_34 - del _BuildAutomaton_34 - import pyxb.utils.fac as fac - - counters = set() - states = [] - final_update = set() - symbol = pyxb.binding.content.ElementUse(CTD_ANON_12._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'ListaNfse')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 624, 16)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = set() - symbol = pyxb.binding.content.ElementUse(CTD_ANON_12._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'ListaMensagemRetorno')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 631, 16)) - st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - transitions = [] - st_0._set_transitionSet(transitions) - transitions = [] - st_1._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -CTD_ANON_12._Automaton = _BuildAutomaton_34() - - - - -CTD_ANON_13._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'CompNfse'), tcCompNfse, scope=CTD_ANON_13, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 627, 28))) - -def _BuildAutomaton_35 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_35 - del _BuildAutomaton_35 - import pyxb.utils.fac as fac - - counters = set() - states = [] - final_update = set() - symbol = pyxb.binding.content.ElementUse(CTD_ANON_13._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'CompNfse')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 627, 28)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - transitions = [] - transitions.append(fac.Transition(st_0, [ - ])) - st_0._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -CTD_ANON_13._Automaton = _BuildAutomaton_35() - - - - -CTD_ANON_14._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Prestador'), tcIdentificacaoPrestador, scope=CTD_ANON_14, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 639, 16))) - -CTD_ANON_14._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Protocolo'), tsNumeroProtocolo, scope=CTD_ANON_14, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 640, 16))) - -def _BuildAutomaton_36 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_36 - del _BuildAutomaton_36 - import pyxb.utils.fac as fac - - counters = set() - states = [] - final_update = None - symbol = pyxb.binding.content.ElementUse(CTD_ANON_14._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Prestador')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 639, 16)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = set() - symbol = pyxb.binding.content.ElementUse(CTD_ANON_14._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Protocolo')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 640, 16)) - st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - transitions = [] - transitions.append(fac.Transition(st_1, [ - ])) - st_0._set_transitionSet(transitions) - transitions = [] - st_1._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -CTD_ANON_14._Automaton = _BuildAutomaton_36() - - - - -CTD_ANON_15._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'ListaMensagemRetorno'), CTD_ANON, scope=CTD_ANON_15, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 487, 4))) - -CTD_ANON_15._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Cancelamento'), tcCancelamentoNfse, scope=CTD_ANON_15, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 648, 16))) - -def _BuildAutomaton_37 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_37 - del _BuildAutomaton_37 - import pyxb.utils.fac as fac - - counters = set() - states = [] - final_update = set() - symbol = pyxb.binding.content.ElementUse(CTD_ANON_15._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Cancelamento')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 648, 16)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = set() - symbol = pyxb.binding.content.ElementUse(CTD_ANON_15._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'ListaMensagemRetorno')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 649, 16)) - st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - transitions = [] - st_0._set_transitionSet(transitions) - transitions = [] - st_1._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -CTD_ANON_15._Automaton = _BuildAutomaton_37() - - - - -CTD_ANON_16._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Pedido'), tcPedidoCancelamento, scope=CTD_ANON_16, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 657, 16))) - -def _BuildAutomaton_38 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_38 - del _BuildAutomaton_38 - import pyxb.utils.fac as fac - - counters = set() - states = [] - final_update = set() - symbol = pyxb.binding.content.ElementUse(CTD_ANON_16._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Pedido')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 657, 16)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - transitions = [] - st_0._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -CTD_ANON_16._Automaton = _BuildAutomaton_38() - - - - -tcInfRps._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'IdentificacaoRps'), tcIdentificacaoRps, scope=tcInfRps, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 378, 12))) - -tcInfRps._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'DataEmissao'), pyxb.binding.datatypes.dateTime, scope=tcInfRps, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 379, 12))) - -tcInfRps._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'NaturezaOperacao'), tsNaturezaOperacao, scope=tcInfRps, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 380, 12))) - -tcInfRps._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'RegimeEspecialTributacao'), tsRegimeEspecialTributacao, scope=tcInfRps, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 381, 12))) - -tcInfRps._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'OptanteSimplesNacional'), tsSimNao, scope=tcInfRps, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 382, 12))) - -tcInfRps._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'IncentivadorCultural'), tsSimNao, scope=tcInfRps, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 383, 12))) - -tcInfRps._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Status'), tsStatusRps, scope=tcInfRps, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 384, 12))) - -tcInfRps._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'RpsSubstituido'), tcIdentificacaoRps, scope=tcInfRps, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 385, 12))) - -tcInfRps._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Servico'), tcDadosServico, scope=tcInfRps, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 386, 12))) - -tcInfRps._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Prestador'), tcIdentificacaoPrestador, scope=tcInfRps, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 387, 12))) - -tcInfRps._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Tomador'), tcDadosTomador, scope=tcInfRps, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 388, 12))) - -tcInfRps._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'IntermediarioServico'), tcIdentificacaoIntermediarioServico, scope=tcInfRps, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 389, 12))) - -tcInfRps._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'ContrucaoCivil'), tcDadosConstrucaoCivil, scope=tcInfRps, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 390, 12))) - -def _BuildAutomaton_39 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_39 - del _BuildAutomaton_39 - import pyxb.utils.fac as fac - - counters = set() - cc_0 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 381, 12)) - counters.add(cc_0) - cc_1 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 385, 12)) - counters.add(cc_1) - cc_2 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 388, 12)) - counters.add(cc_2) - cc_3 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 389, 12)) - counters.add(cc_3) - cc_4 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 390, 12)) - counters.add(cc_4) - states = [] - final_update = None - symbol = pyxb.binding.content.ElementUse(tcInfRps._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'IdentificacaoRps')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 378, 12)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = None - symbol = pyxb.binding.content.ElementUse(tcInfRps._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'DataEmissao')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 379, 12)) - st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - final_update = None - symbol = pyxb.binding.content.ElementUse(tcInfRps._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'NaturezaOperacao')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 380, 12)) - st_2 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_2) - final_update = None - symbol = pyxb.binding.content.ElementUse(tcInfRps._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'RegimeEspecialTributacao')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 381, 12)) - st_3 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_3) - final_update = None - symbol = pyxb.binding.content.ElementUse(tcInfRps._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'OptanteSimplesNacional')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 382, 12)) - st_4 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_4) - final_update = None - symbol = pyxb.binding.content.ElementUse(tcInfRps._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'IncentivadorCultural')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 383, 12)) - st_5 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_5) - final_update = None - symbol = pyxb.binding.content.ElementUse(tcInfRps._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Status')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 384, 12)) - st_6 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_6) - final_update = None - symbol = pyxb.binding.content.ElementUse(tcInfRps._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'RpsSubstituido')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 385, 12)) - st_7 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_7) - final_update = None - symbol = pyxb.binding.content.ElementUse(tcInfRps._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Servico')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 386, 12)) - st_8 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_8) - final_update = set() - symbol = pyxb.binding.content.ElementUse(tcInfRps._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Prestador')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 387, 12)) - st_9 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_9) - final_update = set() - final_update.add(fac.UpdateInstruction(cc_2, False)) - symbol = pyxb.binding.content.ElementUse(tcInfRps._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Tomador')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 388, 12)) - st_10 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_10) - final_update = set() - final_update.add(fac.UpdateInstruction(cc_3, False)) - symbol = pyxb.binding.content.ElementUse(tcInfRps._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'IntermediarioServico')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 389, 12)) - st_11 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_11) - final_update = set() - final_update.add(fac.UpdateInstruction(cc_4, False)) - symbol = pyxb.binding.content.ElementUse(tcInfRps._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'ContrucaoCivil')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 390, 12)) - st_12 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_12) - transitions = [] - transitions.append(fac.Transition(st_1, [ - ])) - st_0._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_2, [ - ])) - st_1._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_3, [ - ])) - transitions.append(fac.Transition(st_4, [ - ])) - st_2._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_3, [ - fac.UpdateInstruction(cc_0, True) ])) - transitions.append(fac.Transition(st_4, [ - fac.UpdateInstruction(cc_0, False) ])) - st_3._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_5, [ - ])) - st_4._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_6, [ - ])) - st_5._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_7, [ - ])) - transitions.append(fac.Transition(st_8, [ - ])) - st_6._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_7, [ - fac.UpdateInstruction(cc_1, True) ])) - transitions.append(fac.Transition(st_8, [ - fac.UpdateInstruction(cc_1, False) ])) - st_7._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_9, [ - ])) - st_8._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_10, [ - ])) - transitions.append(fac.Transition(st_11, [ - ])) - transitions.append(fac.Transition(st_12, [ - ])) - st_9._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_10, [ - fac.UpdateInstruction(cc_2, True) ])) - transitions.append(fac.Transition(st_11, [ - fac.UpdateInstruction(cc_2, False) ])) - transitions.append(fac.Transition(st_12, [ - fac.UpdateInstruction(cc_2, False) ])) - st_10._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_11, [ - fac.UpdateInstruction(cc_3, True) ])) - transitions.append(fac.Transition(st_12, [ - fac.UpdateInstruction(cc_3, False) ])) - st_11._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_12, [ - fac.UpdateInstruction(cc_4, True) ])) - st_12._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -tcInfRps._Automaton = _BuildAutomaton_39() - - - - -tcInfNfse._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Numero'), tsNumeroNfse, scope=tcInfNfse, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 410, 12))) - -tcInfNfse._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'CodigoVerificacao'), tsCodigoVerificacao, scope=tcInfNfse, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 411, 12))) - -tcInfNfse._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'DataEmissao'), pyxb.binding.datatypes.dateTime, scope=tcInfNfse, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 412, 12))) - -tcInfNfse._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'IdentificacaoRps'), tcIdentificacaoRps, scope=tcInfNfse, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 413, 12))) - -tcInfNfse._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'DataEmissaoRps'), pyxb.binding.datatypes.date, scope=tcInfNfse, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 414, 12))) - -tcInfNfse._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'NaturezaOperacao'), tsNaturezaOperacao, scope=tcInfNfse, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 415, 12))) - -tcInfNfse._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'RegimeEspecialTributacao'), tsRegimeEspecialTributacao, scope=tcInfNfse, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 416, 12))) - -tcInfNfse._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'OptanteSimplesNacional'), tsSimNao, scope=tcInfNfse, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 417, 12))) - -tcInfNfse._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'IncentivadorCultural'), tsSimNao, scope=tcInfNfse, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 418, 12))) - -tcInfNfse._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Competencia'), pyxb.binding.datatypes.dateTime, scope=tcInfNfse, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 419, 12))) - -tcInfNfse._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'NfseSubstituida'), tsNumeroNfse, scope=tcInfNfse, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 420, 12))) - -tcInfNfse._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'OutrasInformacoes'), tsOutrasInformacoes, scope=tcInfNfse, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 421, 12))) - -tcInfNfse._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Servico'), tcDadosServico, scope=tcInfNfse, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 422, 12))) - -tcInfNfse._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'ValorCredito'), tsValor, scope=tcInfNfse, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 423, 12))) - -tcInfNfse._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'PrestadorServico'), tcDadosPrestador, scope=tcInfNfse, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 424, 12))) - -tcInfNfse._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'TomadorServico'), tcDadosTomador, scope=tcInfNfse, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 425, 12))) - -tcInfNfse._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'IntermediarioServico'), tcIdentificacaoIntermediarioServico, scope=tcInfNfse, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 426, 12))) - -tcInfNfse._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'OrgaoGerador'), tcIdentificacaoOrgaoGerador, scope=tcInfNfse, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 427, 12))) - -tcInfNfse._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'ContrucaoCivil'), tcDadosConstrucaoCivil, scope=tcInfNfse, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 428, 12))) - -def _BuildAutomaton_40 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_40 - del _BuildAutomaton_40 - import pyxb.utils.fac as fac - - counters = set() - cc_0 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 413, 12)) - counters.add(cc_0) - cc_1 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 414, 12)) - counters.add(cc_1) - cc_2 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 416, 12)) - counters.add(cc_2) - cc_3 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 420, 12)) - counters.add(cc_3) - cc_4 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 421, 12)) - counters.add(cc_4) - cc_5 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 423, 12)) - counters.add(cc_5) - cc_6 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 425, 12)) - counters.add(cc_6) - cc_7 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 426, 12)) - counters.add(cc_7) - cc_8 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 428, 12)) - counters.add(cc_8) - states = [] - final_update = None - symbol = pyxb.binding.content.ElementUse(tcInfNfse._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Numero')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 410, 12)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = None - symbol = pyxb.binding.content.ElementUse(tcInfNfse._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'CodigoVerificacao')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 411, 12)) - st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - final_update = None - symbol = pyxb.binding.content.ElementUse(tcInfNfse._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'DataEmissao')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 412, 12)) - st_2 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_2) - final_update = None - symbol = pyxb.binding.content.ElementUse(tcInfNfse._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'IdentificacaoRps')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 413, 12)) - st_3 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_3) - final_update = None - symbol = pyxb.binding.content.ElementUse(tcInfNfse._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'DataEmissaoRps')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 414, 12)) - st_4 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_4) - final_update = None - symbol = pyxb.binding.content.ElementUse(tcInfNfse._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'NaturezaOperacao')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 415, 12)) - st_5 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_5) - final_update = None - symbol = pyxb.binding.content.ElementUse(tcInfNfse._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'RegimeEspecialTributacao')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 416, 12)) - st_6 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_6) - final_update = None - symbol = pyxb.binding.content.ElementUse(tcInfNfse._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'OptanteSimplesNacional')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 417, 12)) - st_7 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_7) - final_update = None - symbol = pyxb.binding.content.ElementUse(tcInfNfse._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'IncentivadorCultural')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 418, 12)) - st_8 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_8) - final_update = None - symbol = pyxb.binding.content.ElementUse(tcInfNfse._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Competencia')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 419, 12)) - st_9 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_9) - final_update = None - symbol = pyxb.binding.content.ElementUse(tcInfNfse._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'NfseSubstituida')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 420, 12)) - st_10 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_10) - final_update = None - symbol = pyxb.binding.content.ElementUse(tcInfNfse._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'OutrasInformacoes')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 421, 12)) - st_11 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_11) - final_update = None - symbol = pyxb.binding.content.ElementUse(tcInfNfse._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Servico')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 422, 12)) - st_12 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_12) - final_update = None - symbol = pyxb.binding.content.ElementUse(tcInfNfse._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'ValorCredito')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 423, 12)) - st_13 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_13) - final_update = None - symbol = pyxb.binding.content.ElementUse(tcInfNfse._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'PrestadorServico')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 424, 12)) - st_14 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_14) - final_update = None - symbol = pyxb.binding.content.ElementUse(tcInfNfse._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'TomadorServico')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 425, 12)) - st_15 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_15) - final_update = None - symbol = pyxb.binding.content.ElementUse(tcInfNfse._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'IntermediarioServico')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 426, 12)) - st_16 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_16) - final_update = set() - symbol = pyxb.binding.content.ElementUse(tcInfNfse._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'OrgaoGerador')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 427, 12)) - st_17 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_17) - final_update = set() - final_update.add(fac.UpdateInstruction(cc_8, False)) - symbol = pyxb.binding.content.ElementUse(tcInfNfse._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'ContrucaoCivil')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 428, 12)) - st_18 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_18) - transitions = [] - transitions.append(fac.Transition(st_1, [ - ])) - st_0._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_2, [ - ])) - st_1._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_3, [ - ])) - transitions.append(fac.Transition(st_4, [ - ])) - transitions.append(fac.Transition(st_5, [ - ])) - st_2._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_3, [ - fac.UpdateInstruction(cc_0, True) ])) - transitions.append(fac.Transition(st_4, [ - fac.UpdateInstruction(cc_0, False) ])) - transitions.append(fac.Transition(st_5, [ - fac.UpdateInstruction(cc_0, False) ])) - st_3._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_4, [ - fac.UpdateInstruction(cc_1, True) ])) - transitions.append(fac.Transition(st_5, [ - fac.UpdateInstruction(cc_1, False) ])) - st_4._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_6, [ - ])) - transitions.append(fac.Transition(st_7, [ - ])) - st_5._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_6, [ - fac.UpdateInstruction(cc_2, True) ])) - transitions.append(fac.Transition(st_7, [ - fac.UpdateInstruction(cc_2, False) ])) - st_6._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_8, [ - ])) - st_7._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_9, [ - ])) - st_8._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_10, [ - ])) - transitions.append(fac.Transition(st_11, [ - ])) - transitions.append(fac.Transition(st_12, [ - ])) - st_9._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_10, [ - fac.UpdateInstruction(cc_3, True) ])) - transitions.append(fac.Transition(st_11, [ - fac.UpdateInstruction(cc_3, False) ])) - transitions.append(fac.Transition(st_12, [ - fac.UpdateInstruction(cc_3, False) ])) - st_10._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_11, [ - fac.UpdateInstruction(cc_4, True) ])) - transitions.append(fac.Transition(st_12, [ - fac.UpdateInstruction(cc_4, False) ])) - st_11._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_13, [ - ])) - transitions.append(fac.Transition(st_14, [ - ])) - st_12._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_13, [ - fac.UpdateInstruction(cc_5, True) ])) - transitions.append(fac.Transition(st_14, [ - fac.UpdateInstruction(cc_5, False) ])) - st_13._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_15, [ - ])) - transitions.append(fac.Transition(st_16, [ - ])) - transitions.append(fac.Transition(st_17, [ - ])) - st_14._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_15, [ - fac.UpdateInstruction(cc_6, True) ])) - transitions.append(fac.Transition(st_16, [ - fac.UpdateInstruction(cc_6, False) ])) - transitions.append(fac.Transition(st_17, [ - fac.UpdateInstruction(cc_6, False) ])) - st_15._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_16, [ - fac.UpdateInstruction(cc_7, True) ])) - transitions.append(fac.Transition(st_17, [ - fac.UpdateInstruction(cc_7, False) ])) - st_16._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_18, [ - ])) - st_17._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_18, [ - fac.UpdateInstruction(cc_8, True) ])) - st_18._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -tcInfNfse._Automaton = _BuildAutomaton_40() - - - - -tcInfPedidoCancelamento._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'IdentificacaoNfse'), tcIdentificacaoNfse, scope=tcInfPedidoCancelamento, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 441, 12))) - -tcInfPedidoCancelamento._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'CodigoCancelamento'), tsCodigoCancelamentoNfse, scope=tcInfPedidoCancelamento, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 442, 12))) - -def _BuildAutomaton_41 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_41 - del _BuildAutomaton_41 - import pyxb.utils.fac as fac - - counters = set() - states = [] - final_update = None - symbol = pyxb.binding.content.ElementUse(tcInfPedidoCancelamento._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'IdentificacaoNfse')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 441, 12)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = set() - symbol = pyxb.binding.content.ElementUse(tcInfPedidoCancelamento._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'CodigoCancelamento')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 442, 12)) - st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - transitions = [] - transitions.append(fac.Transition(st_1, [ - ])) - st_0._set_transitionSet(transitions) - transitions = [] - st_1._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -tcInfPedidoCancelamento._Automaton = _BuildAutomaton_41() - - - - -tcConfirmacaoCancelamento._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Pedido'), tcPedidoCancelamento, scope=tcConfirmacaoCancelamento, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 454, 12))) - -tcConfirmacaoCancelamento._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'DataHoraCancelamento'), pyxb.binding.datatypes.dateTime, scope=tcConfirmacaoCancelamento, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 455, 12))) - -def _BuildAutomaton_42 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_42 - del _BuildAutomaton_42 - import pyxb.utils.fac as fac - - counters = set() - states = [] - final_update = None - symbol = pyxb.binding.content.ElementUse(tcConfirmacaoCancelamento._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Pedido')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 454, 12)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = set() - symbol = pyxb.binding.content.ElementUse(tcConfirmacaoCancelamento._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'DataHoraCancelamento')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 455, 12)) - st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - transitions = [] - transitions.append(fac.Transition(st_1, [ - ])) - st_0._set_transitionSet(transitions) - transitions = [] - st_1._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -tcConfirmacaoCancelamento._Automaton = _BuildAutomaton_42() - - - - -tcInfSubstituicaoNfse._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'NfseSubstituidora'), tsNumeroNfse, scope=tcInfSubstituicaoNfse, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 469, 12))) - -def _BuildAutomaton_43 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_43 - del _BuildAutomaton_43 - import pyxb.utils.fac as fac - - counters = set() - states = [] - final_update = set() - symbol = pyxb.binding.content.ElementUse(tcInfSubstituicaoNfse._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'NfseSubstituidora')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 469, 12)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - transitions = [] - st_0._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -tcInfSubstituicaoNfse._Automaton = _BuildAutomaton_43() - - - - -tcLoteRps._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'NumeroLote'), tsNumeroLote, scope=tcLoteRps, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 510, 12))) - -tcLoteRps._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Cnpj'), tsCnpj, scope=tcLoteRps, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 511, 12))) - -tcLoteRps._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'InscricaoMunicipal'), tsInscricaoMunicipal, scope=tcLoteRps, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 512, 12))) - -tcLoteRps._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'QuantidadeRps'), tsQuantidadeRps, scope=tcLoteRps, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 513, 12))) - -tcLoteRps._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'ListaRps'), CTD_ANON_, scope=tcLoteRps, location=pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 514, 12))) - -def _BuildAutomaton_44 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_44 - del _BuildAutomaton_44 - import pyxb.utils.fac as fac - - counters = set() - states = [] - final_update = None - symbol = pyxb.binding.content.ElementUse(tcLoteRps._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'NumeroLote')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 510, 12)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = None - symbol = pyxb.binding.content.ElementUse(tcLoteRps._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Cnpj')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 511, 12)) - st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - final_update = None - symbol = pyxb.binding.content.ElementUse(tcLoteRps._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'InscricaoMunicipal')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 512, 12)) - st_2 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_2) - final_update = None - symbol = pyxb.binding.content.ElementUse(tcLoteRps._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'QuantidadeRps')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 513, 12)) - st_3 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_3) - final_update = set() - symbol = pyxb.binding.content.ElementUse(tcLoteRps._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'ListaRps')), pyxb.utils.utility.Location('/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd', 514, 12)) - st_4 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_4) - transitions = [] - transitions.append(fac.Transition(st_1, [ - ])) - st_0._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_2, [ - ])) - st_1._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_3, [ - ])) - st_2._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_4, [ - ])) - st_3._set_transitionSet(transitions) - transitions = [] - st_4._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -tcLoteRps._Automaton = _BuildAutomaton_44() - diff --git a/PyNFSe/nfse/pr/curitiba/comunicacao.py b/PyNFSe/nfse/pr/curitiba/comunicacao.py deleted file mode 100755 index 6d0d0dc..0000000 --- a/PyNFSe/nfse/pr/curitiba/comunicacao.py +++ /dev/null @@ -1,31 +0,0 @@ -from PyNFSe.utils.cliente_comunicacao import ClienteComunicacao - - -class Comunicacao: - - def __init__(self, url_ambiente, certificado, producao): - self._cliente = ClienteComunicacao(url_ambiente, certificado, producao) - - def validar_xml(self, xml): - return self._cliente.service.ValidarXml(xml) - - def consultar_nfse(self, xml): - return self._cliente.service.RecepcionarXml('ConsultarNfse', xml) - - def consultar_nfse_por_rps(self, xml): - return self._cliente.service.RecepcionarXml('ConsultarNfsePorRps', xml) - - def consultar_situacao_lote_rps(self, xml): - return self._cliente.service.RecepcionarXml('ConsultarSituacaoLoteRps', xml) - - def consultar_lote_rps(self, xml): - return self._cliente.service.RecepcionarXml('ConsultarLoteRps', xml) - - def recepcionar_lote_rps(self, xml): - return self._cliente.service.RecepcionarXml('RecepcionarLoteRps', xml) - - def cancelar_nfse(self, xml): - return self._cliente.service.RecepcionarXml('CancelarNfse', xml) - - def recepcionar_xml(self, metodo, xml): - return self._cliente.service.RecepcionarXml(metodo, xml) diff --git a/PyNFSe/nfse/pr/curitiba/serializacao.py b/PyNFSe/nfse/pr/curitiba/serializacao.py deleted file mode 100755 index c08f734..0000000 --- a/PyNFSe/nfse/pr/curitiba/serializacao.py +++ /dev/null @@ -1,228 +0,0 @@ -from pyxb import BIND - -from PyNFSe.nfse.pr.curitiba import _schema as nfse_schema -from PyNFSe.utils.entidades import Prestador, Tomador, Servico, RPS, LoteRPS, PedidoCancelamentoNFSe - - -def consulta_nfse_por_numero(prestador, numero_nfse): - - consulta = nfse_schema.ConsultarNfseEnvio() - consulta.Prestador = _serial_prestador(prestador) - - consulta.NumeroNfse = numero_nfse - - xml = consulta.toxml(element_name='ConsultarNfseEnvio') - xml = _limpeza_xml(xml) - - return xml - - -def consulta_nfse_por_data(prestador, data_inicial, data_final): - - consulta = nfse_schema.ConsultarNfseEnvio() - consulta.Prestador = _serial_prestador(prestador) - - consulta.PeriodoEmissao = BIND() - - consulta.PeriodoEmissao.DataInicial = data_inicial - consulta.PeriodoEmissao.DataFinal = data_final - - xml = consulta.toxml() - xml = _limpeza_xml(xml) - - return xml - - -def consulta_nfse_por_rps(dict_rps): - rps = RPS(**dict_rps) - id_rps = nfse_schema.tcIdentificacaoRps() - id_rps.Numero = rps.numero - id_rps.Serie = rps.serie - id_rps.Tipo = rps.tipo - - id_prestador = _serial_prestador(rps.prestador) - - consulta = nfse_schema.ConsultarNfseRpsEnvio() - consulta.IdentificacaoRps = id_rps - consulta.Prestador = id_prestador - - xml = consulta.toxml() - xml = _limpeza_xml(xml) - - return xml - - -def consulta_situacao_lote_rps(prestador, protocolo): - - consulta = nfse_schema.ConsultarSituacaoLoteRpsEnvio() - consulta.Prestador = _serial_prestador(prestador) - consulta.Protocolo = protocolo - - xml = consulta.toxml() - xml = _limpeza_xml(xml) - - return xml - - -def consulta_lote_rps(prestador, protocolo): - - consulta = nfse_schema.ConsultarLoteRpsEnvio() - consulta.Prestador = _serial_prestador(prestador) - consulta.Protocolo = protocolo - - xml = consulta.toxml() - xml = _limpeza_xml(xml) - - return xml - - -def envio_lote_rps(dict_lote_rps): - lote_rps = LoteRPS(**dict_lote_rps) - - serial_lote_rps = nfse_schema.tcLoteRps() - serial_lote_rps.NumeroLote = lote_rps.numero_lote - serial_lote_rps.id = lote_rps.identificador - serial_lote_rps.Cnpj = lote_rps.cnpj - serial_lote_rps.InscricaoMunicipal = lote_rps.inscricao_municipal - serial_lote_rps.QuantidadeRps = len(lote_rps.lista_rps) - serial_lote_rps.ListaRps = BIND() - for rps in lote_rps.lista_rps: - serial_lote_rps.ListaRps.append(_serial_rps(rps)) - - serial_enviar_lote = nfse_schema.EnviarLoteRpsEnvio() - serial_enviar_lote.LoteRps = serial_lote_rps - - xml = serial_enviar_lote.toxml() - xml = _limpeza_xml(xml) - - return xml - - -def cancela_nfse(dict_pedido_cancelamento_nfse): - pedido_cancelamento_nfse = PedidoCancelamentoNFSe(**dict_pedido_cancelamento_nfse) - - id_nfse = nfse_schema.tcIdentificacaoNfse() - id_nfse.Numero = pedido_cancelamento_nfse.numero_nota - id_nfse.Cnpj = pedido_cancelamento_nfse.prestador['cnpj'] - id_nfse.InscricaoMunicipal = pedido_cancelamento_nfse.prestador['inscricao_municipal'] - id_nfse.CodigoMunicipio = pedido_cancelamento_nfse.codigo_municipio - - info_pedido = nfse_schema.tcInfPedidoCancelamento() - info_pedido.IdentificacaoNfse = id_nfse - info_pedido.id = pedido_cancelamento_nfse.identificador - info_pedido.CodigoCancelamento = pedido_cancelamento_nfse.codigo_cancelamento - - pedido = nfse_schema.tcPedidoCancelamento() - pedido.InfPedidoCancelamento = info_pedido - - cancelar = nfse_schema.CancelarNfseEnvio() - cancelar.Pedido = pedido - - xml = cancelar.toxml() - xml = _limpeza_xml(xml) - - return xml - - -def _serial_prestador(dict_prestador): - prestador = Prestador(**dict_prestador) - - id_prestador = nfse_schema.tcIdentificacaoPrestador() - id_prestador.Cnpj = prestador.cnpj - id_prestador.InscricaoMunicipal = prestador.inscricao_municipal - - return id_prestador - - -def _serial_tomador(dict_tomador): - tomador = Tomador(**dict_tomador) - - endereco_tomador = nfse_schema.tcEndereco() - endereco_tomador.Endereco = tomador.endereco - endereco_tomador.Complemento = tomador.endereco_complemento if tomador.endereco_complemento else None - endereco_tomador.Numero = tomador.endereco_numero - endereco_tomador.Bairro = tomador.bairro - endereco_tomador.CodigoMunicipio = tomador.codigo_municipio if tomador.codigo_municipio else None - endereco_tomador.Uf = tomador.uf - endereco_tomador.Cep = tomador.cep - - id_tomador = nfse_schema.tcIdentificacaoTomador() - id_tomador.CpfCnpj = tomador.numero_documento - id_tomador.InscricaoMunicipal = tomador.inscricao_municipal if tomador.inscricao_municipal else None - - serial_tomador = nfse_schema.tcDadosTomador() - serial_tomador.IdentificacaoTomador = id_tomador - serial_tomador.RazaoSocial = tomador.razao_social - serial_tomador.Endereco = endereco_tomador - - if tomador.telefone or tomador.email: - serial_tomador.Contato = nfse_schema.tcContato() - serial_tomador.Contato.Telefone = tomador.telefone if tomador.telefone else None - serial_tomador.Contato.Email = tomador.email if tomador.email else None - - return serial_tomador - - -def _serial_servico(dict_servico): - servico = Servico(**dict_servico) - - valores_servico = nfse_schema.tcValores() - valores_servico.ValorServicos = servico.valor_servico - valores_servico.BaseCalculo = servico.base_calculo - valores_servico.IssRetido = servico.iss_retido - valores_servico.ValorLiquidoNfse = servico.valor_liquido - valores_servico.ValorDeducoes = servico.valor_deducoes if servico.valor_deducoes else None - valores_servico.ValorPis = servico.valor_pis if servico.valor_pis else None - valores_servico.ValorCofins = servico.valor_cofins if servico.valor_cofins else None - valores_servico.ValorInss = servico.valor_inss if servico.valor_inss else None - valores_servico.ValorIr = servico.valor_ir if servico.valor_ir else None - valores_servico.ValorCsll = servico.valor_csll if servico.valor_csll else None - valores_servico.ValorIss = servico.valor_iss if servico.valor_iss else None - valores_servico.ValorIssRetido = servico.valor_iss_retido if servico.valor_iss_retido else None - valores_servico.OutrasRetencoes = servico.outras_retencoes if servico.outras_retencoes else None - valores_servico.Aliquota = servico.aliquota if servico.aliquota else None - valores_servico.DescontoIncondicionado = servico.desconto_incondicionado if servico.desconto_incondicionado else None - valores_servico.DescontoCondicionado = servico.desconto_condicionado if servico.desconto_condicionado else None - - serial_servico = nfse_schema.tcDadosServico() - serial_servico.Valores = valores_servico - serial_servico.ItemListaServico = servico.item_lista - serial_servico.Discriminacao = servico.discriminacao - serial_servico.CodigoMunicipio = servico.codigo_municipio - serial_servico.CodigoCnae = servico.codigo_cnae if servico.codigo_cnae else None - serial_servico.CodigoTributacaoMunicipio = servico.codigo_tributacao_municipio if servico.codigo_tributacao_municipio else None - - return serial_servico - - -def _serial_rps(dict_rps): - rps = RPS(**dict_rps) - - id_rps = nfse_schema.tcIdentificacaoRps() - id_rps.Numero = rps.numero - id_rps.Serie = rps.serie - id_rps.Tipo = rps.tipo - - inf_rps = nfse_schema.tcInfRps() - inf_rps.IdentificacaoRps = id_rps - inf_rps.DataEmissao = rps.data_emissao.strftime('%Y-%m-%dT%H:%M:%S') - inf_rps.NaturezaOperacao = rps.natureza_operacao - inf_rps.RegimeEspecialTributacao = rps.regime_especial if rps.regime_especial else None - inf_rps.OptanteSimplesNacional = rps.simples - inf_rps.IncentivadorCultural = rps.incentivo - inf_rps.Status = 1 - inf_rps.Servico = _serial_servico(rps.servico) - inf_rps.Prestador = _serial_prestador(rps.prestador) - inf_rps.Tomador = _serial_tomador(rps.tomador) - inf_rps.id = rps.identificador - - serial_rps = nfse_schema.tcRps() - serial_rps.InfRps = inf_rps - - return serial_rps - - -def _limpeza_xml(xml): - - return xml.replace('ns1:', '').replace(':ns1', '').replace('', - '') diff --git a/PyNFSe/utils/assinatura.py b/PyNFSe/utils/assinatura.py deleted file mode 100755 index 874caf9..0000000 --- a/PyNFSe/utils/assinatura.py +++ /dev/null @@ -1,70 +0,0 @@ -from lxml import etree -from signxml import XMLSigner, methods - - -class Assinatura: - - def __init__(self, certificado, chave, namespace): - - self.cert = certificado - self.key = chave - self.NAMESPACE = namespace - - self._assinador = XMLSigner( - method=methods.detached, - signature_algorithm="rsa-sha1", - digest_algorithm='sha1', - c14n_algorithm='http://www.w3.org/TR/2001/REC-xml-c14n-20010315' - ) - - def assinar_lote_rps(self, xml_lote_rps): - - root = etree.fromstring(xml_lote_rps.encode()) - lista_rps = root.findall('./{0}LoteRps/{0}ListaRps/*'.format(self.NAMESPACE)) - - for rps in lista_rps: - infrps = rps.find('{0}InfRps'.format(self.NAMESPACE)) - reference_uri = infrps.attrib.get('id') - assinatura = self._assinatura_xml(rps, reference_uri) - - rps.append(assinatura) - - lote_rps = root.find('{0}LoteRps'.format(self.NAMESPACE)) - reference_uri = lote_rps.attrib.get('id') - assinatura = self._assinatura_xml(root, reference_uri) - - root.append(assinatura) - - xml_lote_rps_assinado = etree.tostring(root, encoding='utf-8').decode() - - xml_lote_rps_assinado = xml_lote_rps_assinado.replace('ds:', '').replace(':ds', '') - - return xml_lote_rps_assinado - - def assinar_cancelamento_nfse(self, xml_cancelamento_nfse): - - root = etree.fromstring(xml_cancelamento_nfse.encode()) - pedido = root.find('{0}Pedido'.format(self.NAMESPACE)) - inf_pedido = pedido.find('{0}InfPedidoCancelamento'.format(self.NAMESPACE)) - reference_uri = inf_pedido.attrib.get('id') - - assinatura = self._assinatura_xml(pedido, reference_uri) - - pedido.append(assinatura) - - xml_pedido_cancelamento_assinado = etree.tostring(root, encoding='utf-8').decode() - - xml_pedido_cancelamento_assinado = xml_pedido_cancelamento_assinado.replace('ds:', '').replace(':ds', '') - - return xml_pedido_cancelamento_assinado - - def _assinatura_xml(self, data, reference_uri): - - assinatura = self._assinador.sign( - data=data, - key=self.key, - cert=self.cert, - reference_uri='#{}'.format(reference_uri) - ) - - return assinatura diff --git a/PyNFSe/utils/certificado.py b/PyNFSe/utils/certificado.py deleted file mode 100755 index 506ef3f..0000000 --- a/PyNFSe/utils/certificado.py +++ /dev/null @@ -1,37 +0,0 @@ -from OpenSSL import crypto -from tempfile import NamedTemporaryFile - - -def certificado(certificado_pfx, senha): - with open(certificado_pfx, 'rb') as cert_pfx: - pkcs12 = crypto.load_pkcs12(cert_pfx.read(), senha.encode()) - - cert = crypto.dump_certificate(crypto.FILETYPE_PEM, pkcs12.get_certificate()) - key = crypto.dump_privatekey(crypto.FILETYPE_PEM, pkcs12.get_privatekey()) - - cert_ca = b'' - - if pkcs12.get_ca_certificates(): - for ca in pkcs12.get_ca_certificates(): - cert_ca = crypto.dump_certificate(crypto.FILETYPE_PEM, ca) + cert_ca - - cert_ca = cert + cert_ca - - cert_file = _cria_arquivo_temp(cert_ca) - key_file = _cria_arquivo_temp(key) - - certificado = [ - cert_ca, - cert_file, - key, - key_file - ] - - return certificado - -def _cria_arquivo_temp(str_arquivo): - arquivo = NamedTemporaryFile() - arquivo.write(str_arquivo) - arquivo.seek(0) - - return arquivo \ No newline at end of file diff --git a/PyNFSe/utils/cliente_comunicacao.py b/PyNFSe/utils/cliente_comunicacao.py deleted file mode 100755 index e3038fe..0000000 --- a/PyNFSe/utils/cliente_comunicacao.py +++ /dev/null @@ -1,14 +0,0 @@ -from requests import Session -from zeep import Client -from zeep.transports import Transport - - -class ClienteComunicacao(Client): - - def __init__(self, url_ambiente , certificado, producao): - verify = producao - session = Session() - session.cert = certificado - session.verify = verify - - super(ClienteComunicacao, self).__init__(url_ambiente, transport=Transport(session=session)) diff --git a/PyNFSe/utils/entidades/__init__.py b/PyNFSe/utils/entidades/__init__.py deleted file mode 100755 index 6302666..0000000 --- a/PyNFSe/utils/entidades/__init__.py +++ /dev/null @@ -1,6 +0,0 @@ -from .lote_rps import LoteRPS -from .servico import Servico -from .tomador import Tomador -from .prestador import Prestador -from .rps import RPS -from .pedido_cancelamento import PedidoCancelamentoNFSe diff --git a/PyNFSe/utils/entidades/base.py b/PyNFSe/utils/entidades/base.py deleted file mode 100755 index 2c8e968..0000000 --- a/PyNFSe/utils/entidades/base.py +++ /dev/null @@ -1,5 +0,0 @@ -class Entidade(object): - - def __init__(self, **kwargs): - for key, value in kwargs.items(): - setattr(self, key, value) diff --git a/PyNFSe/utils/entidades/lote_rps.py b/PyNFSe/utils/entidades/lote_rps.py deleted file mode 100755 index e849a95..0000000 --- a/PyNFSe/utils/entidades/lote_rps.py +++ /dev/null @@ -1,9 +0,0 @@ -from .base import Entidade - - -class LoteRPS(Entidade): - identificador = str() - numero_lote = int() - cnpj = str() - inscricao_municipal = str() - lista_rps = [] \ No newline at end of file diff --git a/PyNFSe/utils/entidades/pedido_cancelamento.py b/PyNFSe/utils/entidades/pedido_cancelamento.py deleted file mode 100755 index 1b15659..0000000 --- a/PyNFSe/utils/entidades/pedido_cancelamento.py +++ /dev/null @@ -1,10 +0,0 @@ -from .base import Entidade - - -class PedidoCancelamentoNFSe(Entidade): - - identificador = str() - prestador = None - numero_nota = int() - codigo_municipio = str() - codigo_cancelamento = str() diff --git a/PyNFSe/utils/entidades/prestador.py b/PyNFSe/utils/entidades/prestador.py deleted file mode 100755 index 51b2e52..0000000 --- a/PyNFSe/utils/entidades/prestador.py +++ /dev/null @@ -1,7 +0,0 @@ -from .base import Entidade - - -class Prestador(Entidade): - - cnpj = str() - inscricao_municipal = str() \ No newline at end of file diff --git a/PyNFSe/utils/entidades/rps.py b/PyNFSe/utils/entidades/rps.py deleted file mode 100755 index b61c3a6..0000000 --- a/PyNFSe/utils/entidades/rps.py +++ /dev/null @@ -1,16 +0,0 @@ -from .base import Entidade - - -class RPS(Entidade): - identificador = str() - data_emissao = None - servico = None - prestador = None - tomador = None - simples = int() - incentivo = int() - numero = int() - serie = str() - tipo = str() - natureza_operacao = int() - regime_especial = int() \ No newline at end of file diff --git a/PyNFSe/utils/entidades/servico.py b/PyNFSe/utils/entidades/servico.py deleted file mode 100755 index a53a140..0000000 --- a/PyNFSe/utils/entidades/servico.py +++ /dev/null @@ -1,53 +0,0 @@ -from .base import Entidade -from decimal import Decimal - - -class Servico(Entidade): - - valor_servico = Decimal() - iss_retido = int() # 1 - Sim, 2 - Não - item_lista = str() - discriminacao = str() - codigo_municipio = str() - codigo_cnae = int() - codigo_tributacao_municipio = str() - - valor_deducoes = Decimal() - valor_pis = Decimal() - valor_cofins = Decimal() - valor_inss = Decimal() - valor_ir = Decimal() - valor_csll = Decimal() - outras_retencoes = Decimal() - aliquota = Decimal() - desconto_incondicionado = Decimal() - desconto_condicionado = Decimal() - - def __init__(self, **kwargs): - - super(Servico, self).__init__(**kwargs) - - self.base_calculo = self._calcular_base_calculo() - self.valor_iss = self._calcular_iss() - self.valor_iss_retido = Decimal() if self.iss_retido == 2 else self.valor_iss - self.valor_liquido = self._calcular_valor_liquido() - - def _calcular_base_calculo(self): - - base_calculo = self.valor_servico - self.valor_deducoes - self.desconto_incondicionado - - return base_calculo - - def _calcular_valor_liquido(self): - - valor_liquido = self.valor_servico - self.valor_pis - self.valor_cofins - self.valor_inss -\ - self.valor_ir - self.valor_csll - self.outras_retencoes - self.valor_iss_retido -\ - self.desconto_incondicionado - self.desconto_condicionado - - return Decimal(valor_liquido) - - def _calcular_iss(self): - - valor_iss = self.base_calculo * self.aliquota - - return Decimal(valor_iss).quantize(Decimal(10) ** -2) \ No newline at end of file diff --git a/PyNFSe/utils/entidades/tomador.py b/PyNFSe/utils/entidades/tomador.py deleted file mode 100755 index 6620d43..0000000 --- a/PyNFSe/utils/entidades/tomador.py +++ /dev/null @@ -1,21 +0,0 @@ -from .base import Entidade - - -class Tomador(Entidade): - - razao_social = str() - - tipo_documento = 'CNPJ' - numero_documento = str() - inscricao_municipal = str() - - endereco = str() - endereco_numero = str() - endereco_complemento = str() - bairro = str() - codigo_municipio = str() - uf = str() - cep = str() - - telefone = str() - email = str() \ No newline at end of file diff --git a/README.md b/README.md index 9698283..cd66eab 100755 --- a/README.md +++ b/README.md @@ -1,14 +1,16 @@ # PyNFSe -[![Code Health](https://landscape.io/github/marcelobelli/PyNFSe/master/landscape.svg?style=flat)](https://landscape.io/github/marcelobelli/PyNFSe/master) [![Code Climate](https://codeclimate.com/github/marcelobelli/PyNFSe/badges/gpa.svg)](https://codeclimate.com/github/marcelobelli/PyNFSe) [![Build Status](https://travis-ci.org/marcelobelli/PyNFSe.svg?branch=master)](https://travis-ci.org/marcelobelli/PyNFSe) [![Coverage Status](https://coveralls.io/repos/github/marcelobelli/PyNFSe/badge.svg?branch=master)](https://coveralls.io/github/marcelobelli/PyNFSe?branch=master) -A PyNFSe realiza todos os passos para quem trabalha com NFS-e: -* Cria os XMLs de RPS (Recibo Provisório de Serviço) e dos Lotes RPS. Tudo devidamente assinado :) -* Realiza a comunicação com o webservice da respectiva prefeitura, enviando lotes RPSs, consultando e cancelando NFS-es... +A biblioteca PyNFSe funciona como um facilitador para os desenvolvedores que precisam gerir a emissão de Nota Fiscal de Serviços por meio eletrônico. As funcionalidades desta biblioteca são: -Enfim, a PyNFSe faz todo o trabalho duro :) +* Criação dos XMLs de RPS (Recibo Provisório de Serviço) +* Criação dos XML dos Lotes RPS. +* Envio dos lotes de RPSs, realizando a comunicação com o webservice da respectiva prefeitura +* Consulta e Cancelamento de NFS-es emitidas + +Além disso a PyNFSe possui uma CLI para operação via linha de comando. ## Cidades Atendidas @@ -28,8 +30,13 @@ cd PyNFSe pip install -r requirements.txt ``` +## Problemas + +* Descobrir o problema de conexão quando atualiza o requests +para versões superiores a 2.11.1 e o cryptography está instalado + ## Roadmap * Tornar disponível no PyPI * Adicionar novas cidades -* Documentação \ No newline at end of file +* Documentação diff --git a/docs/XSD/PR/Curitiba/nfse.xsd b/docs/XSD/PR/Curitiba/nfse.xsd index 6f9b5b0..3a826b9 100755 --- a/docs/XSD/PR/Curitiba/nfse.xsd +++ b/docs/XSD/PR/Curitiba/nfse.xsd @@ -1,7 +1,7 @@ - @@ -230,7 +230,7 @@ - + diff --git a/docs/XSD/PR/Curitiba/xmldsig-core-schema20020212.xsd b/docs/XSD/PR/Curitiba/xmldsig-core-schema20020212.xsd index 2eed599..e6a8a22 100755 --- a/docs/XSD/PR/Curitiba/xmldsig-core-schema20020212.xsd +++ b/docs/XSD/PR/Curitiba/xmldsig-core-schema20020212.xsd @@ -18,7 +18,7 @@ @@ -40,16 +40,16 @@ Link: - - - - - - + + + + + + - + @@ -62,21 +62,21 @@ Link: - - - - - - + + + + + + - + - + @@ -86,48 +86,48 @@ Link: - + - - - - + + + + - - - + + + - + - + - + - + - + - - + + @@ -139,26 +139,26 @@ Link: - + - - - - - - + + + + + + - + - + @@ -167,18 +167,18 @@ Link: - + - - + + - + @@ -192,10 +192,10 @@ Link: - - - - + + + + @@ -203,17 +203,17 @@ Link: - - + + - - + + - + @@ -224,13 +224,13 @@ Link: - + - + @@ -238,40 +238,40 @@ Link: - + - + - + - + - + - + - + - + - + - + - - + + @@ -304,10 +304,10 @@ Link: - - + + - + diff --git a/poetry.lock b/poetry.lock new file mode 100644 index 0000000..b22a3f4 --- /dev/null +++ b/poetry.lock @@ -0,0 +1,1235 @@ +[[package]] +category = "main" +description = "A small Python module for determining appropriate platform-specific dirs, e.g. a \"user data dir\"." +name = "appdirs" +optional = false +python-versions = "*" +version = "1.4.3" + +[[package]] +category = "dev" +description = "Disable App Nap on OS X 10.9" +marker = "sys_platform == \"darwin\"" +name = "appnope" +optional = false +python-versions = "*" +version = "0.1.0" + +[[package]] +category = "main" +description = "Fast ASN.1 parser and serializer with definitions for private keys, public keys, certificates, CRL, OCSP, CMS, PKCS#3, PKCS#7, PKCS#8, PKCS#12, PKCS#5, X.509 and TSP" +name = "asn1crypto" +optional = false +python-versions = "*" +version = "1.2.0" + +[[package]] +category = "dev" +description = "A few extensions to pyyaml." +name = "aspy.yaml" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" +version = "1.3.0" + +[package.dependencies] +pyyaml = "*" + +[[package]] +category = "dev" +description = "Atomic file writes." +marker = "sys_platform == \"win32\"" +name = "atomicwrites" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" +version = "1.3.0" + +[[package]] +category = "main" +description = "Classes Without Boilerplate" +name = "attrs" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" +version = "19.3.0" + +[package.extras] +azure-pipelines = ["coverage", "hypothesis", "pympler", "pytest (>=4.3.0)", "six", "zope.interface", "pytest-azurepipelines"] +dev = ["coverage", "hypothesis", "pympler", "pytest (>=4.3.0)", "six", "zope.interface", "sphinx", "pre-commit"] +docs = ["sphinx", "zope.interface"] +tests = ["coverage", "hypothesis", "pympler", "pytest (>=4.3.0)", "six", "zope.interface"] + +[[package]] +category = "dev" +description = "Specifications for callback functions passed in to an API" +name = "backcall" +optional = false +python-versions = "*" +version = "0.1.0" + +[[package]] +category = "dev" +description = "The uncompromising code formatter." +name = "black" +optional = false +python-versions = ">=3.6" +version = "19.10b0" + +[package.dependencies] +appdirs = "*" +attrs = ">=18.1.0" +click = ">=6.5" +pathspec = ">=0.6,<1" +regex = "*" +toml = ">=0.9.4" +typed-ast = ">=1.4.0" + +[package.extras] +d = ["aiohttp (>=3.3.2)", "aiohttp-cors"] + +[[package]] +category = "main" +description = "A decorator for caching properties in classes." +name = "cached-property" +optional = false +python-versions = "*" +version = "1.5.1" + +[[package]] +category = "main" +description = "Python package for providing Mozilla's CA Bundle." +name = "certifi" +optional = false +python-versions = "*" +version = "2019.11.28" + +[[package]] +category = "main" +description = "Foreign Function Interface for Python calling C code." +name = "cffi" +optional = false +python-versions = "*" +version = "1.13.2" + +[package.dependencies] +pycparser = "*" + +[[package]] +category = "dev" +description = "Validate configuration and produce human readable error messages." +name = "cfgv" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" +version = "2.0.1" + +[package.dependencies] +six = "*" + +[[package]] +category = "main" +description = "Universal encoding detector for Python 2 and 3" +name = "chardet" +optional = false +python-versions = "*" +version = "3.0.4" + +[[package]] +category = "dev" +description = "Composable command line interface toolkit" +name = "click" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" +version = "7.0" + +[[package]] +category = "dev" +description = "Cross-platform colored terminal text." +marker = "sys_platform == \"win32\"" +name = "colorama" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" +version = "0.4.3" + +[[package]] +category = "dev" +description = "Code coverage measurement for Python" +name = "coverage" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <4" +version = "5.0.1" + +[package.extras] +toml = ["toml"] + +[[package]] +category = "main" +description = "cryptography is a package which provides cryptographic recipes and primitives to Python developers." +name = "cryptography" +optional = false +python-versions = ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*" +version = "2.8" + +[package.dependencies] +cffi = ">=1.8,<1.11.3 || >1.11.3" +six = ">=1.4.1" + +[package.extras] +docs = ["sphinx (>=1.6.5,<1.8.0 || >1.8.0)", "sphinx-rtd-theme"] +docstest = ["doc8", "pyenchant (>=1.6.11)", "twine (>=1.12.0)", "sphinxcontrib-spelling (>=4.0.1)"] +idna = ["idna (>=2.1)"] +pep8test = ["flake8", "flake8-import-order", "pep8-naming"] +test = ["pytest (>=3.6.0,<3.9.0 || >3.9.0,<3.9.1 || >3.9.1,<3.9.2 || >3.9.2)", "pretend", "iso8601", "pytz", "hypothesis (>=1.11.4,<3.79.2 || >3.79.2)"] + +[[package]] +category = "dev" +description = "Decorators for Humans" +name = "decorator" +optional = false +python-versions = ">=2.6, !=3.0.*, !=3.1.*" +version = "4.4.1" + +[[package]] +category = "main" +description = "XML bomb protection for Python stdlib modules" +name = "defusedxml" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" +version = "0.6.0" + +[[package]] +category = "main" +description = "Python 2 to the power of 3. A lightweight porting helper library." +name = "eight" +optional = false +python-versions = "*" +version = "0.4.2" + +[package.dependencies] +future = ">=0.16,<0.17" + +[[package]] +category = "dev" +description = "A versatile test fixtures replacement based on thoughtbot's factory_bot for Ruby." +name = "factory-boy" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" +version = "2.12.0" + +[package.dependencies] +Faker = ">=0.7.0" + +[[package]] +category = "dev" +description = "Faker is a Python package that generates fake data for you." +name = "faker" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" +version = "3.0.0" + +[package.dependencies] +python-dateutil = ">=2.4" +six = ">=1.10" +text-unidecode = "1.3" + +[[package]] +category = "main" +description = "Clean single-source support for Python 3 and 2" +name = "future" +optional = false +python-versions = "*" +version = "0.16.0" + +[[package]] +category = "dev" +description = "File identification library for Python" +name = "identify" +optional = false +python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.7" +version = "1.4.9" + +[package.extras] +license = ["editdistance"] + +[[package]] +category = "main" +description = "Internationalized Domain Names in Applications (IDNA)" +name = "idna" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" +version = "2.8" + +[[package]] +category = "dev" +description = "Read metadata from Python packages" +marker = "python_version < \"3.8\"" +name = "importlib-metadata" +optional = false +python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7" +version = "1.3.0" + +[package.dependencies] +zipp = ">=0.5" + +[package.extras] +docs = ["sphinx", "rst.linker"] +testing = ["packaging", "importlib-resources"] + +[[package]] +category = "dev" +description = "IPython: Productive Interactive Computing" +name = "ipython" +optional = false +python-versions = ">=3.6" +version = "7.11.1" + +[package.dependencies] +appnope = "*" +backcall = "*" +colorama = "*" +decorator = "*" +jedi = ">=0.10" +pexpect = "*" +pickleshare = "*" +prompt-toolkit = ">=2.0.0,<3.0.0 || >3.0.0,<3.0.1 || >3.0.1,<3.1.0" +pygments = "*" +setuptools = ">=18.5" +traitlets = ">=4.2" + +[package.extras] +all = ["ipywidgets", "ipyparallel", "qtconsole", "ipykernel", "nbconvert", "notebook", "nbformat", "testpath", "pygments", "requests", "numpy (>=1.14)", "nose (>=0.10.1)", "Sphinx (>=1.3)"] +doc = ["Sphinx (>=1.3)"] +kernel = ["ipykernel"] +nbconvert = ["nbconvert"] +nbformat = ["nbformat"] +notebook = ["notebook", "ipywidgets"] +parallel = ["ipyparallel"] +qtconsole = ["qtconsole"] +test = ["nose (>=0.10.1)", "requests", "testpath", "pygments", "nbformat", "ipykernel", "numpy (>=1.14)"] + +[[package]] +category = "dev" +description = "Vestigial utilities from IPython" +name = "ipython-genutils" +optional = false +python-versions = "*" +version = "0.2.0" + +[[package]] +category = "main" +description = "An ISO 8601 date/time/duration parser and formatter" +name = "isodate" +optional = false +python-versions = "*" +version = "0.6.0" + +[package.dependencies] +six = "*" + +[[package]] +category = "dev" +description = "A Python utility / library to sort Python imports." +name = "isort" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" +version = "4.3.21" + +[package.extras] +pipfile = ["pipreqs", "requirementslib"] +pyproject = ["toml"] +requirements = ["pipreqs", "pip-api"] +xdg_home = ["appdirs (>=1.4.0)"] + +[[package]] +category = "dev" +description = "An autocompletion tool for Python that can be used for text editors." +name = "jedi" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" +version = "0.15.2" + +[package.dependencies] +parso = ">=0.5.2" + +[package.extras] +testing = ["colorama (0.4.1)", "docopt", "pytest (>=3.9.0,<5.0.0)"] + +[[package]] +category = "main" +description = "Powerful and Pythonic XML processing library combining libxml2/libxslt with the ElementTree API." +name = "lxml" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, != 3.4.*" +version = "4.4.1" + +[package.extras] +cssselect = ["cssselect (>=0.7)"] +html5 = ["html5lib"] +htmlsoup = ["beautifulsoup4"] +source = ["Cython (>=0.29.7)"] + +[[package]] +category = "dev" +description = "More routines for operating on iterables, beyond itertools" +name = "more-itertools" +optional = false +python-versions = ">=3.5" +version = "8.0.2" + +[[package]] +category = "dev" +description = "Node.js virtual environment builder" +name = "nodeenv" +optional = false +python-versions = "*" +version = "1.3.3" + +[[package]] +category = "dev" +description = "Core utilities for Python packages" +name = "packaging" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" +version = "19.2" + +[package.dependencies] +pyparsing = ">=2.0.2" +six = "*" + +[[package]] +category = "dev" +description = "A Python Parser" +name = "parso" +optional = false +python-versions = "*" +version = "0.5.2" + +[package.extras] +testing = ["docopt", "pytest (>=3.0.7)"] + +[[package]] +category = "dev" +description = "Utility library for gitignore style pattern matching of file paths." +name = "pathspec" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" +version = "0.7.0" + +[[package]] +category = "dev" +description = "Pexpect allows easy control of interactive console applications." +marker = "sys_platform != \"win32\"" +name = "pexpect" +optional = false +python-versions = "*" +version = "4.7.0" + +[package.dependencies] +ptyprocess = ">=0.5" + +[[package]] +category = "dev" +description = "Tiny 'shelve'-like database with concurrency support" +name = "pickleshare" +optional = false +python-versions = "*" +version = "0.7.5" + +[[package]] +category = "dev" +description = "plugin and hook calling mechanisms for python" +name = "pluggy" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" +version = "0.13.1" + +[package.dependencies] +[package.dependencies.importlib-metadata] +python = "<3.8" +version = ">=0.12" + +[package.extras] +dev = ["pre-commit", "tox"] + +[[package]] +category = "dev" +description = "A framework for managing and maintaining multi-language pre-commit hooks." +name = "pre-commit" +optional = false +python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7" +version = "1.21.0" + +[package.dependencies] +"aspy.yaml" = "*" +cfgv = ">=2.0.0" +identify = ">=1.0.0" +nodeenv = ">=0.11.1" +pyyaml = "*" +six = "*" +toml = "*" +virtualenv = ">=15.2" + +[package.dependencies.importlib-metadata] +python = "<3.8" +version = "*" + +[[package]] +category = "dev" +description = "Library for building powerful interactive command lines in Python" +name = "prompt-toolkit" +optional = false +python-versions = ">=3.6" +version = "3.0.2" + +[package.dependencies] +wcwidth = "*" + +[[package]] +category = "dev" +description = "Run a subprocess in a pseudo terminal" +marker = "sys_platform != \"win32\"" +name = "ptyprocess" +optional = false +python-versions = "*" +version = "0.6.0" + +[[package]] +category = "dev" +description = "library with cross-python path, ini-parsing, io, code, log facilities" +name = "py" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" +version = "1.8.1" + +[[package]] +category = "main" +description = "C parser in Python" +name = "pycparser" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" +version = "2.19" + +[[package]] +category = "main" +description = "Data validation and settings management using python 3.6 type hinting" +name = "pydantic" +optional = false +python-versions = ">=3.6" +version = "1.0" + +[package.extras] +email = ["email-validator (>=1.0.3)"] +typing_extensions = ["typing-extensions (>=3.7.2)"] + +[[package]] +category = "dev" +description = "Pygments is a syntax highlighting package written in Python." +name = "pygments" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" +version = "2.5.2" + +[[package]] +category = "main" +description = "Python wrapper module around the OpenSSL library" +name = "pyopenssl" +optional = false +python-versions = "*" +version = "18.0.0" + +[package.dependencies] +cryptography = ">=2.2.1" +six = ">=1.5.2" + +[package.extras] +docs = ["sphinx", "sphinx-rtd-theme"] +test = ["flaky", "pretend", "pytest (>=3.0.1)"] + +[[package]] +category = "dev" +description = "Python parsing module" +name = "pyparsing" +optional = false +python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*" +version = "2.4.6" + +[[package]] +category = "dev" +description = "pytest: simple powerful testing with Python" +name = "pytest" +optional = false +python-versions = ">=3.5" +version = "5.3.2" + +[package.dependencies] +atomicwrites = ">=1.0" +attrs = ">=17.4.0" +colorama = "*" +more-itertools = ">=4.0.0" +packaging = "*" +pluggy = ">=0.12,<1.0" +py = ">=1.5.0" +wcwidth = "*" + +[package.dependencies.importlib-metadata] +python = "<3.8" +version = ">=0.12" + +[package.extras] +testing = ["argcomplete", "hypothesis (>=3.56)", "mock", "nose", "requests", "xmlschema"] + +[[package]] +category = "dev" +description = "Pytest plugin for measuring coverage." +name = "pytest-cov" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" +version = "2.8.1" + +[package.dependencies] +coverage = ">=4.4" +pytest = ">=3.6" + +[package.extras] +testing = ["fields", "hunter", "process-tests (2.0.2)", "six", "virtualenv"] + +[[package]] +category = "dev" +description = "Extensions to the standard Python datetime module" +name = "python-dateutil" +optional = false +python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7" +version = "2.8.1" + +[package.dependencies] +six = ">=1.5" + +[[package]] +category = "main" +description = "World timezone definitions, modern and historical" +name = "pytz" +optional = false +python-versions = "*" +version = "2019.3" + +[[package]] +category = "main" +description = "Python XML Schema Bindings" +name = "pyxb" +optional = false +python-versions = "*" +version = "1.2.5" + +[[package]] +category = "dev" +description = "YAML parser and emitter for Python" +name = "pyyaml" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" +version = "5.2" + +[[package]] +category = "dev" +description = "Alternative regular expression module, to replace re." +name = "regex" +optional = false +python-versions = "*" +version = "2019.12.20" + +[[package]] +category = "main" +description = "Python HTTP for Humans." +name = "requests" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" +version = "2.22.0" + +[package.dependencies] +certifi = ">=2017.4.17" +chardet = ">=3.0.2,<3.1.0" +idna = ">=2.5,<2.9" +urllib3 = ">=1.21.1,<1.25.0 || >1.25.0,<1.25.1 || >1.25.1,<1.26" + +[package.extras] +security = ["pyOpenSSL (>=0.14)", "cryptography (>=1.3.4)", "idna (>=2.0.0)"] +socks = ["PySocks (>=1.5.6,<1.5.7 || >1.5.7)", "win-inet-pton"] + +[[package]] +category = "main" +description = "A utility belt for advanced users of python-requests" +name = "requests-toolbelt" +optional = false +python-versions = "*" +version = "0.9.1" + +[package.dependencies] +requests = ">=2.0.1,<3.0.0" + +[[package]] +category = "main" +description = "Python XML Signature library" +name = "signxml" +optional = false +python-versions = "*" +version = "2.6.0" + +[package.dependencies] +asn1crypto = ">=0.24.0" +certifi = ">=2018.1.18" +cryptography = ">=2.1.4,<3" +defusedxml = ">=0.5.0,<1" +eight = ">=0.4.2,<1" +lxml = ">=4.2.1,<5" +pyOpenSSL = ">=17.5.0,<19" + +[[package]] +category = "main" +description = "Python 2 and 3 compatibility utilities" +name = "six" +optional = false +python-versions = ">=2.6, !=3.0.*, !=3.1.*" +version = "1.13.0" + +[[package]] +category = "dev" +description = "The most basic Text::Unidecode port" +name = "text-unidecode" +optional = false +python-versions = "*" +version = "1.3" + +[[package]] +category = "dev" +description = "Python Library for Tom's Obvious, Minimal Language" +name = "toml" +optional = false +python-versions = "*" +version = "0.10.0" + +[[package]] +category = "dev" +description = "Traitlets Python config system" +name = "traitlets" +optional = false +python-versions = "*" +version = "4.3.3" + +[package.dependencies] +decorator = "*" +ipython-genutils = "*" +six = "*" + +[package.extras] +test = ["pytest", "mock"] + +[[package]] +category = "dev" +description = "a fork of Python 2 and 3 ast modules with type comment support" +name = "typed-ast" +optional = false +python-versions = "*" +version = "1.4.0" + +[[package]] +category = "main" +description = "HTTP library with thread-safe connection pooling, file post, and more." +name = "urllib3" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4" +version = "1.25.7" + +[package.extras] +brotli = ["brotlipy (>=0.6.0)"] +secure = ["pyOpenSSL (>=0.14)", "cryptography (>=1.3.4)", "idna (>=2.0.0)", "certifi", "ipaddress"] +socks = ["PySocks (>=1.5.6,<1.5.7 || >1.5.7,<2.0)"] + +[[package]] +category = "dev" +description = "Virtual Python Environment builder" +name = "virtualenv" +optional = false +python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.7" +version = "16.7.9" + +[package.extras] +docs = ["sphinx (>=1.8.0,<2)", "towncrier (>=18.5.0)", "sphinx-rtd-theme (>=0.4.2,<1)"] +testing = ["pytest (>=4.0.0,<5)", "coverage (>=4.5.0,<5)", "pytest-timeout (>=1.3.0,<2)", "six (>=1.10.0,<2)", "pytest-xdist", "pytest-localserver", "pypiserver", "mock", "xonsh"] + +[[package]] +category = "dev" +description = "Measures number of Terminal column cells of wide-character codes" +name = "wcwidth" +optional = false +python-versions = "*" +version = "0.1.8" + +[[package]] +category = "main" +description = "A modern/fast Python SOAP client based on lxml / requests" +name = "zeep" +optional = false +python-versions = "*" +version = "3.4.0" + +[package.dependencies] +appdirs = ">=1.4.0" +attrs = ">=17.2.0" +cached-property = ">=1.3.0" +defusedxml = ">=0.4.1" +isodate = ">=0.5.4" +lxml = ">=3.1.0" +pytz = "*" +requests = ">=2.7.0" +requests-toolbelt = ">=0.7.1" +six = ">=1.9.0" + +[package.extras] +async = ["aiohttp (>=1.0)"] +docs = ["sphinx (>=1.4.0)"] +test = ["freezegun (0.3.8)", "mock (2.0.0)", "pretend (1.0.8)", "pytest-cov (2.5.1)", "pytest (3.1.3)", "requests-mock (>=0.7.0)", "pytest-tornado (0.4.5)", "isort (4.2.15)", "flake8 (3.3.0)", "flake8-blind-except (0.1.1)", "flake8-debugger (1.4.0)", "flake8-imports (0.1.1)", "aioresponses (>=0.4.1)"] +tornado = ["tornado (>=4.0.2,<5)"] +xmlsec = ["xmlsec (>=0.6.1)"] + +[[package]] +category = "dev" +description = "Backport of pathlib-compatible object wrapper for zip files" +marker = "python_version < \"3.8\"" +name = "zipp" +optional = false +python-versions = ">=2.7" +version = "0.6.0" + +[package.dependencies] +more-itertools = "*" + +[package.extras] +docs = ["sphinx", "jaraco.packaging (>=3.2)", "rst.linker (>=1.9)"] +testing = ["pathlib2", "contextlib2", "unittest2"] + +[metadata] +content-hash = "8d0209df97df9c3c1578b18bd3debc748ee0e28db8ce0f0c9d0a952c402858d2" +python-versions = "^3.7" + +[metadata.files] +appdirs = [ + {file = "appdirs-1.4.3-py2.py3-none-any.whl", hash = "sha256:d8b24664561d0d34ddfaec54636d502d7cea6e29c3eaf68f3df6180863e2166e"}, + {file = "appdirs-1.4.3.tar.gz", hash = "sha256:9e5896d1372858f8dd3344faf4e5014d21849c756c8d5701f78f8a103b372d92"}, +] +appnope = [ + {file = "appnope-0.1.0-py2.py3-none-any.whl", hash = "sha256:5b26757dc6f79a3b7dc9fab95359328d5747fcb2409d331ea66d0272b90ab2a0"}, + {file = "appnope-0.1.0.tar.gz", hash = "sha256:8b995ffe925347a2138d7ac0fe77155e4311a0ea6d6da4f5128fe4b3cbe5ed71"}, +] +asn1crypto = [ + {file = "asn1crypto-1.2.0-py2.py3-none-any.whl", hash = "sha256:7bb1cc02a5620b3d72da4ba070bda2f44f0e61b44dee910a302eddff802b6fb5"}, + {file = "asn1crypto-1.2.0.tar.gz", hash = "sha256:87620880a477123e01177a1f73d0f327210b43a3cdbd714efcd2fa49a8d7b384"}, +] +"aspy.yaml" = [ + {file = "aspy.yaml-1.3.0-py2.py3-none-any.whl", hash = "sha256:463372c043f70160a9ec950c3f1e4c3a82db5fca01d334b6bc89c7164d744bdc"}, + {file = "aspy.yaml-1.3.0.tar.gz", hash = "sha256:e7c742382eff2caed61f87a39d13f99109088e5e93f04d76eb8d4b28aa143f45"}, +] +atomicwrites = [ + {file = "atomicwrites-1.3.0-py2.py3-none-any.whl", hash = "sha256:03472c30eb2c5d1ba9227e4c2ca66ab8287fbfbbda3888aa93dc2e28fc6811b4"}, + {file = "atomicwrites-1.3.0.tar.gz", hash = "sha256:75a9445bac02d8d058d5e1fe689654ba5a6556a1dfd8ce6ec55a0ed79866cfa6"}, +] +attrs = [ + {file = "attrs-19.3.0-py2.py3-none-any.whl", hash = "sha256:08a96c641c3a74e44eb59afb61a24f2cb9f4d7188748e76ba4bb5edfa3cb7d1c"}, + {file = "attrs-19.3.0.tar.gz", hash = "sha256:f7b7ce16570fe9965acd6d30101a28f62fb4a7f9e926b3bbc9b61f8b04247e72"}, +] +backcall = [ + {file = "backcall-0.1.0.tar.gz", hash = "sha256:38ecd85be2c1e78f77fd91700c76e14667dc21e2713b63876c0eb901196e01e4"}, + {file = "backcall-0.1.0.zip", hash = "sha256:bbbf4b1e5cd2bdb08f915895b51081c041bac22394fdfcfdfbe9f14b77c08bf2"}, +] +black = [ + {file = "black-19.10b0-py36-none-any.whl", hash = "sha256:1b30e59be925fafc1ee4565e5e08abef6b03fe455102883820fe5ee2e4734e0b"}, + {file = "black-19.10b0.tar.gz", hash = "sha256:c2edb73a08e9e0e6f65a0e6af18b059b8b1cdd5bef997d7a0b181df93dc81539"}, +] +cached-property = [ + {file = "cached-property-1.5.1.tar.gz", hash = "sha256:9217a59f14a5682da7c4b8829deadbfc194ac22e9908ccf7c8820234e80a1504"}, + {file = "cached_property-1.5.1-py2.py3-none-any.whl", hash = "sha256:3a026f1a54135677e7da5ce819b0c690f156f37976f3e30c5430740725203d7f"}, +] +certifi = [ + {file = "certifi-2019.11.28-py2.py3-none-any.whl", hash = "sha256:017c25db2a153ce562900032d5bc68e9f191e44e9a0f762f373977de9df1fbb3"}, + {file = "certifi-2019.11.28.tar.gz", hash = "sha256:25b64c7da4cd7479594d035c08c2d809eb4aab3a26e5a990ea98cc450c320f1f"}, +] +cffi = [ + {file = "cffi-1.13.2-cp27-cp27m-macosx_10_6_intel.whl", hash = "sha256:3c9fff570f13480b201e9ab69453108f6d98244a7f495e91b6c654a47486ba43"}, + {file = "cffi-1.13.2-cp27-cp27m-manylinux1_i686.whl", hash = "sha256:2c5e309ec482556397cb21ede0350c5e82f0eb2621de04b2633588d118da4396"}, + {file = "cffi-1.13.2-cp27-cp27m-manylinux1_x86_64.whl", hash = "sha256:19db0cdd6e516f13329cba4903368bff9bb5a9331d3410b1b448daaadc495e54"}, + {file = "cffi-1.13.2-cp27-cp27m-win32.whl", hash = "sha256:5c4fae4e9cdd18c82ba3a134be256e98dc0596af1e7285a3d2602c97dcfa5159"}, + {file = "cffi-1.13.2-cp27-cp27m-win_amd64.whl", hash = "sha256:32a262e2b90ffcfdd97c7a5e24a6012a43c61f1f5a57789ad80af1d26c6acd97"}, + {file = "cffi-1.13.2-cp27-cp27mu-manylinux1_i686.whl", hash = "sha256:4a43c91840bda5f55249413037b7a9b79c90b1184ed504883b72c4df70778579"}, + {file = "cffi-1.13.2-cp27-cp27mu-manylinux1_x86_64.whl", hash = "sha256:8169cf44dd8f9071b2b9248c35fc35e8677451c52f795daa2bb4643f32a540bc"}, + {file = "cffi-1.13.2-cp34-cp34m-macosx_10_6_intel.whl", hash = "sha256:71a608532ab3bd26223c8d841dde43f3516aa5d2bf37b50ac410bb5e99053e8f"}, + {file = "cffi-1.13.2-cp34-cp34m-manylinux1_i686.whl", hash = "sha256:7f627141a26b551bdebbc4855c1157feeef18241b4b8366ed22a5c7d672ef858"}, + {file = "cffi-1.13.2-cp34-cp34m-manylinux1_x86_64.whl", hash = "sha256:0b49274afc941c626b605fb59b59c3485c17dc776dc3cc7cc14aca74cc19cc42"}, + {file = "cffi-1.13.2-cp34-cp34m-win32.whl", hash = "sha256:4424e42199e86b21fc4db83bd76909a6fc2a2aefb352cb5414833c030f6ed71b"}, + {file = "cffi-1.13.2-cp34-cp34m-win_amd64.whl", hash = "sha256:7d4751da932caaec419d514eaa4215eaf14b612cff66398dd51129ac22680b20"}, + {file = "cffi-1.13.2-cp35-cp35m-macosx_10_6_intel.whl", hash = "sha256:ccb032fda0873254380aa2bfad2582aedc2959186cce61e3a17abc1a55ff89c3"}, + {file = "cffi-1.13.2-cp35-cp35m-manylinux1_i686.whl", hash = "sha256:dcd65317dd15bc0451f3e01c80da2216a31916bdcffd6221ca1202d96584aa25"}, + {file = "cffi-1.13.2-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:135f69aecbf4517d5b3d6429207b2dff49c876be724ac0c8bf8e1ea99df3d7e5"}, + {file = "cffi-1.13.2-cp35-cp35m-win32.whl", hash = "sha256:7b93a885bb13073afb0aa73ad82059a4c41f4b7d8eb8368980448b52d4c7dc2c"}, + {file = "cffi-1.13.2-cp35-cp35m-win_amd64.whl", hash = "sha256:e570d3ab32e2c2861c4ebe6ffcad6a8abf9347432a37608fe1fbd157b3f0036b"}, + {file = "cffi-1.13.2-cp36-cp36m-macosx_10_6_intel.whl", hash = "sha256:0e3ea92942cb1168e38c05c1d56b0527ce31f1a370f6117f1d490b8dcd6b3a04"}, + {file = "cffi-1.13.2-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:5ecfa867dea6fabe2a58f03ac9186ea64da1386af2159196da51c4904e11d652"}, + {file = "cffi-1.13.2-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:291f7c42e21d72144bb1c1b2e825ec60f46d0a7468f5346841860454c7aa8f57"}, + {file = "cffi-1.13.2-cp36-cp36m-win32.whl", hash = "sha256:62f2578358d3a92e4ab2d830cd1c2049c9c0d0e6d3c58322993cc341bdeac22e"}, + {file = "cffi-1.13.2-cp36-cp36m-win_amd64.whl", hash = "sha256:fd43a88e045cf992ed09fa724b5315b790525f2676883a6ea64e3263bae6549d"}, + {file = "cffi-1.13.2-cp37-cp37m-macosx_10_6_intel.whl", hash = "sha256:d75c461e20e29afc0aee7172a0950157c704ff0dd51613506bd7d82b718e7410"}, + {file = "cffi-1.13.2-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:aa00d66c0fab27373ae44ae26a66a9e43ff2a678bf63a9c7c1a9a4d61172827a"}, + {file = "cffi-1.13.2-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:2e9c80a8c3344a92cb04661115898a9129c074f7ab82011ef4b612f645939f12"}, + {file = "cffi-1.13.2-cp37-cp37m-win32.whl", hash = "sha256:d754f39e0d1603b5b24a7f8484b22d2904fa551fe865fd0d4c3332f078d20d4e"}, + {file = "cffi-1.13.2-cp37-cp37m-win_amd64.whl", hash = "sha256:6471a82d5abea994e38d2c2abc77164b4f7fbaaf80261cb98394d5793f11b12a"}, + {file = "cffi-1.13.2-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:74a1d8c85fb6ff0b30fbfa8ad0ac23cd601a138f7509dc617ebc65ef305bb98d"}, + {file = "cffi-1.13.2-cp38-cp38-manylinux1_i686.whl", hash = "sha256:42194f54c11abc8583417a7cf4eaff544ce0de8187abaf5d29029c91b1725ad3"}, + {file = "cffi-1.13.2-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:415bdc7ca8c1c634a6d7163d43fb0ea885a07e9618a64bda407e04b04333b7db"}, + {file = "cffi-1.13.2-cp38-cp38-win32.whl", hash = "sha256:6d4f18483d040e18546108eb13b1dfa1000a089bcf8529e30346116ea6240506"}, + {file = "cffi-1.13.2-cp38-cp38-win_amd64.whl", hash = "sha256:2781e9ad0e9d47173c0093321bb5435a9dfae0ed6a762aabafa13108f5f7b2ba"}, + {file = "cffi-1.13.2.tar.gz", hash = "sha256:599a1e8ff057ac530c9ad1778293c665cb81a791421f46922d80a86473c13346"}, +] +cfgv = [ + {file = "cfgv-2.0.1-py2.py3-none-any.whl", hash = "sha256:fbd93c9ab0a523bf7daec408f3be2ed99a980e20b2d19b50fc184ca6b820d289"}, + {file = "cfgv-2.0.1.tar.gz", hash = "sha256:edb387943b665bf9c434f717bf630fa78aecd53d5900d2e05da6ad6048553144"}, +] +chardet = [ + {file = "chardet-3.0.4-py2.py3-none-any.whl", hash = "sha256:fc323ffcaeaed0e0a02bf4d117757b98aed530d9ed4531e3e15460124c106691"}, + {file = "chardet-3.0.4.tar.gz", hash = "sha256:84ab92ed1c4d4f16916e05906b6b75a6c0fb5db821cc65e70cbd64a3e2a5eaae"}, +] +click = [ + {file = "Click-7.0-py2.py3-none-any.whl", hash = "sha256:2335065e6395b9e67ca716de5f7526736bfa6ceead690adf616d925bdc622b13"}, + {file = "Click-7.0.tar.gz", hash = "sha256:5b94b49521f6456670fdb30cd82a4eca9412788a93fa6dd6df72c94d5a8ff2d7"}, +] +colorama = [ + {file = "colorama-0.4.3-py2.py3-none-any.whl", hash = "sha256:7d73d2a99753107a36ac6b455ee49046802e59d9d076ef8e47b61499fa29afff"}, + {file = "colorama-0.4.3.tar.gz", hash = "sha256:e96da0d330793e2cb9485e9ddfd918d456036c7149416295932478192f4436a1"}, +] +coverage = [ + {file = "coverage-5.0.1-cp27-cp27m-macosx_10_12_x86_64.whl", hash = "sha256:c90bda74e16bcd03861b09b1d37c0a4158feda5d5a036bb2d6e58de6ff65793e"}, + {file = "coverage-5.0.1-cp27-cp27m-macosx_10_13_intel.whl", hash = "sha256:bb3d29df5d07d5399d58a394d0ef50adf303ab4fbf66dfd25b9ef258effcb692"}, + {file = "coverage-5.0.1-cp27-cp27m-manylinux1_i686.whl", hash = "sha256:1ca43dbd739c0fc30b0a3637a003a0d2c7edc1dd618359d58cc1e211742f8bd1"}, + {file = "coverage-5.0.1-cp27-cp27m-manylinux1_x86_64.whl", hash = "sha256:591506e088901bdc25620c37aec885e82cc896528f28c57e113751e3471fc314"}, + {file = "coverage-5.0.1-cp27-cp27m-win32.whl", hash = "sha256:a50b0888d8a021a3342d36a6086501e30de7d840ab68fca44913e97d14487dc1"}, + {file = "coverage-5.0.1-cp27-cp27m-win_amd64.whl", hash = "sha256:c792d3707a86c01c02607ae74364854220fb3e82735f631cd0a345dea6b4cee5"}, + {file = "coverage-5.0.1-cp27-cp27mu-manylinux1_i686.whl", hash = "sha256:f425f50a6dd807cb9043d15a4fcfba3b5874a54d9587ccbb748899f70dc18c47"}, + {file = "coverage-5.0.1-cp27-cp27mu-manylinux1_x86_64.whl", hash = "sha256:25b8f60b5c7da71e64c18888f3067d5b6f1334b9681876b2fb41eea26de881ae"}, + {file = "coverage-5.0.1-cp35-cp35m-macosx_10_12_x86_64.whl", hash = "sha256:7362a7f829feda10c7265b553455de596b83d1623b3d436b6d3c51c688c57bf6"}, + {file = "coverage-5.0.1-cp35-cp35m-manylinux1_i686.whl", hash = "sha256:fcd4459fe35a400b8f416bc57906862693c9f88b66dc925e7f2a933e77f6b18b"}, + {file = "coverage-5.0.1-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:40fbfd6b044c9db13aeec1daf5887d322c710d811f944011757526ef6e323fd9"}, + {file = "coverage-5.0.1-cp35-cp35m-win32.whl", hash = "sha256:7f2675750c50151f806070ec11258edf4c328340916c53bac0adbc465abd6b1e"}, + {file = "coverage-5.0.1-cp35-cp35m-win_amd64.whl", hash = "sha256:24bcfa86fd9ce86b73a8368383c39d919c497a06eebb888b6f0c12f13e920b1a"}, + {file = "coverage-5.0.1-cp36-cp36m-macosx_10_13_x86_64.whl", hash = "sha256:eeafb646f374988c22c8e6da5ab9fb81367ecfe81c70c292623373d2a021b1a1"}, + {file = "coverage-5.0.1-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:2ca2cd5264e84b2cafc73f0045437f70c6378c0d7dbcddc9ee3fe192c1e29e5d"}, + {file = "coverage-5.0.1-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:2cc707fc9aad2592fc686d63ef72dc0031fc98b6fb921d2f5395d9ab84fbc3ef"}, + {file = "coverage-5.0.1-cp36-cp36m-win32.whl", hash = "sha256:04b961862334687549eb91cd5178a6fbe977ad365bddc7c60f2227f2f9880cf4"}, + {file = "coverage-5.0.1-cp36-cp36m-win_amd64.whl", hash = "sha256:232f0b52a5b978288f0bbc282a6c03fe48cd19a04202df44309919c142b3bb9c"}, + {file = "coverage-5.0.1-cp37-cp37m-macosx_10_13_x86_64.whl", hash = "sha256:cfce79ce41cc1a1dc7fc85bb41eeeb32d34a4cf39a645c717c0550287e30ff06"}, + {file = "coverage-5.0.1-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:46c9c6a1d1190c0b75ec7c0f339088309952b82ae8d67a79ff1319eb4e749b96"}, + {file = "coverage-5.0.1-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:1cbb88b34187bdb841f2599770b7e6ff8e259dc3bb64fc7893acf44998acf5f8"}, + {file = "coverage-5.0.1-cp37-cp37m-win32.whl", hash = "sha256:ff3936dd5feaefb4f91c8c1f50a06c588b5dc69fba4f7d9c79a6617ad80bb7df"}, + {file = "coverage-5.0.1-cp37-cp37m-win_amd64.whl", hash = "sha256:65bead1ac8c8930cf92a1ccaedcce19a57298547d5d1db5c9d4d068a0675c38b"}, + {file = "coverage-5.0.1-cp38-cp38-macosx_10_13_x86_64.whl", hash = "sha256:348630edea485f4228233c2f310a598abf8afa5f8c716c02a9698089687b6085"}, + {file = "coverage-5.0.1-cp38-cp38-manylinux1_i686.whl", hash = "sha256:960d7f42277391e8b1c0b0ae427a214e1b31a1278de6b73f8807b20c2e913bba"}, + {file = "coverage-5.0.1-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:0101888bd1592a20ccadae081ba10e8b204d20235d18d05c6f7d5e904a38fc10"}, + {file = "coverage-5.0.1-cp38-cp38m-win32.whl", hash = "sha256:c0fff2733f7c2950f58a4fd09b5db257b00c6fec57bf3f68c5bae004d804b407"}, + {file = "coverage-5.0.1-cp38-cp38m-win_amd64.whl", hash = "sha256:5f622f19abda4e934938e24f1d67599249abc201844933a6f01aaa8663094489"}, + {file = "coverage-5.0.1-cp39-cp39m-win32.whl", hash = "sha256:2714160a63da18aed9340c70ed514973971ee7e665e6b336917ff4cca81a25b1"}, + {file = "coverage-5.0.1-cp39-cp39m-win_amd64.whl", hash = "sha256:b7dbc5e8c39ea3ad3db22715f1b5401cd698a621218680c6daf42c2f9d36e205"}, + {file = "coverage-5.0.1.tar.gz", hash = "sha256:5ac71bba1e07eab403b082c4428f868c1c9e26a21041436b4905c4c3d4e49b08"}, +] +cryptography = [ + {file = "cryptography-2.8-cp27-cp27m-macosx_10_6_intel.whl", hash = "sha256:fb81c17e0ebe3358486cd8cc3ad78adbae58af12fc2bf2bc0bb84e8090fa5ce8"}, + {file = "cryptography-2.8-cp27-cp27m-manylinux1_x86_64.whl", hash = "sha256:44ff04138935882fef7c686878e1c8fd80a723161ad6a98da31e14b7553170c2"}, + {file = "cryptography-2.8-cp27-cp27m-manylinux2010_x86_64.whl", hash = "sha256:369d2346db5934345787451504853ad9d342d7f721ae82d098083e1f49a582ad"}, + {file = "cryptography-2.8-cp27-cp27m-win32.whl", hash = "sha256:df6b4dca2e11865e6cfbfb708e800efb18370f5a46fd601d3755bc7f85b3a8a2"}, + {file = "cryptography-2.8-cp27-cp27m-win_amd64.whl", hash = "sha256:7f09806ed4fbea8f51585231ba742b58cbcfbfe823ea197d8c89a5e433c7e912"}, + {file = "cryptography-2.8-cp27-cp27mu-manylinux1_x86_64.whl", hash = "sha256:58363dbd966afb4f89b3b11dfb8ff200058fbc3b947507675c19ceb46104b48d"}, + {file = "cryptography-2.8-cp27-cp27mu-manylinux2010_x86_64.whl", hash = "sha256:6ec280fb24d27e3d97aa731e16207d58bd8ae94ef6eab97249a2afe4ba643d42"}, + {file = "cryptography-2.8-cp34-abi3-macosx_10_6_intel.whl", hash = "sha256:b43f53f29816ba1db8525f006fa6f49292e9b029554b3eb56a189a70f2a40879"}, + {file = "cryptography-2.8-cp34-abi3-manylinux1_x86_64.whl", hash = "sha256:7270a6c29199adc1297776937a05b59720e8a782531f1f122f2eb8467f9aab4d"}, + {file = "cryptography-2.8-cp34-abi3-manylinux2010_x86_64.whl", hash = "sha256:de96157ec73458a7f14e3d26f17f8128c959084931e8997b9e655a39c8fde9f9"}, + {file = "cryptography-2.8-cp34-cp34m-win32.whl", hash = "sha256:02079a6addc7b5140ba0825f542c0869ff4df9a69c360e339ecead5baefa843c"}, + {file = "cryptography-2.8-cp34-cp34m-win_amd64.whl", hash = "sha256:b0de590a8b0979649ebeef8bb9f54394d3a41f66c5584fff4220901739b6b2f0"}, + {file = "cryptography-2.8-cp35-cp35m-win32.whl", hash = "sha256:ecadccc7ba52193963c0475ac9f6fa28ac01e01349a2ca48509667ef41ffd2cf"}, + {file = "cryptography-2.8-cp35-cp35m-win_amd64.whl", hash = "sha256:90df0cc93e1f8d2fba8365fb59a858f51a11a394d64dbf3ef844f783844cc793"}, + {file = "cryptography-2.8-cp36-cp36m-win32.whl", hash = "sha256:1df22371fbf2004c6f64e927668734070a8953362cd8370ddd336774d6743595"}, + {file = "cryptography-2.8-cp36-cp36m-win_amd64.whl", hash = "sha256:a518c153a2b5ed6b8cc03f7ae79d5ffad7315ad4569b2d5333a13c38d64bd8d7"}, + {file = "cryptography-2.8-cp37-cp37m-win32.whl", hash = "sha256:4b1030728872c59687badcca1e225a9103440e467c17d6d1730ab3d2d64bfeff"}, + {file = "cryptography-2.8-cp37-cp37m-win_amd64.whl", hash = "sha256:d31402aad60ed889c7e57934a03477b572a03af7794fa8fb1780f21ea8f6551f"}, + {file = "cryptography-2.8-cp38-cp38-win32.whl", hash = "sha256:73fd30c57fa2d0a1d7a49c561c40c2f79c7d6c374cc7750e9ac7c99176f6428e"}, + {file = "cryptography-2.8-cp38-cp38-win_amd64.whl", hash = "sha256:971221ed40f058f5662a604bd1ae6e4521d84e6cad0b7b170564cc34169c8f13"}, + {file = "cryptography-2.8.tar.gz", hash = "sha256:3cda1f0ed8747339bbdf71b9f38ca74c7b592f24f65cdb3ab3765e4b02871651"}, +] +decorator = [ + {file = "decorator-4.4.1-py2.py3-none-any.whl", hash = "sha256:5d19b92a3c8f7f101c8dd86afd86b0f061a8ce4540ab8cd401fa2542756bce6d"}, + {file = "decorator-4.4.1.tar.gz", hash = "sha256:54c38050039232e1db4ad7375cfce6748d7b41c29e95a081c8a6d2c30364a2ce"}, +] +defusedxml = [ + {file = "defusedxml-0.6.0-py2.py3-none-any.whl", hash = "sha256:6687150770438374ab581bb7a1b327a847dd9c5749e396102de3fad4e8a3ef93"}, + {file = "defusedxml-0.6.0.tar.gz", hash = "sha256:f684034d135af4c6cbb949b8a4d2ed61634515257a67299e5f940fbaa34377f5"}, +] +eight = [ + {file = "eight-0.4.2-py2.py3-none-any.whl", hash = "sha256:b3ceecbfeb58fe68f726a69ac4225bbff554f5436c274646b75c63b039626c9e"}, + {file = "eight-0.4.2.tar.gz", hash = "sha256:eebadb79193c9a3ed95a74f59462267f05ca41c23a804f9f0dd80e597c9a9f8e"}, +] +factory-boy = [ + {file = "factory_boy-2.12.0-py2.py3-none-any.whl", hash = "sha256:728df59b372c9588b83153facf26d3d28947fc750e8e3c95cefa9bed0e6394ee"}, + {file = "factory_boy-2.12.0.tar.gz", hash = "sha256:faf48d608a1735f0d0a3c9cbf536d64f9132b547dae7ba452c4d99a79e84a370"}, +] +faker = [ + {file = "Faker-3.0.0-py2.py3-none-any.whl", hash = "sha256:202ad3b2ec16ae7c51c02904fb838831f8d2899e61bf18db1e91a5a582feab11"}, + {file = "Faker-3.0.0.tar.gz", hash = "sha256:92c84a10bec81217d9cb554ee12b3838c8986ce0b5d45f72f769da22e4bb5432"}, +] +future = [ + {file = "future-0.16.0.tar.gz", hash = "sha256:e39ced1ab767b5936646cedba8bcce582398233d6a627067d4c6a454c90cfedb"}, +] +identify = [ + {file = "identify-1.4.9-py2.py3-none-any.whl", hash = "sha256:72e9c4ed3bc713c7045b762b0d2e2115c572b85abfc1f4604f5a4fd4c6642b71"}, + {file = "identify-1.4.9.tar.gz", hash = "sha256:6f44e637caa40d1b4cb37f6ed3b262ede74901d28b1cc5b1fc07360871edd65d"}, +] +idna = [ + {file = "idna-2.8-py2.py3-none-any.whl", hash = "sha256:ea8b7f6188e6fa117537c3df7da9fc686d485087abf6ac197f9c46432f7e4a3c"}, + {file = "idna-2.8.tar.gz", hash = "sha256:c357b3f628cf53ae2c4c05627ecc484553142ca23264e593d327bcde5e9c3407"}, +] +importlib-metadata = [ + {file = "importlib_metadata-1.3.0-py2.py3-none-any.whl", hash = "sha256:d95141fbfa7ef2ec65cfd945e2af7e5a6ddbd7c8d9a25e66ff3be8e3daf9f60f"}, + {file = "importlib_metadata-1.3.0.tar.gz", hash = "sha256:073a852570f92da5f744a3472af1b61e28e9f78ccf0c9117658dc32b15de7b45"}, +] +ipython = [ + {file = "ipython-7.11.1-py3-none-any.whl", hash = "sha256:387686dd7fc9caf29d2fddcf3116c4b07a11d9025701d220c589a430b0171d8a"}, + {file = "ipython-7.11.1.tar.gz", hash = "sha256:0f4bcf18293fb666df8511feec0403bdb7e061a5842ea6e88a3177b0ceb34ead"}, +] +ipython-genutils = [ + {file = "ipython_genutils-0.2.0-py2.py3-none-any.whl", hash = "sha256:72dd37233799e619666c9f639a9da83c34013a73e8bbc79a7a6348d93c61fab8"}, + {file = "ipython_genutils-0.2.0.tar.gz", hash = "sha256:eb2e116e75ecef9d4d228fdc66af54269afa26ab4463042e33785b887c628ba8"}, +] +isodate = [ + {file = "isodate-0.6.0-py2.py3-none-any.whl", hash = "sha256:aa4d33c06640f5352aca96e4b81afd8ab3b47337cc12089822d6f322ac772c81"}, + {file = "isodate-0.6.0.tar.gz", hash = "sha256:2e364a3d5759479cdb2d37cce6b9376ea504db2ff90252a2e5b7cc89cc9ff2d8"}, +] +isort = [ + {file = "isort-4.3.21-py2.py3-none-any.whl", hash = "sha256:6e811fcb295968434526407adb8796944f1988c5b65e8139058f2014cbe100fd"}, + {file = "isort-4.3.21.tar.gz", hash = "sha256:54da7e92468955c4fceacd0c86bd0ec997b0e1ee80d97f67c35a78b719dccab1"}, +] +jedi = [ + {file = "jedi-0.15.2-py2.py3-none-any.whl", hash = "sha256:1349c1e8c107095a55386628bb3b2a79422f3a2cab8381e34ce19909e0cf5064"}, + {file = "jedi-0.15.2.tar.gz", hash = "sha256:e909527104a903606dd63bea6e8e888833f0ef087057829b89a18364a856f807"}, +] +lxml = [ + {file = "lxml-4.4.1-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl", hash = "sha256:1f4f214337f6ee5825bf90a65d04d70aab05526c08191ab888cb5149501923c5"}, + {file = "lxml-4.4.1-cp27-cp27m-manylinux1_i686.whl", hash = "sha256:e9c028b5897901361d81a4718d1db217b716424a0283afe9d6735fe0caf70f79"}, + {file = "lxml-4.4.1-cp27-cp27m-manylinux1_x86_64.whl", hash = "sha256:02ca7bf899da57084041bb0f6095333e4d239948ad3169443f454add9f4e9cb4"}, + {file = "lxml-4.4.1-cp27-cp27m-win32.whl", hash = "sha256:4dffd405390a45ecb95ab5ab1c1b847553c18b0ef8ed01e10c1c8b1a76452916"}, + {file = "lxml-4.4.1-cp27-cp27m-win_amd64.whl", hash = "sha256:c27eaed872185f047bb7f7da2d21a7d8913457678c9a100a50db6da890bc28b9"}, + {file = "lxml-4.4.1-cp27-cp27mu-manylinux1_i686.whl", hash = "sha256:a63b4fd3e2cabdcc9d918ed280bdde3e8e9641e04f3c59a2a3109644a07b9832"}, + {file = "lxml-4.4.1-cp27-cp27mu-manylinux1_x86_64.whl", hash = "sha256:fe489d486cd00b739be826e8c1be188ddb74c7a1ca784d93d06fda882a6a1681"}, + {file = "lxml-4.4.1-cp35-cp35m-manylinux1_i686.whl", hash = "sha256:726c17f3e0d7a7200718c9a890ccfeab391c9133e363a577a44717c85c71db27"}, + {file = "lxml-4.4.1-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:17e3950add54c882e032527795c625929613adbd2ce5162b94667334458b5a36"}, + {file = "lxml-4.4.1-cp35-cp35m-win32.whl", hash = "sha256:d11874b3c33ee441059464711cd365b89fa1a9cf19ae75b0c189b01fbf735b84"}, + {file = "lxml-4.4.1-cp35-cp35m-win_amd64.whl", hash = "sha256:be78485e5d5f3684e875dab60f40cddace2f5b2a8f7fede412358ab3214c3a6f"}, + {file = "lxml-4.4.1-cp36-cp36m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl", hash = "sha256:891fe897b49abb7db470c55664b198b1095e4943b9f82b7dcab317a19116cd38"}, + {file = "lxml-4.4.1-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:17cae1730a782858a6e2758fd20dd0ef7567916c47757b694a06ffafdec20046"}, + {file = "lxml-4.4.1-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:b0b84408d4eabc6de9dd1e1e0bc63e7731e890c0b378a62443e5741cfd0ae90a"}, + {file = "lxml-4.4.1-cp36-cp36m-win32.whl", hash = "sha256:796685d3969815a633827c818863ee199440696b0961e200b011d79b9394bbe7"}, + {file = "lxml-4.4.1-cp36-cp36m-win_amd64.whl", hash = "sha256:a471628e20f03dcdfde00770eeaf9c77811f0c331c8805219ca7b87ac17576c5"}, + {file = "lxml-4.4.1-cp37-cp37m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl", hash = "sha256:760c12276fee05c36f95f8040180abc7fbebb9e5011447a97cdc289b5d6ab6fc"}, + {file = "lxml-4.4.1-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:0a920ff98cf1aac310470c644bc23b326402d3ef667ddafecb024e1713d485f1"}, + {file = "lxml-4.4.1-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:6b899931a5648862c7b88c795eddff7588fb585e81cecce20f8d9da16eff96e0"}, + {file = "lxml-4.4.1-cp37-cp37m-win32.whl", hash = "sha256:096b82c5e0ea27ce9138bcbb205313343ee66a6e132f25c5ed67e2c8d960a1bc"}, + {file = "lxml-4.4.1-cp37-cp37m-win_amd64.whl", hash = "sha256:2e8f77db25b0a96af679e64ff9bf9dddb27d379c9900c3272f3041c4d1327c9d"}, + {file = "lxml-4.4.1-cp38-cp38-manylinux1_i686.whl", hash = "sha256:ae88588d687bd476be588010cbbe551e9c2872b816f2da8f01f6f1fda74e1ef0"}, + {file = "lxml-4.4.1-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:1409b14bf83a7d729f92e2a7fbfe7ec929d4883ca071b06e95c539ceedb6497c"}, + {file = "lxml-4.4.1-cp38-cp38-win32.whl", hash = "sha256:c7fccd08b14aa437fe096c71c645c0f9be0655a9b1a4b7cffc77bcb23b3d61d2"}, + {file = "lxml-4.4.1-cp38-cp38-win_amd64.whl", hash = "sha256:9277562f175d2334744ad297568677056861070399cec56ff06abbe2564d1232"}, + {file = "lxml-4.4.1.tar.gz", hash = "sha256:c81cb40bff373ab7a7446d6bbca0190bccc5be3448b47b51d729e37799bb5692"}, +] +more-itertools = [ + {file = "more-itertools-8.0.2.tar.gz", hash = "sha256:b84b238cce0d9adad5ed87e745778d20a3f8487d0f0cb8b8a586816c7496458d"}, + {file = "more_itertools-8.0.2-py3-none-any.whl", hash = "sha256:c833ef592a0324bcc6a60e48440da07645063c453880c9477ceb22490aec1564"}, +] +nodeenv = [ + {file = "nodeenv-1.3.3.tar.gz", hash = "sha256:ad8259494cf1c9034539f6cced78a1da4840a4b157e23640bc4a0c0546b0cb7a"}, +] +packaging = [ + {file = "packaging-19.2-py2.py3-none-any.whl", hash = "sha256:d9551545c6d761f3def1677baf08ab2a3ca17c56879e70fecba2fc4dde4ed108"}, + {file = "packaging-19.2.tar.gz", hash = "sha256:28b924174df7a2fa32c1953825ff29c61e2f5e082343165438812f00d3a7fc47"}, +] +parso = [ + {file = "parso-0.5.2-py2.py3-none-any.whl", hash = "sha256:5c1f7791de6bd5dbbeac8db0ef5594b36799de198b3f7f7014643b0c5536b9d3"}, + {file = "parso-0.5.2.tar.gz", hash = "sha256:55cf25df1a35fd88b878715874d2c4dc1ad3f0eebd1e0266a67e1f55efccfbe1"}, +] +pathspec = [ + {file = "pathspec-0.7.0-py2.py3-none-any.whl", hash = "sha256:163b0632d4e31cef212976cf57b43d9fd6b0bac6e67c26015d611a647d5e7424"}, + {file = "pathspec-0.7.0.tar.gz", hash = "sha256:562aa70af2e0d434367d9790ad37aed893de47f1693e4201fd1d3dca15d19b96"}, +] +pexpect = [ + {file = "pexpect-4.7.0-py2.py3-none-any.whl", hash = "sha256:2094eefdfcf37a1fdbfb9aa090862c1a4878e5c7e0e7e7088bdb511c558e5cd1"}, + {file = "pexpect-4.7.0.tar.gz", hash = "sha256:9e2c1fd0e6ee3a49b28f95d4b33bc389c89b20af6a1255906e90ff1262ce62eb"}, +] +pickleshare = [ + {file = "pickleshare-0.7.5-py2.py3-none-any.whl", hash = "sha256:9649af414d74d4df115d5d718f82acb59c9d418196b7b4290ed47a12ce62df56"}, + {file = "pickleshare-0.7.5.tar.gz", hash = "sha256:87683d47965c1da65cdacaf31c8441d12b8044cdec9aca500cd78fc2c683afca"}, +] +pluggy = [ + {file = "pluggy-0.13.1-py2.py3-none-any.whl", hash = "sha256:966c145cd83c96502c3c3868f50408687b38434af77734af1e9ca461a4081d2d"}, + {file = "pluggy-0.13.1.tar.gz", hash = "sha256:15b2acde666561e1298d71b523007ed7364de07029219b604cf808bfa1c765b0"}, +] +pre-commit = [ + {file = "pre_commit-1.21.0-py2.py3-none-any.whl", hash = "sha256:f92a359477f3252452ae2e8d3029de77aec59415c16ae4189bcfba40b757e029"}, + {file = "pre_commit-1.21.0.tar.gz", hash = "sha256:8f48d8637bdae6fa70cc97db9c1dd5aa7c5c8bf71968932a380628c25978b850"}, +] +prompt-toolkit = [ + {file = "prompt_toolkit-3.0.2-py3-none-any.whl", hash = "sha256:0278d2f51b5ceba6ea8da39f76d15684e84c996b325475f6e5720edc584326a7"}, + {file = "prompt_toolkit-3.0.2.tar.gz", hash = "sha256:63daee79aa8366c8f1c637f1a4876b890da5fc92a19ebd2f7080ebacb901e990"}, +] +ptyprocess = [ + {file = "ptyprocess-0.6.0-py2.py3-none-any.whl", hash = "sha256:d7cc528d76e76342423ca640335bd3633420dc1366f258cb31d05e865ef5ca1f"}, + {file = "ptyprocess-0.6.0.tar.gz", hash = "sha256:923f299cc5ad920c68f2bc0bc98b75b9f838b93b599941a6b63ddbc2476394c0"}, +] +py = [ + {file = "py-1.8.1-py2.py3-none-any.whl", hash = "sha256:c20fdd83a5dbc0af9efd622bee9a5564e278f6380fffcacc43ba6f43db2813b0"}, + {file = "py-1.8.1.tar.gz", hash = "sha256:5e27081401262157467ad6e7f851b7aa402c5852dbcb3dae06768434de5752aa"}, +] +pycparser = [ + {file = "pycparser-2.19.tar.gz", hash = "sha256:a988718abfad80b6b157acce7bf130a30876d27603738ac39f140993246b25b3"}, +] +pydantic = [ + {file = "pydantic-1.0-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:0f35a8d780534f3db5c36fe4d516bd7a12559d6972dccbc55161a90eb20dd67a"}, + {file = "pydantic-1.0-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:360433b2422fcb2203356a30a90f6ae45d9e613243588504509aa5d544d6f68e"}, + {file = "pydantic-1.0-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:751f755efb9ab395ec7bd562f123e57a68e6164f06fc735b04ccb8df1ad5b6c8"}, + {file = "pydantic-1.0-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:c044e589c6d8d54ad55f5e73aa8f8d61dcab038b0a6267988d68e0361ae77f0e"}, + {file = "pydantic-1.0-py36.py37.py38-none-any.whl", hash = "sha256:a1ba32e2284185260cf5d35ffe2c8cbdd2244d62e5952e69572d4a458d6d46a7"}, + {file = "pydantic-1.0.tar.gz", hash = "sha256:bf474cebe007701806f5f8b076fb8508116606e5c721734bb855bfec4185263c"}, +] +pygments = [ + {file = "Pygments-2.5.2-py2.py3-none-any.whl", hash = "sha256:2a3fe295e54a20164a9df49c75fa58526d3be48e14aceba6d6b1e8ac0bfd6f1b"}, + {file = "Pygments-2.5.2.tar.gz", hash = "sha256:98c8aa5a9f778fcd1026a17361ddaf7330d1b7c62ae97c3bb0ae73e0b9b6b0fe"}, +] +pyopenssl = [ + {file = "pyOpenSSL-18.0.0-py2.py3-none-any.whl", hash = "sha256:26ff56a6b5ecaf3a2a59f132681e2a80afcc76b4f902f612f518f92c2a1bf854"}, + {file = "pyOpenSSL-18.0.0.tar.gz", hash = "sha256:6488f1423b00f73b7ad5167885312bb0ce410d3312eb212393795b53c8caa580"}, +] +pyparsing = [ + {file = "pyparsing-2.4.6-py2.py3-none-any.whl", hash = "sha256:c342dccb5250c08d45fd6f8b4a559613ca603b57498511740e65cd11a2e7dcec"}, + {file = "pyparsing-2.4.6.tar.gz", hash = "sha256:4c830582a84fb022400b85429791bc551f1f4871c33f23e44f353119e92f969f"}, +] +pytest = [ + {file = "pytest-5.3.2-py3-none-any.whl", hash = "sha256:e41d489ff43948babd0fad7ad5e49b8735d5d55e26628a58673c39ff61d95de4"}, + {file = "pytest-5.3.2.tar.gz", hash = "sha256:6b571215b5a790f9b41f19f3531c53a45cf6bb8ef2988bc1ff9afb38270b25fa"}, +] +pytest-cov = [ + {file = "pytest-cov-2.8.1.tar.gz", hash = "sha256:cc6742d8bac45070217169f5f72ceee1e0e55b0221f54bcf24845972d3a47f2b"}, + {file = "pytest_cov-2.8.1-py2.py3-none-any.whl", hash = "sha256:cdbdef4f870408ebdbfeb44e63e07eb18bb4619fae852f6e760645fa36172626"}, +] +python-dateutil = [ + {file = "python-dateutil-2.8.1.tar.gz", hash = "sha256:73ebfe9dbf22e832286dafa60473e4cd239f8592f699aa5adaf10050e6e1823c"}, + {file = "python_dateutil-2.8.1-py2.py3-none-any.whl", hash = "sha256:75bb3f31ea686f1197762692a9ee6a7550b59fc6ca3a1f4b5d7e32fb98e2da2a"}, +] +pytz = [ + {file = "pytz-2019.3-py2.py3-none-any.whl", hash = "sha256:1c557d7d0e871de1f5ccd5833f60fb2550652da6be2693c1e02300743d21500d"}, + {file = "pytz-2019.3.tar.gz", hash = "sha256:b02c06db6cf09c12dd25137e563b31700d3b80fcc4ad23abb7a315f2789819be"}, +] +pyxb = [ + {file = "PyXB-1.2.5.tar.gz", hash = "sha256:4e8f62ee2cfffc37e4f40634ab9c79e0311cfaf28cf4ce5e7f4828ec56e4ff67"}, +] +pyyaml = [ + {file = "PyYAML-5.2-cp27-cp27m-win32.whl", hash = "sha256:35ace9b4147848cafac3db142795ee42deebe9d0dad885ce643928e88daebdcc"}, + {file = "PyYAML-5.2-cp27-cp27m-win_amd64.whl", hash = "sha256:ebc4ed52dcc93eeebeae5cf5deb2ae4347b3a81c3fa12b0b8c976544829396a4"}, + {file = "PyYAML-5.2-cp35-cp35m-win32.whl", hash = "sha256:38a4f0d114101c58c0f3a88aeaa44d63efd588845c5a2df5290b73db8f246d15"}, + {file = "PyYAML-5.2-cp35-cp35m-win_amd64.whl", hash = "sha256:483eb6a33b671408c8529106df3707270bfacb2447bf8ad856a4b4f57f6e3075"}, + {file = "PyYAML-5.2-cp36-cp36m-win32.whl", hash = "sha256:7f38e35c00e160db592091751d385cd7b3046d6d51f578b29943225178257b31"}, + {file = "PyYAML-5.2-cp36-cp36m-win_amd64.whl", hash = "sha256:0e7f69397d53155e55d10ff68fdfb2cf630a35e6daf65cf0bdeaf04f127c09dc"}, + {file = "PyYAML-5.2-cp37-cp37m-win32.whl", hash = "sha256:e4c015484ff0ff197564917b4b4246ca03f411b9bd7f16e02a2f586eb48b6d04"}, + {file = "PyYAML-5.2-cp37-cp37m-win_amd64.whl", hash = "sha256:4b6be5edb9f6bb73680f5bf4ee08ff25416d1400fbd4535fe0069b2994da07cd"}, + {file = "PyYAML-5.2-cp38-cp38-win32.whl", hash = "sha256:8100c896ecb361794d8bfdb9c11fce618c7cf83d624d73d5ab38aef3bc82d43f"}, + {file = "PyYAML-5.2-cp38-cp38-win_amd64.whl", hash = "sha256:2e9f0b7c5914367b0916c3c104a024bb68f269a486b9d04a2e8ac6f6597b7803"}, + {file = "PyYAML-5.2.tar.gz", hash = "sha256:c0ee8eca2c582d29c3c2ec6e2c4f703d1b7f1fb10bc72317355a746057e7346c"}, +] +regex = [ + {file = "regex-2019.12.20-cp27-cp27m-win32.whl", hash = "sha256:7bbbdbada3078dc360d4692a9b28479f569db7fc7f304b668787afc9feb38ec8"}, + {file = "regex-2019.12.20-cp27-cp27m-win_amd64.whl", hash = "sha256:a83049eb717ae828ced9cf607845929efcb086a001fc8af93ff15c50012a5716"}, + {file = "regex-2019.12.20-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:27d1bd20d334f50b7ef078eba0f0756a640fd25f5f1708d3b5bed18a5d6bced9"}, + {file = "regex-2019.12.20-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:1768cf42a78a11dae63152685e7a1d90af7a8d71d2d4f6d2387edea53a9e0588"}, + {file = "regex-2019.12.20-cp36-cp36m-manylinux2010_i686.whl", hash = "sha256:4850c78b53acf664a6578bba0e9ebeaf2807bb476c14ec7e0f936f2015133cae"}, + {file = "regex-2019.12.20-cp36-cp36m-manylinux2010_x86_64.whl", hash = "sha256:78b3712ec529b2a71731fbb10b907b54d9c53a17ca589b42a578bc1e9a2c82ea"}, + {file = "regex-2019.12.20-cp36-cp36m-win32.whl", hash = "sha256:8d9ef7f6c403e35e73b7fc3cde9f6decdc43b1cb2ff8d058c53b9084bfcb553e"}, + {file = "regex-2019.12.20-cp36-cp36m-win_amd64.whl", hash = "sha256:faad39fdbe2c2ccda9846cd21581063086330efafa47d87afea4073a08128656"}, + {file = "regex-2019.12.20-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:adc35d38952e688535980ae2109cad3a109520033642e759f987cf47fe278aa1"}, + {file = "regex-2019.12.20-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:ef0b828a7e22e58e06a1cceddba7b4665c6af8afeb22a0d8083001330572c147"}, + {file = "regex-2019.12.20-cp37-cp37m-manylinux2010_i686.whl", hash = "sha256:0e6cf1e747f383f52a0964452658c04300a9a01e8a89c55ea22813931b580aa8"}, + {file = "regex-2019.12.20-cp37-cp37m-manylinux2010_x86_64.whl", hash = "sha256:032fdcc03406e1a6485ec09b826eac78732943840c4b29e503b789716f051d8d"}, + {file = "regex-2019.12.20-cp37-cp37m-win32.whl", hash = "sha256:77ae8d926f38700432807ba293d768ba9e7652df0cbe76df2843b12f80f68885"}, + {file = "regex-2019.12.20-cp37-cp37m-win_amd64.whl", hash = "sha256:c29a77ad4463f71a506515d9ec3a899ed026b4b015bf43245c919ff36275444b"}, + {file = "regex-2019.12.20-cp38-cp38-manylinux1_i686.whl", hash = "sha256:57eacd38a5ec40ed7b19a968a9d01c0d977bda55664210be713e750dd7b33540"}, + {file = "regex-2019.12.20-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:724eb24b92fc5fdc1501a1b4df44a68b9c1dda171c8ef8736799e903fb100f63"}, + {file = "regex-2019.12.20-cp38-cp38-manylinux2010_i686.whl", hash = "sha256:d508875793efdf6bab3d47850df8f40d4040ae9928d9d80864c1768d6aeaf8e3"}, + {file = "regex-2019.12.20-cp38-cp38-manylinux2010_x86_64.whl", hash = "sha256:cfd31b3300fefa5eecb2fe596c6dee1b91b3a05ece9d5cfd2631afebf6c6fadd"}, + {file = "regex-2019.12.20-cp38-cp38-win32.whl", hash = "sha256:29b20f66f2e044aafba86ecf10a84e611b4667643c42baa004247f5dfef4f90b"}, + {file = "regex-2019.12.20-cp38-cp38-win_amd64.whl", hash = "sha256:d3ee0b035816e0520fac928de31b6572106f0d75597f6fa3206969a02baba06f"}, + {file = "regex-2019.12.20.tar.gz", hash = "sha256:106e25a841921d8259dcef2a42786caae35bc750fb996f830065b3dfaa67b77e"}, +] +requests = [ + {file = "requests-2.22.0-py2.py3-none-any.whl", hash = "sha256:9cf5292fcd0f598c671cfc1e0d7d1a7f13bb8085e9a590f48c010551dc6c4b31"}, + {file = "requests-2.22.0.tar.gz", hash = "sha256:11e007a8a2aa0323f5a921e9e6a2d7e4e67d9877e85773fba9ba6419025cbeb4"}, +] +requests-toolbelt = [ + {file = "requests-toolbelt-0.9.1.tar.gz", hash = "sha256:968089d4584ad4ad7c171454f0a5c6dac23971e9472521ea3b6d49d610aa6fc0"}, + {file = "requests_toolbelt-0.9.1-py2.py3-none-any.whl", hash = "sha256:380606e1d10dc85c3bd47bf5a6095f815ec007be7a8b69c878507068df059e6f"}, +] +signxml = [ + {file = "signxml-2.6.0-py2.py3-none-any.whl", hash = "sha256:9540efcddd94e45399fa26ee2d24af43d162d55cbe3a2b36fddb394741993dd5"}, + {file = "signxml-2.6.0.tar.gz", hash = "sha256:70e3edbb07b89bec94d39db2cdced724c540f9258366474177c746b9f903d9c4"}, +] +six = [ + {file = "six-1.13.0-py2.py3-none-any.whl", hash = "sha256:1f1b7d42e254082a9db6279deae68afb421ceba6158efa6131de7b3003ee93fd"}, + {file = "six-1.13.0.tar.gz", hash = "sha256:30f610279e8b2578cab6db20741130331735c781b56053c59c4076da27f06b66"}, +] +text-unidecode = [ + {file = "text-unidecode-1.3.tar.gz", hash = "sha256:bad6603bb14d279193107714b288be206cac565dfa49aa5b105294dd5c4aab93"}, + {file = "text_unidecode-1.3-py2.py3-none-any.whl", hash = "sha256:1311f10e8b895935241623731c2ba64f4c455287888b18189350b67134a822e8"}, +] +toml = [ + {file = "toml-0.10.0-py2.7.egg", hash = "sha256:f1db651f9657708513243e61e6cc67d101a39bad662eaa9b5546f789338e07a3"}, + {file = "toml-0.10.0-py2.py3-none-any.whl", hash = "sha256:235682dd292d5899d361a811df37e04a8828a5b1da3115886b73cf81ebc9100e"}, + {file = "toml-0.10.0.tar.gz", hash = "sha256:229f81c57791a41d65e399fc06bf0848bab550a9dfd5ed66df18ce5f05e73d5c"}, +] +traitlets = [ + {file = "traitlets-4.3.3-py2.py3-none-any.whl", hash = "sha256:70b4c6a1d9019d7b4f6846832288f86998aa3b9207c6821f3578a6a6a467fe44"}, + {file = "traitlets-4.3.3.tar.gz", hash = "sha256:d023ee369ddd2763310e4c3eae1ff649689440d4ae59d7485eb4cfbbe3e359f7"}, +] +typed-ast = [ + {file = "typed_ast-1.4.0-cp35-cp35m-manylinux1_i686.whl", hash = "sha256:262c247a82d005e43b5b7f69aff746370538e176131c32dda9cb0f324d27141e"}, + {file = "typed_ast-1.4.0-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:71211d26ffd12d63a83e079ff258ac9d56a1376a25bc80b1cdcdf601b855b90b"}, + {file = "typed_ast-1.4.0-cp35-cp35m-win32.whl", hash = "sha256:630968c5cdee51a11c05a30453f8cd65e0cc1d2ad0d9192819df9978984529f4"}, + {file = "typed_ast-1.4.0-cp35-cp35m-win_amd64.whl", hash = "sha256:ffde2fbfad571af120fcbfbbc61c72469e72f550d676c3342492a9dfdefb8f12"}, + {file = "typed_ast-1.4.0-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:4e0b70c6fc4d010f8107726af5fd37921b666f5b31d9331f0bd24ad9a088e631"}, + {file = "typed_ast-1.4.0-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:bc6c7d3fa1325a0c6613512a093bc2a2a15aeec350451cbdf9e1d4bffe3e3233"}, + {file = "typed_ast-1.4.0-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:cc34a6f5b426748a507dd5d1de4c1978f2eb5626d51326e43280941206c209e1"}, + {file = "typed_ast-1.4.0-cp36-cp36m-win32.whl", hash = "sha256:d896919306dd0aa22d0132f62a1b78d11aaf4c9fc5b3410d3c666b818191630a"}, + {file = "typed_ast-1.4.0-cp36-cp36m-win_amd64.whl", hash = "sha256:354c16e5babd09f5cb0ee000d54cfa38401d8b8891eefa878ac772f827181a3c"}, + {file = "typed_ast-1.4.0-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:95bd11af7eafc16e829af2d3df510cecfd4387f6453355188342c3e79a2ec87a"}, + {file = "typed_ast-1.4.0-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:18511a0b3e7922276346bcb47e2ef9f38fb90fd31cb9223eed42c85d1312344e"}, + {file = "typed_ast-1.4.0-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:d7c45933b1bdfaf9f36c579671fec15d25b06c8398f113dab64c18ed1adda01d"}, + {file = "typed_ast-1.4.0-cp37-cp37m-win32.whl", hash = "sha256:d755f03c1e4a51e9b24d899561fec4ccaf51f210d52abdf8c07ee2849b212a36"}, + {file = "typed_ast-1.4.0-cp37-cp37m-win_amd64.whl", hash = "sha256:2b907eb046d049bcd9892e3076c7a6456c93a25bebfe554e931620c90e6a25b0"}, + {file = "typed_ast-1.4.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:fdc1c9bbf79510b76408840e009ed65958feba92a88833cdceecff93ae8fff66"}, + {file = "typed_ast-1.4.0-cp38-cp38-manylinux1_i686.whl", hash = "sha256:7954560051331d003b4e2b3eb822d9dd2e376fa4f6d98fee32f452f52dd6ebb2"}, + {file = "typed_ast-1.4.0-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:48e5b1e71f25cfdef98b013263a88d7145879fbb2d5185f2a0c79fa7ebbeae47"}, + {file = "typed_ast-1.4.0-cp38-cp38-win32.whl", hash = "sha256:1170afa46a3799e18b4c977777ce137bb53c7485379d9706af8a59f2ea1aa161"}, + {file = "typed_ast-1.4.0-cp38-cp38-win_amd64.whl", hash = "sha256:838997f4310012cf2e1ad3803bce2f3402e9ffb71ded61b5ee22617b3a7f6b6e"}, + {file = "typed_ast-1.4.0.tar.gz", hash = "sha256:66480f95b8167c9c5c5c87f32cf437d585937970f3fc24386f313a4c97b44e34"}, +] +urllib3 = [ + {file = "urllib3-1.25.7-py2.py3-none-any.whl", hash = "sha256:a8a318824cc77d1fd4b2bec2ded92646630d7fe8619497b142c84a9e6f5a7293"}, + {file = "urllib3-1.25.7.tar.gz", hash = "sha256:f3c5fd51747d450d4dcf6f923c81f78f811aab8205fda64b0aba34a4e48b0745"}, +] +virtualenv = [ + {file = "virtualenv-16.7.9-py2.py3-none-any.whl", hash = "sha256:55059a7a676e4e19498f1aad09b8313a38fcc0cdbe4fdddc0e9b06946d21b4bb"}, + {file = "virtualenv-16.7.9.tar.gz", hash = "sha256:0d62c70883c0342d59c11d0ddac0d954d0431321a41ab20851facf2b222598f3"}, +] +wcwidth = [ + {file = "wcwidth-0.1.8-py2.py3-none-any.whl", hash = "sha256:8fd29383f539be45b20bd4df0dc29c20ba48654a41e661925e612311e9f3c603"}, +] +zeep = [ + {file = "zeep-3.4.0-py2.py3-none-any.whl", hash = "sha256:59a4068ab3817b589ee21c6c34166c35baa8f2be7ad69f045d005076a29911c1"}, + {file = "zeep-3.4.0.tar.gz", hash = "sha256:0e98669cfeb60756231ae185498f9ae21b30b2681786b8de58ed34c3b93e41dd"}, +] +zipp = [ + {file = "zipp-0.6.0-py2.py3-none-any.whl", hash = "sha256:f06903e9f1f43b12d371004b4ac7b06ab39a44adc747266928ae6debfa7b3335"}, + {file = "zipp-0.6.0.tar.gz", hash = "sha256:3718b1cbcd963c7d4c5511a8240812904164b7f381b647143a89d3b98f9bcd8e"}, +] diff --git a/PyNFSe/__init__.py b/pynfse/__init__.py similarity index 100% rename from PyNFSe/__init__.py rename to pynfse/__init__.py diff --git a/PyNFSe/nfse/__init__.py b/pynfse/base/__init__.py similarity index 100% rename from PyNFSe/nfse/__init__.py rename to pynfse/base/__init__.py diff --git a/pynfse/base/certificate.py b/pynfse/base/certificate.py new file mode 100755 index 0000000..fe9733e --- /dev/null +++ b/pynfse/base/certificate.py @@ -0,0 +1,33 @@ +from tempfile import NamedTemporaryFile +from typing import Tuple + +from OpenSSL import crypto + + +def get_certificate(cfx_certificate_filepath: str, password: str) -> Tuple: + with open(cfx_certificate_filepath, "rb") as cert_pfx: + pkcs12 = crypto.load_pkcs12(cert_pfx.read(), password.encode()) + + cert = crypto.dump_certificate(crypto.FILETYPE_PEM, pkcs12.get_certificate()) + key = crypto.dump_privatekey(crypto.FILETYPE_PEM, pkcs12.get_privatekey()) + + cert_ca = b"" + + if pkcs12.get_ca_certificates(): + for ca in pkcs12.get_ca_certificates(): + cert_ca = crypto.dump_certificate(crypto.FILETYPE_PEM, ca) + cert_ca + + cert_ca = cert + cert_ca + + cert_file = _create_temp_file(cert_ca) + key_file = _create_temp_file(key) + + return cert_ca, cert_file, key, key_file + + +def _create_temp_file(content: bytes): + temp_file = NamedTemporaryFile() + temp_file.write(content) + temp_file.seek(0) + + return temp_file diff --git a/pynfse/base/models.py b/pynfse/base/models.py new file mode 100644 index 0000000..51a45ac --- /dev/null +++ b/pynfse/base/models.py @@ -0,0 +1,170 @@ +from datetime import datetime +from decimal import Decimal +from typing import List, Optional + +from pydantic import BaseModel, validator + + +class Prestador(BaseModel): + cnpj: str + inscricao_municipal: str + + @validator("cnpj") + def cnpj_must_have_14_digits(cls, value): + return _validate_cnpj(value) + + +class Tomador(BaseModel): + tipo_documento: str + numero_documento: str + razao_social: str + bairro: str + cep: str + codigo_municipio: str + endereco: str + endereco_numero: str + uf: str + + inscricao_municipal: Optional[str] = None + endereco_complemento: Optional[str] = None + email: Optional[str] = None + telefone: Optional[str] = None + + @validator("tipo_documento") + def tipo_documento_must_be_CPF_or_CNPJ(cls, value): + if value.upper() not in ["CPF", "CNPJ"]: + raise ValueError("O tipo de documento do tomador deve ser CPF ou CNPJ.") + + return value.upper() + + @validator("numero_documento") + def validate_digits_from_numero_documento(cls, value, values): + validators = {"CPF": _validate_cpf, "CNPJ": _validate_cnpj} + + if "tipo_documento" not in values: + return value + + document_validator = validators.get(values["tipo_documento"].upper(), None) + return document_validator(value) + + +class Servico(BaseModel): + aliquota: Decimal + codigo_municipio: str + discriminacao: str + iss_retido: int + item_lista: str + valor_servico: Decimal + + desconto_condicionado: Decimal = 0 + desconto_incondicionado: Decimal = 0 + outras_retencoes: Decimal = 0 + valor_cofins: Decimal = 0 + valor_csll: Decimal = 0 + valor_deducoes: Decimal = 0 + valor_inss: Decimal = 0 + valor_ir: Decimal = 0 + valor_pis: Decimal = 0 + + codigo_cnae: Optional[int] = None + codigo_tributacao_municipio: Optional[str] = None + + @validator("iss_retido") + def iss_retido_must_be_1_or_2(cls, value): + if value not in [1, 2]: + raise ValueError("ISS Retido deve ser 1 para SIM ou 2 para NÃO.") + + return value + + @property + def base_calculo(self): + return self.valor_servico - self.valor_deducoes - self.desconto_incondicionado + + @property + def valor_iss(self): + return Decimal(self.base_calculo * self.aliquota).quantize(Decimal("0.01")) + + @property + def valor_iss_retido(self): + return self.valor_iss if self.iss_retido == 1 else 0 + + @property + def valor_liquido(self): + total_discount = sum( + [ + self.desconto_condicionado, + self.desconto_incondicionado, + self.outras_retencoes, + self.valor_cofins, + self.valor_csll, + self.valor_inss, + self.valor_ir, + self.valor_iss_retido, + self.valor_pis, + ] + ) + + return Decimal(self.valor_servico - total_discount) + + +class RPS(BaseModel): + data_emissao: datetime + identificador: str + incentivo: int + natureza_operacao: int + numero: int + prestador: Prestador + regime_especial: Optional[int] = None + serie: str + servico: Servico + simples: int + tipo: str + tomador: Tomador + + @validator("natureza_operacao") + def natureza_operacao_must_be_between_1_and_6(cls, value): + if value not in range(1, 7): + raise ValueError("Natureza da Operação deve ser um número entre 1 e 6.") + + return value + + @validator("regime_especial") + def regime_especial_must_be_between_1_and_4(cls, value): + if value is None or value not in range(1, 5): + raise ValueError("Regime Especial deve ser um número entre 1 e 4.") + + return value + + +class LoteRPS(BaseModel): + cnpj: str + identificador: str + inscricao_municipal: str + lista_rps: List[RPS] + numero_lote: int + + @validator("cnpj") + def cnpj_must_have_14_digits(cls, value): + return _validate_cnpj(value) + + +class PedidoCancelamentoNFSe(BaseModel): + identificador: str + prestador: Prestador + numero_nota: int + codigo_municipio: str + codigo_cancelamento: str + + +def _validate_cpf(document_number: str) -> str: + if len(document_number) != 11 or not document_number.isdigit(): + raise ValueError("CPF deve conter 11 caracteres, sendo todos números.") + + return document_number + + +def _validate_cnpj(document_number: str) -> str: + if len(document_number) != 14 or not document_number.isdigit(): + raise ValueError("CNPJ deve conter 14 caracteres, sendo todos números.") + + return document_number diff --git a/pynfse/base/nfse_signer.py b/pynfse/base/nfse_signer.py new file mode 100755 index 0000000..601fb12 --- /dev/null +++ b/pynfse/base/nfse_signer.py @@ -0,0 +1,56 @@ +from lxml import etree +from signxml import XMLSigner, methods + + +class NFSeSigner: + def __init__(self, certificate: bytes, key: bytes, namespace: str): + self.cert = certificate + self.key = key + self.namespace = namespace + + def sign_rps_batch(self, rps_batch_xml: str) -> str: + root = etree.fromstring(rps_batch_xml.encode()) + rps_list = root.findall("./{0}LoteRps/{0}ListaRps/*".format(self.namespace)) + + for rps in rps_list: + infrps = rps.find("{0}InfRps".format(self.namespace)) + reference_uri = infrps.attrib.get("id") + signature = self.sign(rps, reference_uri) + + rps.append(signature) + + rps_batch = root.find("{0}LoteRps".format(self.namespace)) + reference_uri = rps_batch.attrib.get("id") + signature = self.sign(root, reference_uri) + root.append(signature) + + rps_batch_xml_signed = etree.tostring(root, encoding="utf-8").decode() + rps_batch_xml_signed = rps_batch_xml_signed.replace("ds:", "").replace(":ds", "") + + return rps_batch_xml_signed + + def sign_cancellation_request(self, xml_cancellation_request: str) -> str: + xml_root = etree.fromstring(xml_cancellation_request.encode()) + cancellation_request = xml_root.find("{0}Pedido".format(self.namespace)) + cancellation_request_info = cancellation_request.find( + "{0}InfPedidoCancelamento".format(self.namespace) + ) + reference_uri = cancellation_request_info.attrib.get("id") + + signature = self.sign(cancellation_request, reference_uri) + cancellation_request.append(signature) + + cancellation_request_signed = etree.tostring(xml_root, encoding="utf-8").decode() + cancellation_request_signed = cancellation_request_signed.replace("ds:", "").replace(":ds", "") + + return cancellation_request_signed + + def sign(self, data, reference_uri): + signer = XMLSigner( + method=methods.detached, + signature_algorithm="rsa-sha1", + digest_algorithm="sha1", + c14n_algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315", + ) + + return signer.sign(data=data, key=self.key, cert=self.cert, reference_uri="#{}".format(reference_uri)) diff --git a/pynfse/base/soap_client.py b/pynfse/base/soap_client.py new file mode 100755 index 0000000..4ae8dc3 --- /dev/null +++ b/pynfse/base/soap_client.py @@ -0,0 +1,12 @@ +from requests import Session +from zeep import Client +from zeep.transports import Transport + + +class NFSeSoapClient(Client): + def __init__(self, url_env: str, certificate: tuple, is_production: bool = False): + session = Session() + session.cert = certificate + session.verify = is_production + + super().__init__(url_env, transport=Transport(session=session)) diff --git a/PyNFSe/nfse/pr/__init__.py b/pynfse/nfse/__init__.py similarity index 100% rename from PyNFSe/nfse/pr/__init__.py rename to pynfse/nfse/__init__.py diff --git a/PyNFSe/utils/__init__.py b/pynfse/nfse/pr/__init__.py similarity index 100% rename from PyNFSe/utils/__init__.py rename to pynfse/nfse/pr/__init__.py diff --git a/pynfse/nfse/pr/curitiba/__init__.py b/pynfse/nfse/pr/curitiba/__init__.py new file mode 100755 index 0000000..1021deb --- /dev/null +++ b/pynfse/nfse/pr/curitiba/__init__.py @@ -0,0 +1 @@ +from ._facade import Facade as NFSeCuritiba # noqa diff --git a/pynfse/nfse/pr/curitiba/_dsig.py b/pynfse/nfse/pr/curitiba/_dsig.py new file mode 100755 index 0000000..2c3f8ed --- /dev/null +++ b/pynfse/nfse/pr/curitiba/_dsig.py @@ -0,0 +1,4086 @@ +# ./_dsig.py +# -*- coding: utf-8 -*- +# PyXB bindings for NM:f1c343a882e7a65fb879f4ee813309f8231f28c8 +# Generated 2016-11-27 20:29:26.552708 by PyXB version 1.2.5 using Python 3.5.2.final.0 +# Namespace http://www.w3.org/2000/09/xmldsig# [xmlns:dsig] + +from __future__ import unicode_literals + +import io +import sys + +import pyxb +import pyxb.binding +import pyxb.binding.datatypes +import pyxb.binding.saxer +import pyxb.utils.domutils +import pyxb.utils.six as _six +import pyxb.utils.utility + +# Unique identifier for bindings created at the same time +_GenerationUID = pyxb.utils.utility.UniqueIdentifier("urn:uuid:f41c9a26-b4f0-11e6-9ca1-406c8f42f6c5") + +# Version of PyXB used to generate the bindings +_PyXBVersion = "1.2.5" +# Generated bindings are not compatible across PyXB versions +if pyxb.__version__ != _PyXBVersion: + raise pyxb.PyXBVersionError(_PyXBVersion) + +# A holder for module-level binding classes so we can access them from +# inside class definitions where property names may conflict. +_module_typeBindings = pyxb.utils.utility.Object() + + +# NOTE: All namespace declarations are reserved within the binding +Namespace = pyxb.namespace.NamespaceForURI("http://www.w3.org/2000/09/xmldsig#", create_if_missing=True) +Namespace.configureCategories(["typeBinding", "elementBinding"]) + + +def CreateFromDocument(xml_text, default_namespace=None, location_base=None): + """Parse the given XML and use the document element to create a + Python instance. + + @param xml_text An XML document. This should be data (Python 2 + str or Python 3 bytes), or a text (Python 2 unicode or Python 3 + str) in the L{pyxb._InputEncoding} encoding. + + @keyword default_namespace The L{pyxb.Namespace} instance to use as the + default namespace where there is no default namespace in scope. + If unspecified or C{None}, the namespace of the module containing + this function will be used. + + @keyword location_base: An object to be recorded as the base of all + L{pyxb.utils.utility.Location} instances associated with events and + objects handled by the parser. You might pass the URI from which + the document was obtained. + """ + + if pyxb.XMLStyle_saxer != pyxb._XMLStyle: + dom = pyxb.utils.domutils.StringToDOM(xml_text) + return CreateFromDOM(dom.documentElement, default_namespace=default_namespace) + if default_namespace is None: + default_namespace = Namespace.fallbackNamespace() + saxer = pyxb.binding.saxer.make_parser(fallback_namespace=default_namespace, location_base=location_base) + handler = saxer.getContentHandler() + xmld = xml_text + if isinstance(xmld, _six.text_type): + xmld = xmld.encode(pyxb._InputEncoding) + saxer.parse(io.BytesIO(xmld)) + instance = handler.rootObject() + return instance + + +def CreateFromDOM(node, default_namespace=None): + """Create a Python instance from the given DOM node. + The node tag must correspond to an element declaration in this module. + + @deprecated: Forcing use of DOM interface is unnecessary; use L{CreateFromDocument}.""" + if default_namespace is None: + default_namespace = Namespace.fallbackNamespace() + return pyxb.binding.basis.element.AnyCreateFromDOM(node, default_namespace) + + +# Atomic simple type: {http://www.w3.org/2000/09/xmldsig#}CryptoBinary +class CryptoBinary(pyxb.binding.datatypes.base64Binary): + + """An atomic simple type.""" + + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "CryptoBinary") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 34, + 0, + ) + _Documentation = None + + +CryptoBinary._InitializeFacetMap() +Namespace.addCategoryObject("typeBinding", "CryptoBinary", CryptoBinary) +_module_typeBindings.CryptoBinary = CryptoBinary + +# Atomic simple type: {http://www.w3.org/2000/09/xmldsig#}DigestValueType +class DigestValueType(pyxb.binding.datatypes.base64Binary): + + """An atomic simple type.""" + + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "DigestValueType") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 134, + 0, + ) + _Documentation = None + + +DigestValueType._InitializeFacetMap() +Namespace.addCategoryObject("typeBinding", "DigestValueType", DigestValueType) +_module_typeBindings.DigestValueType = DigestValueType + +# Atomic simple type: {http://www.w3.org/2000/09/xmldsig#}HMACOutputLengthType +class HMACOutputLengthType(pyxb.binding.datatypes.integer): + + """An atomic simple type.""" + + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "HMACOutputLengthType") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 281, + 0, + ) + _Documentation = None + + +HMACOutputLengthType._InitializeFacetMap() +Namespace.addCategoryObject("typeBinding", "HMACOutputLengthType", HMACOutputLengthType) +_module_typeBindings.HMACOutputLengthType = HMACOutputLengthType + +# Complex type {http://www.w3.org/2000/09/xmldsig#}SignatureType with content type ELEMENT_ONLY +class SignatureType(pyxb.binding.basis.complexTypeDefinition): + """Complex type {http://www.w3.org/2000/09/xmldsig#}SignatureType with content type ELEMENT_ONLY""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY + _Abstract = False + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "SignatureType") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 42, + 0, + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://www.w3.org/2000/09/xmldsig#}SignatureValue uses Python identifier SignatureValue + __SignatureValue = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "SignatureValue"), + "SignatureValue", + "__httpwww_w3_org200009xmldsig_SignatureType_httpwww_w3_org200009xmldsigSignatureValue", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 52, + 2, + ), + ) + + SignatureValue = property(__SignatureValue.value, __SignatureValue.set, None, None) + + # Element {http://www.w3.org/2000/09/xmldsig#}SignedInfo uses Python identifier SignedInfo + __SignedInfo = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "SignedInfo"), + "SignedInfo", + "__httpwww_w3_org200009xmldsig_SignatureType_httpwww_w3_org200009xmldsigSignedInfo", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 63, + 0, + ), + ) + + SignedInfo = property(__SignedInfo.value, __SignedInfo.set, None, None) + + # Element {http://www.w3.org/2000/09/xmldsig#}KeyInfo uses Python identifier KeyInfo + __KeyInfo = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "KeyInfo"), + "KeyInfo", + "__httpwww_w3_org200009xmldsig_SignatureType_httpwww_w3_org200009xmldsigKeyInfo", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 142, + 0, + ), + ) + + KeyInfo = property(__KeyInfo.value, __KeyInfo.set, None, None) + + # Element {http://www.w3.org/2000/09/xmldsig#}Object uses Python identifier Object + __Object = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Object"), + "Object", + "__httpwww_w3_org200009xmldsig_SignatureType_httpwww_w3_org200009xmldsigObject", + True, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 241, + 0, + ), + ) + + Object = property(__Object.value, __Object.set, None, None) + + # Attribute Id uses Python identifier Id + __Id = pyxb.binding.content.AttributeUse( + pyxb.namespace.ExpandedName(None, "Id"), + "Id", + "__httpwww_w3_org200009xmldsig_SignatureType_Id", + pyxb.binding.datatypes.ID, + ) + __Id._DeclarationLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 49, + 2, + ) + __Id._UseLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 49, + 2, + ) + + Id = property(__Id.value, __Id.set, None, None) + + _ElementMap.update( + { + __SignatureValue.name(): __SignatureValue, + __SignedInfo.name(): __SignedInfo, + __KeyInfo.name(): __KeyInfo, + __Object.name(): __Object, + } + ) + _AttributeMap.update({__Id.name(): __Id}) + + +_module_typeBindings.SignatureType = SignatureType +Namespace.addCategoryObject("typeBinding", "SignatureType", SignatureType) + + +# Complex type {http://www.w3.org/2000/09/xmldsig#}SignatureValueType with content type SIMPLE +class SignatureValueType(pyxb.binding.basis.complexTypeDefinition): + """Complex type {http://www.w3.org/2000/09/xmldsig#}SignatureValueType with content type SIMPLE""" + + _TypeDefinition = pyxb.binding.datatypes.base64Binary + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_SIMPLE + _Abstract = False + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "SignatureValueType") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 53, + 2, + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.base64Binary + + # Attribute Id uses Python identifier Id + __Id = pyxb.binding.content.AttributeUse( + pyxb.namespace.ExpandedName(None, "Id"), + "Id", + "__httpwww_w3_org200009xmldsig_SignatureValueType_Id", + pyxb.binding.datatypes.ID, + ) + __Id._DeclarationLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 56, + 8, + ) + __Id._UseLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 56, + 8, + ) + + Id = property(__Id.value, __Id.set, None, None) + + _ElementMap.update({}) + _AttributeMap.update({__Id.name(): __Id}) + + +_module_typeBindings.SignatureValueType = SignatureValueType +Namespace.addCategoryObject("typeBinding", "SignatureValueType", SignatureValueType) + + +# Complex type {http://www.w3.org/2000/09/xmldsig#}SignedInfoType with content type ELEMENT_ONLY +class SignedInfoType(pyxb.binding.basis.complexTypeDefinition): + """Complex type {http://www.w3.org/2000/09/xmldsig#}SignedInfoType with content type ELEMENT_ONLY""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY + _Abstract = False + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "SignedInfoType") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 64, + 0, + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://www.w3.org/2000/09/xmldsig#}CanonicalizationMethod uses Python identifier CanonicalizationMethod + __CanonicalizationMethod = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "CanonicalizationMethod"), + "CanonicalizationMethod", + "__httpwww_w3_org200009xmldsig_SignedInfoType_httpwww_w3_org200009xmldsigCanonicalizationMethod", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 73, + 2, + ), + ) + + CanonicalizationMethod = property( + __CanonicalizationMethod.value, __CanonicalizationMethod.set, None, None + ) + + # Element {http://www.w3.org/2000/09/xmldsig#}SignatureMethod uses Python identifier SignatureMethod + __SignatureMethod = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "SignatureMethod"), + "SignatureMethod", + "__httpwww_w3_org200009xmldsig_SignedInfoType_httpwww_w3_org200009xmldsigSignatureMethod", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 82, + 2, + ), + ) + + SignatureMethod = property(__SignatureMethod.value, __SignatureMethod.set, None, None) + + # Element {http://www.w3.org/2000/09/xmldsig#}Reference uses Python identifier Reference + __Reference = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Reference"), + "Reference", + "__httpwww_w3_org200009xmldsig_SignedInfoType_httpwww_w3_org200009xmldsigReference", + True, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 94, + 0, + ), + ) + + Reference = property(__Reference.value, __Reference.set, None, None) + + # Attribute Id uses Python identifier Id + __Id = pyxb.binding.content.AttributeUse( + pyxb.namespace.ExpandedName(None, "Id"), + "Id", + "__httpwww_w3_org200009xmldsig_SignedInfoType_Id", + pyxb.binding.datatypes.ID, + ) + __Id._DeclarationLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 70, + 2, + ) + __Id._UseLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 70, + 2, + ) + + Id = property(__Id.value, __Id.set, None, None) + + _ElementMap.update( + { + __CanonicalizationMethod.name(): __CanonicalizationMethod, + __SignatureMethod.name(): __SignatureMethod, + __Reference.name(): __Reference, + } + ) + _AttributeMap.update({__Id.name(): __Id}) + + +_module_typeBindings.SignedInfoType = SignedInfoType +Namespace.addCategoryObject("typeBinding", "SignedInfoType", SignedInfoType) + + +# Complex type {http://www.w3.org/2000/09/xmldsig#}CanonicalizationMethodType with content type MIXED +class CanonicalizationMethodType(pyxb.binding.basis.complexTypeDefinition): + """Complex type {http://www.w3.org/2000/09/xmldsig#}CanonicalizationMethodType with content type MIXED""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_MIXED + _Abstract = False + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "CanonicalizationMethodType") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 74, + 2, + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Attribute Algorithm uses Python identifier Algorithm + __Algorithm = pyxb.binding.content.AttributeUse( + pyxb.namespace.ExpandedName(None, "Algorithm"), + "Algorithm", + "__httpwww_w3_org200009xmldsig_CanonicalizationMethodType_Algorithm", + pyxb.binding.datatypes.anyURI, + required=True, + ) + __Algorithm._DeclarationLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 79, + 4, + ) + __Algorithm._UseLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 79, + 4, + ) + + Algorithm = property(__Algorithm.value, __Algorithm.set, None, None) + + _HasWildcardElement = True + _ElementMap.update({}) + _AttributeMap.update({__Algorithm.name(): __Algorithm}) + + +_module_typeBindings.CanonicalizationMethodType = CanonicalizationMethodType +Namespace.addCategoryObject("typeBinding", "CanonicalizationMethodType", CanonicalizationMethodType) + + +# Complex type {http://www.w3.org/2000/09/xmldsig#}SignatureMethodType with content type MIXED +class SignatureMethodType(pyxb.binding.basis.complexTypeDefinition): + """Complex type {http://www.w3.org/2000/09/xmldsig#}SignatureMethodType with content type MIXED""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_MIXED + _Abstract = False + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "SignatureMethodType") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 83, + 2, + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://www.w3.org/2000/09/xmldsig#}HMACOutputLength uses Python identifier HMACOutputLength + __HMACOutputLength = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "HMACOutputLength"), + "HMACOutputLength", + "__httpwww_w3_org200009xmldsig_SignatureMethodType_httpwww_w3_org200009xmldsigHMACOutputLength", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 85, + 6, + ), + ) + + HMACOutputLength = property(__HMACOutputLength.value, __HMACOutputLength.set, None, None) + + # Attribute Algorithm uses Python identifier Algorithm + __Algorithm = pyxb.binding.content.AttributeUse( + pyxb.namespace.ExpandedName(None, "Algorithm"), + "Algorithm", + "__httpwww_w3_org200009xmldsig_SignatureMethodType_Algorithm", + pyxb.binding.datatypes.anyURI, + required=True, + ) + __Algorithm._DeclarationLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 89, + 4, + ) + __Algorithm._UseLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 89, + 4, + ) + + Algorithm = property(__Algorithm.value, __Algorithm.set, None, None) + + _HasWildcardElement = True + _ElementMap.update({__HMACOutputLength.name(): __HMACOutputLength}) + _AttributeMap.update({__Algorithm.name(): __Algorithm}) + + +_module_typeBindings.SignatureMethodType = SignatureMethodType +Namespace.addCategoryObject("typeBinding", "SignatureMethodType", SignatureMethodType) + + +# Complex type {http://www.w3.org/2000/09/xmldsig#}ReferenceType with content type ELEMENT_ONLY +class ReferenceType(pyxb.binding.basis.complexTypeDefinition): + """Complex type {http://www.w3.org/2000/09/xmldsig#}ReferenceType with content type ELEMENT_ONLY""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY + _Abstract = False + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "ReferenceType") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 95, + 0, + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://www.w3.org/2000/09/xmldsig#}Transforms uses Python identifier Transforms + __Transforms = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Transforms"), + "Transforms", + "__httpwww_w3_org200009xmldsig_ReferenceType_httpwww_w3_org200009xmldsigTransforms", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 106, + 2, + ), + ) + + Transforms = property(__Transforms.value, __Transforms.set, None, None) + + # Element {http://www.w3.org/2000/09/xmldsig#}DigestMethod uses Python identifier DigestMethod + __DigestMethod = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "DigestMethod"), + "DigestMethod", + "__httpwww_w3_org200009xmldsig_ReferenceType_httpwww_w3_org200009xmldsigDigestMethod", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 125, + 0, + ), + ) + + DigestMethod = property(__DigestMethod.value, __DigestMethod.set, None, None) + + # Element {http://www.w3.org/2000/09/xmldsig#}DigestValue uses Python identifier DigestValue + __DigestValue = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "DigestValue"), + "DigestValue", + "__httpwww_w3_org200009xmldsig_ReferenceType_httpwww_w3_org200009xmldsigDigestValue", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 133, + 0, + ), + ) + + DigestValue = property(__DigestValue.value, __DigestValue.set, None, None) + + # Attribute Id uses Python identifier Id + __Id = pyxb.binding.content.AttributeUse( + pyxb.namespace.ExpandedName(None, "Id"), + "Id", + "__httpwww_w3_org200009xmldsig_ReferenceType_Id", + pyxb.binding.datatypes.ID, + ) + __Id._DeclarationLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 101, + 2, + ) + __Id._UseLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 101, + 2, + ) + + Id = property(__Id.value, __Id.set, None, None) + + # Attribute URI uses Python identifier URI + __URI = pyxb.binding.content.AttributeUse( + pyxb.namespace.ExpandedName(None, "URI"), + "URI", + "__httpwww_w3_org200009xmldsig_ReferenceType_URI", + pyxb.binding.datatypes.anyURI, + ) + __URI._DeclarationLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 102, + 2, + ) + __URI._UseLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 102, + 2, + ) + + URI = property(__URI.value, __URI.set, None, None) + + # Attribute Type uses Python identifier Type + __Type = pyxb.binding.content.AttributeUse( + pyxb.namespace.ExpandedName(None, "Type"), + "Type", + "__httpwww_w3_org200009xmldsig_ReferenceType_Type", + pyxb.binding.datatypes.anyURI, + ) + __Type._DeclarationLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 103, + 2, + ) + __Type._UseLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 103, + 2, + ) + + Type = property(__Type.value, __Type.set, None, None) + + _ElementMap.update( + { + __Transforms.name(): __Transforms, + __DigestMethod.name(): __DigestMethod, + __DigestValue.name(): __DigestValue, + } + ) + _AttributeMap.update({__Id.name(): __Id, __URI.name(): __URI, __Type.name(): __Type}) + + +_module_typeBindings.ReferenceType = ReferenceType +Namespace.addCategoryObject("typeBinding", "ReferenceType", ReferenceType) + + +# Complex type {http://www.w3.org/2000/09/xmldsig#}TransformsType with content type ELEMENT_ONLY +class TransformsType(pyxb.binding.basis.complexTypeDefinition): + """Complex type {http://www.w3.org/2000/09/xmldsig#}TransformsType with content type ELEMENT_ONLY""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY + _Abstract = False + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "TransformsType") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 107, + 2, + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://www.w3.org/2000/09/xmldsig#}Transform uses Python identifier Transform + __Transform = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Transform"), + "Transform", + "__httpwww_w3_org200009xmldsig_TransformsType_httpwww_w3_org200009xmldsigTransform", + True, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 113, + 2, + ), + ) + + Transform = property(__Transform.value, __Transform.set, None, None) + + _ElementMap.update({__Transform.name(): __Transform}) + _AttributeMap.update({}) + + +_module_typeBindings.TransformsType = TransformsType +Namespace.addCategoryObject("typeBinding", "TransformsType", TransformsType) + + +# Complex type {http://www.w3.org/2000/09/xmldsig#}TransformType with content type MIXED +class TransformType(pyxb.binding.basis.complexTypeDefinition): + """Complex type {http://www.w3.org/2000/09/xmldsig#}TransformType with content type MIXED""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_MIXED + _Abstract = False + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "TransformType") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 114, + 2, + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://www.w3.org/2000/09/xmldsig#}XPath uses Python identifier XPath + __XPath = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "XPath"), + "XPath", + "__httpwww_w3_org200009xmldsig_TransformType_httpwww_w3_org200009xmldsigXPath", + True, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 118, + 6, + ), + ) + + XPath = property(__XPath.value, __XPath.set, None, None) + + # Attribute Algorithm uses Python identifier Algorithm + __Algorithm = pyxb.binding.content.AttributeUse( + pyxb.namespace.ExpandedName(None, "Algorithm"), + "Algorithm", + "__httpwww_w3_org200009xmldsig_TransformType_Algorithm", + pyxb.binding.datatypes.anyURI, + required=True, + ) + __Algorithm._DeclarationLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 120, + 4, + ) + __Algorithm._UseLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 120, + 4, + ) + + Algorithm = property(__Algorithm.value, __Algorithm.set, None, None) + + _HasWildcardElement = True + _ElementMap.update({__XPath.name(): __XPath}) + _AttributeMap.update({__Algorithm.name(): __Algorithm}) + + +_module_typeBindings.TransformType = TransformType +Namespace.addCategoryObject("typeBinding", "TransformType", TransformType) + + +# Complex type {http://www.w3.org/2000/09/xmldsig#}DigestMethodType with content type MIXED +class DigestMethodType(pyxb.binding.basis.complexTypeDefinition): + """Complex type {http://www.w3.org/2000/09/xmldsig#}DigestMethodType with content type MIXED""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_MIXED + _Abstract = False + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "DigestMethodType") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 126, + 0, + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Attribute Algorithm uses Python identifier Algorithm + __Algorithm = pyxb.binding.content.AttributeUse( + pyxb.namespace.ExpandedName(None, "Algorithm"), + "Algorithm", + "__httpwww_w3_org200009xmldsig_DigestMethodType_Algorithm", + pyxb.binding.datatypes.anyURI, + required=True, + ) + __Algorithm._DeclarationLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 130, + 2, + ) + __Algorithm._UseLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 130, + 2, + ) + + Algorithm = property(__Algorithm.value, __Algorithm.set, None, None) + + _HasWildcardElement = True + _ElementMap.update({}) + _AttributeMap.update({__Algorithm.name(): __Algorithm}) + + +_module_typeBindings.DigestMethodType = DigestMethodType +Namespace.addCategoryObject("typeBinding", "DigestMethodType", DigestMethodType) + + +# Complex type {http://www.w3.org/2000/09/xmldsig#}KeyInfoType with content type MIXED +class KeyInfoType(pyxb.binding.basis.complexTypeDefinition): + """Complex type {http://www.w3.org/2000/09/xmldsig#}KeyInfoType with content type MIXED""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_MIXED + _Abstract = False + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "KeyInfoType") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 143, + 0, + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://www.w3.org/2000/09/xmldsig#}KeyName uses Python identifier KeyName + __KeyName = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "KeyName"), + "KeyName", + "__httpwww_w3_org200009xmldsig_KeyInfoType_httpwww_w3_org200009xmldsigKeyName", + True, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 158, + 2, + ), + ) + + KeyName = property(__KeyName.value, __KeyName.set, None, None) + + # Element {http://www.w3.org/2000/09/xmldsig#}MgmtData uses Python identifier MgmtData + __MgmtData = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "MgmtData"), + "MgmtData", + "__httpwww_w3_org200009xmldsig_KeyInfoType_httpwww_w3_org200009xmldsigMgmtData", + True, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 159, + 2, + ), + ) + + MgmtData = property(__MgmtData.value, __MgmtData.set, None, None) + + # Element {http://www.w3.org/2000/09/xmldsig#}KeyValue uses Python identifier KeyValue + __KeyValue = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "KeyValue"), + "KeyValue", + "__httpwww_w3_org200009xmldsig_KeyInfoType_httpwww_w3_org200009xmldsigKeyValue", + True, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 161, + 2, + ), + ) + + KeyValue = property(__KeyValue.value, __KeyValue.set, None, None) + + # Element {http://www.w3.org/2000/09/xmldsig#}RetrievalMethod uses Python identifier RetrievalMethod + __RetrievalMethod = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "RetrievalMethod"), + "RetrievalMethod", + "__httpwww_w3_org200009xmldsig_KeyInfoType_httpwww_w3_org200009xmldsigRetrievalMethod", + True, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 170, + 2, + ), + ) + + RetrievalMethod = property(__RetrievalMethod.value, __RetrievalMethod.set, None, None) + + # Element {http://www.w3.org/2000/09/xmldsig#}X509Data uses Python identifier X509Data + __X509Data = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "X509Data"), + "X509Data", + "__httpwww_w3_org200009xmldsig_KeyInfoType_httpwww_w3_org200009xmldsigX509Data", + True, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 181, + 0, + ), + ) + + X509Data = property(__X509Data.value, __X509Data.set, None, None) + + # Element {http://www.w3.org/2000/09/xmldsig#}PGPData uses Python identifier PGPData + __PGPData = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "PGPData"), + "PGPData", + "__httpwww_w3_org200009xmldsig_KeyInfoType_httpwww_w3_org200009xmldsigPGPData", + True, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 206, + 0, + ), + ) + + PGPData = property(__PGPData.value, __PGPData.set, None, None) + + # Element {http://www.w3.org/2000/09/xmldsig#}SPKIData uses Python identifier SPKIData + __SPKIData = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "SPKIData"), + "SPKIData", + "__httpwww_w3_org200009xmldsig_KeyInfoType_httpwww_w3_org200009xmldsigSPKIData", + True, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 227, + 0, + ), + ) + + SPKIData = property(__SPKIData.value, __SPKIData.set, None, None) + + # Attribute Id uses Python identifier Id + __Id = pyxb.binding.content.AttributeUse( + pyxb.namespace.ExpandedName(None, "Id"), + "Id", + "__httpwww_w3_org200009xmldsig_KeyInfoType_Id", + pyxb.binding.datatypes.ID, + ) + __Id._DeclarationLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 155, + 2, + ) + __Id._UseLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 155, + 2, + ) + + Id = property(__Id.value, __Id.set, None, None) + + _HasWildcardElement = True + _ElementMap.update( + { + __KeyName.name(): __KeyName, + __MgmtData.name(): __MgmtData, + __KeyValue.name(): __KeyValue, + __RetrievalMethod.name(): __RetrievalMethod, + __X509Data.name(): __X509Data, + __PGPData.name(): __PGPData, + __SPKIData.name(): __SPKIData, + } + ) + _AttributeMap.update({__Id.name(): __Id}) + + +_module_typeBindings.KeyInfoType = KeyInfoType +Namespace.addCategoryObject("typeBinding", "KeyInfoType", KeyInfoType) + + +# Complex type {http://www.w3.org/2000/09/xmldsig#}KeyValueType with content type MIXED +class KeyValueType(pyxb.binding.basis.complexTypeDefinition): + """Complex type {http://www.w3.org/2000/09/xmldsig#}KeyValueType with content type MIXED""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_MIXED + _Abstract = False + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "KeyValueType") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 162, + 2, + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://www.w3.org/2000/09/xmldsig#}DSAKeyValue uses Python identifier DSAKeyValue + __DSAKeyValue = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "DSAKeyValue"), + "DSAKeyValue", + "__httpwww_w3_org200009xmldsig_KeyValueType_httpwww_w3_org200009xmldsigDSAKeyValue", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 287, + 0, + ), + ) + + DSAKeyValue = property(__DSAKeyValue.value, __DSAKeyValue.set, None, None) + + # Element {http://www.w3.org/2000/09/xmldsig#}RSAKeyValue uses Python identifier RSAKeyValue + __RSAKeyValue = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "RSAKeyValue"), + "RSAKeyValue", + "__httpwww_w3_org200009xmldsig_KeyValueType_httpwww_w3_org200009xmldsigRSAKeyValue", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 304, + 0, + ), + ) + + RSAKeyValue = property(__RSAKeyValue.value, __RSAKeyValue.set, None, None) + + _HasWildcardElement = True + _ElementMap.update({__DSAKeyValue.name(): __DSAKeyValue, __RSAKeyValue.name(): __RSAKeyValue}) + _AttributeMap.update({}) + + +_module_typeBindings.KeyValueType = KeyValueType +Namespace.addCategoryObject("typeBinding", "KeyValueType", KeyValueType) + + +# Complex type {http://www.w3.org/2000/09/xmldsig#}RetrievalMethodType with content type ELEMENT_ONLY +class RetrievalMethodType(pyxb.binding.basis.complexTypeDefinition): + """Complex type {http://www.w3.org/2000/09/xmldsig#}RetrievalMethodType with content type ELEMENT_ONLY""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY + _Abstract = False + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "RetrievalMethodType") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 171, + 2, + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://www.w3.org/2000/09/xmldsig#}Transforms uses Python identifier Transforms + __Transforms = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Transforms"), + "Transforms", + "__httpwww_w3_org200009xmldsig_RetrievalMethodType_httpwww_w3_org200009xmldsigTransforms", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 106, + 2, + ), + ) + + Transforms = property(__Transforms.value, __Transforms.set, None, None) + + # Attribute URI uses Python identifier URI + __URI = pyxb.binding.content.AttributeUse( + pyxb.namespace.ExpandedName(None, "URI"), + "URI", + "__httpwww_w3_org200009xmldsig_RetrievalMethodType_URI", + pyxb.binding.datatypes.anyURI, + ) + __URI._DeclarationLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 175, + 4, + ) + __URI._UseLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 175, + 4, + ) + + URI = property(__URI.value, __URI.set, None, None) + + # Attribute Type uses Python identifier Type + __Type = pyxb.binding.content.AttributeUse( + pyxb.namespace.ExpandedName(None, "Type"), + "Type", + "__httpwww_w3_org200009xmldsig_RetrievalMethodType_Type", + pyxb.binding.datatypes.anyURI, + ) + __Type._DeclarationLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 176, + 4, + ) + __Type._UseLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 176, + 4, + ) + + Type = property(__Type.value, __Type.set, None, None) + + _ElementMap.update({__Transforms.name(): __Transforms}) + _AttributeMap.update({__URI.name(): __URI, __Type.name(): __Type}) + + +_module_typeBindings.RetrievalMethodType = RetrievalMethodType +Namespace.addCategoryObject("typeBinding", "RetrievalMethodType", RetrievalMethodType) + + +# Complex type {http://www.w3.org/2000/09/xmldsig#}X509DataType with content type ELEMENT_ONLY +class X509DataType(pyxb.binding.basis.complexTypeDefinition): + """Complex type {http://www.w3.org/2000/09/xmldsig#}X509DataType with content type ELEMENT_ONLY""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY + _Abstract = False + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "X509DataType") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 182, + 0, + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://www.w3.org/2000/09/xmldsig#}X509IssuerSerial uses Python identifier X509IssuerSerial + __X509IssuerSerial = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "X509IssuerSerial"), + "X509IssuerSerial", + "__httpwww_w3_org200009xmldsig_X509DataType_httpwww_w3_org200009xmldsigX509IssuerSerial", + True, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 185, + 6, + ), + ) + + X509IssuerSerial = property(__X509IssuerSerial.value, __X509IssuerSerial.set, None, None) + + # Element {http://www.w3.org/2000/09/xmldsig#}X509SKI uses Python identifier X509SKI + __X509SKI = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "X509SKI"), + "X509SKI", + "__httpwww_w3_org200009xmldsig_X509DataType_httpwww_w3_org200009xmldsigX509SKI", + True, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 186, + 6, + ), + ) + + X509SKI = property(__X509SKI.value, __X509SKI.set, None, None) + + # Element {http://www.w3.org/2000/09/xmldsig#}X509SubjectName uses Python identifier X509SubjectName + __X509SubjectName = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "X509SubjectName"), + "X509SubjectName", + "__httpwww_w3_org200009xmldsig_X509DataType_httpwww_w3_org200009xmldsigX509SubjectName", + True, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 187, + 6, + ), + ) + + X509SubjectName = property(__X509SubjectName.value, __X509SubjectName.set, None, None) + + # Element {http://www.w3.org/2000/09/xmldsig#}X509Certificate uses Python identifier X509Certificate + __X509Certificate = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "X509Certificate"), + "X509Certificate", + "__httpwww_w3_org200009xmldsig_X509DataType_httpwww_w3_org200009xmldsigX509Certificate", + True, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 188, + 6, + ), + ) + + X509Certificate = property(__X509Certificate.value, __X509Certificate.set, None, None) + + # Element {http://www.w3.org/2000/09/xmldsig#}X509CRL uses Python identifier X509CRL + __X509CRL = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "X509CRL"), + "X509CRL", + "__httpwww_w3_org200009xmldsig_X509DataType_httpwww_w3_org200009xmldsigX509CRL", + True, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 189, + 6, + ), + ) + + X509CRL = property(__X509CRL.value, __X509CRL.set, None, None) + + _HasWildcardElement = True + _ElementMap.update( + { + __X509IssuerSerial.name(): __X509IssuerSerial, + __X509SKI.name(): __X509SKI, + __X509SubjectName.name(): __X509SubjectName, + __X509Certificate.name(): __X509Certificate, + __X509CRL.name(): __X509CRL, + } + ) + _AttributeMap.update({}) + + +_module_typeBindings.X509DataType = X509DataType +Namespace.addCategoryObject("typeBinding", "X509DataType", X509DataType) + + +# Complex type {http://www.w3.org/2000/09/xmldsig#}X509IssuerSerialType with content type ELEMENT_ONLY +class X509IssuerSerialType(pyxb.binding.basis.complexTypeDefinition): + """Complex type {http://www.w3.org/2000/09/xmldsig#}X509IssuerSerialType with content type ELEMENT_ONLY""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY + _Abstract = False + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "X509IssuerSerialType") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 195, + 0, + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://www.w3.org/2000/09/xmldsig#}X509IssuerName uses Python identifier X509IssuerName + __X509IssuerName = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "X509IssuerName"), + "X509IssuerName", + "__httpwww_w3_org200009xmldsig_X509IssuerSerialType_httpwww_w3_org200009xmldsigX509IssuerName", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 197, + 4, + ), + ) + + X509IssuerName = property(__X509IssuerName.value, __X509IssuerName.set, None, None) + + # Element {http://www.w3.org/2000/09/xmldsig#}X509SerialNumber uses Python identifier X509SerialNumber + __X509SerialNumber = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "X509SerialNumber"), + "X509SerialNumber", + "__httpwww_w3_org200009xmldsig_X509IssuerSerialType_httpwww_w3_org200009xmldsigX509SerialNumber", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 198, + 4, + ), + ) + + X509SerialNumber = property(__X509SerialNumber.value, __X509SerialNumber.set, None, None) + + _ElementMap.update( + {__X509IssuerName.name(): __X509IssuerName, __X509SerialNumber.name(): __X509SerialNumber} + ) + _AttributeMap.update({}) + + +_module_typeBindings.X509IssuerSerialType = X509IssuerSerialType +Namespace.addCategoryObject("typeBinding", "X509IssuerSerialType", X509IssuerSerialType) + + +# Complex type {http://www.w3.org/2000/09/xmldsig#}PGPDataType with content type ELEMENT_ONLY +class PGPDataType(pyxb.binding.basis.complexTypeDefinition): + """Complex type {http://www.w3.org/2000/09/xmldsig#}PGPDataType with content type ELEMENT_ONLY""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY + _Abstract = False + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "PGPDataType") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 207, + 0, + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://www.w3.org/2000/09/xmldsig#}PGPKeyID uses Python identifier PGPKeyID + __PGPKeyID = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "PGPKeyID"), + "PGPKeyID", + "__httpwww_w3_org200009xmldsig_PGPDataType_httpwww_w3_org200009xmldsigPGPKeyID", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 210, + 6, + ), + ) + + PGPKeyID = property(__PGPKeyID.value, __PGPKeyID.set, None, None) + + # Element {http://www.w3.org/2000/09/xmldsig#}PGPKeyPacket uses Python identifier PGPKeyPacket + __PGPKeyPacket = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "PGPKeyPacket"), + "PGPKeyPacket", + "__httpwww_w3_org200009xmldsig_PGPDataType_httpwww_w3_org200009xmldsigPGPKeyPacket", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 211, + 6, + ), + ) + + PGPKeyPacket = property(__PGPKeyPacket.value, __PGPKeyPacket.set, None, None) + + _HasWildcardElement = True + _ElementMap.update({__PGPKeyID.name(): __PGPKeyID, __PGPKeyPacket.name(): __PGPKeyPacket}) + _AttributeMap.update({}) + + +_module_typeBindings.PGPDataType = PGPDataType +Namespace.addCategoryObject("typeBinding", "PGPDataType", PGPDataType) + + +# Complex type {http://www.w3.org/2000/09/xmldsig#}SPKIDataType with content type ELEMENT_ONLY +class SPKIDataType(pyxb.binding.basis.complexTypeDefinition): + """Complex type {http://www.w3.org/2000/09/xmldsig#}SPKIDataType with content type ELEMENT_ONLY""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY + _Abstract = False + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "SPKIDataType") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 228, + 0, + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://www.w3.org/2000/09/xmldsig#}SPKISexp uses Python identifier SPKISexp + __SPKISexp = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "SPKISexp"), + "SPKISexp", + "__httpwww_w3_org200009xmldsig_SPKIDataType_httpwww_w3_org200009xmldsigSPKISexp", + True, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 230, + 4, + ), + ) + + SPKISexp = property(__SPKISexp.value, __SPKISexp.set, None, None) + + _HasWildcardElement = True + _ElementMap.update({__SPKISexp.name(): __SPKISexp}) + _AttributeMap.update({}) + + +_module_typeBindings.SPKIDataType = SPKIDataType +Namespace.addCategoryObject("typeBinding", "SPKIDataType", SPKIDataType) + + +# Complex type {http://www.w3.org/2000/09/xmldsig#}ObjectType with content type MIXED +class ObjectType(pyxb.binding.basis.complexTypeDefinition): + """Complex type {http://www.w3.org/2000/09/xmldsig#}ObjectType with content type MIXED""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_MIXED + _Abstract = False + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "ObjectType") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 242, + 0, + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Attribute Id uses Python identifier Id + __Id = pyxb.binding.content.AttributeUse( + pyxb.namespace.ExpandedName(None, "Id"), + "Id", + "__httpwww_w3_org200009xmldsig_ObjectType_Id", + pyxb.binding.datatypes.ID, + ) + __Id._DeclarationLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 246, + 2, + ) + __Id._UseLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 246, + 2, + ) + + Id = property(__Id.value, __Id.set, None, None) + + # Attribute MimeType uses Python identifier MimeType + __MimeType = pyxb.binding.content.AttributeUse( + pyxb.namespace.ExpandedName(None, "MimeType"), + "MimeType", + "__httpwww_w3_org200009xmldsig_ObjectType_MimeType", + pyxb.binding.datatypes.string, + ) + __MimeType._DeclarationLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 247, + 2, + ) + __MimeType._UseLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 247, + 2, + ) + + MimeType = property(__MimeType.value, __MimeType.set, None, None) + + # Attribute Encoding uses Python identifier Encoding + __Encoding = pyxb.binding.content.AttributeUse( + pyxb.namespace.ExpandedName(None, "Encoding"), + "Encoding", + "__httpwww_w3_org200009xmldsig_ObjectType_Encoding", + pyxb.binding.datatypes.anyURI, + ) + __Encoding._DeclarationLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 248, + 2, + ) + __Encoding._UseLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 248, + 2, + ) + + Encoding = property(__Encoding.value, __Encoding.set, None, None) + + _HasWildcardElement = True + _ElementMap.update({}) + _AttributeMap.update({__Id.name(): __Id, __MimeType.name(): __MimeType, __Encoding.name(): __Encoding}) + + +_module_typeBindings.ObjectType = ObjectType +Namespace.addCategoryObject("typeBinding", "ObjectType", ObjectType) + + +# Complex type {http://www.w3.org/2000/09/xmldsig#}ManifestType with content type ELEMENT_ONLY +class ManifestType(pyxb.binding.basis.complexTypeDefinition): + """Complex type {http://www.w3.org/2000/09/xmldsig#}ManifestType with content type ELEMENT_ONLY""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY + _Abstract = False + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "ManifestType") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 252, + 0, + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://www.w3.org/2000/09/xmldsig#}Reference uses Python identifier Reference + __Reference = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Reference"), + "Reference", + "__httpwww_w3_org200009xmldsig_ManifestType_httpwww_w3_org200009xmldsigReference", + True, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 94, + 0, + ), + ) + + Reference = property(__Reference.value, __Reference.set, None, None) + + # Attribute Id uses Python identifier Id + __Id = pyxb.binding.content.AttributeUse( + pyxb.namespace.ExpandedName(None, "Id"), + "Id", + "__httpwww_w3_org200009xmldsig_ManifestType_Id", + pyxb.binding.datatypes.ID, + ) + __Id._DeclarationLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 256, + 2, + ) + __Id._UseLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 256, + 2, + ) + + Id = property(__Id.value, __Id.set, None, None) + + _ElementMap.update({__Reference.name(): __Reference}) + _AttributeMap.update({__Id.name(): __Id}) + + +_module_typeBindings.ManifestType = ManifestType +Namespace.addCategoryObject("typeBinding", "ManifestType", ManifestType) + + +# Complex type {http://www.w3.org/2000/09/xmldsig#}SignaturePropertiesType with content type ELEMENT_ONLY +class SignaturePropertiesType(pyxb.binding.basis.complexTypeDefinition): + """Complex type {http://www.w3.org/2000/09/xmldsig#}SignaturePropertiesType with content type ELEMENT_ONLY""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY + _Abstract = False + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "SignaturePropertiesType") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 260, + 0, + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://www.w3.org/2000/09/xmldsig#}SignatureProperty uses Python identifier SignatureProperty + __SignatureProperty = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "SignatureProperty"), + "SignatureProperty", + "__httpwww_w3_org200009xmldsig_SignaturePropertiesType_httpwww_w3_org200009xmldsigSignatureProperty", + True, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 267, + 3, + ), + ) + + SignatureProperty = property(__SignatureProperty.value, __SignatureProperty.set, None, None) + + # Attribute Id uses Python identifier Id + __Id = pyxb.binding.content.AttributeUse( + pyxb.namespace.ExpandedName(None, "Id"), + "Id", + "__httpwww_w3_org200009xmldsig_SignaturePropertiesType_Id", + pyxb.binding.datatypes.ID, + ) + __Id._DeclarationLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 264, + 2, + ) + __Id._UseLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 264, + 2, + ) + + Id = property(__Id.value, __Id.set, None, None) + + _ElementMap.update({__SignatureProperty.name(): __SignatureProperty}) + _AttributeMap.update({__Id.name(): __Id}) + + +_module_typeBindings.SignaturePropertiesType = SignaturePropertiesType +Namespace.addCategoryObject("typeBinding", "SignaturePropertiesType", SignaturePropertiesType) + + +# Complex type {http://www.w3.org/2000/09/xmldsig#}SignaturePropertyType with content type MIXED +class SignaturePropertyType(pyxb.binding.basis.complexTypeDefinition): + """Complex type {http://www.w3.org/2000/09/xmldsig#}SignaturePropertyType with content type MIXED""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_MIXED + _Abstract = False + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "SignaturePropertyType") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 268, + 3, + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Attribute Target uses Python identifier Target + __Target = pyxb.binding.content.AttributeUse( + pyxb.namespace.ExpandedName(None, "Target"), + "Target", + "__httpwww_w3_org200009xmldsig_SignaturePropertyType_Target", + pyxb.binding.datatypes.anyURI, + required=True, + ) + __Target._DeclarationLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 273, + 5, + ) + __Target._UseLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 273, + 5, + ) + + Target = property(__Target.value, __Target.set, None, None) + + # Attribute Id uses Python identifier Id + __Id = pyxb.binding.content.AttributeUse( + pyxb.namespace.ExpandedName(None, "Id"), + "Id", + "__httpwww_w3_org200009xmldsig_SignaturePropertyType_Id", + pyxb.binding.datatypes.ID, + ) + __Id._DeclarationLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 274, + 5, + ) + __Id._UseLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 274, + 5, + ) + + Id = property(__Id.value, __Id.set, None, None) + + _HasWildcardElement = True + _ElementMap.update({}) + _AttributeMap.update({__Target.name(): __Target, __Id.name(): __Id}) + + +_module_typeBindings.SignaturePropertyType = SignaturePropertyType +Namespace.addCategoryObject("typeBinding", "SignaturePropertyType", SignaturePropertyType) + + +# Complex type {http://www.w3.org/2000/09/xmldsig#}DSAKeyValueType with content type ELEMENT_ONLY +class DSAKeyValueType(pyxb.binding.basis.complexTypeDefinition): + """Complex type {http://www.w3.org/2000/09/xmldsig#}DSAKeyValueType with content type ELEMENT_ONLY""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY + _Abstract = False + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "DSAKeyValueType") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 288, + 0, + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://www.w3.org/2000/09/xmldsig#}P uses Python identifier P + __P = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "P"), + "P", + "__httpwww_w3_org200009xmldsig_DSAKeyValueType_httpwww_w3_org200009xmldsigP", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 291, + 6, + ), + ) + + P = property(__P.value, __P.set, None, None) + + # Element {http://www.w3.org/2000/09/xmldsig#}Q uses Python identifier Q + __Q = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Q"), + "Q", + "__httpwww_w3_org200009xmldsig_DSAKeyValueType_httpwww_w3_org200009xmldsigQ", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 292, + 6, + ), + ) + + Q = property(__Q.value, __Q.set, None, None) + + # Element {http://www.w3.org/2000/09/xmldsig#}G uses Python identifier G + __G = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "G"), + "G", + "__httpwww_w3_org200009xmldsig_DSAKeyValueType_httpwww_w3_org200009xmldsigG", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 294, + 4, + ), + ) + + G = property(__G.value, __G.set, None, None) + + # Element {http://www.w3.org/2000/09/xmldsig#}Y uses Python identifier Y + __Y = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Y"), + "Y", + "__httpwww_w3_org200009xmldsig_DSAKeyValueType_httpwww_w3_org200009xmldsigY", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 295, + 4, + ), + ) + + Y = property(__Y.value, __Y.set, None, None) + + # Element {http://www.w3.org/2000/09/xmldsig#}J uses Python identifier J + __J = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "J"), + "J", + "__httpwww_w3_org200009xmldsig_DSAKeyValueType_httpwww_w3_org200009xmldsigJ", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 296, + 4, + ), + ) + + J = property(__J.value, __J.set, None, None) + + # Element {http://www.w3.org/2000/09/xmldsig#}Seed uses Python identifier Seed + __Seed = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Seed"), + "Seed", + "__httpwww_w3_org200009xmldsig_DSAKeyValueType_httpwww_w3_org200009xmldsigSeed", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 298, + 6, + ), + ) + + Seed = property(__Seed.value, __Seed.set, None, None) + + # Element {http://www.w3.org/2000/09/xmldsig#}PgenCounter uses Python identifier PgenCounter + __PgenCounter = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "PgenCounter"), + "PgenCounter", + "__httpwww_w3_org200009xmldsig_DSAKeyValueType_httpwww_w3_org200009xmldsigPgenCounter", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 299, + 6, + ), + ) + + PgenCounter = property(__PgenCounter.value, __PgenCounter.set, None, None) + + _ElementMap.update( + { + __P.name(): __P, + __Q.name(): __Q, + __G.name(): __G, + __Y.name(): __Y, + __J.name(): __J, + __Seed.name(): __Seed, + __PgenCounter.name(): __PgenCounter, + } + ) + _AttributeMap.update({}) + + +_module_typeBindings.DSAKeyValueType = DSAKeyValueType +Namespace.addCategoryObject("typeBinding", "DSAKeyValueType", DSAKeyValueType) + + +# Complex type {http://www.w3.org/2000/09/xmldsig#}RSAKeyValueType with content type ELEMENT_ONLY +class RSAKeyValueType(pyxb.binding.basis.complexTypeDefinition): + """Complex type {http://www.w3.org/2000/09/xmldsig#}RSAKeyValueType with content type ELEMENT_ONLY""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY + _Abstract = False + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "RSAKeyValueType") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 305, + 0, + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://www.w3.org/2000/09/xmldsig#}Modulus uses Python identifier Modulus + __Modulus = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Modulus"), + "Modulus", + "__httpwww_w3_org200009xmldsig_RSAKeyValueType_httpwww_w3_org200009xmldsigModulus", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 307, + 4, + ), + ) + + Modulus = property(__Modulus.value, __Modulus.set, None, None) + + # Element {http://www.w3.org/2000/09/xmldsig#}Exponent uses Python identifier Exponent + __Exponent = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Exponent"), + "Exponent", + "__httpwww_w3_org200009xmldsig_RSAKeyValueType_httpwww_w3_org200009xmldsigExponent", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 308, + 4, + ), + ) + + Exponent = property(__Exponent.value, __Exponent.set, None, None) + + _ElementMap.update({__Modulus.name(): __Modulus, __Exponent.name(): __Exponent}) + _AttributeMap.update({}) + + +_module_typeBindings.RSAKeyValueType = RSAKeyValueType +Namespace.addCategoryObject("typeBinding", "RSAKeyValueType", RSAKeyValueType) + + +KeyName = pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "KeyName"), + pyxb.binding.datatypes.string, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 158, + 2, + ), +) +Namespace.addCategoryObject("elementBinding", KeyName.name().localName(), KeyName) + +MgmtData = pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "MgmtData"), + pyxb.binding.datatypes.string, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 159, + 2, + ), +) +Namespace.addCategoryObject("elementBinding", MgmtData.name().localName(), MgmtData) + +Signature = pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Signature"), + SignatureType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 41, + 0, + ), +) +Namespace.addCategoryObject("elementBinding", Signature.name().localName(), Signature) + +SignatureValue = pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "SignatureValue"), + SignatureValueType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 52, + 2, + ), +) +Namespace.addCategoryObject("elementBinding", SignatureValue.name().localName(), SignatureValue) + +SignedInfo = pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "SignedInfo"), + SignedInfoType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 63, + 0, + ), +) +Namespace.addCategoryObject("elementBinding", SignedInfo.name().localName(), SignedInfo) + +CanonicalizationMethod = pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "CanonicalizationMethod"), + CanonicalizationMethodType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 73, + 2, + ), +) +Namespace.addCategoryObject( + "elementBinding", CanonicalizationMethod.name().localName(), CanonicalizationMethod +) + +SignatureMethod = pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "SignatureMethod"), + SignatureMethodType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 82, + 2, + ), +) +Namespace.addCategoryObject("elementBinding", SignatureMethod.name().localName(), SignatureMethod) + +Reference = pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Reference"), + ReferenceType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 94, + 0, + ), +) +Namespace.addCategoryObject("elementBinding", Reference.name().localName(), Reference) + +Transforms = pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Transforms"), + TransformsType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 106, + 2, + ), +) +Namespace.addCategoryObject("elementBinding", Transforms.name().localName(), Transforms) + +Transform = pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Transform"), + TransformType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 113, + 2, + ), +) +Namespace.addCategoryObject("elementBinding", Transform.name().localName(), Transform) + +DigestMethod = pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "DigestMethod"), + DigestMethodType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 125, + 0, + ), +) +Namespace.addCategoryObject("elementBinding", DigestMethod.name().localName(), DigestMethod) + +DigestValue = pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "DigestValue"), + DigestValueType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 133, + 0, + ), +) +Namespace.addCategoryObject("elementBinding", DigestValue.name().localName(), DigestValue) + +KeyInfo = pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "KeyInfo"), + KeyInfoType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 142, + 0, + ), +) +Namespace.addCategoryObject("elementBinding", KeyInfo.name().localName(), KeyInfo) + +KeyValue = pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "KeyValue"), + KeyValueType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 161, + 2, + ), +) +Namespace.addCategoryObject("elementBinding", KeyValue.name().localName(), KeyValue) + +RetrievalMethod = pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "RetrievalMethod"), + RetrievalMethodType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 170, + 2, + ), +) +Namespace.addCategoryObject("elementBinding", RetrievalMethod.name().localName(), RetrievalMethod) + +X509Data = pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "X509Data"), + X509DataType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 181, + 0, + ), +) +Namespace.addCategoryObject("elementBinding", X509Data.name().localName(), X509Data) + +PGPData = pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "PGPData"), + PGPDataType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 206, + 0, + ), +) +Namespace.addCategoryObject("elementBinding", PGPData.name().localName(), PGPData) + +SPKIData = pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "SPKIData"), + SPKIDataType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 227, + 0, + ), +) +Namespace.addCategoryObject("elementBinding", SPKIData.name().localName(), SPKIData) + +Object = pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Object"), + ObjectType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 241, + 0, + ), +) +Namespace.addCategoryObject("elementBinding", Object.name().localName(), Object) + +Manifest = pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Manifest"), + ManifestType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 251, + 0, + ), +) +Namespace.addCategoryObject("elementBinding", Manifest.name().localName(), Manifest) + +SignatureProperties = pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "SignatureProperties"), + SignaturePropertiesType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 259, + 0, + ), +) +Namespace.addCategoryObject("elementBinding", SignatureProperties.name().localName(), SignatureProperties) + +SignatureProperty = pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "SignatureProperty"), + SignaturePropertyType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 267, + 3, + ), +) +Namespace.addCategoryObject("elementBinding", SignatureProperty.name().localName(), SignatureProperty) + +DSAKeyValue = pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "DSAKeyValue"), + DSAKeyValueType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 287, + 0, + ), +) +Namespace.addCategoryObject("elementBinding", DSAKeyValue.name().localName(), DSAKeyValue) + +RSAKeyValue = pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "RSAKeyValue"), + RSAKeyValueType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 304, + 0, + ), +) +Namespace.addCategoryObject("elementBinding", RSAKeyValue.name().localName(), RSAKeyValue) + + +SignatureType._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "SignatureValue"), + SignatureValueType, + scope=SignatureType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 52, + 2, + ), + ) +) + +SignatureType._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "SignedInfo"), + SignedInfoType, + scope=SignatureType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 63, + 0, + ), + ) +) + +SignatureType._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "KeyInfo"), + KeyInfoType, + scope=SignatureType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 142, + 0, + ), + ) +) + +SignatureType._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Object"), + ObjectType, + scope=SignatureType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 241, + 0, + ), + ) +) + + +def _BuildAutomaton(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton + del _BuildAutomaton + import pyxb.utils.fac as fac + + counters = set() + cc_0 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 46, + 4, + ), + ) + counters.add(cc_0) + cc_1 = fac.CounterCondition( + min=0, + max=None, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 47, + 4, + ), + ) + counters.add(cc_1) + states = [] + final_update = None + symbol = pyxb.binding.content.ElementUse( + SignatureType._UseForTag(pyxb.namespace.ExpandedName(Namespace, "SignedInfo")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 44, + 4, + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + final_update = set() + symbol = pyxb.binding.content.ElementUse( + SignatureType._UseForTag(pyxb.namespace.ExpandedName(Namespace, "SignatureValue")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 45, + 4, + ), + ) + st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_1) + final_update = set() + final_update.add(fac.UpdateInstruction(cc_0, False)) + symbol = pyxb.binding.content.ElementUse( + SignatureType._UseForTag(pyxb.namespace.ExpandedName(Namespace, "KeyInfo")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 46, + 4, + ), + ) + st_2 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_2) + final_update = set() + final_update.add(fac.UpdateInstruction(cc_1, False)) + symbol = pyxb.binding.content.ElementUse( + SignatureType._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Object")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 47, + 4, + ), + ) + st_3 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_3) + transitions = [] + transitions.append(fac.Transition(st_1, [])) + st_0._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_2, [])) + transitions.append(fac.Transition(st_3, [])) + st_1._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_2, [fac.UpdateInstruction(cc_0, True)])) + transitions.append(fac.Transition(st_3, [fac.UpdateInstruction(cc_0, False)])) + st_2._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_3, [fac.UpdateInstruction(cc_1, True)])) + st_3._set_transitionSet(transitions) + return fac.Automaton(states, counters, False, containing_state=None) + + +SignatureType._Automaton = _BuildAutomaton() + + +SignedInfoType._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "CanonicalizationMethod"), + CanonicalizationMethodType, + scope=SignedInfoType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 73, + 2, + ), + ) +) + +SignedInfoType._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "SignatureMethod"), + SignatureMethodType, + scope=SignedInfoType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 82, + 2, + ), + ) +) + +SignedInfoType._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Reference"), + ReferenceType, + scope=SignedInfoType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 94, + 0, + ), + ) +) + + +def _BuildAutomaton_(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_ + del _BuildAutomaton_ + import pyxb.utils.fac as fac + + counters = set() + states = [] + final_update = None + symbol = pyxb.binding.content.ElementUse( + SignedInfoType._UseForTag(pyxb.namespace.ExpandedName(Namespace, "CanonicalizationMethod")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 66, + 4, + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + final_update = None + symbol = pyxb.binding.content.ElementUse( + SignedInfoType._UseForTag(pyxb.namespace.ExpandedName(Namespace, "SignatureMethod")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 67, + 4, + ), + ) + st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_1) + final_update = set() + symbol = pyxb.binding.content.ElementUse( + SignedInfoType._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Reference")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 68, + 4, + ), + ) + st_2 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_2) + transitions = [] + transitions.append(fac.Transition(st_1, [])) + st_0._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_2, [])) + st_1._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_2, [])) + st_2._set_transitionSet(transitions) + return fac.Automaton(states, counters, False, containing_state=None) + + +SignedInfoType._Automaton = _BuildAutomaton_() + + +def _BuildAutomaton_2(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_2 + del _BuildAutomaton_2 + import pyxb.utils.fac as fac + + counters = set() + cc_0 = fac.CounterCondition( + min=0, + max=None, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 76, + 6, + ), + ) + counters.add(cc_0) + states = [] + final_update = set() + final_update.add(fac.UpdateInstruction(cc_0, False)) + symbol = pyxb.binding.content.WildcardUse( + pyxb.binding.content.Wildcard( + process_contents=pyxb.binding.content.Wildcard.PC_strict, + namespace_constraint=pyxb.binding.content.Wildcard.NC_any, + ), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 76, + 6, + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + transitions = [] + transitions.append(fac.Transition(st_0, [fac.UpdateInstruction(cc_0, True)])) + st_0._set_transitionSet(transitions) + return fac.Automaton(states, counters, True, containing_state=None) + + +CanonicalizationMethodType._Automaton = _BuildAutomaton_2() + + +SignatureMethodType._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "HMACOutputLength"), + HMACOutputLengthType, + scope=SignatureMethodType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 85, + 6, + ), + ) +) + + +def _BuildAutomaton_3(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_3 + del _BuildAutomaton_3 + import pyxb.utils.fac as fac + + counters = set() + cc_0 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 85, + 6, + ), + ) + counters.add(cc_0) + cc_1 = fac.CounterCondition( + min=0, + max=None, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 86, + 6, + ), + ) + counters.add(cc_1) + states = [] + final_update = set() + final_update.add(fac.UpdateInstruction(cc_0, False)) + symbol = pyxb.binding.content.ElementUse( + SignatureMethodType._UseForTag(pyxb.namespace.ExpandedName(Namespace, "HMACOutputLength")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 85, + 6, + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + final_update = set() + final_update.add(fac.UpdateInstruction(cc_1, False)) + symbol = pyxb.binding.content.WildcardUse( + pyxb.binding.content.Wildcard( + process_contents=pyxb.binding.content.Wildcard.PC_strict, + namespace_constraint=(pyxb.binding.content.Wildcard.NC_not, "http://www.w3.org/2000/09/xmldsig#"), + ), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 86, + 6, + ), + ) + st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_1) + transitions = [] + transitions.append(fac.Transition(st_0, [fac.UpdateInstruction(cc_0, True)])) + transitions.append(fac.Transition(st_1, [fac.UpdateInstruction(cc_0, False)])) + st_0._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_1, [fac.UpdateInstruction(cc_1, True)])) + st_1._set_transitionSet(transitions) + return fac.Automaton(states, counters, True, containing_state=None) + + +SignatureMethodType._Automaton = _BuildAutomaton_3() + + +ReferenceType._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Transforms"), + TransformsType, + scope=ReferenceType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 106, + 2, + ), + ) +) + +ReferenceType._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "DigestMethod"), + DigestMethodType, + scope=ReferenceType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 125, + 0, + ), + ) +) + +ReferenceType._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "DigestValue"), + DigestValueType, + scope=ReferenceType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 133, + 0, + ), + ) +) + + +def _BuildAutomaton_4(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_4 + del _BuildAutomaton_4 + import pyxb.utils.fac as fac + + counters = set() + cc_0 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 97, + 4, + ), + ) + counters.add(cc_0) + states = [] + final_update = None + symbol = pyxb.binding.content.ElementUse( + ReferenceType._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Transforms")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 97, + 4, + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + final_update = None + symbol = pyxb.binding.content.ElementUse( + ReferenceType._UseForTag(pyxb.namespace.ExpandedName(Namespace, "DigestMethod")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 98, + 4, + ), + ) + st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_1) + final_update = set() + symbol = pyxb.binding.content.ElementUse( + ReferenceType._UseForTag(pyxb.namespace.ExpandedName(Namespace, "DigestValue")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 99, + 4, + ), + ) + st_2 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_2) + transitions = [] + transitions.append(fac.Transition(st_0, [fac.UpdateInstruction(cc_0, True)])) + transitions.append(fac.Transition(st_1, [fac.UpdateInstruction(cc_0, False)])) + st_0._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_2, [])) + st_1._set_transitionSet(transitions) + transitions = [] + st_2._set_transitionSet(transitions) + return fac.Automaton(states, counters, False, containing_state=None) + + +ReferenceType._Automaton = _BuildAutomaton_4() + + +TransformsType._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Transform"), + TransformType, + scope=TransformsType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 113, + 2, + ), + ) +) + + +def _BuildAutomaton_5(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_5 + del _BuildAutomaton_5 + import pyxb.utils.fac as fac + + counters = set() + states = [] + final_update = set() + symbol = pyxb.binding.content.ElementUse( + TransformsType._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Transform")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 109, + 6, + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + transitions = [] + transitions.append(fac.Transition(st_0, [])) + st_0._set_transitionSet(transitions) + return fac.Automaton(states, counters, False, containing_state=None) + + +TransformsType._Automaton = _BuildAutomaton_5() + + +TransformType._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "XPath"), + pyxb.binding.datatypes.string, + scope=TransformType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 118, + 6, + ), + ) +) + + +def _BuildAutomaton_6(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_6 + del _BuildAutomaton_6 + import pyxb.utils.fac as fac + + counters = set() + cc_0 = fac.CounterCondition( + min=0, + max=None, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 115, + 4, + ), + ) + counters.add(cc_0) + states = [] + final_update = set() + final_update.add(fac.UpdateInstruction(cc_0, False)) + symbol = pyxb.binding.content.WildcardUse( + pyxb.binding.content.Wildcard( + process_contents=pyxb.binding.content.Wildcard.PC_lax, + namespace_constraint=(pyxb.binding.content.Wildcard.NC_not, "http://www.w3.org/2000/09/xmldsig#"), + ), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 116, + 6, + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + final_update = set() + final_update.add(fac.UpdateInstruction(cc_0, False)) + symbol = pyxb.binding.content.ElementUse( + TransformType._UseForTag(pyxb.namespace.ExpandedName(Namespace, "XPath")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 118, + 6, + ), + ) + st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_1) + transitions = [] + transitions.append(fac.Transition(st_0, [fac.UpdateInstruction(cc_0, True)])) + transitions.append(fac.Transition(st_1, [fac.UpdateInstruction(cc_0, True)])) + st_0._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_0, [fac.UpdateInstruction(cc_0, True)])) + transitions.append(fac.Transition(st_1, [fac.UpdateInstruction(cc_0, True)])) + st_1._set_transitionSet(transitions) + return fac.Automaton(states, counters, True, containing_state=None) + + +TransformType._Automaton = _BuildAutomaton_6() + + +def _BuildAutomaton_7(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_7 + del _BuildAutomaton_7 + import pyxb.utils.fac as fac + + counters = set() + cc_0 = fac.CounterCondition( + min=0, + max=None, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 128, + 4, + ), + ) + counters.add(cc_0) + states = [] + final_update = set() + final_update.add(fac.UpdateInstruction(cc_0, False)) + symbol = pyxb.binding.content.WildcardUse( + pyxb.binding.content.Wildcard( + process_contents=pyxb.binding.content.Wildcard.PC_lax, + namespace_constraint=(pyxb.binding.content.Wildcard.NC_not, "http://www.w3.org/2000/09/xmldsig#"), + ), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 128, + 4, + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + transitions = [] + transitions.append(fac.Transition(st_0, [fac.UpdateInstruction(cc_0, True)])) + st_0._set_transitionSet(transitions) + return fac.Automaton(states, counters, True, containing_state=None) + + +DigestMethodType._Automaton = _BuildAutomaton_7() + + +KeyInfoType._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "KeyName"), + pyxb.binding.datatypes.string, + scope=KeyInfoType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 158, + 2, + ), + ) +) + +KeyInfoType._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "MgmtData"), + pyxb.binding.datatypes.string, + scope=KeyInfoType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 159, + 2, + ), + ) +) + +KeyInfoType._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "KeyValue"), + KeyValueType, + scope=KeyInfoType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 161, + 2, + ), + ) +) + +KeyInfoType._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "RetrievalMethod"), + RetrievalMethodType, + scope=KeyInfoType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 170, + 2, + ), + ) +) + +KeyInfoType._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "X509Data"), + X509DataType, + scope=KeyInfoType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 181, + 0, + ), + ) +) + +KeyInfoType._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "PGPData"), + PGPDataType, + scope=KeyInfoType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 206, + 0, + ), + ) +) + +KeyInfoType._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "SPKIData"), + SPKIDataType, + scope=KeyInfoType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 227, + 0, + ), + ) +) + + +def _BuildAutomaton_8(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_8 + del _BuildAutomaton_8 + import pyxb.utils.fac as fac + + counters = set() + states = [] + final_update = set() + symbol = pyxb.binding.content.ElementUse( + KeyInfoType._UseForTag(pyxb.namespace.ExpandedName(Namespace, "KeyName")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 145, + 4, + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + final_update = set() + symbol = pyxb.binding.content.ElementUse( + KeyInfoType._UseForTag(pyxb.namespace.ExpandedName(Namespace, "KeyValue")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 146, + 4, + ), + ) + st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_1) + final_update = set() + symbol = pyxb.binding.content.ElementUse( + KeyInfoType._UseForTag(pyxb.namespace.ExpandedName(Namespace, "RetrievalMethod")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 147, + 4, + ), + ) + st_2 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_2) + final_update = set() + symbol = pyxb.binding.content.ElementUse( + KeyInfoType._UseForTag(pyxb.namespace.ExpandedName(Namespace, "X509Data")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 148, + 4, + ), + ) + st_3 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_3) + final_update = set() + symbol = pyxb.binding.content.ElementUse( + KeyInfoType._UseForTag(pyxb.namespace.ExpandedName(Namespace, "PGPData")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 149, + 4, + ), + ) + st_4 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_4) + final_update = set() + symbol = pyxb.binding.content.ElementUse( + KeyInfoType._UseForTag(pyxb.namespace.ExpandedName(Namespace, "SPKIData")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 150, + 4, + ), + ) + st_5 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_5) + final_update = set() + symbol = pyxb.binding.content.ElementUse( + KeyInfoType._UseForTag(pyxb.namespace.ExpandedName(Namespace, "MgmtData")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 151, + 4, + ), + ) + st_6 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_6) + final_update = set() + symbol = pyxb.binding.content.WildcardUse( + pyxb.binding.content.Wildcard( + process_contents=pyxb.binding.content.Wildcard.PC_lax, + namespace_constraint=(pyxb.binding.content.Wildcard.NC_not, "http://www.w3.org/2000/09/xmldsig#"), + ), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 152, + 4, + ), + ) + st_7 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_7) + transitions = [] + transitions.append(fac.Transition(st_0, [])) + transitions.append(fac.Transition(st_1, [])) + transitions.append(fac.Transition(st_2, [])) + transitions.append(fac.Transition(st_3, [])) + transitions.append(fac.Transition(st_4, [])) + transitions.append(fac.Transition(st_5, [])) + transitions.append(fac.Transition(st_6, [])) + transitions.append(fac.Transition(st_7, [])) + st_0._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_0, [])) + transitions.append(fac.Transition(st_1, [])) + transitions.append(fac.Transition(st_2, [])) + transitions.append(fac.Transition(st_3, [])) + transitions.append(fac.Transition(st_4, [])) + transitions.append(fac.Transition(st_5, [])) + transitions.append(fac.Transition(st_6, [])) + transitions.append(fac.Transition(st_7, [])) + st_1._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_0, [])) + transitions.append(fac.Transition(st_1, [])) + transitions.append(fac.Transition(st_2, [])) + transitions.append(fac.Transition(st_3, [])) + transitions.append(fac.Transition(st_4, [])) + transitions.append(fac.Transition(st_5, [])) + transitions.append(fac.Transition(st_6, [])) + transitions.append(fac.Transition(st_7, [])) + st_2._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_0, [])) + transitions.append(fac.Transition(st_1, [])) + transitions.append(fac.Transition(st_2, [])) + transitions.append(fac.Transition(st_3, [])) + transitions.append(fac.Transition(st_4, [])) + transitions.append(fac.Transition(st_5, [])) + transitions.append(fac.Transition(st_6, [])) + transitions.append(fac.Transition(st_7, [])) + st_3._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_0, [])) + transitions.append(fac.Transition(st_1, [])) + transitions.append(fac.Transition(st_2, [])) + transitions.append(fac.Transition(st_3, [])) + transitions.append(fac.Transition(st_4, [])) + transitions.append(fac.Transition(st_5, [])) + transitions.append(fac.Transition(st_6, [])) + transitions.append(fac.Transition(st_7, [])) + st_4._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_0, [])) + transitions.append(fac.Transition(st_1, [])) + transitions.append(fac.Transition(st_2, [])) + transitions.append(fac.Transition(st_3, [])) + transitions.append(fac.Transition(st_4, [])) + transitions.append(fac.Transition(st_5, [])) + transitions.append(fac.Transition(st_6, [])) + transitions.append(fac.Transition(st_7, [])) + st_5._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_0, [])) + transitions.append(fac.Transition(st_1, [])) + transitions.append(fac.Transition(st_2, [])) + transitions.append(fac.Transition(st_3, [])) + transitions.append(fac.Transition(st_4, [])) + transitions.append(fac.Transition(st_5, [])) + transitions.append(fac.Transition(st_6, [])) + transitions.append(fac.Transition(st_7, [])) + st_6._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_0, [])) + transitions.append(fac.Transition(st_1, [])) + transitions.append(fac.Transition(st_2, [])) + transitions.append(fac.Transition(st_3, [])) + transitions.append(fac.Transition(st_4, [])) + transitions.append(fac.Transition(st_5, [])) + transitions.append(fac.Transition(st_6, [])) + transitions.append(fac.Transition(st_7, [])) + st_7._set_transitionSet(transitions) + return fac.Automaton(states, counters, False, containing_state=None) + + +KeyInfoType._Automaton = _BuildAutomaton_8() + + +KeyValueType._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "DSAKeyValue"), + DSAKeyValueType, + scope=KeyValueType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 287, + 0, + ), + ) +) + +KeyValueType._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "RSAKeyValue"), + RSAKeyValueType, + scope=KeyValueType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 304, + 0, + ), + ) +) + + +def _BuildAutomaton_9(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_9 + del _BuildAutomaton_9 + import pyxb.utils.fac as fac + + counters = set() + states = [] + final_update = set() + symbol = pyxb.binding.content.ElementUse( + KeyValueType._UseForTag(pyxb.namespace.ExpandedName(Namespace, "DSAKeyValue")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 164, + 5, + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + final_update = set() + symbol = pyxb.binding.content.ElementUse( + KeyValueType._UseForTag(pyxb.namespace.ExpandedName(Namespace, "RSAKeyValue")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 165, + 5, + ), + ) + st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_1) + final_update = set() + symbol = pyxb.binding.content.WildcardUse( + pyxb.binding.content.Wildcard( + process_contents=pyxb.binding.content.Wildcard.PC_lax, + namespace_constraint=(pyxb.binding.content.Wildcard.NC_not, "http://www.w3.org/2000/09/xmldsig#"), + ), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 166, + 5, + ), + ) + st_2 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_2) + transitions = [] + st_0._set_transitionSet(transitions) + transitions = [] + st_1._set_transitionSet(transitions) + transitions = [] + st_2._set_transitionSet(transitions) + return fac.Automaton(states, counters, False, containing_state=None) + + +KeyValueType._Automaton = _BuildAutomaton_9() + + +RetrievalMethodType._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Transforms"), + TransformsType, + scope=RetrievalMethodType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 106, + 2, + ), + ) +) + + +def _BuildAutomaton_10(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_10 + del _BuildAutomaton_10 + import pyxb.utils.fac as fac + + counters = set() + cc_0 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 173, + 6, + ), + ) + counters.add(cc_0) + states = [] + final_update = set() + final_update.add(fac.UpdateInstruction(cc_0, False)) + symbol = pyxb.binding.content.ElementUse( + RetrievalMethodType._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Transforms")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 173, + 6, + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + transitions = [] + transitions.append(fac.Transition(st_0, [fac.UpdateInstruction(cc_0, True)])) + st_0._set_transitionSet(transitions) + return fac.Automaton(states, counters, True, containing_state=None) + + +RetrievalMethodType._Automaton = _BuildAutomaton_10() + + +X509DataType._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "X509IssuerSerial"), + X509IssuerSerialType, + scope=X509DataType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 185, + 6, + ), + ) +) + +X509DataType._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "X509SKI"), + pyxb.binding.datatypes.base64Binary, + scope=X509DataType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 186, + 6, + ), + ) +) + +X509DataType._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "X509SubjectName"), + pyxb.binding.datatypes.string, + scope=X509DataType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 187, + 6, + ), + ) +) + +X509DataType._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "X509Certificate"), + pyxb.binding.datatypes.base64Binary, + scope=X509DataType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 188, + 6, + ), + ) +) + +X509DataType._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "X509CRL"), + pyxb.binding.datatypes.base64Binary, + scope=X509DataType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 189, + 6, + ), + ) +) + + +def _BuildAutomaton_11(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_11 + del _BuildAutomaton_11 + import pyxb.utils.fac as fac + + counters = set() + states = [] + final_update = set() + symbol = pyxb.binding.content.ElementUse( + X509DataType._UseForTag(pyxb.namespace.ExpandedName(Namespace, "X509IssuerSerial")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 185, + 6, + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + final_update = set() + symbol = pyxb.binding.content.ElementUse( + X509DataType._UseForTag(pyxb.namespace.ExpandedName(Namespace, "X509SKI")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 186, + 6, + ), + ) + st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_1) + final_update = set() + symbol = pyxb.binding.content.ElementUse( + X509DataType._UseForTag(pyxb.namespace.ExpandedName(Namespace, "X509SubjectName")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 187, + 6, + ), + ) + st_2 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_2) + final_update = set() + symbol = pyxb.binding.content.ElementUse( + X509DataType._UseForTag(pyxb.namespace.ExpandedName(Namespace, "X509Certificate")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 188, + 6, + ), + ) + st_3 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_3) + final_update = set() + symbol = pyxb.binding.content.ElementUse( + X509DataType._UseForTag(pyxb.namespace.ExpandedName(Namespace, "X509CRL")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 189, + 6, + ), + ) + st_4 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_4) + final_update = set() + symbol = pyxb.binding.content.WildcardUse( + pyxb.binding.content.Wildcard( + process_contents=pyxb.binding.content.Wildcard.PC_lax, + namespace_constraint=(pyxb.binding.content.Wildcard.NC_not, "http://www.w3.org/2000/09/xmldsig#"), + ), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 190, + 6, + ), + ) + st_5 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_5) + transitions = [] + transitions.append(fac.Transition(st_0, [])) + transitions.append(fac.Transition(st_1, [])) + transitions.append(fac.Transition(st_2, [])) + transitions.append(fac.Transition(st_3, [])) + transitions.append(fac.Transition(st_4, [])) + transitions.append(fac.Transition(st_5, [])) + st_0._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_0, [])) + transitions.append(fac.Transition(st_1, [])) + transitions.append(fac.Transition(st_2, [])) + transitions.append(fac.Transition(st_3, [])) + transitions.append(fac.Transition(st_4, [])) + transitions.append(fac.Transition(st_5, [])) + st_1._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_0, [])) + transitions.append(fac.Transition(st_1, [])) + transitions.append(fac.Transition(st_2, [])) + transitions.append(fac.Transition(st_3, [])) + transitions.append(fac.Transition(st_4, [])) + transitions.append(fac.Transition(st_5, [])) + st_2._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_0, [])) + transitions.append(fac.Transition(st_1, [])) + transitions.append(fac.Transition(st_2, [])) + transitions.append(fac.Transition(st_3, [])) + transitions.append(fac.Transition(st_4, [])) + transitions.append(fac.Transition(st_5, [])) + st_3._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_0, [])) + transitions.append(fac.Transition(st_1, [])) + transitions.append(fac.Transition(st_2, [])) + transitions.append(fac.Transition(st_3, [])) + transitions.append(fac.Transition(st_4, [])) + transitions.append(fac.Transition(st_5, [])) + st_4._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_0, [])) + transitions.append(fac.Transition(st_1, [])) + transitions.append(fac.Transition(st_2, [])) + transitions.append(fac.Transition(st_3, [])) + transitions.append(fac.Transition(st_4, [])) + transitions.append(fac.Transition(st_5, [])) + st_5._set_transitionSet(transitions) + return fac.Automaton(states, counters, False, containing_state=None) + + +X509DataType._Automaton = _BuildAutomaton_11() + + +X509IssuerSerialType._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "X509IssuerName"), + pyxb.binding.datatypes.string, + scope=X509IssuerSerialType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 197, + 4, + ), + ) +) + +X509IssuerSerialType._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "X509SerialNumber"), + pyxb.binding.datatypes.integer, + scope=X509IssuerSerialType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 198, + 4, + ), + ) +) + + +def _BuildAutomaton_12(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_12 + del _BuildAutomaton_12 + import pyxb.utils.fac as fac + + counters = set() + states = [] + final_update = None + symbol = pyxb.binding.content.ElementUse( + X509IssuerSerialType._UseForTag(pyxb.namespace.ExpandedName(Namespace, "X509IssuerName")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 197, + 4, + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + final_update = set() + symbol = pyxb.binding.content.ElementUse( + X509IssuerSerialType._UseForTag(pyxb.namespace.ExpandedName(Namespace, "X509SerialNumber")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 198, + 4, + ), + ) + st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_1) + transitions = [] + transitions.append(fac.Transition(st_1, [])) + st_0._set_transitionSet(transitions) + transitions = [] + st_1._set_transitionSet(transitions) + return fac.Automaton(states, counters, False, containing_state=None) + + +X509IssuerSerialType._Automaton = _BuildAutomaton_12() + + +PGPDataType._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "PGPKeyID"), + pyxb.binding.datatypes.base64Binary, + scope=PGPDataType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 210, + 6, + ), + ) +) + +PGPDataType._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "PGPKeyPacket"), + pyxb.binding.datatypes.base64Binary, + scope=PGPDataType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 211, + 6, + ), + ) +) + + +def _BuildAutomaton_13(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_13 + del _BuildAutomaton_13 + import pyxb.utils.fac as fac + + counters = set() + cc_0 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 211, + 6, + ), + ) + counters.add(cc_0) + cc_1 = fac.CounterCondition( + min=0, + max=None, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 212, + 6, + ), + ) + counters.add(cc_1) + cc_2 = fac.CounterCondition( + min=0, + max=None, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 217, + 6, + ), + ) + counters.add(cc_2) + states = [] + final_update = set() + symbol = pyxb.binding.content.ElementUse( + PGPDataType._UseForTag(pyxb.namespace.ExpandedName(Namespace, "PGPKeyID")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 210, + 6, + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + final_update = set() + final_update.add(fac.UpdateInstruction(cc_0, False)) + symbol = pyxb.binding.content.ElementUse( + PGPDataType._UseForTag(pyxb.namespace.ExpandedName(Namespace, "PGPKeyPacket")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 211, + 6, + ), + ) + st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_1) + final_update = set() + final_update.add(fac.UpdateInstruction(cc_1, False)) + symbol = pyxb.binding.content.WildcardUse( + pyxb.binding.content.Wildcard( + process_contents=pyxb.binding.content.Wildcard.PC_lax, + namespace_constraint=(pyxb.binding.content.Wildcard.NC_not, "http://www.w3.org/2000/09/xmldsig#"), + ), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 212, + 6, + ), + ) + st_2 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_2) + final_update = set() + symbol = pyxb.binding.content.ElementUse( + PGPDataType._UseForTag(pyxb.namespace.ExpandedName(Namespace, "PGPKeyPacket")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 216, + 6, + ), + ) + st_3 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_3) + final_update = set() + final_update.add(fac.UpdateInstruction(cc_2, False)) + symbol = pyxb.binding.content.WildcardUse( + pyxb.binding.content.Wildcard( + process_contents=pyxb.binding.content.Wildcard.PC_lax, + namespace_constraint=(pyxb.binding.content.Wildcard.NC_not, "http://www.w3.org/2000/09/xmldsig#"), + ), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 217, + 6, + ), + ) + st_4 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_4) + transitions = [] + transitions.append(fac.Transition(st_1, [])) + transitions.append(fac.Transition(st_2, [])) + st_0._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_1, [fac.UpdateInstruction(cc_0, True)])) + transitions.append(fac.Transition(st_2, [fac.UpdateInstruction(cc_0, False)])) + st_1._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_2, [fac.UpdateInstruction(cc_1, True)])) + st_2._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_4, [])) + st_3._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_4, [fac.UpdateInstruction(cc_2, True)])) + st_4._set_transitionSet(transitions) + return fac.Automaton(states, counters, False, containing_state=None) + + +PGPDataType._Automaton = _BuildAutomaton_13() + + +SPKIDataType._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "SPKISexp"), + pyxb.binding.datatypes.base64Binary, + scope=SPKIDataType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 230, + 4, + ), + ) +) + + +def _BuildAutomaton_14(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_14 + del _BuildAutomaton_14 + import pyxb.utils.fac as fac + + counters = set() + cc_0 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 231, + 4, + ), + ) + counters.add(cc_0) + states = [] + final_update = set() + symbol = pyxb.binding.content.ElementUse( + SPKIDataType._UseForTag(pyxb.namespace.ExpandedName(Namespace, "SPKISexp")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 230, + 4, + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + final_update = set() + final_update.add(fac.UpdateInstruction(cc_0, False)) + symbol = pyxb.binding.content.WildcardUse( + pyxb.binding.content.Wildcard( + process_contents=pyxb.binding.content.Wildcard.PC_lax, + namespace_constraint=(pyxb.binding.content.Wildcard.NC_not, "http://www.w3.org/2000/09/xmldsig#"), + ), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 231, + 4, + ), + ) + st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_1) + transitions = [] + transitions.append(fac.Transition(st_0, [])) + transitions.append(fac.Transition(st_1, [])) + st_0._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_0, [fac.UpdateInstruction(cc_0, False)])) + transitions.append(fac.Transition(st_1, [fac.UpdateInstruction(cc_0, True)])) + st_1._set_transitionSet(transitions) + return fac.Automaton(states, counters, False, containing_state=None) + + +SPKIDataType._Automaton = _BuildAutomaton_14() + + +def _BuildAutomaton_15(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_15 + del _BuildAutomaton_15 + import pyxb.utils.fac as fac + + counters = set() + cc_0 = fac.CounterCondition( + min=0, + max=None, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 243, + 2, + ), + ) + counters.add(cc_0) + states = [] + final_update = set() + final_update.add(fac.UpdateInstruction(cc_0, False)) + symbol = pyxb.binding.content.WildcardUse( + pyxb.binding.content.Wildcard( + process_contents=pyxb.binding.content.Wildcard.PC_lax, + namespace_constraint=pyxb.binding.content.Wildcard.NC_any, + ), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 244, + 4, + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + transitions = [] + transitions.append(fac.Transition(st_0, [fac.UpdateInstruction(cc_0, True)])) + st_0._set_transitionSet(transitions) + return fac.Automaton(states, counters, True, containing_state=None) + + +ObjectType._Automaton = _BuildAutomaton_15() + + +ManifestType._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Reference"), + ReferenceType, + scope=ManifestType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 94, + 0, + ), + ) +) + + +def _BuildAutomaton_16(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_16 + del _BuildAutomaton_16 + import pyxb.utils.fac as fac + + counters = set() + states = [] + final_update = set() + symbol = pyxb.binding.content.ElementUse( + ManifestType._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Reference")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 254, + 4, + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + transitions = [] + transitions.append(fac.Transition(st_0, [])) + st_0._set_transitionSet(transitions) + return fac.Automaton(states, counters, False, containing_state=None) + + +ManifestType._Automaton = _BuildAutomaton_16() + + +SignaturePropertiesType._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "SignatureProperty"), + SignaturePropertyType, + scope=SignaturePropertiesType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 267, + 3, + ), + ) +) + + +def _BuildAutomaton_17(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_17 + del _BuildAutomaton_17 + import pyxb.utils.fac as fac + + counters = set() + states = [] + final_update = set() + symbol = pyxb.binding.content.ElementUse( + SignaturePropertiesType._UseForTag(pyxb.namespace.ExpandedName(Namespace, "SignatureProperty")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 262, + 4, + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + transitions = [] + transitions.append(fac.Transition(st_0, [])) + st_0._set_transitionSet(transitions) + return fac.Automaton(states, counters, False, containing_state=None) + + +SignaturePropertiesType._Automaton = _BuildAutomaton_17() + + +def _BuildAutomaton_18(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_18 + del _BuildAutomaton_18 + import pyxb.utils.fac as fac + + counters = set() + states = [] + final_update = set() + symbol = pyxb.binding.content.WildcardUse( + pyxb.binding.content.Wildcard( + process_contents=pyxb.binding.content.Wildcard.PC_lax, + namespace_constraint=(pyxb.binding.content.Wildcard.NC_not, "http://www.w3.org/2000/09/xmldsig#"), + ), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 270, + 7, + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + transitions = [] + transitions.append(fac.Transition(st_0, [])) + st_0._set_transitionSet(transitions) + return fac.Automaton(states, counters, False, containing_state=None) + + +SignaturePropertyType._Automaton = _BuildAutomaton_18() + + +DSAKeyValueType._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "P"), + CryptoBinary, + scope=DSAKeyValueType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 291, + 6, + ), + ) +) + +DSAKeyValueType._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Q"), + CryptoBinary, + scope=DSAKeyValueType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 292, + 6, + ), + ) +) + +DSAKeyValueType._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "G"), + CryptoBinary, + scope=DSAKeyValueType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 294, + 4, + ), + ) +) + +DSAKeyValueType._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Y"), + CryptoBinary, + scope=DSAKeyValueType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 295, + 4, + ), + ) +) + +DSAKeyValueType._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "J"), + CryptoBinary, + scope=DSAKeyValueType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 296, + 4, + ), + ) +) + +DSAKeyValueType._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Seed"), + CryptoBinary, + scope=DSAKeyValueType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 298, + 6, + ), + ) +) + +DSAKeyValueType._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "PgenCounter"), + CryptoBinary, + scope=DSAKeyValueType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 299, + 6, + ), + ) +) + + +def _BuildAutomaton_19(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_19 + del _BuildAutomaton_19 + import pyxb.utils.fac as fac + + counters = set() + cc_0 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 290, + 4, + ), + ) + counters.add(cc_0) + cc_1 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 294, + 4, + ), + ) + counters.add(cc_1) + cc_2 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 296, + 4, + ), + ) + counters.add(cc_2) + cc_3 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 297, + 4, + ), + ) + counters.add(cc_3) + states = [] + final_update = None + symbol = pyxb.binding.content.ElementUse( + DSAKeyValueType._UseForTag(pyxb.namespace.ExpandedName(Namespace, "P")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 291, + 6, + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + final_update = None + symbol = pyxb.binding.content.ElementUse( + DSAKeyValueType._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Q")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 292, + 6, + ), + ) + st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_1) + final_update = None + symbol = pyxb.binding.content.ElementUse( + DSAKeyValueType._UseForTag(pyxb.namespace.ExpandedName(Namespace, "G")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 294, + 4, + ), + ) + st_2 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_2) + final_update = set() + symbol = pyxb.binding.content.ElementUse( + DSAKeyValueType._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Y")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 295, + 4, + ), + ) + st_3 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_3) + final_update = set() + final_update.add(fac.UpdateInstruction(cc_2, False)) + symbol = pyxb.binding.content.ElementUse( + DSAKeyValueType._UseForTag(pyxb.namespace.ExpandedName(Namespace, "J")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 296, + 4, + ), + ) + st_4 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_4) + final_update = None + symbol = pyxb.binding.content.ElementUse( + DSAKeyValueType._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Seed")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 298, + 6, + ), + ) + st_5 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_5) + final_update = set() + final_update.add(fac.UpdateInstruction(cc_3, False)) + symbol = pyxb.binding.content.ElementUse( + DSAKeyValueType._UseForTag(pyxb.namespace.ExpandedName(Namespace, "PgenCounter")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 299, + 6, + ), + ) + st_6 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_6) + transitions = [] + transitions.append(fac.Transition(st_1, [])) + st_0._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_0, [fac.UpdateInstruction(cc_0, True)])) + transitions.append(fac.Transition(st_2, [fac.UpdateInstruction(cc_0, False)])) + transitions.append(fac.Transition(st_3, [fac.UpdateInstruction(cc_0, False)])) + st_1._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_2, [fac.UpdateInstruction(cc_1, True)])) + transitions.append(fac.Transition(st_3, [fac.UpdateInstruction(cc_1, False)])) + st_2._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_4, [])) + transitions.append(fac.Transition(st_5, [])) + st_3._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_4, [fac.UpdateInstruction(cc_2, True)])) + transitions.append(fac.Transition(st_5, [fac.UpdateInstruction(cc_2, False)])) + st_4._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_6, [])) + st_5._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_5, [fac.UpdateInstruction(cc_3, True)])) + st_6._set_transitionSet(transitions) + return fac.Automaton(states, counters, False, containing_state=None) + + +DSAKeyValueType._Automaton = _BuildAutomaton_19() + + +RSAKeyValueType._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Modulus"), + CryptoBinary, + scope=RSAKeyValueType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 307, + 4, + ), + ) +) + +RSAKeyValueType._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Exponent"), + CryptoBinary, + scope=RSAKeyValueType, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 308, + 4, + ), + ) +) + + +def _BuildAutomaton_20(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_20 + del _BuildAutomaton_20 + import pyxb.utils.fac as fac + + counters = set() + states = [] + final_update = None + symbol = pyxb.binding.content.ElementUse( + RSAKeyValueType._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Modulus")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 307, + 4, + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + final_update = set() + symbol = pyxb.binding.content.ElementUse( + RSAKeyValueType._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Exponent")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 308, + 4, + ), + ) + st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_1) + transitions = [] + transitions.append(fac.Transition(st_1, [])) + st_0._set_transitionSet(transitions) + transitions = [] + st_1._set_transitionSet(transitions) + return fac.Automaton(states, counters, False, containing_state=None) + + +RSAKeyValueType._Automaton = _BuildAutomaton_20() diff --git a/pynfse/nfse/pr/curitiba/_facade.py b/pynfse/nfse/pr/curitiba/_facade.py new file mode 100755 index 0000000..f2aee16 --- /dev/null +++ b/pynfse/nfse/pr/curitiba/_facade.py @@ -0,0 +1,77 @@ +from datetime import date + +from pynfse.base.certificate import get_certificate +from pynfse.base.models import RPS, LoteRPS, PedidoCancelamentoNFSe, Prestador +from pynfse.base.nfse_signer import NFSeSigner +from pynfse.nfse.pr.curitiba import serializacao as s +from pynfse.nfse.pr.curitiba.comunicacao import Comunicacao + + +class Facade: + def __init__(self, certificado_pfx, senha, producao=False): + namespace = "{http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}" + url_homologacao = "https://pilotoisscuritiba.curitiba.pr.gov.br/nfse_ws/NfseWs.asmx?WSDL" + url_producao = "https://isscuritiba.curitiba.pr.gov.br/Iss.NfseWebService/nfsews.asmx?WSDL" + + self.cert, self.cert_file, self.key, self.key_file = get_certificate(certificado_pfx, senha) + url_ambiente = url_producao if producao else url_homologacao + cert_file_and_key_file = (self.cert_file.name, self.key_file.name) + + self._assinador = NFSeSigner(self.cert, self.key, namespace) + self._servicos_wsdl = Comunicacao(url_ambiente, cert_file_and_key_file, producao) + + def consultar_nfse_por_numero(self, prestador_data: dict, nfse_number: str) -> str: + prestador = Prestador(**prestador_data) + request_xml = s.consulta_nfse_por_numero(prestador, nfse_number) + response_xml = self._servicos_wsdl.consultar_nfse(request_xml) + + return response_xml + + def consultar_nfse_por_data(self, prestador_data: dict, data_inicial: date, data_final: date) -> str: + prestador = Prestador(**prestador_data) + xml = s.consulta_nfse_por_data(prestador, data_inicial, data_final) + xml_retorno = self._servicos_wsdl.consultar_nfse(xml) + + return xml_retorno + + def consultar_nfse_por_rps(self, rps_data: dict) -> str: + rps = RPS(**rps_data) + xml = s.consulta_nfse_por_rps(rps) + xml_retorno = self._servicos_wsdl.consultar_nfse_por_rps(xml) + + return xml_retorno + + def consultar_situacao_lote_rps(self, prestador_data: dict, protocolo: str) -> str: + prestador = Prestador(**prestador_data) + xml = s.consulta_situacao_lote_rps(prestador, protocolo) + xml_retorno = self._servicos_wsdl.consultar_situacao_lote_rps(xml) + + return xml_retorno + + def consultar_lote_rps(self, prestador_data: dict, protocolo: str) -> str: + prestador = Prestador(**prestador_data) + xml = s.consulta_lote_rps(prestador, protocolo) + xml_retorno = self._servicos_wsdl.consultar_lote_rps(xml) + + return xml_retorno + + def recepcionar_lote_rps(self, lote_rps_data: dict) -> str: + lote_rps = LoteRPS(**lote_rps_data) + xml = s.envio_lote_rps(lote_rps) + xml = self._assinador.sign_rps_batch(xml) + xml_retorno = self._servicos_wsdl.recepcionar_lote_rps(xml) + + return xml_retorno + + def cancelar_nfse(self, pedido_cancelamento_nfse_data: dict) -> str: + pedido_cancelamento_nfse = PedidoCancelamentoNFSe(**pedido_cancelamento_nfse_data) + xml = s.cancela_nfse(pedido_cancelamento_nfse) + xml = self._assinador.sign_cancellation_request(xml) + xml_retorno = self._servicos_wsdl.cancelar_nfse(xml) + + return xml_retorno + + def validar_xml(self, xml: str) -> str: + retorno = self._servicos_wsdl.validar_xml(xml) + + return retorno diff --git a/pynfse/nfse/pr/curitiba/_schema.py b/pynfse/nfse/pr/curitiba/_schema.py new file mode 100755 index 0000000..3003411 --- /dev/null +++ b/pynfse/nfse/pr/curitiba/_schema.py @@ -0,0 +1,9415 @@ +# ./schema_curitiba.py +# -*- coding: utf-8 -*- +# PyXB bindings for NM:9ba128ee7a18904e1e4aaf2a1fb2c1125650aa5c +# Generated 2016-11-27 20:29:26.553074 by PyXB version 1.2.5 using Python 3.5.2.final.0 +# Namespace http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd + +from __future__ import unicode_literals + +import io +import sys + +import pyxb +import pyxb.binding +import pyxb.binding.datatypes +import pyxb.binding.saxer +import pyxb.utils.domutils +import pyxb.utils.six as _six +import pyxb.utils.utility + +from . import _dsig as _ImportedBinding__dsig + +# Unique identifier for bindings created at the same time +_GenerationUID = pyxb.utils.utility.UniqueIdentifier("urn:uuid:f41c9a26-b4f0-11e6-9ca1-406c8f42f6c5") + +# Version of PyXB used to generate the bindings +_PyXBVersion = "1.2.5" +# Generated bindings are not compatible across PyXB versions +if pyxb.__version__ != _PyXBVersion: + raise pyxb.PyXBVersionError(_PyXBVersion) + +# A holder for module-level binding classes so we can access them from +# inside class definitions where property names may conflict. +_module_typeBindings = pyxb.utils.utility.Object() + + +# NOTE: All namespace declarations are reserved within the binding +Namespace = pyxb.namespace.NamespaceForURI( + "http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd", create_if_missing=True +) +Namespace.configureCategories(["typeBinding", "elementBinding"]) +_Namespace_dsig = _ImportedBinding__dsig.Namespace +_Namespace_dsig.configureCategories(["typeBinding", "elementBinding"]) + + +def CreateFromDocument(xml_text, default_namespace=None, location_base=None): + """Parse the given XML and use the document element to create a + Python instance. + + @param xml_text An XML document. This should be data (Python 2 + str or Python 3 bytes), or a text (Python 2 unicode or Python 3 + str) in the L{pyxb._InputEncoding} encoding. + + @keyword default_namespace The L{pyxb.Namespace} instance to use as the + default namespace where there is no default namespace in scope. + If unspecified or C{None}, the namespace of the module containing + this function will be used. + + @keyword location_base: An object to be recorded as the base of all + L{pyxb.utils.utility.Location} instances associated with events and + objects handled by the parser. You might pass the URI from which + the document was obtained. + """ + + if pyxb.XMLStyle_saxer != pyxb._XMLStyle: + dom = pyxb.utils.domutils.StringToDOM(xml_text) + return CreateFromDOM(dom.documentElement, default_namespace=default_namespace) + if default_namespace is None: + default_namespace = Namespace.fallbackNamespace() + saxer = pyxb.binding.saxer.make_parser(fallback_namespace=default_namespace, location_base=location_base) + handler = saxer.getContentHandler() + xmld = xml_text + if isinstance(xmld, _six.text_type): + xmld = xmld.encode(pyxb._InputEncoding) + saxer.parse(io.BytesIO(xmld)) + instance = handler.rootObject() + return instance + + +def CreateFromDOM(node, default_namespace=None): + """Create a Python instance from the given DOM node. + The node tag must correspond to an element declaration in this module. + + @deprecated: Forcing use of DOM interface is unnecessary; use L{CreateFromDocument}.""" + if default_namespace is None: + default_namespace = Namespace.fallbackNamespace() + return pyxb.binding.basis.element.AnyCreateFromDOM(node, default_namespace) + + +# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsNumeroNfse +class tsNumeroNfse(pyxb.binding.datatypes.nonNegativeInteger): + + """An atomic simple type.""" + + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tsNumeroNfse") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 11, 4 + ) + _Documentation = None + + +tsNumeroNfse._CF_totalDigits = pyxb.binding.facets.CF_totalDigits( + value=pyxb.binding.datatypes.positiveInteger(15) +) +tsNumeroNfse._InitializeFacetMap(tsNumeroNfse._CF_totalDigits) +Namespace.addCategoryObject("typeBinding", "tsNumeroNfse", tsNumeroNfse) +_module_typeBindings.tsNumeroNfse = tsNumeroNfse + +# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsCodigoVerificacao +class tsCodigoVerificacao(pyxb.binding.datatypes.string): + + """An atomic simple type.""" + + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tsCodigoVerificacao") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 16, 1 + ) + _Documentation = None + + +tsCodigoVerificacao._CF_whiteSpace = pyxb.binding.facets.CF_whiteSpace( + value=pyxb.binding.facets._WhiteSpace_enum.collapse +) +tsCodigoVerificacao._CF_minLength = pyxb.binding.facets.CF_minLength( + value=pyxb.binding.datatypes.nonNegativeInteger(1) +) +tsCodigoVerificacao._CF_maxLength = pyxb.binding.facets.CF_maxLength( + value=pyxb.binding.datatypes.nonNegativeInteger(9) +) +tsCodigoVerificacao._InitializeFacetMap( + tsCodigoVerificacao._CF_whiteSpace, tsCodigoVerificacao._CF_minLength, tsCodigoVerificacao._CF_maxLength +) +Namespace.addCategoryObject("typeBinding", "tsCodigoVerificacao", tsCodigoVerificacao) +_module_typeBindings.tsCodigoVerificacao = tsCodigoVerificacao + +# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsStatusRps +class tsStatusRps(pyxb.binding.datatypes.byte): + + """An atomic simple type.""" + + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tsStatusRps") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 23, 1 + ) + _Documentation = None + + +tsStatusRps._CF_pattern = pyxb.binding.facets.CF_pattern() +tsStatusRps._CF_pattern.addPattern(pattern="1|2") +tsStatusRps._InitializeFacetMap(tsStatusRps._CF_pattern) +Namespace.addCategoryObject("typeBinding", "tsStatusRps", tsStatusRps) +_module_typeBindings.tsStatusRps = tsStatusRps + +# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsStatusNfse +class tsStatusNfse(pyxb.binding.datatypes.byte): + + """An atomic simple type.""" + + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tsStatusNfse") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 28, 1 + ) + _Documentation = None + + +tsStatusNfse._CF_pattern = pyxb.binding.facets.CF_pattern() +tsStatusNfse._CF_pattern.addPattern(pattern="1|2") +tsStatusNfse._InitializeFacetMap(tsStatusNfse._CF_pattern) +Namespace.addCategoryObject("typeBinding", "tsStatusNfse", tsStatusNfse) +_module_typeBindings.tsStatusNfse = tsStatusNfse + +# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsNaturezaOperacao +class tsNaturezaOperacao(pyxb.binding.datatypes.byte): + + """An atomic simple type.""" + + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tsNaturezaOperacao") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 33, 1 + ) + _Documentation = None + + +tsNaturezaOperacao._CF_pattern = pyxb.binding.facets.CF_pattern() +tsNaturezaOperacao._CF_pattern.addPattern(pattern="1|2|3|4|5|6") +tsNaturezaOperacao._InitializeFacetMap(tsNaturezaOperacao._CF_pattern) +Namespace.addCategoryObject("typeBinding", "tsNaturezaOperacao", tsNaturezaOperacao) +_module_typeBindings.tsNaturezaOperacao = tsNaturezaOperacao + +# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsRegimeEspecialTributacao +class tsRegimeEspecialTributacao(pyxb.binding.datatypes.byte): + + """An atomic simple type.""" + + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tsRegimeEspecialTributacao") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 38, 1 + ) + _Documentation = None + + +tsRegimeEspecialTributacao._CF_pattern = pyxb.binding.facets.CF_pattern() +tsRegimeEspecialTributacao._CF_pattern.addPattern(pattern="1|2|3|4|5|6") +tsRegimeEspecialTributacao._InitializeFacetMap(tsRegimeEspecialTributacao._CF_pattern) +Namespace.addCategoryObject("typeBinding", "tsRegimeEspecialTributacao", tsRegimeEspecialTributacao) +_module_typeBindings.tsRegimeEspecialTributacao = tsRegimeEspecialTributacao + +# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsSimNao +class tsSimNao(pyxb.binding.datatypes.byte): + + """An atomic simple type.""" + + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tsSimNao") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 43, 1 + ) + _Documentation = None + + +tsSimNao._CF_pattern = pyxb.binding.facets.CF_pattern() +tsSimNao._CF_pattern.addPattern(pattern="1|2") +tsSimNao._InitializeFacetMap(tsSimNao._CF_pattern) +Namespace.addCategoryObject("typeBinding", "tsSimNao", tsSimNao) +_module_typeBindings.tsSimNao = tsSimNao + +# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsNumeroRps +class tsNumeroRps(pyxb.binding.datatypes.nonNegativeInteger): + + """An atomic simple type.""" + + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tsNumeroRps") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 48, 1 + ) + _Documentation = None + + +tsNumeroRps._CF_totalDigits = pyxb.binding.facets.CF_totalDigits( + value=pyxb.binding.datatypes.positiveInteger(15) +) +tsNumeroRps._InitializeFacetMap(tsNumeroRps._CF_totalDigits) +Namespace.addCategoryObject("typeBinding", "tsNumeroRps", tsNumeroRps) +_module_typeBindings.tsNumeroRps = tsNumeroRps + +# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsSerieRps +class tsSerieRps(pyxb.binding.datatypes.string): + + """An atomic simple type.""" + + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tsSerieRps") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 53, 1 + ) + _Documentation = None + + +tsSerieRps._CF_whiteSpace = pyxb.binding.facets.CF_whiteSpace( + value=pyxb.binding.facets._WhiteSpace_enum.collapse +) +tsSerieRps._CF_minLength = pyxb.binding.facets.CF_minLength( + value=pyxb.binding.datatypes.nonNegativeInteger(1) +) +tsSerieRps._CF_maxLength = pyxb.binding.facets.CF_maxLength( + value=pyxb.binding.datatypes.nonNegativeInteger(5) +) +tsSerieRps._InitializeFacetMap(tsSerieRps._CF_whiteSpace, tsSerieRps._CF_minLength, tsSerieRps._CF_maxLength) +Namespace.addCategoryObject("typeBinding", "tsSerieRps", tsSerieRps) +_module_typeBindings.tsSerieRps = tsSerieRps + +# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsTipoRps +class tsTipoRps(pyxb.binding.datatypes.byte): + + """An atomic simple type.""" + + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tsTipoRps") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 60, 1 + ) + _Documentation = None + + +tsTipoRps._CF_pattern = pyxb.binding.facets.CF_pattern() +tsTipoRps._CF_pattern.addPattern(pattern="1|2|3") +tsTipoRps._InitializeFacetMap(tsTipoRps._CF_pattern) +Namespace.addCategoryObject("typeBinding", "tsTipoRps", tsTipoRps) +_module_typeBindings.tsTipoRps = tsTipoRps + +# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsOutrasInformacoes +class tsOutrasInformacoes(pyxb.binding.datatypes.string): + + """An atomic simple type.""" + + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tsOutrasInformacoes") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 65, 1 + ) + _Documentation = None + + +tsOutrasInformacoes._CF_whiteSpace = pyxb.binding.facets.CF_whiteSpace( + value=pyxb.binding.facets._WhiteSpace_enum.collapse +) +tsOutrasInformacoes._CF_minLength = pyxb.binding.facets.CF_minLength( + value=pyxb.binding.datatypes.nonNegativeInteger(1) +) +tsOutrasInformacoes._CF_maxLength = pyxb.binding.facets.CF_maxLength( + value=pyxb.binding.datatypes.nonNegativeInteger(255) +) +tsOutrasInformacoes._InitializeFacetMap( + tsOutrasInformacoes._CF_whiteSpace, tsOutrasInformacoes._CF_minLength, tsOutrasInformacoes._CF_maxLength +) +Namespace.addCategoryObject("typeBinding", "tsOutrasInformacoes", tsOutrasInformacoes) +_module_typeBindings.tsOutrasInformacoes = tsOutrasInformacoes + +# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsValor +class tsValor(pyxb.binding.datatypes.decimal): + + """An atomic simple type.""" + + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tsValor") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 72, 1 + ) + _Documentation = None + + +tsValor._CF_fractionDigits = pyxb.binding.facets.CF_fractionDigits( + value=pyxb.binding.datatypes.nonNegativeInteger(2) +) +tsValor._CF_totalDigits = pyxb.binding.facets.CF_totalDigits(value=pyxb.binding.datatypes.positiveInteger(15)) +tsValor._CF_minInclusive = pyxb.binding.facets.CF_minInclusive( + value=pyxb.binding.datatypes.decimal("0.0"), value_datatype=tsValor +) +tsValor._InitializeFacetMap(tsValor._CF_fractionDigits, tsValor._CF_totalDigits, tsValor._CF_minInclusive) +Namespace.addCategoryObject("typeBinding", "tsValor", tsValor) +_module_typeBindings.tsValor = tsValor + +# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsItemListaServico +class tsItemListaServico(pyxb.binding.datatypes.string): + + """An atomic simple type.""" + + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tsItemListaServico") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 79, 1 + ) + _Documentation = None + + +tsItemListaServico._CF_whiteSpace = pyxb.binding.facets.CF_whiteSpace( + value=pyxb.binding.facets._WhiteSpace_enum.collapse +) +tsItemListaServico._CF_minLength = pyxb.binding.facets.CF_minLength( + value=pyxb.binding.datatypes.nonNegativeInteger(1) +) +tsItemListaServico._CF_maxLength = pyxb.binding.facets.CF_maxLength( + value=pyxb.binding.datatypes.nonNegativeInteger(5) +) +tsItemListaServico._InitializeFacetMap( + tsItemListaServico._CF_whiteSpace, tsItemListaServico._CF_minLength, tsItemListaServico._CF_maxLength +) +Namespace.addCategoryObject("typeBinding", "tsItemListaServico", tsItemListaServico) +_module_typeBindings.tsItemListaServico = tsItemListaServico + +# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsCodigoCnae +class tsCodigoCnae(pyxb.binding.datatypes.int): + + """An atomic simple type.""" + + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tsCodigoCnae") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 86, 1 + ) + _Documentation = None + + +tsCodigoCnae._CF_totalDigits = pyxb.binding.facets.CF_totalDigits( + value=pyxb.binding.datatypes.positiveInteger(7) +) +tsCodigoCnae._InitializeFacetMap(tsCodigoCnae._CF_totalDigits) +Namespace.addCategoryObject("typeBinding", "tsCodigoCnae", tsCodigoCnae) +_module_typeBindings.tsCodigoCnae = tsCodigoCnae + +# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsCodigoTributacao +class tsCodigoTributacao(pyxb.binding.datatypes.string): + + """An atomic simple type.""" + + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tsCodigoTributacao") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 91, 1 + ) + _Documentation = None + + +tsCodigoTributacao._CF_whiteSpace = pyxb.binding.facets.CF_whiteSpace( + value=pyxb.binding.facets._WhiteSpace_enum.collapse +) +tsCodigoTributacao._CF_minLength = pyxb.binding.facets.CF_minLength( + value=pyxb.binding.datatypes.nonNegativeInteger(1) +) +tsCodigoTributacao._CF_maxLength = pyxb.binding.facets.CF_maxLength( + value=pyxb.binding.datatypes.nonNegativeInteger(20) +) +tsCodigoTributacao._InitializeFacetMap( + tsCodigoTributacao._CF_whiteSpace, tsCodigoTributacao._CF_minLength, tsCodigoTributacao._CF_maxLength +) +Namespace.addCategoryObject("typeBinding", "tsCodigoTributacao", tsCodigoTributacao) +_module_typeBindings.tsCodigoTributacao = tsCodigoTributacao + +# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsAliquota +class tsAliquota(pyxb.binding.datatypes.decimal): + + """An atomic simple type.""" + + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tsAliquota") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 98, 1 + ) + _Documentation = None + + +tsAliquota._CF_fractionDigits = pyxb.binding.facets.CF_fractionDigits( + value=pyxb.binding.datatypes.nonNegativeInteger(4) +) +tsAliquota._CF_totalDigits = pyxb.binding.facets.CF_totalDigits( + value=pyxb.binding.datatypes.positiveInteger(5) +) +tsAliquota._CF_minInclusive = pyxb.binding.facets.CF_minInclusive( + value=pyxb.binding.datatypes.decimal("0.0"), value_datatype=tsAliquota +) +tsAliquota._InitializeFacetMap( + tsAliquota._CF_fractionDigits, tsAliquota._CF_totalDigits, tsAliquota._CF_minInclusive +) +Namespace.addCategoryObject("typeBinding", "tsAliquota", tsAliquota) +_module_typeBindings.tsAliquota = tsAliquota + +# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsDiscriminacao +class tsDiscriminacao(pyxb.binding.datatypes.string): + + """An atomic simple type.""" + + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tsDiscriminacao") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 105, 1 + ) + _Documentation = None + + +tsDiscriminacao._CF_whiteSpace = pyxb.binding.facets.CF_whiteSpace( + value=pyxb.binding.facets._WhiteSpace_enum.collapse +) +tsDiscriminacao._CF_minLength = pyxb.binding.facets.CF_minLength( + value=pyxb.binding.datatypes.nonNegativeInteger(1) +) +tsDiscriminacao._CF_maxLength = pyxb.binding.facets.CF_maxLength( + value=pyxb.binding.datatypes.nonNegativeInteger(2000) +) +tsDiscriminacao._InitializeFacetMap( + tsDiscriminacao._CF_whiteSpace, tsDiscriminacao._CF_minLength, tsDiscriminacao._CF_maxLength +) +Namespace.addCategoryObject("typeBinding", "tsDiscriminacao", tsDiscriminacao) +_module_typeBindings.tsDiscriminacao = tsDiscriminacao + +# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsCodigoMunicipioIbge +class tsCodigoMunicipioIbge(pyxb.binding.datatypes.int): + + """An atomic simple type.""" + + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tsCodigoMunicipioIbge") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 112, 1 + ) + _Documentation = None + + +tsCodigoMunicipioIbge._CF_totalDigits = pyxb.binding.facets.CF_totalDigits( + value=pyxb.binding.datatypes.positiveInteger(7) +) +tsCodigoMunicipioIbge._InitializeFacetMap(tsCodigoMunicipioIbge._CF_totalDigits) +Namespace.addCategoryObject("typeBinding", "tsCodigoMunicipioIbge", tsCodigoMunicipioIbge) +_module_typeBindings.tsCodigoMunicipioIbge = tsCodigoMunicipioIbge + +# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsInscricaoMunicipal +class tsInscricaoMunicipal(pyxb.binding.datatypes.string): + + """An atomic simple type.""" + + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tsInscricaoMunicipal") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 117, 1 + ) + _Documentation = None + + +tsInscricaoMunicipal._CF_whiteSpace = pyxb.binding.facets.CF_whiteSpace( + value=pyxb.binding.facets._WhiteSpace_enum.collapse +) +tsInscricaoMunicipal._CF_minLength = pyxb.binding.facets.CF_minLength( + value=pyxb.binding.datatypes.nonNegativeInteger(1) +) +tsInscricaoMunicipal._CF_maxLength = pyxb.binding.facets.CF_maxLength( + value=pyxb.binding.datatypes.nonNegativeInteger(15) +) +tsInscricaoMunicipal._InitializeFacetMap( + tsInscricaoMunicipal._CF_whiteSpace, + tsInscricaoMunicipal._CF_minLength, + tsInscricaoMunicipal._CF_maxLength, +) +Namespace.addCategoryObject("typeBinding", "tsInscricaoMunicipal", tsInscricaoMunicipal) +_module_typeBindings.tsInscricaoMunicipal = tsInscricaoMunicipal + +# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsRazaoSocial +class tsRazaoSocial(pyxb.binding.datatypes.string): + + """An atomic simple type.""" + + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tsRazaoSocial") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 124, 1 + ) + _Documentation = None + + +tsRazaoSocial._CF_whiteSpace = pyxb.binding.facets.CF_whiteSpace( + value=pyxb.binding.facets._WhiteSpace_enum.collapse +) +tsRazaoSocial._CF_minLength = pyxb.binding.facets.CF_minLength( + value=pyxb.binding.datatypes.nonNegativeInteger(1) +) +tsRazaoSocial._CF_maxLength = pyxb.binding.facets.CF_maxLength( + value=pyxb.binding.datatypes.nonNegativeInteger(115) +) +tsRazaoSocial._InitializeFacetMap( + tsRazaoSocial._CF_whiteSpace, tsRazaoSocial._CF_minLength, tsRazaoSocial._CF_maxLength +) +Namespace.addCategoryObject("typeBinding", "tsRazaoSocial", tsRazaoSocial) +_module_typeBindings.tsRazaoSocial = tsRazaoSocial + +# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsNomeFantasia +class tsNomeFantasia(pyxb.binding.datatypes.string): + + """An atomic simple type.""" + + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tsNomeFantasia") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 131, 1 + ) + _Documentation = None + + +tsNomeFantasia._CF_whiteSpace = pyxb.binding.facets.CF_whiteSpace( + value=pyxb.binding.facets._WhiteSpace_enum.collapse +) +tsNomeFantasia._CF_minLength = pyxb.binding.facets.CF_minLength( + value=pyxb.binding.datatypes.nonNegativeInteger(1) +) +tsNomeFantasia._CF_maxLength = pyxb.binding.facets.CF_maxLength( + value=pyxb.binding.datatypes.nonNegativeInteger(60) +) +tsNomeFantasia._InitializeFacetMap( + tsNomeFantasia._CF_whiteSpace, tsNomeFantasia._CF_minLength, tsNomeFantasia._CF_maxLength +) +Namespace.addCategoryObject("typeBinding", "tsNomeFantasia", tsNomeFantasia) +_module_typeBindings.tsNomeFantasia = tsNomeFantasia + +# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsCnpj +class tsCnpj(pyxb.binding.datatypes.string): + + """An atomic simple type.""" + + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tsCnpj") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 138, 1 + ) + _Documentation = None + + +tsCnpj._CF_whiteSpace = pyxb.binding.facets.CF_whiteSpace(value=pyxb.binding.facets._WhiteSpace_enum.collapse) +tsCnpj._CF_length = pyxb.binding.facets.CF_length(value=pyxb.binding.datatypes.nonNegativeInteger(14)) +tsCnpj._InitializeFacetMap(tsCnpj._CF_whiteSpace, tsCnpj._CF_length) +Namespace.addCategoryObject("typeBinding", "tsCnpj", tsCnpj) +_module_typeBindings.tsCnpj = tsCnpj + +# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsEndereco +class tsEndereco(pyxb.binding.datatypes.string): + + """An atomic simple type.""" + + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tsEndereco") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 144, 1 + ) + _Documentation = None + + +tsEndereco._CF_whiteSpace = pyxb.binding.facets.CF_whiteSpace( + value=pyxb.binding.facets._WhiteSpace_enum.collapse +) +tsEndereco._CF_minLength = pyxb.binding.facets.CF_minLength( + value=pyxb.binding.datatypes.nonNegativeInteger(1) +) +tsEndereco._CF_maxLength = pyxb.binding.facets.CF_maxLength( + value=pyxb.binding.datatypes.nonNegativeInteger(125) +) +tsEndereco._InitializeFacetMap(tsEndereco._CF_whiteSpace, tsEndereco._CF_minLength, tsEndereco._CF_maxLength) +Namespace.addCategoryObject("typeBinding", "tsEndereco", tsEndereco) +_module_typeBindings.tsEndereco = tsEndereco + +# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsNumeroEndereco +class tsNumeroEndereco(pyxb.binding.datatypes.string): + + """An atomic simple type.""" + + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tsNumeroEndereco") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 151, 1 + ) + _Documentation = None + + +tsNumeroEndereco._CF_whiteSpace = pyxb.binding.facets.CF_whiteSpace( + value=pyxb.binding.facets._WhiteSpace_enum.collapse +) +tsNumeroEndereco._CF_minLength = pyxb.binding.facets.CF_minLength( + value=pyxb.binding.datatypes.nonNegativeInteger(1) +) +tsNumeroEndereco._CF_maxLength = pyxb.binding.facets.CF_maxLength( + value=pyxb.binding.datatypes.nonNegativeInteger(10) +) +tsNumeroEndereco._InitializeFacetMap( + tsNumeroEndereco._CF_whiteSpace, tsNumeroEndereco._CF_minLength, tsNumeroEndereco._CF_maxLength +) +Namespace.addCategoryObject("typeBinding", "tsNumeroEndereco", tsNumeroEndereco) +_module_typeBindings.tsNumeroEndereco = tsNumeroEndereco + +# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsComplementoEndereco +class tsComplementoEndereco(pyxb.binding.datatypes.string): + + """An atomic simple type.""" + + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tsComplementoEndereco") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 158, 1 + ) + _Documentation = None + + +tsComplementoEndereco._CF_whiteSpace = pyxb.binding.facets.CF_whiteSpace( + value=pyxb.binding.facets._WhiteSpace_enum.collapse +) +tsComplementoEndereco._CF_minLength = pyxb.binding.facets.CF_minLength( + value=pyxb.binding.datatypes.nonNegativeInteger(1) +) +tsComplementoEndereco._CF_maxLength = pyxb.binding.facets.CF_maxLength( + value=pyxb.binding.datatypes.nonNegativeInteger(60) +) +tsComplementoEndereco._InitializeFacetMap( + tsComplementoEndereco._CF_whiteSpace, + tsComplementoEndereco._CF_minLength, + tsComplementoEndereco._CF_maxLength, +) +Namespace.addCategoryObject("typeBinding", "tsComplementoEndereco", tsComplementoEndereco) +_module_typeBindings.tsComplementoEndereco = tsComplementoEndereco + +# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsBairro +class tsBairro(pyxb.binding.datatypes.string): + + """An atomic simple type.""" + + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tsBairro") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 165, 1 + ) + _Documentation = None + + +tsBairro._CF_whiteSpace = pyxb.binding.facets.CF_whiteSpace( + value=pyxb.binding.facets._WhiteSpace_enum.collapse +) +tsBairro._CF_minLength = pyxb.binding.facets.CF_minLength(value=pyxb.binding.datatypes.nonNegativeInteger(1)) +tsBairro._CF_maxLength = pyxb.binding.facets.CF_maxLength(value=pyxb.binding.datatypes.nonNegativeInteger(60)) +tsBairro._InitializeFacetMap(tsBairro._CF_whiteSpace, tsBairro._CF_minLength, tsBairro._CF_maxLength) +Namespace.addCategoryObject("typeBinding", "tsBairro", tsBairro) +_module_typeBindings.tsBairro = tsBairro + +# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsUf +class tsUf(pyxb.binding.datatypes.string): + + """An atomic simple type.""" + + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tsUf") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 172, 1 + ) + _Documentation = None + + +tsUf._CF_length = pyxb.binding.facets.CF_length(value=pyxb.binding.datatypes.nonNegativeInteger(2)) +tsUf._InitializeFacetMap(tsUf._CF_length) +Namespace.addCategoryObject("typeBinding", "tsUf", tsUf) +_module_typeBindings.tsUf = tsUf + +# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsCep +class tsCep(pyxb.binding.datatypes.int): + + """An atomic simple type.""" + + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tsCep") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 177, 1 + ) + _Documentation = None + + +tsCep._CF_totalDigits = pyxb.binding.facets.CF_totalDigits(value=pyxb.binding.datatypes.positiveInteger(8)) +tsCep._InitializeFacetMap(tsCep._CF_totalDigits) +Namespace.addCategoryObject("typeBinding", "tsCep", tsCep) +_module_typeBindings.tsCep = tsCep + +# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsEmail +class tsEmail(pyxb.binding.datatypes.string): + + """An atomic simple type.""" + + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tsEmail") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 182, 1 + ) + _Documentation = None + + +tsEmail._CF_whiteSpace = pyxb.binding.facets.CF_whiteSpace( + value=pyxb.binding.facets._WhiteSpace_enum.collapse +) +tsEmail._CF_minLength = pyxb.binding.facets.CF_minLength(value=pyxb.binding.datatypes.nonNegativeInteger(1)) +tsEmail._CF_maxLength = pyxb.binding.facets.CF_maxLength(value=pyxb.binding.datatypes.nonNegativeInteger(80)) +tsEmail._InitializeFacetMap(tsEmail._CF_whiteSpace, tsEmail._CF_minLength, tsEmail._CF_maxLength) +Namespace.addCategoryObject("typeBinding", "tsEmail", tsEmail) +_module_typeBindings.tsEmail = tsEmail + +# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsTelefone +class tsTelefone(pyxb.binding.datatypes.string): + + """An atomic simple type.""" + + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tsTelefone") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 189, 1 + ) + _Documentation = None + + +tsTelefone._CF_whiteSpace = pyxb.binding.facets.CF_whiteSpace( + value=pyxb.binding.facets._WhiteSpace_enum.collapse +) +tsTelefone._CF_minLength = pyxb.binding.facets.CF_minLength( + value=pyxb.binding.datatypes.nonNegativeInteger(1) +) +tsTelefone._CF_maxLength = pyxb.binding.facets.CF_maxLength( + value=pyxb.binding.datatypes.nonNegativeInteger(11) +) +tsTelefone._InitializeFacetMap(tsTelefone._CF_whiteSpace, tsTelefone._CF_minLength, tsTelefone._CF_maxLength) +Namespace.addCategoryObject("typeBinding", "tsTelefone", tsTelefone) +_module_typeBindings.tsTelefone = tsTelefone + +# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsCpf +class tsCpf(pyxb.binding.datatypes.string): + + """An atomic simple type.""" + + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tsCpf") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 196, 1 + ) + _Documentation = None + + +tsCpf._CF_length = pyxb.binding.facets.CF_length(value=pyxb.binding.datatypes.nonNegativeInteger(11)) +tsCpf._InitializeFacetMap(tsCpf._CF_length) +Namespace.addCategoryObject("typeBinding", "tsCpf", tsCpf) +_module_typeBindings.tsCpf = tsCpf + +# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsIndicacaoCpfCnpj +class tsIndicacaoCpfCnpj(pyxb.binding.datatypes.byte): + + """An atomic simple type.""" + + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tsIndicacaoCpfCnpj") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 201, 1 + ) + _Documentation = None + + +tsIndicacaoCpfCnpj._CF_pattern = pyxb.binding.facets.CF_pattern() +tsIndicacaoCpfCnpj._CF_pattern.addPattern(pattern="1|2|3") +tsIndicacaoCpfCnpj._InitializeFacetMap(tsIndicacaoCpfCnpj._CF_pattern) +Namespace.addCategoryObject("typeBinding", "tsIndicacaoCpfCnpj", tsIndicacaoCpfCnpj) +_module_typeBindings.tsIndicacaoCpfCnpj = tsIndicacaoCpfCnpj + +# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsCodigoObra +class tsCodigoObra(pyxb.binding.datatypes.string): + + """An atomic simple type.""" + + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tsCodigoObra") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 206, 1 + ) + _Documentation = None + + +tsCodigoObra._CF_whiteSpace = pyxb.binding.facets.CF_whiteSpace( + value=pyxb.binding.facets._WhiteSpace_enum.collapse +) +tsCodigoObra._CF_minLength = pyxb.binding.facets.CF_minLength( + value=pyxb.binding.datatypes.nonNegativeInteger(1) +) +tsCodigoObra._CF_maxLength = pyxb.binding.facets.CF_maxLength( + value=pyxb.binding.datatypes.nonNegativeInteger(15) +) +tsCodigoObra._InitializeFacetMap( + tsCodigoObra._CF_whiteSpace, tsCodigoObra._CF_minLength, tsCodigoObra._CF_maxLength +) +Namespace.addCategoryObject("typeBinding", "tsCodigoObra", tsCodigoObra) +_module_typeBindings.tsCodigoObra = tsCodigoObra + +# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsArt +class tsArt(pyxb.binding.datatypes.string): + + """An atomic simple type.""" + + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tsArt") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 213, 1 + ) + _Documentation = None + + +tsArt._CF_whiteSpace = pyxb.binding.facets.CF_whiteSpace(value=pyxb.binding.facets._WhiteSpace_enum.collapse) +tsArt._CF_minLength = pyxb.binding.facets.CF_minLength(value=pyxb.binding.datatypes.nonNegativeInteger(1)) +tsArt._CF_maxLength = pyxb.binding.facets.CF_maxLength(value=pyxb.binding.datatypes.nonNegativeInteger(15)) +tsArt._InitializeFacetMap(tsArt._CF_whiteSpace, tsArt._CF_minLength, tsArt._CF_maxLength) +Namespace.addCategoryObject("typeBinding", "tsArt", tsArt) +_module_typeBindings.tsArt = tsArt + +# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsNumeroLote +class tsNumeroLote(pyxb.binding.datatypes.nonNegativeInteger): + + """An atomic simple type.""" + + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tsNumeroLote") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 220, 1 + ) + _Documentation = None + + +tsNumeroLote._CF_totalDigits = pyxb.binding.facets.CF_totalDigits( + value=pyxb.binding.datatypes.positiveInteger(15) +) +tsNumeroLote._InitializeFacetMap(tsNumeroLote._CF_totalDigits) +Namespace.addCategoryObject("typeBinding", "tsNumeroLote", tsNumeroLote) +_module_typeBindings.tsNumeroLote = tsNumeroLote + +# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsNumeroProtocolo +class tsNumeroProtocolo(pyxb.binding.datatypes.string): + + """An atomic simple type.""" + + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tsNumeroProtocolo") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 225, 1 + ) + _Documentation = None + + +tsNumeroProtocolo._CF_maxLength = pyxb.binding.facets.CF_maxLength( + value=pyxb.binding.datatypes.nonNegativeInteger(50) +) +tsNumeroProtocolo._InitializeFacetMap(tsNumeroProtocolo._CF_maxLength) +Namespace.addCategoryObject("typeBinding", "tsNumeroProtocolo", tsNumeroProtocolo) +_module_typeBindings.tsNumeroProtocolo = tsNumeroProtocolo + +# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsSituacaoLoteRps +class tsSituacaoLoteRps(pyxb.binding.datatypes.byte): + + """An atomic simple type.""" + + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tsSituacaoLoteRps") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 230, 1 + ) + _Documentation = None + + +tsSituacaoLoteRps._CF_pattern = pyxb.binding.facets.CF_pattern() +tsSituacaoLoteRps._CF_pattern.addPattern(pattern="1|2|3|4") +tsSituacaoLoteRps._InitializeFacetMap(tsSituacaoLoteRps._CF_pattern) +Namespace.addCategoryObject("typeBinding", "tsSituacaoLoteRps", tsSituacaoLoteRps) +_module_typeBindings.tsSituacaoLoteRps = tsSituacaoLoteRps + +# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsQuantidadeRps +class tsQuantidadeRps(pyxb.binding.datatypes.int): + + """An atomic simple type.""" + + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tsQuantidadeRps") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 235, 1 + ) + _Documentation = None + + +tsQuantidadeRps._InitializeFacetMap() +Namespace.addCategoryObject("typeBinding", "tsQuantidadeRps", tsQuantidadeRps) +_module_typeBindings.tsQuantidadeRps = tsQuantidadeRps + +# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsCodigoMensagemAlerta +class tsCodigoMensagemAlerta(pyxb.binding.datatypes.string): + + """An atomic simple type.""" + + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tsCodigoMensagemAlerta") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 239, 1 + ) + _Documentation = None + + +tsCodigoMensagemAlerta._CF_whiteSpace = pyxb.binding.facets.CF_whiteSpace( + value=pyxb.binding.facets._WhiteSpace_enum.collapse +) +tsCodigoMensagemAlerta._CF_minLength = pyxb.binding.facets.CF_minLength( + value=pyxb.binding.datatypes.nonNegativeInteger(1) +) +tsCodigoMensagemAlerta._CF_maxLength = pyxb.binding.facets.CF_maxLength( + value=pyxb.binding.datatypes.nonNegativeInteger(4) +) +tsCodigoMensagemAlerta._InitializeFacetMap( + tsCodigoMensagemAlerta._CF_whiteSpace, + tsCodigoMensagemAlerta._CF_minLength, + tsCodigoMensagemAlerta._CF_maxLength, +) +Namespace.addCategoryObject("typeBinding", "tsCodigoMensagemAlerta", tsCodigoMensagemAlerta) +_module_typeBindings.tsCodigoMensagemAlerta = tsCodigoMensagemAlerta + +# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsDescricaoMensagemAlerta +class tsDescricaoMensagemAlerta(pyxb.binding.datatypes.string): + + """An atomic simple type.""" + + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tsDescricaoMensagemAlerta") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 246, 1 + ) + _Documentation = None + + +tsDescricaoMensagemAlerta._CF_whiteSpace = pyxb.binding.facets.CF_whiteSpace( + value=pyxb.binding.facets._WhiteSpace_enum.collapse +) +tsDescricaoMensagemAlerta._CF_minLength = pyxb.binding.facets.CF_minLength( + value=pyxb.binding.datatypes.nonNegativeInteger(1) +) +tsDescricaoMensagemAlerta._CF_maxLength = pyxb.binding.facets.CF_maxLength( + value=pyxb.binding.datatypes.nonNegativeInteger(200) +) +tsDescricaoMensagemAlerta._InitializeFacetMap( + tsDescricaoMensagemAlerta._CF_whiteSpace, + tsDescricaoMensagemAlerta._CF_minLength, + tsDescricaoMensagemAlerta._CF_maxLength, +) +Namespace.addCategoryObject("typeBinding", "tsDescricaoMensagemAlerta", tsDescricaoMensagemAlerta) +_module_typeBindings.tsDescricaoMensagemAlerta = tsDescricaoMensagemAlerta + +# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsCodigoCancelamentoNfse +class tsCodigoCancelamentoNfse(pyxb.binding.datatypes.string): + + """An atomic simple type.""" + + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tsCodigoCancelamentoNfse") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 253, 1 + ) + _Documentation = None + + +tsCodigoCancelamentoNfse._CF_whiteSpace = pyxb.binding.facets.CF_whiteSpace( + value=pyxb.binding.facets._WhiteSpace_enum.collapse +) +tsCodigoCancelamentoNfse._CF_minLength = pyxb.binding.facets.CF_minLength( + value=pyxb.binding.datatypes.nonNegativeInteger(1) +) +tsCodigoCancelamentoNfse._CF_maxLength = pyxb.binding.facets.CF_maxLength( + value=pyxb.binding.datatypes.nonNegativeInteger(4) +) +tsCodigoCancelamentoNfse._InitializeFacetMap( + tsCodigoCancelamentoNfse._CF_whiteSpace, + tsCodigoCancelamentoNfse._CF_minLength, + tsCodigoCancelamentoNfse._CF_maxLength, +) +Namespace.addCategoryObject("typeBinding", "tsCodigoCancelamentoNfse", tsCodigoCancelamentoNfse) +_module_typeBindings.tsCodigoCancelamentoNfse = tsCodigoCancelamentoNfse + +# Atomic simple type: {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tsIdTag +class tsIdTag(pyxb.binding.datatypes.string): + + """An atomic simple type.""" + + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tsIdTag") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 260, 1 + ) + _Documentation = None + + +tsIdTag._CF_maxLength = pyxb.binding.facets.CF_maxLength(value=pyxb.binding.datatypes.nonNegativeInteger(255)) +tsIdTag._InitializeFacetMap(tsIdTag._CF_maxLength) +Namespace.addCategoryObject("typeBinding", "tsIdTag", tsIdTag) +_module_typeBindings.tsIdTag = tsIdTag + +# Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcCpfCnpj with content type ELEMENT_ONLY +class tcCpfCnpj(pyxb.binding.basis.complexTypeDefinition): + """Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcCpfCnpj with content type ELEMENT_ONLY""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY + _Abstract = False + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tcCpfCnpj") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 268, 4 + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Cpf uses Python identifier Cpf + __Cpf = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Cpf"), + "Cpf", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcCpfCnpj_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdCpf", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 270, 12 + ), + ) + + Cpf = property(__Cpf.value, __Cpf.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Cnpj uses Python identifier Cnpj + __Cnpj = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Cnpj"), + "Cnpj", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcCpfCnpj_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdCnpj", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 271, 12 + ), + ) + + Cnpj = property(__Cnpj.value, __Cnpj.set, None, None) + + _ElementMap.update({__Cpf.name(): __Cpf, __Cnpj.name(): __Cnpj}) + _AttributeMap.update({}) + + +_module_typeBindings.tcCpfCnpj = tcCpfCnpj +Namespace.addCategoryObject("typeBinding", "tcCpfCnpj", tcCpfCnpj) + + +# Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcEndereco with content type ELEMENT_ONLY +class tcEndereco(pyxb.binding.basis.complexTypeDefinition): + """Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcEndereco with content type ELEMENT_ONLY""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY + _Abstract = False + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tcEndereco") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 274, 4 + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Endereco uses Python identifier Endereco + __Endereco = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Endereco"), + "Endereco", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcEndereco_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdEndereco", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 276, 12 + ), + ) + + Endereco = property(__Endereco.value, __Endereco.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Numero uses Python identifier Numero + __Numero = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Numero"), + "Numero", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcEndereco_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdNumero", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 277, 12 + ), + ) + + Numero = property(__Numero.value, __Numero.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Complemento uses Python identifier Complemento + __Complemento = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Complemento"), + "Complemento", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcEndereco_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdComplemento", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 278, 12 + ), + ) + + Complemento = property(__Complemento.value, __Complemento.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Bairro uses Python identifier Bairro + __Bairro = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Bairro"), + "Bairro", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcEndereco_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdBairro", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 279, 12 + ), + ) + + Bairro = property(__Bairro.value, __Bairro.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}CodigoMunicipio uses Python identifier CodigoMunicipio + __CodigoMunicipio = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "CodigoMunicipio"), + "CodigoMunicipio", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcEndereco_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdCodigoMunicipio", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 280, 12 + ), + ) + + CodigoMunicipio = property(__CodigoMunicipio.value, __CodigoMunicipio.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Uf uses Python identifier Uf + __Uf = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Uf"), + "Uf", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcEndereco_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdUf", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 281, 12 + ), + ) + + Uf = property(__Uf.value, __Uf.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Cep uses Python identifier Cep + __Cep = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Cep"), + "Cep", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcEndereco_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdCep", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 282, 12 + ), + ) + + Cep = property(__Cep.value, __Cep.set, None, None) + + _ElementMap.update( + { + __Endereco.name(): __Endereco, + __Numero.name(): __Numero, + __Complemento.name(): __Complemento, + __Bairro.name(): __Bairro, + __CodigoMunicipio.name(): __CodigoMunicipio, + __Uf.name(): __Uf, + __Cep.name(): __Cep, + } + ) + _AttributeMap.update({}) + + +_module_typeBindings.tcEndereco = tcEndereco +Namespace.addCategoryObject("typeBinding", "tcEndereco", tcEndereco) + + +# Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcContato with content type ELEMENT_ONLY +class tcContato(pyxb.binding.basis.complexTypeDefinition): + """Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcContato with content type ELEMENT_ONLY""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY + _Abstract = False + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tcContato") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 285, 4 + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Telefone uses Python identifier Telefone + __Telefone = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Telefone"), + "Telefone", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcContato_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdTelefone", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 287, 12 + ), + ) + + Telefone = property(__Telefone.value, __Telefone.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Email uses Python identifier Email + __Email = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Email"), + "Email", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcContato_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdEmail", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 288, 12 + ), + ) + + Email = property(__Email.value, __Email.set, None, None) + + _ElementMap.update({__Telefone.name(): __Telefone, __Email.name(): __Email}) + _AttributeMap.update({}) + + +_module_typeBindings.tcContato = tcContato +Namespace.addCategoryObject("typeBinding", "tcContato", tcContato) + + +# Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcIdentificacaoOrgaoGerador with content type ELEMENT_ONLY +class tcIdentificacaoOrgaoGerador(pyxb.binding.basis.complexTypeDefinition): + """Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcIdentificacaoOrgaoGerador with content type ELEMENT_ONLY""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY + _Abstract = False + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tcIdentificacaoOrgaoGerador") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 291, 4 + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}CodigoMunicipio uses Python identifier CodigoMunicipio + __CodigoMunicipio = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "CodigoMunicipio"), + "CodigoMunicipio", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcIdentificacaoOrgaoGerador_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdCodigoMunicipio", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 293, 12 + ), + ) + + CodigoMunicipio = property(__CodigoMunicipio.value, __CodigoMunicipio.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Uf uses Python identifier Uf + __Uf = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Uf"), + "Uf", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcIdentificacaoOrgaoGerador_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdUf", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 294, 12 + ), + ) + + Uf = property(__Uf.value, __Uf.set, None, None) + + _ElementMap.update({__CodigoMunicipio.name(): __CodigoMunicipio, __Uf.name(): __Uf}) + _AttributeMap.update({}) + + +_module_typeBindings.tcIdentificacaoOrgaoGerador = tcIdentificacaoOrgaoGerador +Namespace.addCategoryObject("typeBinding", "tcIdentificacaoOrgaoGerador", tcIdentificacaoOrgaoGerador) + + +# Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcIdentificacaoRps with content type ELEMENT_ONLY +class tcIdentificacaoRps(pyxb.binding.basis.complexTypeDefinition): + """Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcIdentificacaoRps with content type ELEMENT_ONLY""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY + _Abstract = False + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tcIdentificacaoRps") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 297, 4 + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Numero uses Python identifier Numero + __Numero = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Numero"), + "Numero", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcIdentificacaoRps_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdNumero", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 299, 12 + ), + ) + + Numero = property(__Numero.value, __Numero.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Serie uses Python identifier Serie + __Serie = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Serie"), + "Serie", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcIdentificacaoRps_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdSerie", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 300, 12 + ), + ) + + Serie = property(__Serie.value, __Serie.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Tipo uses Python identifier Tipo + __Tipo = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Tipo"), + "Tipo", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcIdentificacaoRps_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdTipo", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 301, 12 + ), + ) + + Tipo = property(__Tipo.value, __Tipo.set, None, None) + + _ElementMap.update({__Numero.name(): __Numero, __Serie.name(): __Serie, __Tipo.name(): __Tipo}) + _AttributeMap.update({}) + + +_module_typeBindings.tcIdentificacaoRps = tcIdentificacaoRps +Namespace.addCategoryObject("typeBinding", "tcIdentificacaoRps", tcIdentificacaoRps) + + +# Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcIdentificacaoPrestador with content type ELEMENT_ONLY +class tcIdentificacaoPrestador(pyxb.binding.basis.complexTypeDefinition): + """Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcIdentificacaoPrestador with content type ELEMENT_ONLY""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY + _Abstract = False + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tcIdentificacaoPrestador") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 304, 4 + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Cnpj uses Python identifier Cnpj + __Cnpj = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Cnpj"), + "Cnpj", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcIdentificacaoPrestador_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdCnpj", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 306, 12 + ), + ) + + Cnpj = property(__Cnpj.value, __Cnpj.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}InscricaoMunicipal uses Python identifier InscricaoMunicipal + __InscricaoMunicipal = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "InscricaoMunicipal"), + "InscricaoMunicipal", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcIdentificacaoPrestador_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdInscricaoMunicipal", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 307, 12 + ), + ) + + InscricaoMunicipal = property(__InscricaoMunicipal.value, __InscricaoMunicipal.set, None, None) + + _ElementMap.update({__Cnpj.name(): __Cnpj, __InscricaoMunicipal.name(): __InscricaoMunicipal}) + _AttributeMap.update({}) + + +_module_typeBindings.tcIdentificacaoPrestador = tcIdentificacaoPrestador +Namespace.addCategoryObject("typeBinding", "tcIdentificacaoPrestador", tcIdentificacaoPrestador) + + +# Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcIdentificacaoTomador with content type ELEMENT_ONLY +class tcIdentificacaoTomador(pyxb.binding.basis.complexTypeDefinition): + """Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcIdentificacaoTomador with content type ELEMENT_ONLY""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY + _Abstract = False + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tcIdentificacaoTomador") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 310, 4 + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}CpfCnpj uses Python identifier CpfCnpj + __CpfCnpj = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "CpfCnpj"), + "CpfCnpj", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcIdentificacaoTomador_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdCpfCnpj", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 312, 12 + ), + ) + + CpfCnpj = property(__CpfCnpj.value, __CpfCnpj.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}InscricaoMunicipal uses Python identifier InscricaoMunicipal + __InscricaoMunicipal = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "InscricaoMunicipal"), + "InscricaoMunicipal", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcIdentificacaoTomador_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdInscricaoMunicipal", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 313, 12 + ), + ) + + InscricaoMunicipal = property(__InscricaoMunicipal.value, __InscricaoMunicipal.set, None, None) + + _ElementMap.update({__CpfCnpj.name(): __CpfCnpj, __InscricaoMunicipal.name(): __InscricaoMunicipal}) + _AttributeMap.update({}) + + +_module_typeBindings.tcIdentificacaoTomador = tcIdentificacaoTomador +Namespace.addCategoryObject("typeBinding", "tcIdentificacaoTomador", tcIdentificacaoTomador) + + +# Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcDadosTomador with content type ELEMENT_ONLY +class tcDadosTomador(pyxb.binding.basis.complexTypeDefinition): + """Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcDadosTomador with content type ELEMENT_ONLY""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY + _Abstract = False + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tcDadosTomador") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 316, 4 + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}IdentificacaoTomador uses Python identifier IdentificacaoTomador + __IdentificacaoTomador = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "IdentificacaoTomador"), + "IdentificacaoTomador", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcDadosTomador_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdIdentificacaoTomador", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 318, 12 + ), + ) + + IdentificacaoTomador = property(__IdentificacaoTomador.value, __IdentificacaoTomador.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}RazaoSocial uses Python identifier RazaoSocial + __RazaoSocial = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "RazaoSocial"), + "RazaoSocial", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcDadosTomador_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdRazaoSocial", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 319, 12 + ), + ) + + RazaoSocial = property(__RazaoSocial.value, __RazaoSocial.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Endereco uses Python identifier Endereco + __Endereco = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Endereco"), + "Endereco", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcDadosTomador_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdEndereco", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 320, 12 + ), + ) + + Endereco = property(__Endereco.value, __Endereco.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Contato uses Python identifier Contato + __Contato = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Contato"), + "Contato", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcDadosTomador_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdContato", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 321, 12 + ), + ) + + Contato = property(__Contato.value, __Contato.set, None, None) + + _ElementMap.update( + { + __IdentificacaoTomador.name(): __IdentificacaoTomador, + __RazaoSocial.name(): __RazaoSocial, + __Endereco.name(): __Endereco, + __Contato.name(): __Contato, + } + ) + _AttributeMap.update({}) + + +_module_typeBindings.tcDadosTomador = tcDadosTomador +Namespace.addCategoryObject("typeBinding", "tcDadosTomador", tcDadosTomador) + + +# Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcIdentificacaoIntermediarioServico with content type ELEMENT_ONLY +class tcIdentificacaoIntermediarioServico(pyxb.binding.basis.complexTypeDefinition): + """Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcIdentificacaoIntermediarioServico with content type ELEMENT_ONLY""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY + _Abstract = False + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tcIdentificacaoIntermediarioServico") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 324, 4 + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}RazaoSocial uses Python identifier RazaoSocial + __RazaoSocial = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "RazaoSocial"), + "RazaoSocial", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcIdentificacaoIntermediarioServico_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdRazaoSocial", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 326, 12 + ), + ) + + RazaoSocial = property(__RazaoSocial.value, __RazaoSocial.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}CpfCnpj uses Python identifier CpfCnpj + __CpfCnpj = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "CpfCnpj"), + "CpfCnpj", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcIdentificacaoIntermediarioServico_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdCpfCnpj", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 327, 12 + ), + ) + + CpfCnpj = property(__CpfCnpj.value, __CpfCnpj.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}InscricaoMunicipal uses Python identifier InscricaoMunicipal + __InscricaoMunicipal = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "InscricaoMunicipal"), + "InscricaoMunicipal", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcIdentificacaoIntermediarioServico_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdInscricaoMunicipal", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 328, 12 + ), + ) + + InscricaoMunicipal = property(__InscricaoMunicipal.value, __InscricaoMunicipal.set, None, None) + + _ElementMap.update( + { + __RazaoSocial.name(): __RazaoSocial, + __CpfCnpj.name(): __CpfCnpj, + __InscricaoMunicipal.name(): __InscricaoMunicipal, + } + ) + _AttributeMap.update({}) + + +_module_typeBindings.tcIdentificacaoIntermediarioServico = tcIdentificacaoIntermediarioServico +Namespace.addCategoryObject( + "typeBinding", "tcIdentificacaoIntermediarioServico", tcIdentificacaoIntermediarioServico +) + + +# Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcValores with content type ELEMENT_ONLY +class tcValores(pyxb.binding.basis.complexTypeDefinition): + """Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcValores with content type ELEMENT_ONLY""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY + _Abstract = False + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tcValores") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 331, 4 + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}ValorServicos uses Python identifier ValorServicos + __ValorServicos = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "ValorServicos"), + "ValorServicos", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcValores_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdValorServicos", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 333, 12 + ), + ) + + ValorServicos = property(__ValorServicos.value, __ValorServicos.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}ValorDeducoes uses Python identifier ValorDeducoes + __ValorDeducoes = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "ValorDeducoes"), + "ValorDeducoes", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcValores_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdValorDeducoes", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 334, 12 + ), + ) + + ValorDeducoes = property(__ValorDeducoes.value, __ValorDeducoes.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}ValorPis uses Python identifier ValorPis + __ValorPis = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "ValorPis"), + "ValorPis", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcValores_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdValorPis", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 335, 12 + ), + ) + + ValorPis = property(__ValorPis.value, __ValorPis.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}ValorCofins uses Python identifier ValorCofins + __ValorCofins = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "ValorCofins"), + "ValorCofins", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcValores_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdValorCofins", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 336, 12 + ), + ) + + ValorCofins = property(__ValorCofins.value, __ValorCofins.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}ValorInss uses Python identifier ValorInss + __ValorInss = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "ValorInss"), + "ValorInss", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcValores_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdValorInss", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 337, 12 + ), + ) + + ValorInss = property(__ValorInss.value, __ValorInss.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}ValorIr uses Python identifier ValorIr + __ValorIr = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "ValorIr"), + "ValorIr", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcValores_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdValorIr", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 338, 12 + ), + ) + + ValorIr = property(__ValorIr.value, __ValorIr.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}ValorCsll uses Python identifier ValorCsll + __ValorCsll = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "ValorCsll"), + "ValorCsll", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcValores_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdValorCsll", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 339, 12 + ), + ) + + ValorCsll = property(__ValorCsll.value, __ValorCsll.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}IssRetido uses Python identifier IssRetido + __IssRetido = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "IssRetido"), + "IssRetido", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcValores_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdIssRetido", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 340, 12 + ), + ) + + IssRetido = property(__IssRetido.value, __IssRetido.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}ValorIss uses Python identifier ValorIss + __ValorIss = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "ValorIss"), + "ValorIss", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcValores_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdValorIss", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 341, 12 + ), + ) + + ValorIss = property(__ValorIss.value, __ValorIss.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}ValorIssRetido uses Python identifier ValorIssRetido + __ValorIssRetido = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "ValorIssRetido"), + "ValorIssRetido", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcValores_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdValorIssRetido", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 342, 12 + ), + ) + + ValorIssRetido = property(__ValorIssRetido.value, __ValorIssRetido.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}OutrasRetencoes uses Python identifier OutrasRetencoes + __OutrasRetencoes = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "OutrasRetencoes"), + "OutrasRetencoes", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcValores_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdOutrasRetencoes", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 343, 12 + ), + ) + + OutrasRetencoes = property(__OutrasRetencoes.value, __OutrasRetencoes.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}BaseCalculo uses Python identifier BaseCalculo + __BaseCalculo = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "BaseCalculo"), + "BaseCalculo", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcValores_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdBaseCalculo", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 344, 12 + ), + ) + + BaseCalculo = property(__BaseCalculo.value, __BaseCalculo.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Aliquota uses Python identifier Aliquota + __Aliquota = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Aliquota"), + "Aliquota", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcValores_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdAliquota", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 345, 12 + ), + ) + + Aliquota = property(__Aliquota.value, __Aliquota.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}ValorLiquidoNfse uses Python identifier ValorLiquidoNfse + __ValorLiquidoNfse = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "ValorLiquidoNfse"), + "ValorLiquidoNfse", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcValores_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdValorLiquidoNfse", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 346, 12 + ), + ) + + ValorLiquidoNfse = property(__ValorLiquidoNfse.value, __ValorLiquidoNfse.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}DescontoIncondicionado uses Python identifier DescontoIncondicionado + __DescontoIncondicionado = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "DescontoIncondicionado"), + "DescontoIncondicionado", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcValores_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdDescontoIncondicionado", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 347, 12 + ), + ) + + DescontoIncondicionado = property( + __DescontoIncondicionado.value, __DescontoIncondicionado.set, None, None + ) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}DescontoCondicionado uses Python identifier DescontoCondicionado + __DescontoCondicionado = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "DescontoCondicionado"), + "DescontoCondicionado", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcValores_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdDescontoCondicionado", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 348, 12 + ), + ) + + DescontoCondicionado = property(__DescontoCondicionado.value, __DescontoCondicionado.set, None, None) + + _ElementMap.update( + { + __ValorServicos.name(): __ValorServicos, + __ValorDeducoes.name(): __ValorDeducoes, + __ValorPis.name(): __ValorPis, + __ValorCofins.name(): __ValorCofins, + __ValorInss.name(): __ValorInss, + __ValorIr.name(): __ValorIr, + __ValorCsll.name(): __ValorCsll, + __IssRetido.name(): __IssRetido, + __ValorIss.name(): __ValorIss, + __ValorIssRetido.name(): __ValorIssRetido, + __OutrasRetencoes.name(): __OutrasRetencoes, + __BaseCalculo.name(): __BaseCalculo, + __Aliquota.name(): __Aliquota, + __ValorLiquidoNfse.name(): __ValorLiquidoNfse, + __DescontoIncondicionado.name(): __DescontoIncondicionado, + __DescontoCondicionado.name(): __DescontoCondicionado, + } + ) + _AttributeMap.update({}) + + +_module_typeBindings.tcValores = tcValores +Namespace.addCategoryObject("typeBinding", "tcValores", tcValores) + + +# Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcDadosServico with content type ELEMENT_ONLY +class tcDadosServico(pyxb.binding.basis.complexTypeDefinition): + """Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcDadosServico with content type ELEMENT_ONLY""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY + _Abstract = False + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tcDadosServico") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 351, 4 + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Valores uses Python identifier Valores + __Valores = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Valores"), + "Valores", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcDadosServico_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdValores", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 353, 12 + ), + ) + + Valores = property(__Valores.value, __Valores.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}ItemListaServico uses Python identifier ItemListaServico + __ItemListaServico = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "ItemListaServico"), + "ItemListaServico", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcDadosServico_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdItemListaServico", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 354, 12 + ), + ) + + ItemListaServico = property(__ItemListaServico.value, __ItemListaServico.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}CodigoCnae uses Python identifier CodigoCnae + __CodigoCnae = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "CodigoCnae"), + "CodigoCnae", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcDadosServico_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdCodigoCnae", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 355, 12 + ), + ) + + CodigoCnae = property(__CodigoCnae.value, __CodigoCnae.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}CodigoTributacaoMunicipio uses Python identifier CodigoTributacaoMunicipio + __CodigoTributacaoMunicipio = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "CodigoTributacaoMunicipio"), + "CodigoTributacaoMunicipio", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcDadosServico_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdCodigoTributacaoMunicipio", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 356, 12 + ), + ) + + CodigoTributacaoMunicipio = property( + __CodigoTributacaoMunicipio.value, __CodigoTributacaoMunicipio.set, None, None + ) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Discriminacao uses Python identifier Discriminacao + __Discriminacao = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Discriminacao"), + "Discriminacao", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcDadosServico_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdDiscriminacao", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 357, 12 + ), + ) + + Discriminacao = property(__Discriminacao.value, __Discriminacao.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}CodigoMunicipio uses Python identifier CodigoMunicipio + __CodigoMunicipio = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "CodigoMunicipio"), + "CodigoMunicipio", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcDadosServico_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdCodigoMunicipio", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 358, 12 + ), + ) + + CodigoMunicipio = property(__CodigoMunicipio.value, __CodigoMunicipio.set, None, None) + + _ElementMap.update( + { + __Valores.name(): __Valores, + __ItemListaServico.name(): __ItemListaServico, + __CodigoCnae.name(): __CodigoCnae, + __CodigoTributacaoMunicipio.name(): __CodigoTributacaoMunicipio, + __Discriminacao.name(): __Discriminacao, + __CodigoMunicipio.name(): __CodigoMunicipio, + } + ) + _AttributeMap.update({}) + + +_module_typeBindings.tcDadosServico = tcDadosServico +Namespace.addCategoryObject("typeBinding", "tcDadosServico", tcDadosServico) + + +# Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcDadosConstrucaoCivil with content type ELEMENT_ONLY +class tcDadosConstrucaoCivil(pyxb.binding.basis.complexTypeDefinition): + """Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcDadosConstrucaoCivil with content type ELEMENT_ONLY""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY + _Abstract = False + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tcDadosConstrucaoCivil") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 361, 4 + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}CodigoObra uses Python identifier CodigoObra + __CodigoObra = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "CodigoObra"), + "CodigoObra", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcDadosConstrucaoCivil_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdCodigoObra", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 363, 12 + ), + ) + + CodigoObra = property(__CodigoObra.value, __CodigoObra.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Art uses Python identifier Art + __Art = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Art"), + "Art", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcDadosConstrucaoCivil_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdArt", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 364, 12 + ), + ) + + Art = property(__Art.value, __Art.set, None, None) + + _ElementMap.update({__CodigoObra.name(): __CodigoObra, __Art.name(): __Art}) + _AttributeMap.update({}) + + +_module_typeBindings.tcDadosConstrucaoCivil = tcDadosConstrucaoCivil +Namespace.addCategoryObject("typeBinding", "tcDadosConstrucaoCivil", tcDadosConstrucaoCivil) + + +# Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcDadosPrestador with content type ELEMENT_ONLY +class tcDadosPrestador(pyxb.binding.basis.complexTypeDefinition): + """Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcDadosPrestador with content type ELEMENT_ONLY""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY + _Abstract = False + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tcDadosPrestador") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 367, 4 + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}IdentificacaoPrestador uses Python identifier IdentificacaoPrestador + __IdentificacaoPrestador = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "IdentificacaoPrestador"), + "IdentificacaoPrestador", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcDadosPrestador_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdIdentificacaoPrestador", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 369, 12 + ), + ) + + IdentificacaoPrestador = property( + __IdentificacaoPrestador.value, __IdentificacaoPrestador.set, None, None + ) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}RazaoSocial uses Python identifier RazaoSocial + __RazaoSocial = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "RazaoSocial"), + "RazaoSocial", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcDadosPrestador_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdRazaoSocial", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 370, 12 + ), + ) + + RazaoSocial = property(__RazaoSocial.value, __RazaoSocial.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}NomeFantasia uses Python identifier NomeFantasia + __NomeFantasia = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "NomeFantasia"), + "NomeFantasia", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcDadosPrestador_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdNomeFantasia", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 371, 12 + ), + ) + + NomeFantasia = property(__NomeFantasia.value, __NomeFantasia.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Endereco uses Python identifier Endereco + __Endereco = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Endereco"), + "Endereco", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcDadosPrestador_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdEndereco", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 372, 12 + ), + ) + + Endereco = property(__Endereco.value, __Endereco.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Contato uses Python identifier Contato + __Contato = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Contato"), + "Contato", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcDadosPrestador_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdContato", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 373, 12 + ), + ) + + Contato = property(__Contato.value, __Contato.set, None, None) + + _ElementMap.update( + { + __IdentificacaoPrestador.name(): __IdentificacaoPrestador, + __RazaoSocial.name(): __RazaoSocial, + __NomeFantasia.name(): __NomeFantasia, + __Endereco.name(): __Endereco, + __Contato.name(): __Contato, + } + ) + _AttributeMap.update({}) + + +_module_typeBindings.tcDadosPrestador = tcDadosPrestador +Namespace.addCategoryObject("typeBinding", "tcDadosPrestador", tcDadosPrestador) + + +# Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcRps with content type ELEMENT_ONLY +class tcRps(pyxb.binding.basis.complexTypeDefinition): + """Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcRps with content type ELEMENT_ONLY""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY + _Abstract = False + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tcRps") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 394, 4 + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}InfRps uses Python identifier InfRps + __InfRps = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "InfRps"), + "InfRps", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcRps_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdInfRps", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 396, 12 + ), + ) + + InfRps = property(__InfRps.value, __InfRps.set, None, None) + + # Element {http://www.w3.org/2000/09/xmldsig#}Signature uses Python identifier Signature + __Signature = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(_Namespace_dsig, "Signature"), + "Signature", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcRps_httpwww_w3_org200009xmldsigSignature", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 41, + 0, + ), + ) + + Signature = property(__Signature.value, __Signature.set, None, None) + + _ElementMap.update({__InfRps.name(): __InfRps, __Signature.name(): __Signature}) + _AttributeMap.update({}) + + +_module_typeBindings.tcRps = tcRps +Namespace.addCategoryObject("typeBinding", "tcRps", tcRps) + + +# Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcIdentificacaoNfse with content type ELEMENT_ONLY +class tcIdentificacaoNfse(pyxb.binding.basis.complexTypeDefinition): + """Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcIdentificacaoNfse with content type ELEMENT_ONLY""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY + _Abstract = False + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tcIdentificacaoNfse") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 400, 4 + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Numero uses Python identifier Numero + __Numero = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Numero"), + "Numero", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcIdentificacaoNfse_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdNumero", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 402, 12 + ), + ) + + Numero = property(__Numero.value, __Numero.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Cnpj uses Python identifier Cnpj + __Cnpj = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Cnpj"), + "Cnpj", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcIdentificacaoNfse_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdCnpj", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 403, 12 + ), + ) + + Cnpj = property(__Cnpj.value, __Cnpj.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}InscricaoMunicipal uses Python identifier InscricaoMunicipal + __InscricaoMunicipal = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "InscricaoMunicipal"), + "InscricaoMunicipal", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcIdentificacaoNfse_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdInscricaoMunicipal", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 404, 12 + ), + ) + + InscricaoMunicipal = property(__InscricaoMunicipal.value, __InscricaoMunicipal.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}CodigoMunicipio uses Python identifier CodigoMunicipio + __CodigoMunicipio = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "CodigoMunicipio"), + "CodigoMunicipio", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcIdentificacaoNfse_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdCodigoMunicipio", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 405, 12 + ), + ) + + CodigoMunicipio = property(__CodigoMunicipio.value, __CodigoMunicipio.set, None, None) + + _ElementMap.update( + { + __Numero.name(): __Numero, + __Cnpj.name(): __Cnpj, + __InscricaoMunicipal.name(): __InscricaoMunicipal, + __CodigoMunicipio.name(): __CodigoMunicipio, + } + ) + _AttributeMap.update({}) + + +_module_typeBindings.tcIdentificacaoNfse = tcIdentificacaoNfse +Namespace.addCategoryObject("typeBinding", "tcIdentificacaoNfse", tcIdentificacaoNfse) + + +# Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcNfse with content type ELEMENT_ONLY +class tcNfse(pyxb.binding.basis.complexTypeDefinition): + """Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcNfse with content type ELEMENT_ONLY""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY + _Abstract = False + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tcNfse") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 432, 4 + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}InfNfse uses Python identifier InfNfse + __InfNfse = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "InfNfse"), + "InfNfse", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcNfse_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdInfNfse", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 434, 12 + ), + ) + + InfNfse = property(__InfNfse.value, __InfNfse.set, None, None) + + # Element {http://www.w3.org/2000/09/xmldsig#}Signature uses Python identifier Signature + __Signature = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(_Namespace_dsig, "Signature"), + "Signature", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcNfse_httpwww_w3_org200009xmldsigSignature", + True, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 41, + 0, + ), + ) + + Signature = property(__Signature.value, __Signature.set, None, None) + + _ElementMap.update({__InfNfse.name(): __InfNfse, __Signature.name(): __Signature}) + _AttributeMap.update({}) + + +_module_typeBindings.tcNfse = tcNfse +Namespace.addCategoryObject("typeBinding", "tcNfse", tcNfse) + + +# Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcPedidoCancelamento with content type ELEMENT_ONLY +class tcPedidoCancelamento(pyxb.binding.basis.complexTypeDefinition): + """Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcPedidoCancelamento with content type ELEMENT_ONLY""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY + _Abstract = False + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tcPedidoCancelamento") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 446, 4 + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}InfPedidoCancelamento uses Python identifier InfPedidoCancelamento + __InfPedidoCancelamento = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "InfPedidoCancelamento"), + "InfPedidoCancelamento", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcPedidoCancelamento_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdInfPedidoCancelamento", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 448, 12 + ), + ) + + InfPedidoCancelamento = property(__InfPedidoCancelamento.value, __InfPedidoCancelamento.set, None, None) + + # Element {http://www.w3.org/2000/09/xmldsig#}Signature uses Python identifier Signature + __Signature = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(_Namespace_dsig, "Signature"), + "Signature", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcPedidoCancelamento_httpwww_w3_org200009xmldsigSignature", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 41, + 0, + ), + ) + + Signature = property(__Signature.value, __Signature.set, None, None) + + _ElementMap.update( + {__InfPedidoCancelamento.name(): __InfPedidoCancelamento, __Signature.name(): __Signature} + ) + _AttributeMap.update({}) + + +_module_typeBindings.tcPedidoCancelamento = tcPedidoCancelamento +Namespace.addCategoryObject("typeBinding", "tcPedidoCancelamento", tcPedidoCancelamento) + + +# Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcCancelamentoNfse with content type ELEMENT_ONLY +class tcCancelamentoNfse(pyxb.binding.basis.complexTypeDefinition): + """Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcCancelamentoNfse with content type ELEMENT_ONLY""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY + _Abstract = False + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tcCancelamentoNfse") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 460, 4 + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Confirmacao uses Python identifier Confirmacao + __Confirmacao = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Confirmacao"), + "Confirmacao", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcCancelamentoNfse_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdConfirmacao", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 462, 12 + ), + ) + + Confirmacao = property(__Confirmacao.value, __Confirmacao.set, None, None) + + # Element {http://www.w3.org/2000/09/xmldsig#}Signature uses Python identifier Signature + __Signature = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(_Namespace_dsig, "Signature"), + "Signature", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcCancelamentoNfse_httpwww_w3_org200009xmldsigSignature", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 41, + 0, + ), + ) + + Signature = property(__Signature.value, __Signature.set, None, None) + + _ElementMap.update({__Confirmacao.name(): __Confirmacao, __Signature.name(): __Signature}) + _AttributeMap.update({}) + + +_module_typeBindings.tcCancelamentoNfse = tcCancelamentoNfse +Namespace.addCategoryObject("typeBinding", "tcCancelamentoNfse", tcCancelamentoNfse) + + +# Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcSubstituicaoNfse with content type ELEMENT_ONLY +class tcSubstituicaoNfse(pyxb.binding.basis.complexTypeDefinition): + """Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcSubstituicaoNfse with content type ELEMENT_ONLY""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY + _Abstract = False + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tcSubstituicaoNfse") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 473, 4 + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}SubstituicaoNfse uses Python identifier SubstituicaoNfse + __SubstituicaoNfse = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "SubstituicaoNfse"), + "SubstituicaoNfse", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcSubstituicaoNfse_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdSubstituicaoNfse", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 475, 12 + ), + ) + + SubstituicaoNfse = property(__SubstituicaoNfse.value, __SubstituicaoNfse.set, None, None) + + # Element {http://www.w3.org/2000/09/xmldsig#}Signature uses Python identifier Signature + __Signature = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(_Namespace_dsig, "Signature"), + "Signature", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcSubstituicaoNfse_httpwww_w3_org200009xmldsigSignature", + True, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 41, + 0, + ), + ) + + Signature = property(__Signature.value, __Signature.set, None, None) + + _ElementMap.update({__SubstituicaoNfse.name(): __SubstituicaoNfse, __Signature.name(): __Signature}) + _AttributeMap.update({}) + + +_module_typeBindings.tcSubstituicaoNfse = tcSubstituicaoNfse +Namespace.addCategoryObject("typeBinding", "tcSubstituicaoNfse", tcSubstituicaoNfse) + + +# Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcCompNfse with content type ELEMENT_ONLY +class tcCompNfse(pyxb.binding.basis.complexTypeDefinition): + """Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcCompNfse with content type ELEMENT_ONLY""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY + _Abstract = False + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tcCompNfse") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 479, 4 + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Nfse uses Python identifier Nfse + __Nfse = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Nfse"), + "Nfse", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcCompNfse_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdNfse", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 481, 12 + ), + ) + + Nfse = property(__Nfse.value, __Nfse.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}NfseCancelamento uses Python identifier NfseCancelamento + __NfseCancelamento = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "NfseCancelamento"), + "NfseCancelamento", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcCompNfse_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdNfseCancelamento", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 482, 12 + ), + ) + + NfseCancelamento = property(__NfseCancelamento.value, __NfseCancelamento.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}NfseSubstituicao uses Python identifier NfseSubstituicao + __NfseSubstituicao = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "NfseSubstituicao"), + "NfseSubstituicao", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcCompNfse_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdNfseSubstituicao", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 483, 12 + ), + ) + + NfseSubstituicao = property(__NfseSubstituicao.value, __NfseSubstituicao.set, None, None) + + _ElementMap.update( + { + __Nfse.name(): __Nfse, + __NfseCancelamento.name(): __NfseCancelamento, + __NfseSubstituicao.name(): __NfseSubstituicao, + } + ) + _AttributeMap.update({}) + + +_module_typeBindings.tcCompNfse = tcCompNfse +Namespace.addCategoryObject("typeBinding", "tcCompNfse", tcCompNfse) + + +# Complex type [anonymous] with content type ELEMENT_ONLY +class CTD_ANON(pyxb.binding.basis.complexTypeDefinition): + """Complex type [anonymous] with content type ELEMENT_ONLY""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY + _Abstract = False + _ExpandedName = None + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 488, 8 + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}MensagemRetorno uses Python identifier MensagemRetorno + __MensagemRetorno = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "MensagemRetorno"), + "MensagemRetorno", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdMensagemRetorno", + True, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 490, 16 + ), + ) + + MensagemRetorno = property(__MensagemRetorno.value, __MensagemRetorno.set, None, None) + + _ElementMap.update({__MensagemRetorno.name(): __MensagemRetorno}) + _AttributeMap.update({}) + + +_module_typeBindings.CTD_ANON = CTD_ANON + + +# Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcMensagemRetorno with content type ELEMENT_ONLY +class tcMensagemRetorno(pyxb.binding.basis.complexTypeDefinition): + """Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcMensagemRetorno with content type ELEMENT_ONLY""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY + _Abstract = False + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tcMensagemRetorno") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 494, 4 + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Codigo uses Python identifier Codigo + __Codigo = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Codigo"), + "Codigo", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcMensagemRetorno_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdCodigo", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 496, 12 + ), + ) + + Codigo = property(__Codigo.value, __Codigo.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Mensagem uses Python identifier Mensagem + __Mensagem = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Mensagem"), + "Mensagem", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcMensagemRetorno_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdMensagem", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 497, 12 + ), + ) + + Mensagem = property(__Mensagem.value, __Mensagem.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Correcao uses Python identifier Correcao + __Correcao = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Correcao"), + "Correcao", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcMensagemRetorno_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdCorrecao", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 498, 12 + ), + ) + + Correcao = property(__Correcao.value, __Correcao.set, None, None) + + _ElementMap.update( + {__Codigo.name(): __Codigo, __Mensagem.name(): __Mensagem, __Correcao.name(): __Correcao} + ) + _AttributeMap.update({}) + + +_module_typeBindings.tcMensagemRetorno = tcMensagemRetorno +Namespace.addCategoryObject("typeBinding", "tcMensagemRetorno", tcMensagemRetorno) + + +# Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcMensagemRetornoLote with content type ELEMENT_ONLY +class tcMensagemRetornoLote(pyxb.binding.basis.complexTypeDefinition): + """Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcMensagemRetornoLote with content type ELEMENT_ONLY""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY + _Abstract = False + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tcMensagemRetornoLote") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 501, 4 + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}IdentificacaoRps uses Python identifier IdentificacaoRps + __IdentificacaoRps = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "IdentificacaoRps"), + "IdentificacaoRps", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcMensagemRetornoLote_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdIdentificacaoRps", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 503, 12 + ), + ) + + IdentificacaoRps = property(__IdentificacaoRps.value, __IdentificacaoRps.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Codigo uses Python identifier Codigo + __Codigo = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Codigo"), + "Codigo", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcMensagemRetornoLote_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdCodigo", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 504, 12 + ), + ) + + Codigo = property(__Codigo.value, __Codigo.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Mensagem uses Python identifier Mensagem + __Mensagem = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Mensagem"), + "Mensagem", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcMensagemRetornoLote_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdMensagem", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 505, 12 + ), + ) + + Mensagem = property(__Mensagem.value, __Mensagem.set, None, None) + + _ElementMap.update( + { + __IdentificacaoRps.name(): __IdentificacaoRps, + __Codigo.name(): __Codigo, + __Mensagem.name(): __Mensagem, + } + ) + _AttributeMap.update({}) + + +_module_typeBindings.tcMensagemRetornoLote = tcMensagemRetornoLote +Namespace.addCategoryObject("typeBinding", "tcMensagemRetornoLote", tcMensagemRetornoLote) + + +# Complex type [anonymous] with content type ELEMENT_ONLY +class CTD_ANON_(pyxb.binding.basis.complexTypeDefinition): + """Complex type [anonymous] with content type ELEMENT_ONLY""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY + _Abstract = False + _ExpandedName = None + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 515, 16 + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Rps uses Python identifier Rps + __Rps = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Rps"), + "Rps", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON__httpisscuritiba_curitiba_pr_gov_brissnfse_xsdRps", + True, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 517, 24 + ), + ) + + Rps = property(__Rps.value, __Rps.set, None, None) + + _ElementMap.update({__Rps.name(): __Rps}) + _AttributeMap.update({}) + + +_module_typeBindings.CTD_ANON_ = CTD_ANON_ + + +# Complex type [anonymous] with content type ELEMENT_ONLY +class CTD_ANON_2(pyxb.binding.basis.complexTypeDefinition): + """Complex type [anonymous] with content type ELEMENT_ONLY""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY + _Abstract = False + _ExpandedName = None + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 527, 8 + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}ListaMensagemRetorno uses Python identifier ListaMensagemRetorno + __ListaMensagemRetorno = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "ListaMensagemRetorno"), + "ListaMensagemRetorno", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_2_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdListaMensagemRetorno", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 487, 4 + ), + ) + + ListaMensagemRetorno = property(__ListaMensagemRetorno.value, __ListaMensagemRetorno.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}NumeroLote uses Python identifier NumeroLote + __NumeroLote = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "NumeroLote"), + "NumeroLote", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_2_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdNumeroLote", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 530, 20 + ), + ) + + NumeroLote = property(__NumeroLote.value, __NumeroLote.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}DataRecebimento uses Python identifier DataRecebimento + __DataRecebimento = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "DataRecebimento"), + "DataRecebimento", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_2_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdDataRecebimento", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 531, 20 + ), + ) + + DataRecebimento = property(__DataRecebimento.value, __DataRecebimento.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Protocolo uses Python identifier Protocolo + __Protocolo = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Protocolo"), + "Protocolo", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_2_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdProtocolo", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 532, 20 + ), + ) + + Protocolo = property(__Protocolo.value, __Protocolo.set, None, None) + + _ElementMap.update( + { + __ListaMensagemRetorno.name(): __ListaMensagemRetorno, + __NumeroLote.name(): __NumeroLote, + __DataRecebimento.name(): __DataRecebimento, + __Protocolo.name(): __Protocolo, + } + ) + _AttributeMap.update({}) + + +_module_typeBindings.CTD_ANON_2 = CTD_ANON_2 + + +# Complex type [anonymous] with content type ELEMENT_ONLY +class CTD_ANON_3(pyxb.binding.basis.complexTypeDefinition): + """Complex type [anonymous] with content type ELEMENT_ONLY""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY + _Abstract = False + _ExpandedName = None + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 540, 8 + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}LoteRps uses Python identifier LoteRps + __LoteRps = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "LoteRps"), + "LoteRps", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_3_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdLoteRps", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 542, 16 + ), + ) + + LoteRps = property(__LoteRps.value, __LoteRps.set, None, None) + + # Element {http://www.w3.org/2000/09/xmldsig#}Signature uses Python identifier Signature + __Signature = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(_Namespace_dsig, "Signature"), + "Signature", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_3_httpwww_w3_org200009xmldsigSignature", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 41, + 0, + ), + ) + + Signature = property(__Signature.value, __Signature.set, None, None) + + _ElementMap.update({__LoteRps.name(): __LoteRps, __Signature.name(): __Signature}) + _AttributeMap.update({}) + + +_module_typeBindings.CTD_ANON_3 = CTD_ANON_3 + + +# Complex type [anonymous] with content type ELEMENT_ONLY +class CTD_ANON_4(pyxb.binding.basis.complexTypeDefinition): + """Complex type [anonymous] with content type ELEMENT_ONLY""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY + _Abstract = False + _ExpandedName = None + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 549, 8 + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}ListaMensagemRetorno uses Python identifier ListaMensagemRetorno + __ListaMensagemRetorno = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "ListaMensagemRetorno"), + "ListaMensagemRetorno", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_4_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdListaMensagemRetorno", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 487, 4 + ), + ) + + ListaMensagemRetorno = property(__ListaMensagemRetorno.value, __ListaMensagemRetorno.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}NumeroLote uses Python identifier NumeroLote + __NumeroLote = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "NumeroLote"), + "NumeroLote", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_4_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdNumeroLote", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 552, 20 + ), + ) + + NumeroLote = property(__NumeroLote.value, __NumeroLote.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Situacao uses Python identifier Situacao + __Situacao = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Situacao"), + "Situacao", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_4_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdSituacao", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 553, 20 + ), + ) + + Situacao = property(__Situacao.value, __Situacao.set, None, None) + + _ElementMap.update( + { + __ListaMensagemRetorno.name(): __ListaMensagemRetorno, + __NumeroLote.name(): __NumeroLote, + __Situacao.name(): __Situacao, + } + ) + _AttributeMap.update({}) + + +_module_typeBindings.CTD_ANON_4 = CTD_ANON_4 + + +# Complex type [anonymous] with content type ELEMENT_ONLY +class CTD_ANON_5(pyxb.binding.basis.complexTypeDefinition): + """Complex type [anonymous] with content type ELEMENT_ONLY""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY + _Abstract = False + _ExpandedName = None + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 561, 8 + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Prestador uses Python identifier Prestador + __Prestador = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Prestador"), + "Prestador", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_5_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdPrestador", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 563, 16 + ), + ) + + Prestador = property(__Prestador.value, __Prestador.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Protocolo uses Python identifier Protocolo + __Protocolo = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Protocolo"), + "Protocolo", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_5_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdProtocolo", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 564, 16 + ), + ) + + Protocolo = property(__Protocolo.value, __Protocolo.set, None, None) + + _ElementMap.update({__Prestador.name(): __Prestador, __Protocolo.name(): __Protocolo}) + _AttributeMap.update({}) + + +_module_typeBindings.CTD_ANON_5 = CTD_ANON_5 + + +# Complex type [anonymous] with content type ELEMENT_ONLY +class CTD_ANON_6(pyxb.binding.basis.complexTypeDefinition): + """Complex type [anonymous] with content type ELEMENT_ONLY""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY + _Abstract = False + _ExpandedName = None + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 570, 8 + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}ListaMensagemRetorno uses Python identifier ListaMensagemRetorno + __ListaMensagemRetorno = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "ListaMensagemRetorno"), + "ListaMensagemRetorno", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_6_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdListaMensagemRetorno", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 487, 4 + ), + ) + + ListaMensagemRetorno = property(__ListaMensagemRetorno.value, __ListaMensagemRetorno.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}CompNfse uses Python identifier CompNfse + __CompNfse = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "CompNfse"), + "CompNfse", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_6_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdCompNfse", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 572, 16 + ), + ) + + CompNfse = property(__CompNfse.value, __CompNfse.set, None, None) + + _ElementMap.update({__ListaMensagemRetorno.name(): __ListaMensagemRetorno, __CompNfse.name(): __CompNfse}) + _AttributeMap.update({}) + + +_module_typeBindings.CTD_ANON_6 = CTD_ANON_6 + + +# Complex type [anonymous] with content type ELEMENT_ONLY +class CTD_ANON_7(pyxb.binding.basis.complexTypeDefinition): + """Complex type [anonymous] with content type ELEMENT_ONLY""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY + _Abstract = False + _ExpandedName = None + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 579, 8 + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}IdentificacaoRps uses Python identifier IdentificacaoRps + __IdentificacaoRps = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "IdentificacaoRps"), + "IdentificacaoRps", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_7_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdIdentificacaoRps", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 581, 16 + ), + ) + + IdentificacaoRps = property(__IdentificacaoRps.value, __IdentificacaoRps.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Prestador uses Python identifier Prestador + __Prestador = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Prestador"), + "Prestador", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_7_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdPrestador", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 582, 16 + ), + ) + + Prestador = property(__Prestador.value, __Prestador.set, None, None) + + _ElementMap.update({__IdentificacaoRps.name(): __IdentificacaoRps, __Prestador.name(): __Prestador}) + _AttributeMap.update({}) + + +_module_typeBindings.CTD_ANON_7 = CTD_ANON_7 + + +# Complex type [anonymous] with content type ELEMENT_ONLY +class CTD_ANON_8(pyxb.binding.basis.complexTypeDefinition): + """Complex type [anonymous] with content type ELEMENT_ONLY""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY + _Abstract = False + _ExpandedName = None + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 588, 8 + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}ListaMensagemRetorno uses Python identifier ListaMensagemRetorno + __ListaMensagemRetorno = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "ListaMensagemRetorno"), + "ListaMensagemRetorno", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_8_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdListaMensagemRetorno", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 487, 4 + ), + ) + + ListaMensagemRetorno = property(__ListaMensagemRetorno.value, __ListaMensagemRetorno.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}ListaNfse uses Python identifier ListaNfse + __ListaNfse = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "ListaNfse"), + "ListaNfse", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_8_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdListaNfse", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 590, 16 + ), + ) + + ListaNfse = property(__ListaNfse.value, __ListaNfse.set, None, None) + + _ElementMap.update( + {__ListaMensagemRetorno.name(): __ListaMensagemRetorno, __ListaNfse.name(): __ListaNfse} + ) + _AttributeMap.update({}) + + +_module_typeBindings.CTD_ANON_8 = CTD_ANON_8 + + +# Complex type [anonymous] with content type ELEMENT_ONLY +class CTD_ANON_9(pyxb.binding.basis.complexTypeDefinition): + """Complex type [anonymous] with content type ELEMENT_ONLY""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY + _Abstract = False + _ExpandedName = None + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 591, 20 + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}CompNfse uses Python identifier CompNfse + __CompNfse = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "CompNfse"), + "CompNfse", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_9_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdCompNfse", + True, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 593, 28 + ), + ) + + CompNfse = property(__CompNfse.value, __CompNfse.set, None, None) + + _ElementMap.update({__CompNfse.name(): __CompNfse}) + _AttributeMap.update({}) + + +_module_typeBindings.CTD_ANON_9 = CTD_ANON_9 + + +# Complex type [anonymous] with content type ELEMENT_ONLY +class CTD_ANON_10(pyxb.binding.basis.complexTypeDefinition): + """Complex type [anonymous] with content type ELEMENT_ONLY""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY + _Abstract = False + _ExpandedName = None + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 603, 8 + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Prestador uses Python identifier Prestador + __Prestador = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Prestador"), + "Prestador", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_10_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdPrestador", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 605, 16 + ), + ) + + Prestador = property(__Prestador.value, __Prestador.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}NumeroNfse uses Python identifier NumeroNfse + __NumeroNfse = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "NumeroNfse"), + "NumeroNfse", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_10_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdNumeroNfse", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 606, 16 + ), + ) + + NumeroNfse = property(__NumeroNfse.value, __NumeroNfse.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}PeriodoEmissao uses Python identifier PeriodoEmissao + __PeriodoEmissao = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "PeriodoEmissao"), + "PeriodoEmissao", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_10_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdPeriodoEmissao", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 607, 16 + ), + ) + + PeriodoEmissao = property(__PeriodoEmissao.value, __PeriodoEmissao.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Tomador uses Python identifier Tomador + __Tomador = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Tomador"), + "Tomador", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_10_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdTomador", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 615, 16 + ), + ) + + Tomador = property(__Tomador.value, __Tomador.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}IntermediarioServico uses Python identifier IntermediarioServico + __IntermediarioServico = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "IntermediarioServico"), + "IntermediarioServico", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_10_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdIntermediarioServico", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 616, 16 + ), + ) + + IntermediarioServico = property(__IntermediarioServico.value, __IntermediarioServico.set, None, None) + + _ElementMap.update( + { + __Prestador.name(): __Prestador, + __NumeroNfse.name(): __NumeroNfse, + __PeriodoEmissao.name(): __PeriodoEmissao, + __Tomador.name(): __Tomador, + __IntermediarioServico.name(): __IntermediarioServico, + } + ) + _AttributeMap.update({}) + + +_module_typeBindings.CTD_ANON_10 = CTD_ANON_10 + + +# Complex type [anonymous] with content type ELEMENT_ONLY +class CTD_ANON_11(pyxb.binding.basis.complexTypeDefinition): + """Complex type [anonymous] with content type ELEMENT_ONLY""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY + _Abstract = False + _ExpandedName = None + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 608, 20 + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}DataInicial uses Python identifier DataInicial + __DataInicial = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "DataInicial"), + "DataInicial", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_11_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdDataInicial", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 610, 28 + ), + ) + + DataInicial = property(__DataInicial.value, __DataInicial.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}DataFinal uses Python identifier DataFinal + __DataFinal = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "DataFinal"), + "DataFinal", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_11_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdDataFinal", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 611, 28 + ), + ) + + DataFinal = property(__DataFinal.value, __DataFinal.set, None, None) + + _ElementMap.update({__DataInicial.name(): __DataInicial, __DataFinal.name(): __DataFinal}) + _AttributeMap.update({}) + + +_module_typeBindings.CTD_ANON_11 = CTD_ANON_11 + + +# Complex type [anonymous] with content type ELEMENT_ONLY +class CTD_ANON_12(pyxb.binding.basis.complexTypeDefinition): + """Complex type [anonymous] with content type ELEMENT_ONLY""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY + _Abstract = False + _ExpandedName = None + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 622, 8 + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}ListaMensagemRetorno uses Python identifier ListaMensagemRetorno + __ListaMensagemRetorno = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "ListaMensagemRetorno"), + "ListaMensagemRetorno", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_12_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdListaMensagemRetorno", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 487, 4 + ), + ) + + ListaMensagemRetorno = property(__ListaMensagemRetorno.value, __ListaMensagemRetorno.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}ListaNfse uses Python identifier ListaNfse + __ListaNfse = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "ListaNfse"), + "ListaNfse", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_12_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdListaNfse", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 624, 16 + ), + ) + + ListaNfse = property(__ListaNfse.value, __ListaNfse.set, None, None) + + _ElementMap.update( + {__ListaMensagemRetorno.name(): __ListaMensagemRetorno, __ListaNfse.name(): __ListaNfse} + ) + _AttributeMap.update({}) + + +_module_typeBindings.CTD_ANON_12 = CTD_ANON_12 + + +# Complex type [anonymous] with content type ELEMENT_ONLY +class CTD_ANON_13(pyxb.binding.basis.complexTypeDefinition): + """Complex type [anonymous] with content type ELEMENT_ONLY""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY + _Abstract = False + _ExpandedName = None + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 625, 20 + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}CompNfse uses Python identifier CompNfse + __CompNfse = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "CompNfse"), + "CompNfse", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_13_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdCompNfse", + True, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 627, 28 + ), + ) + + CompNfse = property(__CompNfse.value, __CompNfse.set, None, None) + + _ElementMap.update({__CompNfse.name(): __CompNfse}) + _AttributeMap.update({}) + + +_module_typeBindings.CTD_ANON_13 = CTD_ANON_13 + + +# Complex type [anonymous] with content type ELEMENT_ONLY +class CTD_ANON_14(pyxb.binding.basis.complexTypeDefinition): + """Complex type [anonymous] with content type ELEMENT_ONLY""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY + _Abstract = False + _ExpandedName = None + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 637, 8 + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Prestador uses Python identifier Prestador + __Prestador = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Prestador"), + "Prestador", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_14_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdPrestador", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 639, 16 + ), + ) + + Prestador = property(__Prestador.value, __Prestador.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Protocolo uses Python identifier Protocolo + __Protocolo = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Protocolo"), + "Protocolo", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_14_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdProtocolo", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 640, 16 + ), + ) + + Protocolo = property(__Protocolo.value, __Protocolo.set, None, None) + + _ElementMap.update({__Prestador.name(): __Prestador, __Protocolo.name(): __Protocolo}) + _AttributeMap.update({}) + + +_module_typeBindings.CTD_ANON_14 = CTD_ANON_14 + + +# Complex type [anonymous] with content type ELEMENT_ONLY +class CTD_ANON_15(pyxb.binding.basis.complexTypeDefinition): + """Complex type [anonymous] with content type ELEMENT_ONLY""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY + _Abstract = False + _ExpandedName = None + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 646, 8 + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}ListaMensagemRetorno uses Python identifier ListaMensagemRetorno + __ListaMensagemRetorno = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "ListaMensagemRetorno"), + "ListaMensagemRetorno", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_15_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdListaMensagemRetorno", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 487, 4 + ), + ) + + ListaMensagemRetorno = property(__ListaMensagemRetorno.value, __ListaMensagemRetorno.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Cancelamento uses Python identifier Cancelamento + __Cancelamento = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Cancelamento"), + "Cancelamento", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_15_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdCancelamento", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 648, 16 + ), + ) + + Cancelamento = property(__Cancelamento.value, __Cancelamento.set, None, None) + + _ElementMap.update( + {__ListaMensagemRetorno.name(): __ListaMensagemRetorno, __Cancelamento.name(): __Cancelamento} + ) + _AttributeMap.update({}) + + +_module_typeBindings.CTD_ANON_15 = CTD_ANON_15 + + +# Complex type [anonymous] with content type ELEMENT_ONLY +class CTD_ANON_16(pyxb.binding.basis.complexTypeDefinition): + """Complex type [anonymous] with content type ELEMENT_ONLY""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY + _Abstract = False + _ExpandedName = None + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 655, 8 + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Pedido uses Python identifier Pedido + __Pedido = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Pedido"), + "Pedido", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_CTD_ANON_16_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdPedido", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 657, 16 + ), + ) + + Pedido = property(__Pedido.value, __Pedido.set, None, None) + + _ElementMap.update({__Pedido.name(): __Pedido}) + _AttributeMap.update({}) + + +_module_typeBindings.CTD_ANON_16 = CTD_ANON_16 + + +# Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcInfRps with content type ELEMENT_ONLY +class tcInfRps(pyxb.binding.basis.complexTypeDefinition): + """Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcInfRps with content type ELEMENT_ONLY""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY + _Abstract = False + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tcInfRps") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 376, 4 + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}IdentificacaoRps uses Python identifier IdentificacaoRps + __IdentificacaoRps = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "IdentificacaoRps"), + "IdentificacaoRps", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfRps_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdIdentificacaoRps", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 378, 12 + ), + ) + + IdentificacaoRps = property(__IdentificacaoRps.value, __IdentificacaoRps.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}DataEmissao uses Python identifier DataEmissao + __DataEmissao = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "DataEmissao"), + "DataEmissao", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfRps_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdDataEmissao", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 379, 12 + ), + ) + + DataEmissao = property(__DataEmissao.value, __DataEmissao.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}NaturezaOperacao uses Python identifier NaturezaOperacao + __NaturezaOperacao = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "NaturezaOperacao"), + "NaturezaOperacao", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfRps_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdNaturezaOperacao", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 380, 12 + ), + ) + + NaturezaOperacao = property(__NaturezaOperacao.value, __NaturezaOperacao.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}RegimeEspecialTributacao uses Python identifier RegimeEspecialTributacao + __RegimeEspecialTributacao = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "RegimeEspecialTributacao"), + "RegimeEspecialTributacao", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfRps_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdRegimeEspecialTributacao", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 381, 12 + ), + ) + + RegimeEspecialTributacao = property( + __RegimeEspecialTributacao.value, __RegimeEspecialTributacao.set, None, None + ) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}OptanteSimplesNacional uses Python identifier OptanteSimplesNacional + __OptanteSimplesNacional = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "OptanteSimplesNacional"), + "OptanteSimplesNacional", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfRps_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdOptanteSimplesNacional", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 382, 12 + ), + ) + + OptanteSimplesNacional = property( + __OptanteSimplesNacional.value, __OptanteSimplesNacional.set, None, None + ) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}IncentivadorCultural uses Python identifier IncentivadorCultural + __IncentivadorCultural = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "IncentivadorCultural"), + "IncentivadorCultural", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfRps_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdIncentivadorCultural", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 383, 12 + ), + ) + + IncentivadorCultural = property(__IncentivadorCultural.value, __IncentivadorCultural.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Status uses Python identifier Status + __Status = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Status"), + "Status", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfRps_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdStatus", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 384, 12 + ), + ) + + Status = property(__Status.value, __Status.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}RpsSubstituido uses Python identifier RpsSubstituido + __RpsSubstituido = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "RpsSubstituido"), + "RpsSubstituido", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfRps_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdRpsSubstituido", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 385, 12 + ), + ) + + RpsSubstituido = property(__RpsSubstituido.value, __RpsSubstituido.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Servico uses Python identifier Servico + __Servico = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Servico"), + "Servico", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfRps_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdServico", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 386, 12 + ), + ) + + Servico = property(__Servico.value, __Servico.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Prestador uses Python identifier Prestador + __Prestador = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Prestador"), + "Prestador", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfRps_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdPrestador", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 387, 12 + ), + ) + + Prestador = property(__Prestador.value, __Prestador.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Tomador uses Python identifier Tomador + __Tomador = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Tomador"), + "Tomador", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfRps_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdTomador", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 388, 12 + ), + ) + + Tomador = property(__Tomador.value, __Tomador.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}IntermediarioServico uses Python identifier IntermediarioServico + __IntermediarioServico = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "IntermediarioServico"), + "IntermediarioServico", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfRps_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdIntermediarioServico", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 389, 12 + ), + ) + + IntermediarioServico = property(__IntermediarioServico.value, __IntermediarioServico.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}ContrucaoCivil uses Python identifier ContrucaoCivil + __ContrucaoCivil = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "ContrucaoCivil"), + "ContrucaoCivil", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfRps_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdContrucaoCivil", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 390, 12 + ), + ) + + ContrucaoCivil = property(__ContrucaoCivil.value, __ContrucaoCivil.set, None, None) + + # Attribute id uses Python identifier id + __id = pyxb.binding.content.AttributeUse( + pyxb.namespace.ExpandedName(None, "id"), + "id", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfRps_id", + _module_typeBindings.tsIdTag, + ) + __id._DeclarationLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 392, 8 + ) + __id._UseLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 392, 8 + ) + + id = property(__id.value, __id.set, None, None) + + _ElementMap.update( + { + __IdentificacaoRps.name(): __IdentificacaoRps, + __DataEmissao.name(): __DataEmissao, + __NaturezaOperacao.name(): __NaturezaOperacao, + __RegimeEspecialTributacao.name(): __RegimeEspecialTributacao, + __OptanteSimplesNacional.name(): __OptanteSimplesNacional, + __IncentivadorCultural.name(): __IncentivadorCultural, + __Status.name(): __Status, + __RpsSubstituido.name(): __RpsSubstituido, + __Servico.name(): __Servico, + __Prestador.name(): __Prestador, + __Tomador.name(): __Tomador, + __IntermediarioServico.name(): __IntermediarioServico, + __ContrucaoCivil.name(): __ContrucaoCivil, + } + ) + _AttributeMap.update({__id.name(): __id}) + + +_module_typeBindings.tcInfRps = tcInfRps +Namespace.addCategoryObject("typeBinding", "tcInfRps", tcInfRps) + + +# Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcInfNfse with content type ELEMENT_ONLY +class tcInfNfse(pyxb.binding.basis.complexTypeDefinition): + """Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcInfNfse with content type ELEMENT_ONLY""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY + _Abstract = False + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tcInfNfse") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 408, 4 + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Numero uses Python identifier Numero + __Numero = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Numero"), + "Numero", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfNfse_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdNumero", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 410, 12 + ), + ) + + Numero = property(__Numero.value, __Numero.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}CodigoVerificacao uses Python identifier CodigoVerificacao + __CodigoVerificacao = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "CodigoVerificacao"), + "CodigoVerificacao", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfNfse_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdCodigoVerificacao", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 411, 12 + ), + ) + + CodigoVerificacao = property(__CodigoVerificacao.value, __CodigoVerificacao.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}DataEmissao uses Python identifier DataEmissao + __DataEmissao = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "DataEmissao"), + "DataEmissao", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfNfse_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdDataEmissao", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 412, 12 + ), + ) + + DataEmissao = property(__DataEmissao.value, __DataEmissao.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}IdentificacaoRps uses Python identifier IdentificacaoRps + __IdentificacaoRps = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "IdentificacaoRps"), + "IdentificacaoRps", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfNfse_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdIdentificacaoRps", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 413, 12 + ), + ) + + IdentificacaoRps = property(__IdentificacaoRps.value, __IdentificacaoRps.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}DataEmissaoRps uses Python identifier DataEmissaoRps + __DataEmissaoRps = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "DataEmissaoRps"), + "DataEmissaoRps", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfNfse_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdDataEmissaoRps", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 414, 12 + ), + ) + + DataEmissaoRps = property(__DataEmissaoRps.value, __DataEmissaoRps.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}NaturezaOperacao uses Python identifier NaturezaOperacao + __NaturezaOperacao = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "NaturezaOperacao"), + "NaturezaOperacao", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfNfse_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdNaturezaOperacao", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 415, 12 + ), + ) + + NaturezaOperacao = property(__NaturezaOperacao.value, __NaturezaOperacao.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}RegimeEspecialTributacao uses Python identifier RegimeEspecialTributacao + __RegimeEspecialTributacao = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "RegimeEspecialTributacao"), + "RegimeEspecialTributacao", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfNfse_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdRegimeEspecialTributacao", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 416, 12 + ), + ) + + RegimeEspecialTributacao = property( + __RegimeEspecialTributacao.value, __RegimeEspecialTributacao.set, None, None + ) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}OptanteSimplesNacional uses Python identifier OptanteSimplesNacional + __OptanteSimplesNacional = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "OptanteSimplesNacional"), + "OptanteSimplesNacional", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfNfse_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdOptanteSimplesNacional", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 417, 12 + ), + ) + + OptanteSimplesNacional = property( + __OptanteSimplesNacional.value, __OptanteSimplesNacional.set, None, None + ) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}IncentivadorCultural uses Python identifier IncentivadorCultural + __IncentivadorCultural = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "IncentivadorCultural"), + "IncentivadorCultural", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfNfse_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdIncentivadorCultural", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 418, 12 + ), + ) + + IncentivadorCultural = property(__IncentivadorCultural.value, __IncentivadorCultural.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Competencia uses Python identifier Competencia + __Competencia = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Competencia"), + "Competencia", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfNfse_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdCompetencia", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 419, 12 + ), + ) + + Competencia = property(__Competencia.value, __Competencia.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}NfseSubstituida uses Python identifier NfseSubstituida + __NfseSubstituida = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "NfseSubstituida"), + "NfseSubstituida", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfNfse_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdNfseSubstituida", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 420, 12 + ), + ) + + NfseSubstituida = property(__NfseSubstituida.value, __NfseSubstituida.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}OutrasInformacoes uses Python identifier OutrasInformacoes + __OutrasInformacoes = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "OutrasInformacoes"), + "OutrasInformacoes", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfNfse_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdOutrasInformacoes", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 421, 12 + ), + ) + + OutrasInformacoes = property(__OutrasInformacoes.value, __OutrasInformacoes.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Servico uses Python identifier Servico + __Servico = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Servico"), + "Servico", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfNfse_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdServico", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 422, 12 + ), + ) + + Servico = property(__Servico.value, __Servico.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}ValorCredito uses Python identifier ValorCredito + __ValorCredito = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "ValorCredito"), + "ValorCredito", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfNfse_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdValorCredito", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 423, 12 + ), + ) + + ValorCredito = property(__ValorCredito.value, __ValorCredito.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}PrestadorServico uses Python identifier PrestadorServico + __PrestadorServico = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "PrestadorServico"), + "PrestadorServico", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfNfse_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdPrestadorServico", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 424, 12 + ), + ) + + PrestadorServico = property(__PrestadorServico.value, __PrestadorServico.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}TomadorServico uses Python identifier TomadorServico + __TomadorServico = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "TomadorServico"), + "TomadorServico", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfNfse_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdTomadorServico", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 425, 12 + ), + ) + + TomadorServico = property(__TomadorServico.value, __TomadorServico.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}IntermediarioServico uses Python identifier IntermediarioServico + __IntermediarioServico = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "IntermediarioServico"), + "IntermediarioServico", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfNfse_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdIntermediarioServico", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 426, 12 + ), + ) + + IntermediarioServico = property(__IntermediarioServico.value, __IntermediarioServico.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}OrgaoGerador uses Python identifier OrgaoGerador + __OrgaoGerador = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "OrgaoGerador"), + "OrgaoGerador", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfNfse_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdOrgaoGerador", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 427, 12 + ), + ) + + OrgaoGerador = property(__OrgaoGerador.value, __OrgaoGerador.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}ContrucaoCivil uses Python identifier ContrucaoCivil + __ContrucaoCivil = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "ContrucaoCivil"), + "ContrucaoCivil", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfNfse_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdContrucaoCivil", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 428, 12 + ), + ) + + ContrucaoCivil = property(__ContrucaoCivil.value, __ContrucaoCivil.set, None, None) + + # Attribute id uses Python identifier id + __id = pyxb.binding.content.AttributeUse( + pyxb.namespace.ExpandedName(None, "id"), + "id", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfNfse_id", + _module_typeBindings.tsIdTag, + ) + __id._DeclarationLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 430, 8 + ) + __id._UseLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 430, 8 + ) + + id = property(__id.value, __id.set, None, None) + + _ElementMap.update( + { + __Numero.name(): __Numero, + __CodigoVerificacao.name(): __CodigoVerificacao, + __DataEmissao.name(): __DataEmissao, + __IdentificacaoRps.name(): __IdentificacaoRps, + __DataEmissaoRps.name(): __DataEmissaoRps, + __NaturezaOperacao.name(): __NaturezaOperacao, + __RegimeEspecialTributacao.name(): __RegimeEspecialTributacao, + __OptanteSimplesNacional.name(): __OptanteSimplesNacional, + __IncentivadorCultural.name(): __IncentivadorCultural, + __Competencia.name(): __Competencia, + __NfseSubstituida.name(): __NfseSubstituida, + __OutrasInformacoes.name(): __OutrasInformacoes, + __Servico.name(): __Servico, + __ValorCredito.name(): __ValorCredito, + __PrestadorServico.name(): __PrestadorServico, + __TomadorServico.name(): __TomadorServico, + __IntermediarioServico.name(): __IntermediarioServico, + __OrgaoGerador.name(): __OrgaoGerador, + __ContrucaoCivil.name(): __ContrucaoCivil, + } + ) + _AttributeMap.update({__id.name(): __id}) + + +_module_typeBindings.tcInfNfse = tcInfNfse +Namespace.addCategoryObject("typeBinding", "tcInfNfse", tcInfNfse) + + +# Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcInfPedidoCancelamento with content type ELEMENT_ONLY +class tcInfPedidoCancelamento(pyxb.binding.basis.complexTypeDefinition): + """Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcInfPedidoCancelamento with content type ELEMENT_ONLY""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY + _Abstract = False + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tcInfPedidoCancelamento") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 439, 4 + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}IdentificacaoNfse uses Python identifier IdentificacaoNfse + __IdentificacaoNfse = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "IdentificacaoNfse"), + "IdentificacaoNfse", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfPedidoCancelamento_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdIdentificacaoNfse", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 441, 12 + ), + ) + + IdentificacaoNfse = property(__IdentificacaoNfse.value, __IdentificacaoNfse.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}CodigoCancelamento uses Python identifier CodigoCancelamento + __CodigoCancelamento = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "CodigoCancelamento"), + "CodigoCancelamento", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfPedidoCancelamento_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdCodigoCancelamento", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 442, 12 + ), + ) + + CodigoCancelamento = property(__CodigoCancelamento.value, __CodigoCancelamento.set, None, None) + + # Attribute id uses Python identifier id + __id = pyxb.binding.content.AttributeUse( + pyxb.namespace.ExpandedName(None, "id"), + "id", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfPedidoCancelamento_id", + _module_typeBindings.tsIdTag, + ) + __id._DeclarationLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 444, 8 + ) + __id._UseLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 444, 8 + ) + + id = property(__id.value, __id.set, None, None) + + _ElementMap.update( + {__IdentificacaoNfse.name(): __IdentificacaoNfse, __CodigoCancelamento.name(): __CodigoCancelamento} + ) + _AttributeMap.update({__id.name(): __id}) + + +_module_typeBindings.tcInfPedidoCancelamento = tcInfPedidoCancelamento +Namespace.addCategoryObject("typeBinding", "tcInfPedidoCancelamento", tcInfPedidoCancelamento) + + +# Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcConfirmacaoCancelamento with content type ELEMENT_ONLY +class tcConfirmacaoCancelamento(pyxb.binding.basis.complexTypeDefinition): + """Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcConfirmacaoCancelamento with content type ELEMENT_ONLY""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY + _Abstract = False + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tcConfirmacaoCancelamento") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 452, 4 + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Pedido uses Python identifier Pedido + __Pedido = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Pedido"), + "Pedido", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcConfirmacaoCancelamento_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdPedido", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 454, 12 + ), + ) + + Pedido = property(__Pedido.value, __Pedido.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}DataHoraCancelamento uses Python identifier DataHoraCancelamento + __DataHoraCancelamento = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "DataHoraCancelamento"), + "DataHoraCancelamento", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcConfirmacaoCancelamento_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdDataHoraCancelamento", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 455, 12 + ), + ) + + DataHoraCancelamento = property(__DataHoraCancelamento.value, __DataHoraCancelamento.set, None, None) + + # Attribute id uses Python identifier id + __id = pyxb.binding.content.AttributeUse( + pyxb.namespace.ExpandedName(None, "id"), + "id", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcConfirmacaoCancelamento_id", + _module_typeBindings.tsIdTag, + ) + __id._DeclarationLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 457, 8 + ) + __id._UseLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 457, 8 + ) + + id = property(__id.value, __id.set, None, None) + + _ElementMap.update({__Pedido.name(): __Pedido, __DataHoraCancelamento.name(): __DataHoraCancelamento}) + _AttributeMap.update({__id.name(): __id}) + + +_module_typeBindings.tcConfirmacaoCancelamento = tcConfirmacaoCancelamento +Namespace.addCategoryObject("typeBinding", "tcConfirmacaoCancelamento", tcConfirmacaoCancelamento) + + +# Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcInfSubstituicaoNfse with content type ELEMENT_ONLY +class tcInfSubstituicaoNfse(pyxb.binding.basis.complexTypeDefinition): + """Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcInfSubstituicaoNfse with content type ELEMENT_ONLY""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY + _Abstract = False + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tcInfSubstituicaoNfse") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 467, 4 + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}NfseSubstituidora uses Python identifier NfseSubstituidora + __NfseSubstituidora = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "NfseSubstituidora"), + "NfseSubstituidora", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfSubstituicaoNfse_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdNfseSubstituidora", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 469, 12 + ), + ) + + NfseSubstituidora = property(__NfseSubstituidora.value, __NfseSubstituidora.set, None, None) + + # Attribute id uses Python identifier id + __id = pyxb.binding.content.AttributeUse( + pyxb.namespace.ExpandedName(None, "id"), + "id", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcInfSubstituicaoNfse_id", + _module_typeBindings.tsIdTag, + ) + __id._DeclarationLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 471, 8 + ) + __id._UseLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 471, 8 + ) + + id = property(__id.value, __id.set, None, None) + + _ElementMap.update({__NfseSubstituidora.name(): __NfseSubstituidora}) + _AttributeMap.update({__id.name(): __id}) + + +_module_typeBindings.tcInfSubstituicaoNfse = tcInfSubstituicaoNfse +Namespace.addCategoryObject("typeBinding", "tcInfSubstituicaoNfse", tcInfSubstituicaoNfse) + + +# Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcLoteRps with content type ELEMENT_ONLY +class tcLoteRps(pyxb.binding.basis.complexTypeDefinition): + """Complex type {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}tcLoteRps with content type ELEMENT_ONLY""" + + _TypeDefinition = None + _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY + _Abstract = False + _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tcLoteRps") + _XSDLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 508, 4 + ) + _ElementMap = {} + _AttributeMap = {} + # Base type is pyxb.binding.datatypes.anyType + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}NumeroLote uses Python identifier NumeroLote + __NumeroLote = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "NumeroLote"), + "NumeroLote", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcLoteRps_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdNumeroLote", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 510, 12 + ), + ) + + NumeroLote = property(__NumeroLote.value, __NumeroLote.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}Cnpj uses Python identifier Cnpj + __Cnpj = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "Cnpj"), + "Cnpj", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcLoteRps_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdCnpj", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 511, 12 + ), + ) + + Cnpj = property(__Cnpj.value, __Cnpj.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}InscricaoMunicipal uses Python identifier InscricaoMunicipal + __InscricaoMunicipal = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "InscricaoMunicipal"), + "InscricaoMunicipal", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcLoteRps_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdInscricaoMunicipal", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 512, 12 + ), + ) + + InscricaoMunicipal = property(__InscricaoMunicipal.value, __InscricaoMunicipal.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}QuantidadeRps uses Python identifier QuantidadeRps + __QuantidadeRps = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "QuantidadeRps"), + "QuantidadeRps", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcLoteRps_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdQuantidadeRps", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 513, 12 + ), + ) + + QuantidadeRps = property(__QuantidadeRps.value, __QuantidadeRps.set, None, None) + + # Element {http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}ListaRps uses Python identifier ListaRps + __ListaRps = pyxb.binding.content.ElementDeclaration( + pyxb.namespace.ExpandedName(Namespace, "ListaRps"), + "ListaRps", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcLoteRps_httpisscuritiba_curitiba_pr_gov_brissnfse_xsdListaRps", + False, + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 514, 12 + ), + ) + + ListaRps = property(__ListaRps.value, __ListaRps.set, None, None) + + # Attribute id uses Python identifier id + __id = pyxb.binding.content.AttributeUse( + pyxb.namespace.ExpandedName(None, "id"), + "id", + "__httpisscuritiba_curitiba_pr_gov_brissnfse_xsd_tcLoteRps_id", + _module_typeBindings.tsIdTag, + ) + __id._DeclarationLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 523, 8 + ) + __id._UseLocation = pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 523, 8 + ) + + id = property(__id.value, __id.set, None, None) + + _ElementMap.update( + { + __NumeroLote.name(): __NumeroLote, + __Cnpj.name(): __Cnpj, + __InscricaoMunicipal.name(): __InscricaoMunicipal, + __QuantidadeRps.name(): __QuantidadeRps, + __ListaRps.name(): __ListaRps, + } + ) + _AttributeMap.update({__id.name(): __id}) + + +_module_typeBindings.tcLoteRps = tcLoteRps +Namespace.addCategoryObject("typeBinding", "tcLoteRps", tcLoteRps) + + +CompNfse = pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "CompNfse"), + tcCompNfse, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 486, 4 + ), +) +Namespace.addCategoryObject("elementBinding", CompNfse.name().localName(), CompNfse) + +ListaMensagemRetorno = pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "ListaMensagemRetorno"), + CTD_ANON, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 487, 4 + ), +) +Namespace.addCategoryObject("elementBinding", ListaMensagemRetorno.name().localName(), ListaMensagemRetorno) + +EnviarLoteRpsResposta = pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "EnviarLoteRpsResposta"), + CTD_ANON_2, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 526, 4 + ), +) +Namespace.addCategoryObject("elementBinding", EnviarLoteRpsResposta.name().localName(), EnviarLoteRpsResposta) + +EnviarLoteRpsEnvio = pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "EnviarLoteRpsEnvio"), + CTD_ANON_3, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 539, 4 + ), +) +Namespace.addCategoryObject("elementBinding", EnviarLoteRpsEnvio.name().localName(), EnviarLoteRpsEnvio) + +ConsultarSituacaoLoteRpsResposta = pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "ConsultarSituacaoLoteRpsResposta"), + CTD_ANON_4, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 548, 4 + ), +) +Namespace.addCategoryObject( + "elementBinding", ConsultarSituacaoLoteRpsResposta.name().localName(), ConsultarSituacaoLoteRpsResposta +) + +ConsultarSituacaoLoteRpsEnvio = pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "ConsultarSituacaoLoteRpsEnvio"), + CTD_ANON_5, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 560, 4 + ), +) +Namespace.addCategoryObject( + "elementBinding", ConsultarSituacaoLoteRpsEnvio.name().localName(), ConsultarSituacaoLoteRpsEnvio +) + +ConsultarNfseRpsResposta = pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "ConsultarNfseRpsResposta"), + CTD_ANON_6, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 569, 4 + ), +) +Namespace.addCategoryObject( + "elementBinding", ConsultarNfseRpsResposta.name().localName(), ConsultarNfseRpsResposta +) + +ConsultarNfseRpsEnvio = pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "ConsultarNfseRpsEnvio"), + CTD_ANON_7, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 578, 4 + ), +) +Namespace.addCategoryObject("elementBinding", ConsultarNfseRpsEnvio.name().localName(), ConsultarNfseRpsEnvio) + +ConsultarNfseResposta = pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "ConsultarNfseResposta"), + CTD_ANON_8, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 587, 4 + ), +) +Namespace.addCategoryObject("elementBinding", ConsultarNfseResposta.name().localName(), ConsultarNfseResposta) + +ConsultarNfseEnvio = pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "ConsultarNfseEnvio"), + CTD_ANON_10, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 602, 4 + ), +) +Namespace.addCategoryObject("elementBinding", ConsultarNfseEnvio.name().localName(), ConsultarNfseEnvio) + +ConsultarLoteRpsResposta = pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "ConsultarLoteRpsResposta"), + CTD_ANON_12, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 621, 4 + ), +) +Namespace.addCategoryObject( + "elementBinding", ConsultarLoteRpsResposta.name().localName(), ConsultarLoteRpsResposta +) + +ConsultarLoteRpsEnvio = pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "ConsultarLoteRpsEnvio"), + CTD_ANON_14, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 636, 4 + ), +) +Namespace.addCategoryObject("elementBinding", ConsultarLoteRpsEnvio.name().localName(), ConsultarLoteRpsEnvio) + +CancelarNfseResposta = pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "CancelarNfseResposta"), + CTD_ANON_15, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 645, 4 + ), +) +Namespace.addCategoryObject("elementBinding", CancelarNfseResposta.name().localName(), CancelarNfseResposta) + +CancelarNfseEnvio = pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "CancelarNfseEnvio"), + CTD_ANON_16, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 654, 4 + ), +) +Namespace.addCategoryObject("elementBinding", CancelarNfseEnvio.name().localName(), CancelarNfseEnvio) + + +tcCpfCnpj._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Cpf"), + tsCpf, + scope=tcCpfCnpj, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 270, 12 + ), + ) +) + +tcCpfCnpj._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Cnpj"), + tsCnpj, + scope=tcCpfCnpj, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 271, 12 + ), + ) +) + + +def _BuildAutomaton(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton + del _BuildAutomaton + import pyxb.utils.fac as fac + + counters = set() + states = [] + final_update = set() + symbol = pyxb.binding.content.ElementUse( + tcCpfCnpj._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Cpf")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 270, 12 + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + final_update = set() + symbol = pyxb.binding.content.ElementUse( + tcCpfCnpj._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Cnpj")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 271, 12 + ), + ) + st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_1) + transitions = [] + st_0._set_transitionSet(transitions) + transitions = [] + st_1._set_transitionSet(transitions) + return fac.Automaton(states, counters, False, containing_state=None) + + +tcCpfCnpj._Automaton = _BuildAutomaton() + + +tcEndereco._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Endereco"), + tsEndereco, + scope=tcEndereco, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 276, 12 + ), + ) +) + +tcEndereco._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Numero"), + tsNumeroEndereco, + scope=tcEndereco, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 277, 12 + ), + ) +) + +tcEndereco._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Complemento"), + tsComplementoEndereco, + scope=tcEndereco, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 278, 12 + ), + ) +) + +tcEndereco._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Bairro"), + tsBairro, + scope=tcEndereco, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 279, 12 + ), + ) +) + +tcEndereco._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "CodigoMunicipio"), + tsCodigoMunicipioIbge, + scope=tcEndereco, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 280, 12 + ), + ) +) + +tcEndereco._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Uf"), + tsUf, + scope=tcEndereco, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 281, 12 + ), + ) +) + +tcEndereco._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Cep"), + tsCep, + scope=tcEndereco, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 282, 12 + ), + ) +) + + +def _BuildAutomaton_(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_ + del _BuildAutomaton_ + import pyxb.utils.fac as fac + + counters = set() + cc_0 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 276, 12 + ), + ) + counters.add(cc_0) + cc_1 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 277, 12 + ), + ) + counters.add(cc_1) + cc_2 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 278, 12 + ), + ) + counters.add(cc_2) + cc_3 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 279, 12 + ), + ) + counters.add(cc_3) + cc_4 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 280, 12 + ), + ) + counters.add(cc_4) + cc_5 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 281, 12 + ), + ) + counters.add(cc_5) + cc_6 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 282, 12 + ), + ) + counters.add(cc_6) + states = [] + final_update = set() + final_update.add(fac.UpdateInstruction(cc_0, False)) + symbol = pyxb.binding.content.ElementUse( + tcEndereco._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Endereco")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 276, 12 + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + final_update = set() + final_update.add(fac.UpdateInstruction(cc_1, False)) + symbol = pyxb.binding.content.ElementUse( + tcEndereco._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Numero")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 277, 12 + ), + ) + st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_1) + final_update = set() + final_update.add(fac.UpdateInstruction(cc_2, False)) + symbol = pyxb.binding.content.ElementUse( + tcEndereco._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Complemento")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 278, 12 + ), + ) + st_2 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_2) + final_update = set() + final_update.add(fac.UpdateInstruction(cc_3, False)) + symbol = pyxb.binding.content.ElementUse( + tcEndereco._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Bairro")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 279, 12 + ), + ) + st_3 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_3) + final_update = set() + final_update.add(fac.UpdateInstruction(cc_4, False)) + symbol = pyxb.binding.content.ElementUse( + tcEndereco._UseForTag(pyxb.namespace.ExpandedName(Namespace, "CodigoMunicipio")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 280, 12 + ), + ) + st_4 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_4) + final_update = set() + final_update.add(fac.UpdateInstruction(cc_5, False)) + symbol = pyxb.binding.content.ElementUse( + tcEndereco._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Uf")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 281, 12 + ), + ) + st_5 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_5) + final_update = set() + final_update.add(fac.UpdateInstruction(cc_6, False)) + symbol = pyxb.binding.content.ElementUse( + tcEndereco._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Cep")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 282, 12 + ), + ) + st_6 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_6) + transitions = [] + transitions.append(fac.Transition(st_0, [fac.UpdateInstruction(cc_0, True)])) + transitions.append(fac.Transition(st_1, [fac.UpdateInstruction(cc_0, False)])) + transitions.append(fac.Transition(st_2, [fac.UpdateInstruction(cc_0, False)])) + transitions.append(fac.Transition(st_3, [fac.UpdateInstruction(cc_0, False)])) + transitions.append(fac.Transition(st_4, [fac.UpdateInstruction(cc_0, False)])) + transitions.append(fac.Transition(st_5, [fac.UpdateInstruction(cc_0, False)])) + transitions.append(fac.Transition(st_6, [fac.UpdateInstruction(cc_0, False)])) + st_0._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_1, [fac.UpdateInstruction(cc_1, True)])) + transitions.append(fac.Transition(st_2, [fac.UpdateInstruction(cc_1, False)])) + transitions.append(fac.Transition(st_3, [fac.UpdateInstruction(cc_1, False)])) + transitions.append(fac.Transition(st_4, [fac.UpdateInstruction(cc_1, False)])) + transitions.append(fac.Transition(st_5, [fac.UpdateInstruction(cc_1, False)])) + transitions.append(fac.Transition(st_6, [fac.UpdateInstruction(cc_1, False)])) + st_1._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_2, [fac.UpdateInstruction(cc_2, True)])) + transitions.append(fac.Transition(st_3, [fac.UpdateInstruction(cc_2, False)])) + transitions.append(fac.Transition(st_4, [fac.UpdateInstruction(cc_2, False)])) + transitions.append(fac.Transition(st_5, [fac.UpdateInstruction(cc_2, False)])) + transitions.append(fac.Transition(st_6, [fac.UpdateInstruction(cc_2, False)])) + st_2._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_3, [fac.UpdateInstruction(cc_3, True)])) + transitions.append(fac.Transition(st_4, [fac.UpdateInstruction(cc_3, False)])) + transitions.append(fac.Transition(st_5, [fac.UpdateInstruction(cc_3, False)])) + transitions.append(fac.Transition(st_6, [fac.UpdateInstruction(cc_3, False)])) + st_3._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_4, [fac.UpdateInstruction(cc_4, True)])) + transitions.append(fac.Transition(st_5, [fac.UpdateInstruction(cc_4, False)])) + transitions.append(fac.Transition(st_6, [fac.UpdateInstruction(cc_4, False)])) + st_4._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_5, [fac.UpdateInstruction(cc_5, True)])) + transitions.append(fac.Transition(st_6, [fac.UpdateInstruction(cc_5, False)])) + st_5._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_6, [fac.UpdateInstruction(cc_6, True)])) + st_6._set_transitionSet(transitions) + return fac.Automaton(states, counters, True, containing_state=None) + + +tcEndereco._Automaton = _BuildAutomaton_() + + +tcContato._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Telefone"), + tsTelefone, + scope=tcContato, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 287, 12 + ), + ) +) + +tcContato._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Email"), + tsEmail, + scope=tcContato, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 288, 12 + ), + ) +) + + +def _BuildAutomaton_2(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_2 + del _BuildAutomaton_2 + import pyxb.utils.fac as fac + + counters = set() + cc_0 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 287, 12 + ), + ) + counters.add(cc_0) + cc_1 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 288, 12 + ), + ) + counters.add(cc_1) + states = [] + final_update = set() + final_update.add(fac.UpdateInstruction(cc_0, False)) + symbol = pyxb.binding.content.ElementUse( + tcContato._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Telefone")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 287, 12 + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + final_update = set() + final_update.add(fac.UpdateInstruction(cc_1, False)) + symbol = pyxb.binding.content.ElementUse( + tcContato._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Email")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 288, 12 + ), + ) + st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_1) + transitions = [] + transitions.append(fac.Transition(st_0, [fac.UpdateInstruction(cc_0, True)])) + transitions.append(fac.Transition(st_1, [fac.UpdateInstruction(cc_0, False)])) + st_0._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_1, [fac.UpdateInstruction(cc_1, True)])) + st_1._set_transitionSet(transitions) + return fac.Automaton(states, counters, True, containing_state=None) + + +tcContato._Automaton = _BuildAutomaton_2() + + +tcIdentificacaoOrgaoGerador._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "CodigoMunicipio"), + tsCodigoMunicipioIbge, + scope=tcIdentificacaoOrgaoGerador, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 293, 12 + ), + ) +) + +tcIdentificacaoOrgaoGerador._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Uf"), + tsUf, + scope=tcIdentificacaoOrgaoGerador, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 294, 12 + ), + ) +) + + +def _BuildAutomaton_3(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_3 + del _BuildAutomaton_3 + import pyxb.utils.fac as fac + + counters = set() + states = [] + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcIdentificacaoOrgaoGerador._UseForTag(pyxb.namespace.ExpandedName(Namespace, "CodigoMunicipio")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 293, 12 + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + final_update = set() + symbol = pyxb.binding.content.ElementUse( + tcIdentificacaoOrgaoGerador._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Uf")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 294, 12 + ), + ) + st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_1) + transitions = [] + transitions.append(fac.Transition(st_1, [])) + st_0._set_transitionSet(transitions) + transitions = [] + st_1._set_transitionSet(transitions) + return fac.Automaton(states, counters, False, containing_state=None) + + +tcIdentificacaoOrgaoGerador._Automaton = _BuildAutomaton_3() + + +tcIdentificacaoRps._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Numero"), + tsNumeroRps, + scope=tcIdentificacaoRps, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 299, 12 + ), + ) +) + +tcIdentificacaoRps._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Serie"), + tsSerieRps, + scope=tcIdentificacaoRps, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 300, 12 + ), + ) +) + +tcIdentificacaoRps._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Tipo"), + tsTipoRps, + scope=tcIdentificacaoRps, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 301, 12 + ), + ) +) + + +def _BuildAutomaton_4(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_4 + del _BuildAutomaton_4 + import pyxb.utils.fac as fac + + counters = set() + states = [] + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcIdentificacaoRps._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Numero")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 299, 12 + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcIdentificacaoRps._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Serie")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 300, 12 + ), + ) + st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_1) + final_update = set() + symbol = pyxb.binding.content.ElementUse( + tcIdentificacaoRps._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Tipo")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 301, 12 + ), + ) + st_2 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_2) + transitions = [] + transitions.append(fac.Transition(st_1, [])) + st_0._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_2, [])) + st_1._set_transitionSet(transitions) + transitions = [] + st_2._set_transitionSet(transitions) + return fac.Automaton(states, counters, False, containing_state=None) + + +tcIdentificacaoRps._Automaton = _BuildAutomaton_4() + + +tcIdentificacaoPrestador._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Cnpj"), + tsCnpj, + scope=tcIdentificacaoPrestador, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 306, 12 + ), + ) +) + +tcIdentificacaoPrestador._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "InscricaoMunicipal"), + tsInscricaoMunicipal, + scope=tcIdentificacaoPrestador, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 307, 12 + ), + ) +) + + +def _BuildAutomaton_5(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_5 + del _BuildAutomaton_5 + import pyxb.utils.fac as fac + + counters = set() + cc_0 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 307, 12 + ), + ) + counters.add(cc_0) + states = [] + final_update = set() + symbol = pyxb.binding.content.ElementUse( + tcIdentificacaoPrestador._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Cnpj")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 306, 12 + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + final_update = set() + final_update.add(fac.UpdateInstruction(cc_0, False)) + symbol = pyxb.binding.content.ElementUse( + tcIdentificacaoPrestador._UseForTag(pyxb.namespace.ExpandedName(Namespace, "InscricaoMunicipal")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 307, 12 + ), + ) + st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_1) + transitions = [] + transitions.append(fac.Transition(st_1, [])) + st_0._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_1, [fac.UpdateInstruction(cc_0, True)])) + st_1._set_transitionSet(transitions) + return fac.Automaton(states, counters, False, containing_state=None) + + +tcIdentificacaoPrestador._Automaton = _BuildAutomaton_5() + + +tcIdentificacaoTomador._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "CpfCnpj"), + tcCpfCnpj, + scope=tcIdentificacaoTomador, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 312, 12 + ), + ) +) + +tcIdentificacaoTomador._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "InscricaoMunicipal"), + tsInscricaoMunicipal, + scope=tcIdentificacaoTomador, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 313, 12 + ), + ) +) + + +def _BuildAutomaton_6(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_6 + del _BuildAutomaton_6 + import pyxb.utils.fac as fac + + counters = set() + cc_0 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 312, 12 + ), + ) + counters.add(cc_0) + cc_1 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 313, 12 + ), + ) + counters.add(cc_1) + states = [] + final_update = set() + final_update.add(fac.UpdateInstruction(cc_0, False)) + symbol = pyxb.binding.content.ElementUse( + tcIdentificacaoTomador._UseForTag(pyxb.namespace.ExpandedName(Namespace, "CpfCnpj")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 312, 12 + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + final_update = set() + final_update.add(fac.UpdateInstruction(cc_1, False)) + symbol = pyxb.binding.content.ElementUse( + tcIdentificacaoTomador._UseForTag(pyxb.namespace.ExpandedName(Namespace, "InscricaoMunicipal")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 313, 12 + ), + ) + st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_1) + transitions = [] + transitions.append(fac.Transition(st_0, [fac.UpdateInstruction(cc_0, True)])) + transitions.append(fac.Transition(st_1, [fac.UpdateInstruction(cc_0, False)])) + st_0._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_1, [fac.UpdateInstruction(cc_1, True)])) + st_1._set_transitionSet(transitions) + return fac.Automaton(states, counters, True, containing_state=None) + + +tcIdentificacaoTomador._Automaton = _BuildAutomaton_6() + + +tcDadosTomador._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "IdentificacaoTomador"), + tcIdentificacaoTomador, + scope=tcDadosTomador, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 318, 12 + ), + ) +) + +tcDadosTomador._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "RazaoSocial"), + tsRazaoSocial, + scope=tcDadosTomador, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 319, 12 + ), + ) +) + +tcDadosTomador._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Endereco"), + tcEndereco, + scope=tcDadosTomador, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 320, 12 + ), + ) +) + +tcDadosTomador._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Contato"), + tcContato, + scope=tcDadosTomador, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 321, 12 + ), + ) +) + + +def _BuildAutomaton_7(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_7 + del _BuildAutomaton_7 + import pyxb.utils.fac as fac + + counters = set() + cc_0 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 318, 12 + ), + ) + counters.add(cc_0) + cc_1 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 319, 12 + ), + ) + counters.add(cc_1) + cc_2 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 320, 12 + ), + ) + counters.add(cc_2) + cc_3 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 321, 12 + ), + ) + counters.add(cc_3) + states = [] + final_update = set() + final_update.add(fac.UpdateInstruction(cc_0, False)) + symbol = pyxb.binding.content.ElementUse( + tcDadosTomador._UseForTag(pyxb.namespace.ExpandedName(Namespace, "IdentificacaoTomador")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 318, 12 + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + final_update = set() + final_update.add(fac.UpdateInstruction(cc_1, False)) + symbol = pyxb.binding.content.ElementUse( + tcDadosTomador._UseForTag(pyxb.namespace.ExpandedName(Namespace, "RazaoSocial")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 319, 12 + ), + ) + st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_1) + final_update = set() + final_update.add(fac.UpdateInstruction(cc_2, False)) + symbol = pyxb.binding.content.ElementUse( + tcDadosTomador._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Endereco")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 320, 12 + ), + ) + st_2 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_2) + final_update = set() + final_update.add(fac.UpdateInstruction(cc_3, False)) + symbol = pyxb.binding.content.ElementUse( + tcDadosTomador._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Contato")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 321, 12 + ), + ) + st_3 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_3) + transitions = [] + transitions.append(fac.Transition(st_0, [fac.UpdateInstruction(cc_0, True)])) + transitions.append(fac.Transition(st_1, [fac.UpdateInstruction(cc_0, False)])) + transitions.append(fac.Transition(st_2, [fac.UpdateInstruction(cc_0, False)])) + transitions.append(fac.Transition(st_3, [fac.UpdateInstruction(cc_0, False)])) + st_0._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_1, [fac.UpdateInstruction(cc_1, True)])) + transitions.append(fac.Transition(st_2, [fac.UpdateInstruction(cc_1, False)])) + transitions.append(fac.Transition(st_3, [fac.UpdateInstruction(cc_1, False)])) + st_1._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_2, [fac.UpdateInstruction(cc_2, True)])) + transitions.append(fac.Transition(st_3, [fac.UpdateInstruction(cc_2, False)])) + st_2._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_3, [fac.UpdateInstruction(cc_3, True)])) + st_3._set_transitionSet(transitions) + return fac.Automaton(states, counters, True, containing_state=None) + + +tcDadosTomador._Automaton = _BuildAutomaton_7() + + +tcIdentificacaoIntermediarioServico._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "RazaoSocial"), + tsRazaoSocial, + scope=tcIdentificacaoIntermediarioServico, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 326, 12 + ), + ) +) + +tcIdentificacaoIntermediarioServico._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "CpfCnpj"), + tcCpfCnpj, + scope=tcIdentificacaoIntermediarioServico, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 327, 12 + ), + ) +) + +tcIdentificacaoIntermediarioServico._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "InscricaoMunicipal"), + tsInscricaoMunicipal, + scope=tcIdentificacaoIntermediarioServico, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 328, 12 + ), + ) +) + + +def _BuildAutomaton_8(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_8 + del _BuildAutomaton_8 + import pyxb.utils.fac as fac + + counters = set() + cc_0 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 328, 12 + ), + ) + counters.add(cc_0) + states = [] + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcIdentificacaoIntermediarioServico._UseForTag(pyxb.namespace.ExpandedName(Namespace, "RazaoSocial")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 326, 12 + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + final_update = set() + symbol = pyxb.binding.content.ElementUse( + tcIdentificacaoIntermediarioServico._UseForTag(pyxb.namespace.ExpandedName(Namespace, "CpfCnpj")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 327, 12 + ), + ) + st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_1) + final_update = set() + final_update.add(fac.UpdateInstruction(cc_0, False)) + symbol = pyxb.binding.content.ElementUse( + tcIdentificacaoIntermediarioServico._UseForTag( + pyxb.namespace.ExpandedName(Namespace, "InscricaoMunicipal") + ), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 328, 12 + ), + ) + st_2 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_2) + transitions = [] + transitions.append(fac.Transition(st_1, [])) + st_0._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_2, [])) + st_1._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_2, [fac.UpdateInstruction(cc_0, True)])) + st_2._set_transitionSet(transitions) + return fac.Automaton(states, counters, False, containing_state=None) + + +tcIdentificacaoIntermediarioServico._Automaton = _BuildAutomaton_8() + + +tcValores._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "ValorServicos"), + tsValor, + scope=tcValores, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 333, 12 + ), + ) +) + +tcValores._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "ValorDeducoes"), + tsValor, + scope=tcValores, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 334, 12 + ), + ) +) + +tcValores._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "ValorPis"), + tsValor, + scope=tcValores, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 335, 12 + ), + ) +) + +tcValores._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "ValorCofins"), + tsValor, + scope=tcValores, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 336, 12 + ), + ) +) + +tcValores._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "ValorInss"), + tsValor, + scope=tcValores, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 337, 12 + ), + ) +) + +tcValores._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "ValorIr"), + tsValor, + scope=tcValores, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 338, 12 + ), + ) +) + +tcValores._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "ValorCsll"), + tsValor, + scope=tcValores, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 339, 12 + ), + ) +) + +tcValores._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "IssRetido"), + tsSimNao, + scope=tcValores, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 340, 12 + ), + ) +) + +tcValores._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "ValorIss"), + tsValor, + scope=tcValores, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 341, 12 + ), + ) +) + +tcValores._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "ValorIssRetido"), + tsValor, + scope=tcValores, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 342, 12 + ), + ) +) + +tcValores._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "OutrasRetencoes"), + tsValor, + scope=tcValores, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 343, 12 + ), + ) +) + +tcValores._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "BaseCalculo"), + tsValor, + scope=tcValores, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 344, 12 + ), + ) +) + +tcValores._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Aliquota"), + tsAliquota, + scope=tcValores, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 345, 12 + ), + ) +) + +tcValores._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "ValorLiquidoNfse"), + tsValor, + scope=tcValores, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 346, 12 + ), + ) +) + +tcValores._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "DescontoIncondicionado"), + tsValor, + scope=tcValores, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 347, 12 + ), + ) +) + +tcValores._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "DescontoCondicionado"), + tsValor, + scope=tcValores, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 348, 12 + ), + ) +) + + +def _BuildAutomaton_9(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_9 + del _BuildAutomaton_9 + import pyxb.utils.fac as fac + + counters = set() + cc_0 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 334, 12 + ), + ) + counters.add(cc_0) + cc_1 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 335, 12 + ), + ) + counters.add(cc_1) + cc_2 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 336, 12 + ), + ) + counters.add(cc_2) + cc_3 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 337, 12 + ), + ) + counters.add(cc_3) + cc_4 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 338, 12 + ), + ) + counters.add(cc_4) + cc_5 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 339, 12 + ), + ) + counters.add(cc_5) + cc_6 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 341, 12 + ), + ) + counters.add(cc_6) + cc_7 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 342, 12 + ), + ) + counters.add(cc_7) + cc_8 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 343, 12 + ), + ) + counters.add(cc_8) + cc_9 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 344, 12 + ), + ) + counters.add(cc_9) + cc_10 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 345, 12 + ), + ) + counters.add(cc_10) + cc_11 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 346, 12 + ), + ) + counters.add(cc_11) + cc_12 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 347, 12 + ), + ) + counters.add(cc_12) + cc_13 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 348, 12 + ), + ) + counters.add(cc_13) + states = [] + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcValores._UseForTag(pyxb.namespace.ExpandedName(Namespace, "ValorServicos")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 333, 12 + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcValores._UseForTag(pyxb.namespace.ExpandedName(Namespace, "ValorDeducoes")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 334, 12 + ), + ) + st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_1) + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcValores._UseForTag(pyxb.namespace.ExpandedName(Namespace, "ValorPis")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 335, 12 + ), + ) + st_2 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_2) + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcValores._UseForTag(pyxb.namespace.ExpandedName(Namespace, "ValorCofins")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 336, 12 + ), + ) + st_3 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_3) + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcValores._UseForTag(pyxb.namespace.ExpandedName(Namespace, "ValorInss")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 337, 12 + ), + ) + st_4 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_4) + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcValores._UseForTag(pyxb.namespace.ExpandedName(Namespace, "ValorIr")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 338, 12 + ), + ) + st_5 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_5) + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcValores._UseForTag(pyxb.namespace.ExpandedName(Namespace, "ValorCsll")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 339, 12 + ), + ) + st_6 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_6) + final_update = set() + symbol = pyxb.binding.content.ElementUse( + tcValores._UseForTag(pyxb.namespace.ExpandedName(Namespace, "IssRetido")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 340, 12 + ), + ) + st_7 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_7) + final_update = set() + final_update.add(fac.UpdateInstruction(cc_6, False)) + symbol = pyxb.binding.content.ElementUse( + tcValores._UseForTag(pyxb.namespace.ExpandedName(Namespace, "ValorIss")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 341, 12 + ), + ) + st_8 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_8) + final_update = set() + final_update.add(fac.UpdateInstruction(cc_7, False)) + symbol = pyxb.binding.content.ElementUse( + tcValores._UseForTag(pyxb.namespace.ExpandedName(Namespace, "ValorIssRetido")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 342, 12 + ), + ) + st_9 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_9) + final_update = set() + final_update.add(fac.UpdateInstruction(cc_8, False)) + symbol = pyxb.binding.content.ElementUse( + tcValores._UseForTag(pyxb.namespace.ExpandedName(Namespace, "OutrasRetencoes")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 343, 12 + ), + ) + st_10 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_10) + final_update = set() + final_update.add(fac.UpdateInstruction(cc_9, False)) + symbol = pyxb.binding.content.ElementUse( + tcValores._UseForTag(pyxb.namespace.ExpandedName(Namespace, "BaseCalculo")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 344, 12 + ), + ) + st_11 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_11) + final_update = set() + final_update.add(fac.UpdateInstruction(cc_10, False)) + symbol = pyxb.binding.content.ElementUse( + tcValores._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Aliquota")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 345, 12 + ), + ) + st_12 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_12) + final_update = set() + final_update.add(fac.UpdateInstruction(cc_11, False)) + symbol = pyxb.binding.content.ElementUse( + tcValores._UseForTag(pyxb.namespace.ExpandedName(Namespace, "ValorLiquidoNfse")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 346, 12 + ), + ) + st_13 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_13) + final_update = set() + final_update.add(fac.UpdateInstruction(cc_12, False)) + symbol = pyxb.binding.content.ElementUse( + tcValores._UseForTag(pyxb.namespace.ExpandedName(Namespace, "DescontoIncondicionado")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 347, 12 + ), + ) + st_14 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_14) + final_update = set() + final_update.add(fac.UpdateInstruction(cc_13, False)) + symbol = pyxb.binding.content.ElementUse( + tcValores._UseForTag(pyxb.namespace.ExpandedName(Namespace, "DescontoCondicionado")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 348, 12 + ), + ) + st_15 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_15) + transitions = [] + transitions.append(fac.Transition(st_1, [])) + transitions.append(fac.Transition(st_2, [])) + transitions.append(fac.Transition(st_3, [])) + transitions.append(fac.Transition(st_4, [])) + transitions.append(fac.Transition(st_5, [])) + transitions.append(fac.Transition(st_6, [])) + transitions.append(fac.Transition(st_7, [])) + st_0._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_1, [fac.UpdateInstruction(cc_0, True)])) + transitions.append(fac.Transition(st_2, [fac.UpdateInstruction(cc_0, False)])) + transitions.append(fac.Transition(st_3, [fac.UpdateInstruction(cc_0, False)])) + transitions.append(fac.Transition(st_4, [fac.UpdateInstruction(cc_0, False)])) + transitions.append(fac.Transition(st_5, [fac.UpdateInstruction(cc_0, False)])) + transitions.append(fac.Transition(st_6, [fac.UpdateInstruction(cc_0, False)])) + transitions.append(fac.Transition(st_7, [fac.UpdateInstruction(cc_0, False)])) + st_1._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_2, [fac.UpdateInstruction(cc_1, True)])) + transitions.append(fac.Transition(st_3, [fac.UpdateInstruction(cc_1, False)])) + transitions.append(fac.Transition(st_4, [fac.UpdateInstruction(cc_1, False)])) + transitions.append(fac.Transition(st_5, [fac.UpdateInstruction(cc_1, False)])) + transitions.append(fac.Transition(st_6, [fac.UpdateInstruction(cc_1, False)])) + transitions.append(fac.Transition(st_7, [fac.UpdateInstruction(cc_1, False)])) + st_2._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_3, [fac.UpdateInstruction(cc_2, True)])) + transitions.append(fac.Transition(st_4, [fac.UpdateInstruction(cc_2, False)])) + transitions.append(fac.Transition(st_5, [fac.UpdateInstruction(cc_2, False)])) + transitions.append(fac.Transition(st_6, [fac.UpdateInstruction(cc_2, False)])) + transitions.append(fac.Transition(st_7, [fac.UpdateInstruction(cc_2, False)])) + st_3._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_4, [fac.UpdateInstruction(cc_3, True)])) + transitions.append(fac.Transition(st_5, [fac.UpdateInstruction(cc_3, False)])) + transitions.append(fac.Transition(st_6, [fac.UpdateInstruction(cc_3, False)])) + transitions.append(fac.Transition(st_7, [fac.UpdateInstruction(cc_3, False)])) + st_4._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_5, [fac.UpdateInstruction(cc_4, True)])) + transitions.append(fac.Transition(st_6, [fac.UpdateInstruction(cc_4, False)])) + transitions.append(fac.Transition(st_7, [fac.UpdateInstruction(cc_4, False)])) + st_5._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_6, [fac.UpdateInstruction(cc_5, True)])) + transitions.append(fac.Transition(st_7, [fac.UpdateInstruction(cc_5, False)])) + st_6._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_8, [])) + transitions.append(fac.Transition(st_9, [])) + transitions.append(fac.Transition(st_10, [])) + transitions.append(fac.Transition(st_11, [])) + transitions.append(fac.Transition(st_12, [])) + transitions.append(fac.Transition(st_13, [])) + transitions.append(fac.Transition(st_14, [])) + transitions.append(fac.Transition(st_15, [])) + st_7._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_8, [fac.UpdateInstruction(cc_6, True)])) + transitions.append(fac.Transition(st_9, [fac.UpdateInstruction(cc_6, False)])) + transitions.append(fac.Transition(st_10, [fac.UpdateInstruction(cc_6, False)])) + transitions.append(fac.Transition(st_11, [fac.UpdateInstruction(cc_6, False)])) + transitions.append(fac.Transition(st_12, [fac.UpdateInstruction(cc_6, False)])) + transitions.append(fac.Transition(st_13, [fac.UpdateInstruction(cc_6, False)])) + transitions.append(fac.Transition(st_14, [fac.UpdateInstruction(cc_6, False)])) + transitions.append(fac.Transition(st_15, [fac.UpdateInstruction(cc_6, False)])) + st_8._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_9, [fac.UpdateInstruction(cc_7, True)])) + transitions.append(fac.Transition(st_10, [fac.UpdateInstruction(cc_7, False)])) + transitions.append(fac.Transition(st_11, [fac.UpdateInstruction(cc_7, False)])) + transitions.append(fac.Transition(st_12, [fac.UpdateInstruction(cc_7, False)])) + transitions.append(fac.Transition(st_13, [fac.UpdateInstruction(cc_7, False)])) + transitions.append(fac.Transition(st_14, [fac.UpdateInstruction(cc_7, False)])) + transitions.append(fac.Transition(st_15, [fac.UpdateInstruction(cc_7, False)])) + st_9._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_10, [fac.UpdateInstruction(cc_8, True)])) + transitions.append(fac.Transition(st_11, [fac.UpdateInstruction(cc_8, False)])) + transitions.append(fac.Transition(st_12, [fac.UpdateInstruction(cc_8, False)])) + transitions.append(fac.Transition(st_13, [fac.UpdateInstruction(cc_8, False)])) + transitions.append(fac.Transition(st_14, [fac.UpdateInstruction(cc_8, False)])) + transitions.append(fac.Transition(st_15, [fac.UpdateInstruction(cc_8, False)])) + st_10._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_11, [fac.UpdateInstruction(cc_9, True)])) + transitions.append(fac.Transition(st_12, [fac.UpdateInstruction(cc_9, False)])) + transitions.append(fac.Transition(st_13, [fac.UpdateInstruction(cc_9, False)])) + transitions.append(fac.Transition(st_14, [fac.UpdateInstruction(cc_9, False)])) + transitions.append(fac.Transition(st_15, [fac.UpdateInstruction(cc_9, False)])) + st_11._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_12, [fac.UpdateInstruction(cc_10, True)])) + transitions.append(fac.Transition(st_13, [fac.UpdateInstruction(cc_10, False)])) + transitions.append(fac.Transition(st_14, [fac.UpdateInstruction(cc_10, False)])) + transitions.append(fac.Transition(st_15, [fac.UpdateInstruction(cc_10, False)])) + st_12._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_13, [fac.UpdateInstruction(cc_11, True)])) + transitions.append(fac.Transition(st_14, [fac.UpdateInstruction(cc_11, False)])) + transitions.append(fac.Transition(st_15, [fac.UpdateInstruction(cc_11, False)])) + st_13._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_14, [fac.UpdateInstruction(cc_12, True)])) + transitions.append(fac.Transition(st_15, [fac.UpdateInstruction(cc_12, False)])) + st_14._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_15, [fac.UpdateInstruction(cc_13, True)])) + st_15._set_transitionSet(transitions) + return fac.Automaton(states, counters, False, containing_state=None) + + +tcValores._Automaton = _BuildAutomaton_9() + + +tcDadosServico._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Valores"), + tcValores, + scope=tcDadosServico, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 353, 12 + ), + ) +) + +tcDadosServico._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "ItemListaServico"), + tsItemListaServico, + scope=tcDadosServico, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 354, 12 + ), + ) +) + +tcDadosServico._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "CodigoCnae"), + tsCodigoCnae, + scope=tcDadosServico, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 355, 12 + ), + ) +) + +tcDadosServico._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "CodigoTributacaoMunicipio"), + tsCodigoTributacao, + scope=tcDadosServico, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 356, 12 + ), + ) +) + +tcDadosServico._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Discriminacao"), + tsDiscriminacao, + scope=tcDadosServico, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 357, 12 + ), + ) +) + +tcDadosServico._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "CodigoMunicipio"), + tsCodigoMunicipioIbge, + scope=tcDadosServico, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 358, 12 + ), + ) +) + + +def _BuildAutomaton_10(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_10 + del _BuildAutomaton_10 + import pyxb.utils.fac as fac + + counters = set() + cc_0 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 355, 12 + ), + ) + counters.add(cc_0) + cc_1 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 356, 12 + ), + ) + counters.add(cc_1) + states = [] + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcDadosServico._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Valores")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 353, 12 + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcDadosServico._UseForTag(pyxb.namespace.ExpandedName(Namespace, "ItemListaServico")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 354, 12 + ), + ) + st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_1) + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcDadosServico._UseForTag(pyxb.namespace.ExpandedName(Namespace, "CodigoCnae")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 355, 12 + ), + ) + st_2 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_2) + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcDadosServico._UseForTag(pyxb.namespace.ExpandedName(Namespace, "CodigoTributacaoMunicipio")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 356, 12 + ), + ) + st_3 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_3) + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcDadosServico._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Discriminacao")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 357, 12 + ), + ) + st_4 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_4) + final_update = set() + symbol = pyxb.binding.content.ElementUse( + tcDadosServico._UseForTag(pyxb.namespace.ExpandedName(Namespace, "CodigoMunicipio")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 358, 12 + ), + ) + st_5 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_5) + transitions = [] + transitions.append(fac.Transition(st_1, [])) + st_0._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_2, [])) + transitions.append(fac.Transition(st_3, [])) + transitions.append(fac.Transition(st_4, [])) + st_1._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_2, [fac.UpdateInstruction(cc_0, True)])) + transitions.append(fac.Transition(st_3, [fac.UpdateInstruction(cc_0, False)])) + transitions.append(fac.Transition(st_4, [fac.UpdateInstruction(cc_0, False)])) + st_2._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_3, [fac.UpdateInstruction(cc_1, True)])) + transitions.append(fac.Transition(st_4, [fac.UpdateInstruction(cc_1, False)])) + st_3._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_5, [])) + st_4._set_transitionSet(transitions) + transitions = [] + st_5._set_transitionSet(transitions) + return fac.Automaton(states, counters, False, containing_state=None) + + +tcDadosServico._Automaton = _BuildAutomaton_10() + + +tcDadosConstrucaoCivil._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "CodigoObra"), + tsCodigoObra, + scope=tcDadosConstrucaoCivil, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 363, 12 + ), + ) +) + +tcDadosConstrucaoCivil._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Art"), + tsArt, + scope=tcDadosConstrucaoCivil, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 364, 12 + ), + ) +) + + +def _BuildAutomaton_11(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_11 + del _BuildAutomaton_11 + import pyxb.utils.fac as fac + + counters = set() + states = [] + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcDadosConstrucaoCivil._UseForTag(pyxb.namespace.ExpandedName(Namespace, "CodigoObra")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 363, 12 + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + final_update = set() + symbol = pyxb.binding.content.ElementUse( + tcDadosConstrucaoCivil._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Art")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 364, 12 + ), + ) + st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_1) + transitions = [] + transitions.append(fac.Transition(st_1, [])) + st_0._set_transitionSet(transitions) + transitions = [] + st_1._set_transitionSet(transitions) + return fac.Automaton(states, counters, False, containing_state=None) + + +tcDadosConstrucaoCivil._Automaton = _BuildAutomaton_11() + + +tcDadosPrestador._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "IdentificacaoPrestador"), + tcIdentificacaoPrestador, + scope=tcDadosPrestador, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 369, 12 + ), + ) +) + +tcDadosPrestador._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "RazaoSocial"), + tsRazaoSocial, + scope=tcDadosPrestador, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 370, 12 + ), + ) +) + +tcDadosPrestador._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "NomeFantasia"), + tsNomeFantasia, + scope=tcDadosPrestador, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 371, 12 + ), + ) +) + +tcDadosPrestador._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Endereco"), + tcEndereco, + scope=tcDadosPrestador, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 372, 12 + ), + ) +) + +tcDadosPrestador._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Contato"), + tcContato, + scope=tcDadosPrestador, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 373, 12 + ), + ) +) + + +def _BuildAutomaton_12(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_12 + del _BuildAutomaton_12 + import pyxb.utils.fac as fac + + counters = set() + cc_0 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 371, 12 + ), + ) + counters.add(cc_0) + cc_1 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 373, 12 + ), + ) + counters.add(cc_1) + states = [] + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcDadosPrestador._UseForTag(pyxb.namespace.ExpandedName(Namespace, "IdentificacaoPrestador")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 369, 12 + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcDadosPrestador._UseForTag(pyxb.namespace.ExpandedName(Namespace, "RazaoSocial")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 370, 12 + ), + ) + st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_1) + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcDadosPrestador._UseForTag(pyxb.namespace.ExpandedName(Namespace, "NomeFantasia")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 371, 12 + ), + ) + st_2 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_2) + final_update = set() + symbol = pyxb.binding.content.ElementUse( + tcDadosPrestador._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Endereco")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 372, 12 + ), + ) + st_3 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_3) + final_update = set() + final_update.add(fac.UpdateInstruction(cc_1, False)) + symbol = pyxb.binding.content.ElementUse( + tcDadosPrestador._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Contato")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 373, 12 + ), + ) + st_4 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_4) + transitions = [] + transitions.append(fac.Transition(st_1, [])) + st_0._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_2, [])) + transitions.append(fac.Transition(st_3, [])) + st_1._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_2, [fac.UpdateInstruction(cc_0, True)])) + transitions.append(fac.Transition(st_3, [fac.UpdateInstruction(cc_0, False)])) + st_2._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_4, [])) + st_3._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_4, [fac.UpdateInstruction(cc_1, True)])) + st_4._set_transitionSet(transitions) + return fac.Automaton(states, counters, False, containing_state=None) + + +tcDadosPrestador._Automaton = _BuildAutomaton_12() + + +tcRps._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "InfRps"), + tcInfRps, + scope=tcRps, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 396, 12 + ), + ) +) + +tcRps._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(_Namespace_dsig, "Signature"), + _ImportedBinding__dsig.SignatureType, + scope=tcRps, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 41, + 0, + ), + ) +) + + +def _BuildAutomaton_13(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_13 + del _BuildAutomaton_13 + import pyxb.utils.fac as fac + + counters = set() + cc_0 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 397, 12 + ), + ) + counters.add(cc_0) + states = [] + final_update = set() + symbol = pyxb.binding.content.ElementUse( + tcRps._UseForTag(pyxb.namespace.ExpandedName(Namespace, "InfRps")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 396, 12 + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + final_update = set() + final_update.add(fac.UpdateInstruction(cc_0, False)) + symbol = pyxb.binding.content.ElementUse( + tcRps._UseForTag(pyxb.namespace.ExpandedName(_Namespace_dsig, "Signature")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 397, 12 + ), + ) + st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_1) + transitions = [] + transitions.append(fac.Transition(st_1, [])) + st_0._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_1, [fac.UpdateInstruction(cc_0, True)])) + st_1._set_transitionSet(transitions) + return fac.Automaton(states, counters, False, containing_state=None) + + +tcRps._Automaton = _BuildAutomaton_13() + + +tcIdentificacaoNfse._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Numero"), + tsNumeroNfse, + scope=tcIdentificacaoNfse, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 402, 12 + ), + ) +) + +tcIdentificacaoNfse._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Cnpj"), + tsCnpj, + scope=tcIdentificacaoNfse, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 403, 12 + ), + ) +) + +tcIdentificacaoNfse._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "InscricaoMunicipal"), + tsInscricaoMunicipal, + scope=tcIdentificacaoNfse, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 404, 12 + ), + ) +) + +tcIdentificacaoNfse._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "CodigoMunicipio"), + tsCodigoMunicipioIbge, + scope=tcIdentificacaoNfse, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 405, 12 + ), + ) +) + + +def _BuildAutomaton_14(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_14 + del _BuildAutomaton_14 + import pyxb.utils.fac as fac + + counters = set() + cc_0 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 404, 12 + ), + ) + counters.add(cc_0) + states = [] + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcIdentificacaoNfse._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Numero")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 402, 12 + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcIdentificacaoNfse._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Cnpj")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 403, 12 + ), + ) + st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_1) + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcIdentificacaoNfse._UseForTag(pyxb.namespace.ExpandedName(Namespace, "InscricaoMunicipal")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 404, 12 + ), + ) + st_2 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_2) + final_update = set() + symbol = pyxb.binding.content.ElementUse( + tcIdentificacaoNfse._UseForTag(pyxb.namespace.ExpandedName(Namespace, "CodigoMunicipio")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 405, 12 + ), + ) + st_3 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_3) + transitions = [] + transitions.append(fac.Transition(st_1, [])) + st_0._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_2, [])) + transitions.append(fac.Transition(st_3, [])) + st_1._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_2, [fac.UpdateInstruction(cc_0, True)])) + transitions.append(fac.Transition(st_3, [fac.UpdateInstruction(cc_0, False)])) + st_2._set_transitionSet(transitions) + transitions = [] + st_3._set_transitionSet(transitions) + return fac.Automaton(states, counters, False, containing_state=None) + + +tcIdentificacaoNfse._Automaton = _BuildAutomaton_14() + + +tcNfse._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "InfNfse"), + tcInfNfse, + scope=tcNfse, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 434, 12 + ), + ) +) + +tcNfse._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(_Namespace_dsig, "Signature"), + _ImportedBinding__dsig.SignatureType, + scope=tcNfse, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 41, + 0, + ), + ) +) + + +def _BuildAutomaton_15(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_15 + del _BuildAutomaton_15 + import pyxb.utils.fac as fac + + counters = set() + cc_0 = fac.CounterCondition( + min=1, + max=2, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 435, 12 + ), + ) + counters.add(cc_0) + states = [] + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcNfse._UseForTag(pyxb.namespace.ExpandedName(Namespace, "InfNfse")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 434, 12 + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + final_update = set() + final_update.add(fac.UpdateInstruction(cc_0, False)) + symbol = pyxb.binding.content.ElementUse( + tcNfse._UseForTag(pyxb.namespace.ExpandedName(_Namespace_dsig, "Signature")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 435, 12 + ), + ) + st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_1) + transitions = [] + transitions.append(fac.Transition(st_1, [])) + st_0._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_1, [fac.UpdateInstruction(cc_0, True)])) + st_1._set_transitionSet(transitions) + return fac.Automaton(states, counters, False, containing_state=None) + + +tcNfse._Automaton = _BuildAutomaton_15() + + +tcPedidoCancelamento._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "InfPedidoCancelamento"), + tcInfPedidoCancelamento, + scope=tcPedidoCancelamento, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 448, 12 + ), + ) +) + +tcPedidoCancelamento._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(_Namespace_dsig, "Signature"), + _ImportedBinding__dsig.SignatureType, + scope=tcPedidoCancelamento, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 41, + 0, + ), + ) +) + + +def _BuildAutomaton_16(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_16 + del _BuildAutomaton_16 + import pyxb.utils.fac as fac + + counters = set() + cc_0 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 449, 12 + ), + ) + counters.add(cc_0) + states = [] + final_update = set() + symbol = pyxb.binding.content.ElementUse( + tcPedidoCancelamento._UseForTag(pyxb.namespace.ExpandedName(Namespace, "InfPedidoCancelamento")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 448, 12 + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + final_update = set() + final_update.add(fac.UpdateInstruction(cc_0, False)) + symbol = pyxb.binding.content.ElementUse( + tcPedidoCancelamento._UseForTag(pyxb.namespace.ExpandedName(_Namespace_dsig, "Signature")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 449, 12 + ), + ) + st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_1) + transitions = [] + transitions.append(fac.Transition(st_1, [])) + st_0._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_1, [fac.UpdateInstruction(cc_0, True)])) + st_1._set_transitionSet(transitions) + return fac.Automaton(states, counters, False, containing_state=None) + + +tcPedidoCancelamento._Automaton = _BuildAutomaton_16() + + +tcCancelamentoNfse._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Confirmacao"), + tcConfirmacaoCancelamento, + scope=tcCancelamentoNfse, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 462, 12 + ), + ) +) + +tcCancelamentoNfse._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(_Namespace_dsig, "Signature"), + _ImportedBinding__dsig.SignatureType, + scope=tcCancelamentoNfse, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 41, + 0, + ), + ) +) + + +def _BuildAutomaton_17(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_17 + del _BuildAutomaton_17 + import pyxb.utils.fac as fac + + counters = set() + states = [] + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcCancelamentoNfse._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Confirmacao")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 462, 12 + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + final_update = set() + symbol = pyxb.binding.content.ElementUse( + tcCancelamentoNfse._UseForTag(pyxb.namespace.ExpandedName(_Namespace_dsig, "Signature")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 463, 12 + ), + ) + st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_1) + transitions = [] + transitions.append(fac.Transition(st_1, [])) + st_0._set_transitionSet(transitions) + transitions = [] + st_1._set_transitionSet(transitions) + return fac.Automaton(states, counters, False, containing_state=None) + + +tcCancelamentoNfse._Automaton = _BuildAutomaton_17() + + +tcSubstituicaoNfse._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "SubstituicaoNfse"), + tcInfSubstituicaoNfse, + scope=tcSubstituicaoNfse, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 475, 12 + ), + ) +) + +tcSubstituicaoNfse._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(_Namespace_dsig, "Signature"), + _ImportedBinding__dsig.SignatureType, + scope=tcSubstituicaoNfse, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 41, + 0, + ), + ) +) + + +def _BuildAutomaton_18(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_18 + del _BuildAutomaton_18 + import pyxb.utils.fac as fac + + counters = set() + cc_0 = fac.CounterCondition( + min=1, + max=2, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 476, 12 + ), + ) + counters.add(cc_0) + states = [] + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcSubstituicaoNfse._UseForTag(pyxb.namespace.ExpandedName(Namespace, "SubstituicaoNfse")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 475, 12 + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + final_update = set() + final_update.add(fac.UpdateInstruction(cc_0, False)) + symbol = pyxb.binding.content.ElementUse( + tcSubstituicaoNfse._UseForTag(pyxb.namespace.ExpandedName(_Namespace_dsig, "Signature")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 476, 12 + ), + ) + st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_1) + transitions = [] + transitions.append(fac.Transition(st_1, [])) + st_0._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_1, [fac.UpdateInstruction(cc_0, True)])) + st_1._set_transitionSet(transitions) + return fac.Automaton(states, counters, False, containing_state=None) + + +tcSubstituicaoNfse._Automaton = _BuildAutomaton_18() + + +tcCompNfse._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Nfse"), + tcNfse, + scope=tcCompNfse, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 481, 12 + ), + ) +) + +tcCompNfse._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "NfseCancelamento"), + tcCancelamentoNfse, + scope=tcCompNfse, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 482, 12 + ), + ) +) + +tcCompNfse._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "NfseSubstituicao"), + tcSubstituicaoNfse, + scope=tcCompNfse, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 483, 12 + ), + ) +) + + +def _BuildAutomaton_19(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_19 + del _BuildAutomaton_19 + import pyxb.utils.fac as fac + + counters = set() + cc_0 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 482, 12 + ), + ) + counters.add(cc_0) + cc_1 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 483, 12 + ), + ) + counters.add(cc_1) + states = [] + final_update = set() + symbol = pyxb.binding.content.ElementUse( + tcCompNfse._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Nfse")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 481, 12 + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + final_update = set() + final_update.add(fac.UpdateInstruction(cc_0, False)) + symbol = pyxb.binding.content.ElementUse( + tcCompNfse._UseForTag(pyxb.namespace.ExpandedName(Namespace, "NfseCancelamento")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 482, 12 + ), + ) + st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_1) + final_update = set() + final_update.add(fac.UpdateInstruction(cc_1, False)) + symbol = pyxb.binding.content.ElementUse( + tcCompNfse._UseForTag(pyxb.namespace.ExpandedName(Namespace, "NfseSubstituicao")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 483, 12 + ), + ) + st_2 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_2) + transitions = [] + transitions.append(fac.Transition(st_1, [])) + transitions.append(fac.Transition(st_2, [])) + st_0._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_1, [fac.UpdateInstruction(cc_0, True)])) + transitions.append(fac.Transition(st_2, [fac.UpdateInstruction(cc_0, False)])) + st_1._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_2, [fac.UpdateInstruction(cc_1, True)])) + st_2._set_transitionSet(transitions) + return fac.Automaton(states, counters, False, containing_state=None) + + +tcCompNfse._Automaton = _BuildAutomaton_19() + + +CTD_ANON._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "MensagemRetorno"), + tcMensagemRetorno, + scope=CTD_ANON, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 490, 16 + ), + ) +) + + +def _BuildAutomaton_20(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_20 + del _BuildAutomaton_20 + import pyxb.utils.fac as fac + + counters = set() + states = [] + final_update = set() + symbol = pyxb.binding.content.ElementUse( + CTD_ANON._UseForTag(pyxb.namespace.ExpandedName(Namespace, "MensagemRetorno")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 490, 16 + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + transitions = [] + transitions.append(fac.Transition(st_0, [])) + st_0._set_transitionSet(transitions) + return fac.Automaton(states, counters, False, containing_state=None) + + +CTD_ANON._Automaton = _BuildAutomaton_20() + + +tcMensagemRetorno._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Codigo"), + tsCodigoMensagemAlerta, + scope=tcMensagemRetorno, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 496, 12 + ), + ) +) + +tcMensagemRetorno._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Mensagem"), + tsDescricaoMensagemAlerta, + scope=tcMensagemRetorno, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 497, 12 + ), + ) +) + +tcMensagemRetorno._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Correcao"), + tsDescricaoMensagemAlerta, + scope=tcMensagemRetorno, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 498, 12 + ), + ) +) + + +def _BuildAutomaton_21(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_21 + del _BuildAutomaton_21 + import pyxb.utils.fac as fac + + counters = set() + cc_0 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 498, 12 + ), + ) + counters.add(cc_0) + states = [] + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcMensagemRetorno._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Codigo")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 496, 12 + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + final_update = set() + symbol = pyxb.binding.content.ElementUse( + tcMensagemRetorno._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Mensagem")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 497, 12 + ), + ) + st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_1) + final_update = set() + final_update.add(fac.UpdateInstruction(cc_0, False)) + symbol = pyxb.binding.content.ElementUse( + tcMensagemRetorno._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Correcao")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 498, 12 + ), + ) + st_2 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_2) + transitions = [] + transitions.append(fac.Transition(st_1, [])) + st_0._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_2, [])) + st_1._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_2, [fac.UpdateInstruction(cc_0, True)])) + st_2._set_transitionSet(transitions) + return fac.Automaton(states, counters, False, containing_state=None) + + +tcMensagemRetorno._Automaton = _BuildAutomaton_21() + + +tcMensagemRetornoLote._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "IdentificacaoRps"), + tcIdentificacaoRps, + scope=tcMensagemRetornoLote, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 503, 12 + ), + ) +) + +tcMensagemRetornoLote._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Codigo"), + tsCodigoMensagemAlerta, + scope=tcMensagemRetornoLote, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 504, 12 + ), + ) +) + +tcMensagemRetornoLote._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Mensagem"), + tsDescricaoMensagemAlerta, + scope=tcMensagemRetornoLote, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 505, 12 + ), + ) +) + + +def _BuildAutomaton_22(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_22 + del _BuildAutomaton_22 + import pyxb.utils.fac as fac + + counters = set() + states = [] + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcMensagemRetornoLote._UseForTag(pyxb.namespace.ExpandedName(Namespace, "IdentificacaoRps")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 503, 12 + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcMensagemRetornoLote._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Codigo")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 504, 12 + ), + ) + st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_1) + final_update = set() + symbol = pyxb.binding.content.ElementUse( + tcMensagemRetornoLote._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Mensagem")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 505, 12 + ), + ) + st_2 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_2) + transitions = [] + transitions.append(fac.Transition(st_1, [])) + st_0._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_2, [])) + st_1._set_transitionSet(transitions) + transitions = [] + st_2._set_transitionSet(transitions) + return fac.Automaton(states, counters, False, containing_state=None) + + +tcMensagemRetornoLote._Automaton = _BuildAutomaton_22() + + +CTD_ANON_._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Rps"), + tcRps, + scope=CTD_ANON_, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 517, 24 + ), + ) +) + + +def _BuildAutomaton_23(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_23 + del _BuildAutomaton_23 + import pyxb.utils.fac as fac + + counters = set() + states = [] + final_update = set() + symbol = pyxb.binding.content.ElementUse( + CTD_ANON_._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Rps")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 517, 24 + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + transitions = [] + transitions.append(fac.Transition(st_0, [])) + st_0._set_transitionSet(transitions) + return fac.Automaton(states, counters, False, containing_state=None) + + +CTD_ANON_._Automaton = _BuildAutomaton_23() + + +CTD_ANON_2._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "ListaMensagemRetorno"), + CTD_ANON, + scope=CTD_ANON_2, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 487, 4 + ), + ) +) + +CTD_ANON_2._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "NumeroLote"), + tsNumeroLote, + scope=CTD_ANON_2, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 530, 20 + ), + ) +) + +CTD_ANON_2._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "DataRecebimento"), + pyxb.binding.datatypes.dateTime, + scope=CTD_ANON_2, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 531, 20 + ), + ) +) + +CTD_ANON_2._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Protocolo"), + tsNumeroProtocolo, + scope=CTD_ANON_2, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 532, 20 + ), + ) +) + + +def _BuildAutomaton_24(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_24 + del _BuildAutomaton_24 + import pyxb.utils.fac as fac + + counters = set() + states = [] + final_update = None + symbol = pyxb.binding.content.ElementUse( + CTD_ANON_2._UseForTag(pyxb.namespace.ExpandedName(Namespace, "NumeroLote")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 530, 20 + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + final_update = None + symbol = pyxb.binding.content.ElementUse( + CTD_ANON_2._UseForTag(pyxb.namespace.ExpandedName(Namespace, "DataRecebimento")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 531, 20 + ), + ) + st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_1) + final_update = set() + symbol = pyxb.binding.content.ElementUse( + CTD_ANON_2._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Protocolo")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 532, 20 + ), + ) + st_2 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_2) + final_update = set() + symbol = pyxb.binding.content.ElementUse( + CTD_ANON_2._UseForTag(pyxb.namespace.ExpandedName(Namespace, "ListaMensagemRetorno")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 534, 16 + ), + ) + st_3 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_3) + transitions = [] + transitions.append(fac.Transition(st_1, [])) + st_0._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_2, [])) + st_1._set_transitionSet(transitions) + transitions = [] + st_2._set_transitionSet(transitions) + transitions = [] + st_3._set_transitionSet(transitions) + return fac.Automaton(states, counters, False, containing_state=None) + + +CTD_ANON_2._Automaton = _BuildAutomaton_24() + + +CTD_ANON_3._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "LoteRps"), + tcLoteRps, + scope=CTD_ANON_3, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 542, 16 + ), + ) +) + +CTD_ANON_3._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(_Namespace_dsig, "Signature"), + _ImportedBinding__dsig.SignatureType, + scope=CTD_ANON_3, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/xmldsig-core-schema20020212.xsd", + 41, + 0, + ), + ) +) + + +def _BuildAutomaton_25(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_25 + del _BuildAutomaton_25 + import pyxb.utils.fac as fac + + counters = set() + cc_0 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 543, 16 + ), + ) + counters.add(cc_0) + states = [] + final_update = set() + symbol = pyxb.binding.content.ElementUse( + CTD_ANON_3._UseForTag(pyxb.namespace.ExpandedName(Namespace, "LoteRps")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 542, 16 + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + final_update = set() + final_update.add(fac.UpdateInstruction(cc_0, False)) + symbol = pyxb.binding.content.ElementUse( + CTD_ANON_3._UseForTag(pyxb.namespace.ExpandedName(_Namespace_dsig, "Signature")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 543, 16 + ), + ) + st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_1) + transitions = [] + transitions.append(fac.Transition(st_1, [])) + st_0._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_1, [fac.UpdateInstruction(cc_0, True)])) + st_1._set_transitionSet(transitions) + return fac.Automaton(states, counters, False, containing_state=None) + + +CTD_ANON_3._Automaton = _BuildAutomaton_25() + + +CTD_ANON_4._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "ListaMensagemRetorno"), + CTD_ANON, + scope=CTD_ANON_4, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 487, 4 + ), + ) +) + +CTD_ANON_4._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "NumeroLote"), + tsNumeroLote, + scope=CTD_ANON_4, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 552, 20 + ), + ) +) + +CTD_ANON_4._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Situacao"), + tsSituacaoLoteRps, + scope=CTD_ANON_4, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 553, 20 + ), + ) +) + + +def _BuildAutomaton_26(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_26 + del _BuildAutomaton_26 + import pyxb.utils.fac as fac + + counters = set() + states = [] + final_update = None + symbol = pyxb.binding.content.ElementUse( + CTD_ANON_4._UseForTag(pyxb.namespace.ExpandedName(Namespace, "NumeroLote")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 552, 20 + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + final_update = set() + symbol = pyxb.binding.content.ElementUse( + CTD_ANON_4._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Situacao")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 553, 20 + ), + ) + st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_1) + final_update = set() + symbol = pyxb.binding.content.ElementUse( + CTD_ANON_4._UseForTag(pyxb.namespace.ExpandedName(Namespace, "ListaMensagemRetorno")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 555, 16 + ), + ) + st_2 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_2) + transitions = [] + transitions.append(fac.Transition(st_1, [])) + st_0._set_transitionSet(transitions) + transitions = [] + st_1._set_transitionSet(transitions) + transitions = [] + st_2._set_transitionSet(transitions) + return fac.Automaton(states, counters, False, containing_state=None) + + +CTD_ANON_4._Automaton = _BuildAutomaton_26() + + +CTD_ANON_5._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Prestador"), + tcIdentificacaoPrestador, + scope=CTD_ANON_5, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 563, 16 + ), + ) +) + +CTD_ANON_5._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Protocolo"), + tsNumeroProtocolo, + scope=CTD_ANON_5, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 564, 16 + ), + ) +) + + +def _BuildAutomaton_27(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_27 + del _BuildAutomaton_27 + import pyxb.utils.fac as fac + + counters = set() + states = [] + final_update = None + symbol = pyxb.binding.content.ElementUse( + CTD_ANON_5._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Prestador")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 563, 16 + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + final_update = set() + symbol = pyxb.binding.content.ElementUse( + CTD_ANON_5._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Protocolo")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 564, 16 + ), + ) + st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_1) + transitions = [] + transitions.append(fac.Transition(st_1, [])) + st_0._set_transitionSet(transitions) + transitions = [] + st_1._set_transitionSet(transitions) + return fac.Automaton(states, counters, False, containing_state=None) + + +CTD_ANON_5._Automaton = _BuildAutomaton_27() + + +CTD_ANON_6._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "ListaMensagemRetorno"), + CTD_ANON, + scope=CTD_ANON_6, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 487, 4 + ), + ) +) + +CTD_ANON_6._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "CompNfse"), + tcCompNfse, + scope=CTD_ANON_6, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 572, 16 + ), + ) +) + + +def _BuildAutomaton_28(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_28 + del _BuildAutomaton_28 + import pyxb.utils.fac as fac + + counters = set() + states = [] + final_update = set() + symbol = pyxb.binding.content.ElementUse( + CTD_ANON_6._UseForTag(pyxb.namespace.ExpandedName(Namespace, "CompNfse")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 572, 16 + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + final_update = set() + symbol = pyxb.binding.content.ElementUse( + CTD_ANON_6._UseForTag(pyxb.namespace.ExpandedName(Namespace, "ListaMensagemRetorno")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 573, 16 + ), + ) + st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_1) + transitions = [] + st_0._set_transitionSet(transitions) + transitions = [] + st_1._set_transitionSet(transitions) + return fac.Automaton(states, counters, False, containing_state=None) + + +CTD_ANON_6._Automaton = _BuildAutomaton_28() + + +CTD_ANON_7._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "IdentificacaoRps"), + tcIdentificacaoRps, + scope=CTD_ANON_7, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 581, 16 + ), + ) +) + +CTD_ANON_7._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Prestador"), + tcIdentificacaoPrestador, + scope=CTD_ANON_7, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 582, 16 + ), + ) +) + + +def _BuildAutomaton_29(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_29 + del _BuildAutomaton_29 + import pyxb.utils.fac as fac + + counters = set() + states = [] + final_update = None + symbol = pyxb.binding.content.ElementUse( + CTD_ANON_7._UseForTag(pyxb.namespace.ExpandedName(Namespace, "IdentificacaoRps")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 581, 16 + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + final_update = set() + symbol = pyxb.binding.content.ElementUse( + CTD_ANON_7._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Prestador")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 582, 16 + ), + ) + st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_1) + transitions = [] + transitions.append(fac.Transition(st_1, [])) + st_0._set_transitionSet(transitions) + transitions = [] + st_1._set_transitionSet(transitions) + return fac.Automaton(states, counters, False, containing_state=None) + + +CTD_ANON_7._Automaton = _BuildAutomaton_29() + + +CTD_ANON_8._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "ListaMensagemRetorno"), + CTD_ANON, + scope=CTD_ANON_8, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 487, 4 + ), + ) +) + +CTD_ANON_8._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "ListaNfse"), + CTD_ANON_9, + scope=CTD_ANON_8, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 590, 16 + ), + ) +) + + +def _BuildAutomaton_30(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_30 + del _BuildAutomaton_30 + import pyxb.utils.fac as fac + + counters = set() + states = [] + final_update = set() + symbol = pyxb.binding.content.ElementUse( + CTD_ANON_8._UseForTag(pyxb.namespace.ExpandedName(Namespace, "ListaNfse")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 590, 16 + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + final_update = set() + symbol = pyxb.binding.content.ElementUse( + CTD_ANON_8._UseForTag(pyxb.namespace.ExpandedName(Namespace, "ListaMensagemRetorno")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 597, 16 + ), + ) + st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_1) + transitions = [] + st_0._set_transitionSet(transitions) + transitions = [] + st_1._set_transitionSet(transitions) + return fac.Automaton(states, counters, False, containing_state=None) + + +CTD_ANON_8._Automaton = _BuildAutomaton_30() + + +CTD_ANON_9._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "CompNfse"), + tcCompNfse, + scope=CTD_ANON_9, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 593, 28 + ), + ) +) + + +def _BuildAutomaton_31(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_31 + del _BuildAutomaton_31 + import pyxb.utils.fac as fac + + counters = set() + cc_0 = fac.CounterCondition( + min=0, + max=None, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 593, 28 + ), + ) + counters.add(cc_0) + states = [] + final_update = set() + final_update.add(fac.UpdateInstruction(cc_0, False)) + symbol = pyxb.binding.content.ElementUse( + CTD_ANON_9._UseForTag(pyxb.namespace.ExpandedName(Namespace, "CompNfse")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 593, 28 + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + transitions = [] + transitions.append(fac.Transition(st_0, [fac.UpdateInstruction(cc_0, True)])) + st_0._set_transitionSet(transitions) + return fac.Automaton(states, counters, True, containing_state=None) + + +CTD_ANON_9._Automaton = _BuildAutomaton_31() + + +CTD_ANON_10._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Prestador"), + tcIdentificacaoPrestador, + scope=CTD_ANON_10, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 605, 16 + ), + ) +) + +CTD_ANON_10._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "NumeroNfse"), + tsNumeroNfse, + scope=CTD_ANON_10, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 606, 16 + ), + ) +) + +CTD_ANON_10._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "PeriodoEmissao"), + CTD_ANON_11, + scope=CTD_ANON_10, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 607, 16 + ), + ) +) + +CTD_ANON_10._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Tomador"), + tcIdentificacaoTomador, + scope=CTD_ANON_10, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 615, 16 + ), + ) +) + +CTD_ANON_10._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "IntermediarioServico"), + tcIdentificacaoIntermediarioServico, + scope=CTD_ANON_10, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 616, 16 + ), + ) +) + + +def _BuildAutomaton_32(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_32 + del _BuildAutomaton_32 + import pyxb.utils.fac as fac + + counters = set() + cc_0 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 606, 16 + ), + ) + counters.add(cc_0) + cc_1 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 607, 16 + ), + ) + counters.add(cc_1) + cc_2 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 615, 16 + ), + ) + counters.add(cc_2) + cc_3 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 616, 16 + ), + ) + counters.add(cc_3) + states = [] + final_update = set() + symbol = pyxb.binding.content.ElementUse( + CTD_ANON_10._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Prestador")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 605, 16 + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + final_update = set() + final_update.add(fac.UpdateInstruction(cc_0, False)) + symbol = pyxb.binding.content.ElementUse( + CTD_ANON_10._UseForTag(pyxb.namespace.ExpandedName(Namespace, "NumeroNfse")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 606, 16 + ), + ) + st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_1) + final_update = set() + final_update.add(fac.UpdateInstruction(cc_1, False)) + symbol = pyxb.binding.content.ElementUse( + CTD_ANON_10._UseForTag(pyxb.namespace.ExpandedName(Namespace, "PeriodoEmissao")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 607, 16 + ), + ) + st_2 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_2) + final_update = set() + final_update.add(fac.UpdateInstruction(cc_2, False)) + symbol = pyxb.binding.content.ElementUse( + CTD_ANON_10._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Tomador")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 615, 16 + ), + ) + st_3 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_3) + final_update = set() + final_update.add(fac.UpdateInstruction(cc_3, False)) + symbol = pyxb.binding.content.ElementUse( + CTD_ANON_10._UseForTag(pyxb.namespace.ExpandedName(Namespace, "IntermediarioServico")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 616, 16 + ), + ) + st_4 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_4) + transitions = [] + transitions.append(fac.Transition(st_1, [])) + transitions.append(fac.Transition(st_2, [])) + transitions.append(fac.Transition(st_3, [])) + transitions.append(fac.Transition(st_4, [])) + st_0._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_1, [fac.UpdateInstruction(cc_0, True)])) + transitions.append(fac.Transition(st_2, [fac.UpdateInstruction(cc_0, False)])) + transitions.append(fac.Transition(st_3, [fac.UpdateInstruction(cc_0, False)])) + transitions.append(fac.Transition(st_4, [fac.UpdateInstruction(cc_0, False)])) + st_1._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_2, [fac.UpdateInstruction(cc_1, True)])) + transitions.append(fac.Transition(st_3, [fac.UpdateInstruction(cc_1, False)])) + transitions.append(fac.Transition(st_4, [fac.UpdateInstruction(cc_1, False)])) + st_2._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_3, [fac.UpdateInstruction(cc_2, True)])) + transitions.append(fac.Transition(st_4, [fac.UpdateInstruction(cc_2, False)])) + st_3._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_4, [fac.UpdateInstruction(cc_3, True)])) + st_4._set_transitionSet(transitions) + return fac.Automaton(states, counters, False, containing_state=None) + + +CTD_ANON_10._Automaton = _BuildAutomaton_32() + + +CTD_ANON_11._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "DataInicial"), + pyxb.binding.datatypes.date, + scope=CTD_ANON_11, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 610, 28 + ), + ) +) + +CTD_ANON_11._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "DataFinal"), + pyxb.binding.datatypes.date, + scope=CTD_ANON_11, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 611, 28 + ), + ) +) + + +def _BuildAutomaton_33(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_33 + del _BuildAutomaton_33 + import pyxb.utils.fac as fac + + counters = set() + states = [] + final_update = None + symbol = pyxb.binding.content.ElementUse( + CTD_ANON_11._UseForTag(pyxb.namespace.ExpandedName(Namespace, "DataInicial")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 610, 28 + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + final_update = set() + symbol = pyxb.binding.content.ElementUse( + CTD_ANON_11._UseForTag(pyxb.namespace.ExpandedName(Namespace, "DataFinal")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 611, 28 + ), + ) + st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_1) + transitions = [] + transitions.append(fac.Transition(st_1, [])) + st_0._set_transitionSet(transitions) + transitions = [] + st_1._set_transitionSet(transitions) + return fac.Automaton(states, counters, False, containing_state=None) + + +CTD_ANON_11._Automaton = _BuildAutomaton_33() + + +CTD_ANON_12._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "ListaMensagemRetorno"), + CTD_ANON, + scope=CTD_ANON_12, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 487, 4 + ), + ) +) + +CTD_ANON_12._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "ListaNfse"), + CTD_ANON_13, + scope=CTD_ANON_12, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 624, 16 + ), + ) +) + + +def _BuildAutomaton_34(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_34 + del _BuildAutomaton_34 + import pyxb.utils.fac as fac + + counters = set() + states = [] + final_update = set() + symbol = pyxb.binding.content.ElementUse( + CTD_ANON_12._UseForTag(pyxb.namespace.ExpandedName(Namespace, "ListaNfse")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 624, 16 + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + final_update = set() + symbol = pyxb.binding.content.ElementUse( + CTD_ANON_12._UseForTag(pyxb.namespace.ExpandedName(Namespace, "ListaMensagemRetorno")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 631, 16 + ), + ) + st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_1) + transitions = [] + st_0._set_transitionSet(transitions) + transitions = [] + st_1._set_transitionSet(transitions) + return fac.Automaton(states, counters, False, containing_state=None) + + +CTD_ANON_12._Automaton = _BuildAutomaton_34() + + +CTD_ANON_13._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "CompNfse"), + tcCompNfse, + scope=CTD_ANON_13, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 627, 28 + ), + ) +) + + +def _BuildAutomaton_35(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_35 + del _BuildAutomaton_35 + import pyxb.utils.fac as fac + + counters = set() + states = [] + final_update = set() + symbol = pyxb.binding.content.ElementUse( + CTD_ANON_13._UseForTag(pyxb.namespace.ExpandedName(Namespace, "CompNfse")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 627, 28 + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + transitions = [] + transitions.append(fac.Transition(st_0, [])) + st_0._set_transitionSet(transitions) + return fac.Automaton(states, counters, False, containing_state=None) + + +CTD_ANON_13._Automaton = _BuildAutomaton_35() + + +CTD_ANON_14._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Prestador"), + tcIdentificacaoPrestador, + scope=CTD_ANON_14, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 639, 16 + ), + ) +) + +CTD_ANON_14._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Protocolo"), + tsNumeroProtocolo, + scope=CTD_ANON_14, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 640, 16 + ), + ) +) + + +def _BuildAutomaton_36(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_36 + del _BuildAutomaton_36 + import pyxb.utils.fac as fac + + counters = set() + states = [] + final_update = None + symbol = pyxb.binding.content.ElementUse( + CTD_ANON_14._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Prestador")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 639, 16 + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + final_update = set() + symbol = pyxb.binding.content.ElementUse( + CTD_ANON_14._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Protocolo")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 640, 16 + ), + ) + st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_1) + transitions = [] + transitions.append(fac.Transition(st_1, [])) + st_0._set_transitionSet(transitions) + transitions = [] + st_1._set_transitionSet(transitions) + return fac.Automaton(states, counters, False, containing_state=None) + + +CTD_ANON_14._Automaton = _BuildAutomaton_36() + + +CTD_ANON_15._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "ListaMensagemRetorno"), + CTD_ANON, + scope=CTD_ANON_15, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 487, 4 + ), + ) +) + +CTD_ANON_15._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Cancelamento"), + tcCancelamentoNfse, + scope=CTD_ANON_15, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 648, 16 + ), + ) +) + + +def _BuildAutomaton_37(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_37 + del _BuildAutomaton_37 + import pyxb.utils.fac as fac + + counters = set() + states = [] + final_update = set() + symbol = pyxb.binding.content.ElementUse( + CTD_ANON_15._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Cancelamento")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 648, 16 + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + final_update = set() + symbol = pyxb.binding.content.ElementUse( + CTD_ANON_15._UseForTag(pyxb.namespace.ExpandedName(Namespace, "ListaMensagemRetorno")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 649, 16 + ), + ) + st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_1) + transitions = [] + st_0._set_transitionSet(transitions) + transitions = [] + st_1._set_transitionSet(transitions) + return fac.Automaton(states, counters, False, containing_state=None) + + +CTD_ANON_15._Automaton = _BuildAutomaton_37() + + +CTD_ANON_16._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Pedido"), + tcPedidoCancelamento, + scope=CTD_ANON_16, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 657, 16 + ), + ) +) + + +def _BuildAutomaton_38(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_38 + del _BuildAutomaton_38 + import pyxb.utils.fac as fac + + counters = set() + states = [] + final_update = set() + symbol = pyxb.binding.content.ElementUse( + CTD_ANON_16._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Pedido")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 657, 16 + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + transitions = [] + st_0._set_transitionSet(transitions) + return fac.Automaton(states, counters, False, containing_state=None) + + +CTD_ANON_16._Automaton = _BuildAutomaton_38() + + +tcInfRps._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "IdentificacaoRps"), + tcIdentificacaoRps, + scope=tcInfRps, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 378, 12 + ), + ) +) + +tcInfRps._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "DataEmissao"), + pyxb.binding.datatypes.dateTime, + scope=tcInfRps, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 379, 12 + ), + ) +) + +tcInfRps._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "NaturezaOperacao"), + tsNaturezaOperacao, + scope=tcInfRps, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 380, 12 + ), + ) +) + +tcInfRps._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "RegimeEspecialTributacao"), + tsRegimeEspecialTributacao, + scope=tcInfRps, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 381, 12 + ), + ) +) + +tcInfRps._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "OptanteSimplesNacional"), + tsSimNao, + scope=tcInfRps, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 382, 12 + ), + ) +) + +tcInfRps._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "IncentivadorCultural"), + tsSimNao, + scope=tcInfRps, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 383, 12 + ), + ) +) + +tcInfRps._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Status"), + tsStatusRps, + scope=tcInfRps, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 384, 12 + ), + ) +) + +tcInfRps._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "RpsSubstituido"), + tcIdentificacaoRps, + scope=tcInfRps, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 385, 12 + ), + ) +) + +tcInfRps._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Servico"), + tcDadosServico, + scope=tcInfRps, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 386, 12 + ), + ) +) + +tcInfRps._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Prestador"), + tcIdentificacaoPrestador, + scope=tcInfRps, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 387, 12 + ), + ) +) + +tcInfRps._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Tomador"), + tcDadosTomador, + scope=tcInfRps, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 388, 12 + ), + ) +) + +tcInfRps._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "IntermediarioServico"), + tcIdentificacaoIntermediarioServico, + scope=tcInfRps, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 389, 12 + ), + ) +) + +tcInfRps._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "ContrucaoCivil"), + tcDadosConstrucaoCivil, + scope=tcInfRps, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 390, 12 + ), + ) +) + + +def _BuildAutomaton_39(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_39 + del _BuildAutomaton_39 + import pyxb.utils.fac as fac + + counters = set() + cc_0 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 381, 12 + ), + ) + counters.add(cc_0) + cc_1 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 385, 12 + ), + ) + counters.add(cc_1) + cc_2 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 388, 12 + ), + ) + counters.add(cc_2) + cc_3 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 389, 12 + ), + ) + counters.add(cc_3) + cc_4 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 390, 12 + ), + ) + counters.add(cc_4) + states = [] + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcInfRps._UseForTag(pyxb.namespace.ExpandedName(Namespace, "IdentificacaoRps")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 378, 12 + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcInfRps._UseForTag(pyxb.namespace.ExpandedName(Namespace, "DataEmissao")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 379, 12 + ), + ) + st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_1) + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcInfRps._UseForTag(pyxb.namespace.ExpandedName(Namespace, "NaturezaOperacao")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 380, 12 + ), + ) + st_2 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_2) + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcInfRps._UseForTag(pyxb.namespace.ExpandedName(Namespace, "RegimeEspecialTributacao")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 381, 12 + ), + ) + st_3 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_3) + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcInfRps._UseForTag(pyxb.namespace.ExpandedName(Namespace, "OptanteSimplesNacional")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 382, 12 + ), + ) + st_4 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_4) + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcInfRps._UseForTag(pyxb.namespace.ExpandedName(Namespace, "IncentivadorCultural")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 383, 12 + ), + ) + st_5 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_5) + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcInfRps._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Status")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 384, 12 + ), + ) + st_6 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_6) + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcInfRps._UseForTag(pyxb.namespace.ExpandedName(Namespace, "RpsSubstituido")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 385, 12 + ), + ) + st_7 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_7) + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcInfRps._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Servico")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 386, 12 + ), + ) + st_8 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_8) + final_update = set() + symbol = pyxb.binding.content.ElementUse( + tcInfRps._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Prestador")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 387, 12 + ), + ) + st_9 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_9) + final_update = set() + final_update.add(fac.UpdateInstruction(cc_2, False)) + symbol = pyxb.binding.content.ElementUse( + tcInfRps._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Tomador")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 388, 12 + ), + ) + st_10 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_10) + final_update = set() + final_update.add(fac.UpdateInstruction(cc_3, False)) + symbol = pyxb.binding.content.ElementUse( + tcInfRps._UseForTag(pyxb.namespace.ExpandedName(Namespace, "IntermediarioServico")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 389, 12 + ), + ) + st_11 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_11) + final_update = set() + final_update.add(fac.UpdateInstruction(cc_4, False)) + symbol = pyxb.binding.content.ElementUse( + tcInfRps._UseForTag(pyxb.namespace.ExpandedName(Namespace, "ContrucaoCivil")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 390, 12 + ), + ) + st_12 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_12) + transitions = [] + transitions.append(fac.Transition(st_1, [])) + st_0._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_2, [])) + st_1._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_3, [])) + transitions.append(fac.Transition(st_4, [])) + st_2._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_3, [fac.UpdateInstruction(cc_0, True)])) + transitions.append(fac.Transition(st_4, [fac.UpdateInstruction(cc_0, False)])) + st_3._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_5, [])) + st_4._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_6, [])) + st_5._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_7, [])) + transitions.append(fac.Transition(st_8, [])) + st_6._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_7, [fac.UpdateInstruction(cc_1, True)])) + transitions.append(fac.Transition(st_8, [fac.UpdateInstruction(cc_1, False)])) + st_7._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_9, [])) + st_8._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_10, [])) + transitions.append(fac.Transition(st_11, [])) + transitions.append(fac.Transition(st_12, [])) + st_9._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_10, [fac.UpdateInstruction(cc_2, True)])) + transitions.append(fac.Transition(st_11, [fac.UpdateInstruction(cc_2, False)])) + transitions.append(fac.Transition(st_12, [fac.UpdateInstruction(cc_2, False)])) + st_10._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_11, [fac.UpdateInstruction(cc_3, True)])) + transitions.append(fac.Transition(st_12, [fac.UpdateInstruction(cc_3, False)])) + st_11._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_12, [fac.UpdateInstruction(cc_4, True)])) + st_12._set_transitionSet(transitions) + return fac.Automaton(states, counters, False, containing_state=None) + + +tcInfRps._Automaton = _BuildAutomaton_39() + + +tcInfNfse._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Numero"), + tsNumeroNfse, + scope=tcInfNfse, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 410, 12 + ), + ) +) + +tcInfNfse._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "CodigoVerificacao"), + tsCodigoVerificacao, + scope=tcInfNfse, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 411, 12 + ), + ) +) + +tcInfNfse._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "DataEmissao"), + pyxb.binding.datatypes.dateTime, + scope=tcInfNfse, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 412, 12 + ), + ) +) + +tcInfNfse._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "IdentificacaoRps"), + tcIdentificacaoRps, + scope=tcInfNfse, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 413, 12 + ), + ) +) + +tcInfNfse._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "DataEmissaoRps"), + pyxb.binding.datatypes.date, + scope=tcInfNfse, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 414, 12 + ), + ) +) + +tcInfNfse._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "NaturezaOperacao"), + tsNaturezaOperacao, + scope=tcInfNfse, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 415, 12 + ), + ) +) + +tcInfNfse._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "RegimeEspecialTributacao"), + tsRegimeEspecialTributacao, + scope=tcInfNfse, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 416, 12 + ), + ) +) + +tcInfNfse._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "OptanteSimplesNacional"), + tsSimNao, + scope=tcInfNfse, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 417, 12 + ), + ) +) + +tcInfNfse._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "IncentivadorCultural"), + tsSimNao, + scope=tcInfNfse, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 418, 12 + ), + ) +) + +tcInfNfse._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Competencia"), + pyxb.binding.datatypes.dateTime, + scope=tcInfNfse, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 419, 12 + ), + ) +) + +tcInfNfse._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "NfseSubstituida"), + tsNumeroNfse, + scope=tcInfNfse, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 420, 12 + ), + ) +) + +tcInfNfse._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "OutrasInformacoes"), + tsOutrasInformacoes, + scope=tcInfNfse, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 421, 12 + ), + ) +) + +tcInfNfse._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Servico"), + tcDadosServico, + scope=tcInfNfse, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 422, 12 + ), + ) +) + +tcInfNfse._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "ValorCredito"), + tsValor, + scope=tcInfNfse, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 423, 12 + ), + ) +) + +tcInfNfse._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "PrestadorServico"), + tcDadosPrestador, + scope=tcInfNfse, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 424, 12 + ), + ) +) + +tcInfNfse._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "TomadorServico"), + tcDadosTomador, + scope=tcInfNfse, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 425, 12 + ), + ) +) + +tcInfNfse._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "IntermediarioServico"), + tcIdentificacaoIntermediarioServico, + scope=tcInfNfse, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 426, 12 + ), + ) +) + +tcInfNfse._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "OrgaoGerador"), + tcIdentificacaoOrgaoGerador, + scope=tcInfNfse, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 427, 12 + ), + ) +) + +tcInfNfse._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "ContrucaoCivil"), + tcDadosConstrucaoCivil, + scope=tcInfNfse, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 428, 12 + ), + ) +) + + +def _BuildAutomaton_40(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_40 + del _BuildAutomaton_40 + import pyxb.utils.fac as fac + + counters = set() + cc_0 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 413, 12 + ), + ) + counters.add(cc_0) + cc_1 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 414, 12 + ), + ) + counters.add(cc_1) + cc_2 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 416, 12 + ), + ) + counters.add(cc_2) + cc_3 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 420, 12 + ), + ) + counters.add(cc_3) + cc_4 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 421, 12 + ), + ) + counters.add(cc_4) + cc_5 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 423, 12 + ), + ) + counters.add(cc_5) + cc_6 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 425, 12 + ), + ) + counters.add(cc_6) + cc_7 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 426, 12 + ), + ) + counters.add(cc_7) + cc_8 = fac.CounterCondition( + min=0, + max=1, + metadata=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 428, 12 + ), + ) + counters.add(cc_8) + states = [] + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcInfNfse._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Numero")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 410, 12 + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcInfNfse._UseForTag(pyxb.namespace.ExpandedName(Namespace, "CodigoVerificacao")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 411, 12 + ), + ) + st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_1) + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcInfNfse._UseForTag(pyxb.namespace.ExpandedName(Namespace, "DataEmissao")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 412, 12 + ), + ) + st_2 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_2) + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcInfNfse._UseForTag(pyxb.namespace.ExpandedName(Namespace, "IdentificacaoRps")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 413, 12 + ), + ) + st_3 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_3) + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcInfNfse._UseForTag(pyxb.namespace.ExpandedName(Namespace, "DataEmissaoRps")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 414, 12 + ), + ) + st_4 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_4) + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcInfNfse._UseForTag(pyxb.namespace.ExpandedName(Namespace, "NaturezaOperacao")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 415, 12 + ), + ) + st_5 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_5) + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcInfNfse._UseForTag(pyxb.namespace.ExpandedName(Namespace, "RegimeEspecialTributacao")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 416, 12 + ), + ) + st_6 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_6) + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcInfNfse._UseForTag(pyxb.namespace.ExpandedName(Namespace, "OptanteSimplesNacional")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 417, 12 + ), + ) + st_7 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_7) + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcInfNfse._UseForTag(pyxb.namespace.ExpandedName(Namespace, "IncentivadorCultural")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 418, 12 + ), + ) + st_8 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_8) + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcInfNfse._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Competencia")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 419, 12 + ), + ) + st_9 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_9) + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcInfNfse._UseForTag(pyxb.namespace.ExpandedName(Namespace, "NfseSubstituida")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 420, 12 + ), + ) + st_10 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_10) + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcInfNfse._UseForTag(pyxb.namespace.ExpandedName(Namespace, "OutrasInformacoes")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 421, 12 + ), + ) + st_11 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_11) + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcInfNfse._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Servico")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 422, 12 + ), + ) + st_12 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_12) + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcInfNfse._UseForTag(pyxb.namespace.ExpandedName(Namespace, "ValorCredito")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 423, 12 + ), + ) + st_13 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_13) + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcInfNfse._UseForTag(pyxb.namespace.ExpandedName(Namespace, "PrestadorServico")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 424, 12 + ), + ) + st_14 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_14) + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcInfNfse._UseForTag(pyxb.namespace.ExpandedName(Namespace, "TomadorServico")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 425, 12 + ), + ) + st_15 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_15) + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcInfNfse._UseForTag(pyxb.namespace.ExpandedName(Namespace, "IntermediarioServico")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 426, 12 + ), + ) + st_16 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_16) + final_update = set() + symbol = pyxb.binding.content.ElementUse( + tcInfNfse._UseForTag(pyxb.namespace.ExpandedName(Namespace, "OrgaoGerador")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 427, 12 + ), + ) + st_17 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_17) + final_update = set() + final_update.add(fac.UpdateInstruction(cc_8, False)) + symbol = pyxb.binding.content.ElementUse( + tcInfNfse._UseForTag(pyxb.namespace.ExpandedName(Namespace, "ContrucaoCivil")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 428, 12 + ), + ) + st_18 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_18) + transitions = [] + transitions.append(fac.Transition(st_1, [])) + st_0._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_2, [])) + st_1._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_3, [])) + transitions.append(fac.Transition(st_4, [])) + transitions.append(fac.Transition(st_5, [])) + st_2._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_3, [fac.UpdateInstruction(cc_0, True)])) + transitions.append(fac.Transition(st_4, [fac.UpdateInstruction(cc_0, False)])) + transitions.append(fac.Transition(st_5, [fac.UpdateInstruction(cc_0, False)])) + st_3._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_4, [fac.UpdateInstruction(cc_1, True)])) + transitions.append(fac.Transition(st_5, [fac.UpdateInstruction(cc_1, False)])) + st_4._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_6, [])) + transitions.append(fac.Transition(st_7, [])) + st_5._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_6, [fac.UpdateInstruction(cc_2, True)])) + transitions.append(fac.Transition(st_7, [fac.UpdateInstruction(cc_2, False)])) + st_6._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_8, [])) + st_7._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_9, [])) + st_8._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_10, [])) + transitions.append(fac.Transition(st_11, [])) + transitions.append(fac.Transition(st_12, [])) + st_9._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_10, [fac.UpdateInstruction(cc_3, True)])) + transitions.append(fac.Transition(st_11, [fac.UpdateInstruction(cc_3, False)])) + transitions.append(fac.Transition(st_12, [fac.UpdateInstruction(cc_3, False)])) + st_10._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_11, [fac.UpdateInstruction(cc_4, True)])) + transitions.append(fac.Transition(st_12, [fac.UpdateInstruction(cc_4, False)])) + st_11._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_13, [])) + transitions.append(fac.Transition(st_14, [])) + st_12._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_13, [fac.UpdateInstruction(cc_5, True)])) + transitions.append(fac.Transition(st_14, [fac.UpdateInstruction(cc_5, False)])) + st_13._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_15, [])) + transitions.append(fac.Transition(st_16, [])) + transitions.append(fac.Transition(st_17, [])) + st_14._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_15, [fac.UpdateInstruction(cc_6, True)])) + transitions.append(fac.Transition(st_16, [fac.UpdateInstruction(cc_6, False)])) + transitions.append(fac.Transition(st_17, [fac.UpdateInstruction(cc_6, False)])) + st_15._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_16, [fac.UpdateInstruction(cc_7, True)])) + transitions.append(fac.Transition(st_17, [fac.UpdateInstruction(cc_7, False)])) + st_16._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_18, [])) + st_17._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_18, [fac.UpdateInstruction(cc_8, True)])) + st_18._set_transitionSet(transitions) + return fac.Automaton(states, counters, False, containing_state=None) + + +tcInfNfse._Automaton = _BuildAutomaton_40() + + +tcInfPedidoCancelamento._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "IdentificacaoNfse"), + tcIdentificacaoNfse, + scope=tcInfPedidoCancelamento, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 441, 12 + ), + ) +) + +tcInfPedidoCancelamento._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "CodigoCancelamento"), + tsCodigoCancelamentoNfse, + scope=tcInfPedidoCancelamento, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 442, 12 + ), + ) +) + + +def _BuildAutomaton_41(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_41 + del _BuildAutomaton_41 + import pyxb.utils.fac as fac + + counters = set() + states = [] + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcInfPedidoCancelamento._UseForTag(pyxb.namespace.ExpandedName(Namespace, "IdentificacaoNfse")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 441, 12 + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + final_update = set() + symbol = pyxb.binding.content.ElementUse( + tcInfPedidoCancelamento._UseForTag(pyxb.namespace.ExpandedName(Namespace, "CodigoCancelamento")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 442, 12 + ), + ) + st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_1) + transitions = [] + transitions.append(fac.Transition(st_1, [])) + st_0._set_transitionSet(transitions) + transitions = [] + st_1._set_transitionSet(transitions) + return fac.Automaton(states, counters, False, containing_state=None) + + +tcInfPedidoCancelamento._Automaton = _BuildAutomaton_41() + + +tcConfirmacaoCancelamento._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Pedido"), + tcPedidoCancelamento, + scope=tcConfirmacaoCancelamento, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 454, 12 + ), + ) +) + +tcConfirmacaoCancelamento._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "DataHoraCancelamento"), + pyxb.binding.datatypes.dateTime, + scope=tcConfirmacaoCancelamento, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 455, 12 + ), + ) +) + + +def _BuildAutomaton_42(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_42 + del _BuildAutomaton_42 + import pyxb.utils.fac as fac + + counters = set() + states = [] + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcConfirmacaoCancelamento._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Pedido")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 454, 12 + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + final_update = set() + symbol = pyxb.binding.content.ElementUse( + tcConfirmacaoCancelamento._UseForTag(pyxb.namespace.ExpandedName(Namespace, "DataHoraCancelamento")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 455, 12 + ), + ) + st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_1) + transitions = [] + transitions.append(fac.Transition(st_1, [])) + st_0._set_transitionSet(transitions) + transitions = [] + st_1._set_transitionSet(transitions) + return fac.Automaton(states, counters, False, containing_state=None) + + +tcConfirmacaoCancelamento._Automaton = _BuildAutomaton_42() + + +tcInfSubstituicaoNfse._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "NfseSubstituidora"), + tsNumeroNfse, + scope=tcInfSubstituicaoNfse, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 469, 12 + ), + ) +) + + +def _BuildAutomaton_43(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_43 + del _BuildAutomaton_43 + import pyxb.utils.fac as fac + + counters = set() + states = [] + final_update = set() + symbol = pyxb.binding.content.ElementUse( + tcInfSubstituicaoNfse._UseForTag(pyxb.namespace.ExpandedName(Namespace, "NfseSubstituidora")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 469, 12 + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + transitions = [] + st_0._set_transitionSet(transitions) + return fac.Automaton(states, counters, False, containing_state=None) + + +tcInfSubstituicaoNfse._Automaton = _BuildAutomaton_43() + + +tcLoteRps._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "NumeroLote"), + tsNumeroLote, + scope=tcLoteRps, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 510, 12 + ), + ) +) + +tcLoteRps._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "Cnpj"), + tsCnpj, + scope=tcLoteRps, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 511, 12 + ), + ) +) + +tcLoteRps._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "InscricaoMunicipal"), + tsInscricaoMunicipal, + scope=tcLoteRps, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 512, 12 + ), + ) +) + +tcLoteRps._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "QuantidadeRps"), + tsQuantidadeRps, + scope=tcLoteRps, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 513, 12 + ), + ) +) + +tcLoteRps._AddElement( + pyxb.binding.basis.element( + pyxb.namespace.ExpandedName(Namespace, "ListaRps"), + CTD_ANON_, + scope=tcLoteRps, + location=pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 514, 12 + ), + ) +) + + +def _BuildAutomaton_44(): + # Remove this helper function from the namespace after it is invoked + global _BuildAutomaton_44 + del _BuildAutomaton_44 + import pyxb.utils.fac as fac + + counters = set() + states = [] + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcLoteRps._UseForTag(pyxb.namespace.ExpandedName(Namespace, "NumeroLote")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 510, 12 + ), + ) + st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) + states.append(st_0) + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcLoteRps._UseForTag(pyxb.namespace.ExpandedName(Namespace, "Cnpj")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 511, 12 + ), + ) + st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_1) + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcLoteRps._UseForTag(pyxb.namespace.ExpandedName(Namespace, "InscricaoMunicipal")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 512, 12 + ), + ) + st_2 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_2) + final_update = None + symbol = pyxb.binding.content.ElementUse( + tcLoteRps._UseForTag(pyxb.namespace.ExpandedName(Namespace, "QuantidadeRps")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 513, 12 + ), + ) + st_3 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_3) + final_update = set() + symbol = pyxb.binding.content.ElementUse( + tcLoteRps._UseForTag(pyxb.namespace.ExpandedName(Namespace, "ListaRps")), + pyxb.utils.utility.Location( + "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 514, 12 + ), + ) + st_4 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) + states.append(st_4) + transitions = [] + transitions.append(fac.Transition(st_1, [])) + st_0._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_2, [])) + st_1._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_3, [])) + st_2._set_transitionSet(transitions) + transitions = [] + transitions.append(fac.Transition(st_4, [])) + st_3._set_transitionSet(transitions) + transitions = [] + st_4._set_transitionSet(transitions) + return fac.Automaton(states, counters, False, containing_state=None) + + +tcLoteRps._Automaton = _BuildAutomaton_44() diff --git a/pynfse/nfse/pr/curitiba/comunicacao.py b/pynfse/nfse/pr/curitiba/comunicacao.py new file mode 100755 index 0000000..1d2dc50 --- /dev/null +++ b/pynfse/nfse/pr/curitiba/comunicacao.py @@ -0,0 +1,30 @@ +from pynfse.base.soap_client import NFSeSoapClient + + +class Comunicacao: + def __init__(self, url_ambiente, certificado, producao): + self._cliente = NFSeSoapClient(url_ambiente, certificado, producao) + + def validar_xml(self, xml): + return self._cliente.service.ValidarXml(xml) + + def consultar_nfse(self, xml): + return self._cliente.service.RecepcionarXml("ConsultarNfse", xml) + + def consultar_nfse_por_rps(self, xml): + return self._cliente.service.RecepcionarXml("ConsultarNfsePorRps", xml) + + def consultar_situacao_lote_rps(self, xml): + return self._cliente.service.RecepcionarXml("ConsultarSituacaoLoteRps", xml) + + def consultar_lote_rps(self, xml): + return self._cliente.service.RecepcionarXml("ConsultarLoteRps", xml) + + def recepcionar_lote_rps(self, xml): + return self._cliente.service.RecepcionarXml("RecepcionarLoteRps", xml) + + def cancelar_nfse(self, xml): + return self._cliente.service.RecepcionarXml("CancelarNfse", xml) + + def recepcionar_xml(self, metodo, xml): + return self._cliente.service.RecepcionarXml(metodo, xml) diff --git a/pynfse/nfse/pr/curitiba/serializacao.py b/pynfse/nfse/pr/curitiba/serializacao.py new file mode 100755 index 0000000..2a6ac9a --- /dev/null +++ b/pynfse/nfse/pr/curitiba/serializacao.py @@ -0,0 +1,248 @@ +from pynfse.nfse.pr.curitiba import _schema as nfse_schema +from pyxb import BIND + + +def consulta_nfse_por_numero(prestador, numero_nfse): + + consulta = nfse_schema.ConsultarNfseEnvio() + consulta.Prestador = _serial_prestador(prestador) + + consulta.NumeroNfse = numero_nfse + + xml = consulta.toxml(element_name="ConsultarNfseEnvio") + xml = _limpeza_xml(xml) + + return xml + + +def consulta_nfse_por_data(prestador, data_inicial, data_final): + + consulta = nfse_schema.ConsultarNfseEnvio() + consulta.Prestador = _serial_prestador(prestador) + + consulta.PeriodoEmissao = BIND() + + consulta.PeriodoEmissao.DataInicial = data_inicial + consulta.PeriodoEmissao.DataFinal = data_final + + xml = consulta.toxml() + xml = _limpeza_xml(xml) + + return xml + + +def consulta_nfse_por_rps(rps): + + id_rps = nfse_schema.tcIdentificacaoRps() + id_rps.Numero = rps.numero + id_rps.Serie = rps.serie + id_rps.Tipo = rps.tipo + + id_prestador = _serial_prestador(rps.prestador) + + consulta = nfse_schema.ConsultarNfseRpsEnvio() + consulta.IdentificacaoRps = id_rps + consulta.Prestador = id_prestador + + xml = consulta.toxml() + xml = _limpeza_xml(xml) + + return xml + + +def consulta_situacao_lote_rps(prestador, protocolo): + + consulta = nfse_schema.ConsultarSituacaoLoteRpsEnvio() + consulta.Prestador = _serial_prestador(prestador) + consulta.Protocolo = protocolo + + xml = consulta.toxml() + xml = _limpeza_xml(xml) + + return xml + + +def consulta_lote_rps(prestador, protocolo): + + consulta = nfse_schema.ConsultarLoteRpsEnvio() + consulta.Prestador = _serial_prestador(prestador) + consulta.Protocolo = protocolo + + xml = consulta.toxml() + xml = _limpeza_xml(xml) + + return xml + + +def envio_lote_rps(lote_rps): + + serial_lote_rps = nfse_schema.tcLoteRps() + serial_lote_rps.NumeroLote = lote_rps.numero_lote + serial_lote_rps.id = lote_rps.identificador + serial_lote_rps.Cnpj = lote_rps.cnpj + serial_lote_rps.InscricaoMunicipal = lote_rps.inscricao_municipal + serial_lote_rps.QuantidadeRps = len(lote_rps.lista_rps) + serial_lote_rps.ListaRps = BIND() + for rps in lote_rps.lista_rps: + serial_lote_rps.ListaRps.append(_serial_rps(rps)) + + serial_enviar_lote = nfse_schema.EnviarLoteRpsEnvio() + serial_enviar_lote.LoteRps = serial_lote_rps + + xml = serial_enviar_lote.toxml() + xml = _limpeza_xml(xml) + + return xml + + +def cancela_nfse(pedido_cancelamento_nfse): + + id_nfse = nfse_schema.tcIdentificacaoNfse() + id_nfse.Numero = pedido_cancelamento_nfse.numero_nota + id_nfse.Cnpj = pedido_cancelamento_nfse.prestador.cnpj + id_nfse.InscricaoMunicipal = pedido_cancelamento_nfse.prestador.inscricao_municipal + id_nfse.CodigoMunicipio = pedido_cancelamento_nfse.codigo_municipio + + info_pedido = nfse_schema.tcInfPedidoCancelamento() + info_pedido.IdentificacaoNfse = id_nfse + info_pedido.id = pedido_cancelamento_nfse.identificador + info_pedido.CodigoCancelamento = pedido_cancelamento_nfse.codigo_cancelamento + + pedido = nfse_schema.tcPedidoCancelamento() + pedido.InfPedidoCancelamento = info_pedido + + cancelar = nfse_schema.CancelarNfseEnvio() + cancelar.Pedido = pedido + + xml = cancelar.toxml() + xml = _limpeza_xml(xml) + + return xml + + +def _serial_prestador(prestador): + + id_prestador = nfse_schema.tcIdentificacaoPrestador() + id_prestador_schema = {"Cnpj": prestador.cnpj, "InscricaoMunicipal": prestador.inscricao_municipal} + for key, value in id_prestador_schema.items(): + setattr(id_prestador, key, value) + + return id_prestador + + +def _serial_tomador(tomador): + endereco_tomador = nfse_schema.tcEndereco() + endereco_tomador_schema = { + "Endereco": tomador.endereco, + "Complemento": tomador.endereco_complemento, + "Numero": tomador.endereco_numero, + "Bairro": tomador.bairro, + "CodigoMunicipio": tomador.codigo_municipio, + "Uf": tomador.uf, + "Cep": tomador.cep, + } + for key, value in endereco_tomador_schema.items(): + setattr(endereco_tomador, key, value) + + id_tomador = nfse_schema.tcIdentificacaoTomador() + id_tomador_schema = { + "CpfCnpj": tomador.numero_documento, + "InscricaoMunicipal": tomador.inscricao_municipal, + } + for key, value in id_tomador_schema.items(): + setattr(id_tomador, key, value) + + serial_tomador = nfse_schema.tcDadosTomador() + serial_tomador_schema = { + "IdentificacaoTomador": id_tomador, + "RazaoSocial": tomador.razao_social, + "Endereco": endereco_tomador, + } + for key, value in serial_tomador_schema.items(): + setattr(serial_tomador, key, value) + + if tomador.telefone or tomador.email: + serial_tomador.Contato = nfse_schema.tcContato() + contato_schema = {"Telefone": tomador.telefone, "Email": tomador.email} + for key, value in contato_schema.items(): + setattr(serial_tomador.Contato, key, value) + + return serial_tomador + + +def _serial_servico(servico): + valores_servico = nfse_schema.tcValores() + valores_servico_schema = { + "ValorServicos": servico.valor_servico, + "BaseCalculo": servico.base_calculo, + "IssRetido": servico.iss_retido, + "ValorLiquidoNfse": servico.valor_liquido, + "ValorDeducoes": servico.valor_deducoes if servico.valor_deducoes else None, + "ValorPis": servico.valor_pis if servico.valor_pis else None, + "ValorCofins": servico.valor_cofins if servico.valor_cofins else None, + "ValorInss": servico.valor_inss if servico.valor_inss else None, + "ValorIr": servico.valor_ir if servico.valor_ir else None, + "ValorCsll": servico.valor_csll if servico.valor_csll else None, + "ValorIss": servico.valor_iss if servico.valor_iss else None, + "ValorIssRetido": servico.valor_iss_retido if servico.valor_iss_retido else None, + "OutrasRetencoes": servico.outras_retencoes if servico.outras_retencoes else None, + "Aliquota": servico.aliquota if servico.aliquota else None, + "DescontoIncondicionado": servico.desconto_incondicionado + if servico.desconto_incondicionado + else None, + "DescontoCondicionado": servico.desconto_condicionado if servico.desconto_condicionado else None, + } + for key, value in valores_servico_schema.items(): + setattr(valores_servico, key, value) + + serial_servico = nfse_schema.tcDadosServico() + serial_servico_schema = { + "Valores": valores_servico, + "ItemListaServico": servico.item_lista, + "Discriminacao": servico.discriminacao, + "CodigoMunicipio": servico.codigo_municipio, + "CodigoCnae": servico.codigo_cnae, + "CodigoTributacaoMunicipio": servico.codigo_tributacao_municipio, + } + for key, value in serial_servico_schema.items(): + setattr(serial_servico, key, value) + + return serial_servico + + +def _serial_rps(rps): + id_rps = nfse_schema.tcIdentificacaoRps() + id_rps_schema = {"Numero": rps.numero, "Serie": rps.serie, "Tipo": rps.tipo} + for key, value in id_rps_schema.items(): + setattr(id_rps, key, value) + + inf_rps = nfse_schema.tcInfRps() + inf_rps_schema = { + "IdentificacaoRps": id_rps, + "DataEmissao": rps.data_emissao.strftime("%Y-%m-%dT%H:%M:%S"), + "NaturezaOperacao": rps.natureza_operacao, + "RegimeEspecialTributacao": rps.regime_especial, + "OptanteSimplesNacional": rps.simples, + "IncentivadorCultural": rps.incentivo, + "Status": 1, + "Servico": _serial_servico(rps.servico), + "Prestador": _serial_prestador(rps.prestador), + "Tomador": _serial_tomador(rps.tomador), + "id": rps.identificador, + } + for key, value in inf_rps_schema.items(): + setattr(inf_rps, key, value) + + serial_rps = nfse_schema.tcRps() + serial_rps.InfRps = inf_rps + + return serial_rps + + +def _limpeza_xml(xml): + + return ( + xml.replace("ns1:", "") + .replace(":ns1", "") + .replace('', '') + ) diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..ddfc2d4 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,59 @@ +[tool.black] +line-length = 110 +target-version = ["py37"] + +[tool.isort] +line_length = 110 +multi_line_output = 3 +include_trailing_comma = true +force_grid_wrap = 0 +use_parenthesis = true +known_localfolder = "PyNFSe,tests" +sections = "FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER" +default_section = "THIRDPARTY" +skip = "docs,_dsig.py,_schema.py" + +[tool.poetry] +name = "pynfse" +version = "0.2.0" +description = "Lib para emissão de NFSe" +authors = ["Marcelo Belli "] +license = "LGPL-3.0" +readme = "README.md" +homepage = "https://github.com/marcelobelli/PyNFSe" +repository = "https://github.com/marcelobelli/PyNFSe" +keywords = ["nfe", "nfse", "nota_fiscal"] +classifiers = [ + "Development Status :: 3 - Alpha", + "Intended Audience :: Developers", + "Intended Audience :: Other Audience", + "License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)", + "Natural Language :: Portuguese (Brazilian)", + "Operating System :: OS Independent", + "Programming Language :: Python :: 3.7", + "Topic :: Office/Business :: Financial", + "Topic :: Software Development :: Libraries :: Python Modules", + "Topic :: Utilities", +] +include = ["LICENSE"] + +[tool.poetry.dependencies] +python = "^3.7" +lxml = "4.4.1" +pydantic = "1.0" +PyXB = "1.2.5" +signxml = "2.6.0" +zeep = "3.4.0" + +[tool.poetry.dev-dependencies] +black = {version = "^19.3b0",allow-prereleases = true} +factory-boy = "^2.12" +ipython = "^7.8" +isort = "^4.3" +pre-commit = "^1.18" +pytest = "^5.2" +pytest-cov = "^2.8" + +[build-system] +requires = ["poetry>=0.12"] +build-backend = "poetry.masonry.api" diff --git a/pytest.ini b/pytest.ini new file mode 100644 index 0000000..54ca8f5 --- /dev/null +++ b/pytest.ini @@ -0,0 +1,3 @@ +[pytest] +testpaths = tests +addopts = -vv --cov-report=term-missing --cov=PyNFSe --cov-branch diff --git a/requirements-dev.txt b/requirements-dev.txt deleted file mode 100755 index beaf00a..0000000 --- a/requirements-dev.txt +++ /dev/null @@ -1,2 +0,0 @@ --r requirements.txt -ipython[notebook] \ No newline at end of file diff --git a/requirements.txt b/requirements.txt deleted file mode 100755 index 7c45516..0000000 --- a/requirements.txt +++ /dev/null @@ -1,5 +0,0 @@ -requests==2.11.1 -lxml==3.6.4 -PyXB==1.2.5 -zeep==1.0.0 -signxml==2.2.3 \ No newline at end of file diff --git a/setup.cfg b/setup.cfg deleted file mode 100755 index 224a779..0000000 --- a/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[metadata] -description-file = README.md \ No newline at end of file diff --git a/setup.py b/setup.py index 49f3330..108d8a7 100755 --- a/setup.py +++ b/setup.py @@ -1,8 +1,8 @@ -from setuptools import setup, find_packages +from setuptools import find_packages, setup -DESCRIPTION = 'Lib que facilita a vida de quem trabalham com Nota Fiscal de Serviços Eletrônica (NFS-e)' +DESCRIPTION = "Lib que facilita a vida de quem trabalham com Nota Fiscal de Serviços Eletrônica (NFS-e)" -LONG_DESCRIPTION = ''' +LONG_DESCRIPTION = """ A PyNFSe realiza todos os passos para quem trabalha com NFS-e: - Cria os XMLs de RPS (Recibo Provisório de Serviço) e dos Lotes RPS. Tudo devidamente assinado :) @@ -14,41 +14,36 @@ Prefeituras suportadas: - Curitiba/PR - Mais em breve :) -''' +""" CLASSIFIERS = [ - 'Development Status :: 3 - Alpha', - 'Environment :: Console', - 'Intended Audience :: Developers', - 'Intended Audience :: Other Audience', - 'License :: OSI Approved :: MIT License', - 'Natural Language :: Portuguese (Brazilian)', - 'Operating System :: OS Independent', - 'Programming Language :: Python :: 3.5', - 'Topic :: Office/Business :: Financial', - 'Topic :: Software Development :: Libraries :: Python Modules', - 'Topic :: Utilities', + "Development Status :: 3 - Alpha", + "Environment :: Console", + "Intended Audience :: Developers", + "Intended Audience :: Other Audience", + "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", + "Natural Language :: Portuguese (Brazilian)", + "Operating System :: OS Independent", + "Programming Language :: Python :: 3.5", + "Topic :: Office/Business :: Financial", + "Topic :: Software Development :: Libraries :: Python Modules", + "Topic :: Utilities", ] -INSTALL_REQUIREMENTS = [ - 'PyXB>=1.2.5', - 'requests==2.11.1', - 'zeep', - 'signxml', -] +INSTALL_REQUIREMENTS = ["PyXB==1.2.5", "requests", "zeep", "signxml", "pysimplemodel"] setup( - name='PyNFSe', + name="PyNFSe", description=DESCRIPTION, long_description=LONG_DESCRIPTION, - license='MIT License', - platforms='any', - version='0.1.0', - url='https://github.com/marcelobelli/PyNFSe', - author='Marcelo Belli', - author_email='marcelo@belli.me', - packages=find_packages(exclude=['test*']), + license="MIT License", + platforms="any", + version="0.1.0", + url="https://github.com/marcelobelli/PyNFSe", + author="Marcelo Belli", + author_email="marcelo@belli.me", + packages=find_packages(exclude=["test*"]), install_requires=INSTALL_REQUIREMENTS, - test_suite='tests', + test_suite="tests", classifiers=CLASSIFIERS, ) diff --git a/tests/base/__init__.py b/tests/base/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/tests/base/conftest.py b/tests/base/conftest.py new file mode 100644 index 0000000..6ab633b --- /dev/null +++ b/tests/base/conftest.py @@ -0,0 +1,81 @@ +import os.path + +import pytest + +from .factories import PrestadorFactory, RPSFactory, ServicoFactory, TomadorFactory + +file_path = os.path.abspath(os.path.dirname(__file__)) + + +@pytest.fixture +def prestador(): + return PrestadorFactory() + + +@pytest.fixture +def tomador(): + return TomadorFactory() + + +@pytest.fixture +def servico(): + return ServicoFactory() + + +@pytest.fixture +def rps(): + return RPSFactory() + + +@pytest.fixture +def dados_rps(rps): + return rps.dict() + + +@pytest.fixture +def dados_lote_rps(dados_rps): + return { + "cnpj": "12345678901234", + "identificador": "L1", + "inscricao_municipal": "1234567890", + "lista_rps": [dados_rps], + "numero_lote": 1, + } + + +@pytest.fixture +def xml_rps(): + xml_path = os.path.join(file_path, "fixtures/EnviarLoteRpsEnvio.xml") + with open(xml_path, "r") as xml: + return xml.read() + + +@pytest.fixture +def xml_rps_signed(): + xml_path = os.path.join(file_path, "fixtures/EnviarLoteRpsEnvio-Signed.xml") + with open(xml_path, "r") as xml: + return xml.read() + + +@pytest.fixture +def xml_canceled_nfse(): + xml_path = os.path.join(file_path, "fixtures/CancelarNfseEnvio.xml") + with open(xml_path, "r") as xml: + return xml.read() + + +@pytest.fixture +def xml_canceled_nfse_signed(): + xml_path = os.path.join(file_path, "fixtures/CancelarNfseEnvio-Signed.xml") + with open(xml_path, "r") as xml: + return xml.read() + + +@pytest.fixture +def certificate_file_path(): + return os.path.join(file_path, "fixtures/certificate.pfx") + + +@pytest.fixture +def certificate_password(): + return "123456" diff --git a/tests/base/factories.py b/tests/base/factories.py new file mode 100644 index 0000000..e379ae5 --- /dev/null +++ b/tests/base/factories.py @@ -0,0 +1,68 @@ +from datetime import datetime +from decimal import Decimal + +from factory import Factory +from pynfse.base import models + + +class PrestadorFactory(Factory): + cnpj = "12345678901234" + inscricao_municipal = "1234567890" + + class Meta: + model = models.Prestador + + +class TomadorFactory(Factory): + razao_social = "Nome do Tomador" + tipo_documento = "CNPJ" + numero_documento = "12345678901234" + endereco = "Rua Getúlio Vargas" + endereco_numero = "1000" + bairro = "Bairro Centro" + codigo_municipio = "4106902" + uf = "PR" + cep = "80000000" + + class Meta: + model = models.Tomador + + +class ServicoFactory(Factory): + valor_servico = Decimal("1000.00") + iss_retido = 1 + item_lista = "0107" + discriminacao = "Teste Integração" + codigo_municipio = "4106902" + aliquota = Decimal("0.02") + + class Meta: + model = models.Servico + + +class RPSFactory(Factory): + identificador = "N1" + data_emissao = datetime.today() + servico = ServicoFactory() + prestador = PrestadorFactory() + tomador = TomadorFactory() + simples = 1 + incentivo = 2 + numero = 1 + serie = "A1" + tipo = "1" + natureza_operacao = 1 + + class Meta: + model = models.RPS + + +class LoteRPSFactory(Factory): + identificador = "L1" + numero_lote = 1 + cnpj = "12345678901234" + inscricao_municipal = "1234567890" + lista_rps = [RPSFactory()] + + class Meta: + model = models.LoteRPS diff --git a/tests/base/fixtures/CancelarNfseEnvio-Signed.xml b/tests/base/fixtures/CancelarNfseEnvio-Signed.xml new file mode 100755 index 0000000..770f318 --- /dev/null +++ b/tests/base/fixtures/CancelarNfseEnvio-Signed.xml @@ -0,0 +1,20 @@ +19212345678000123098765432141069021x5seShkEqo/qJeoSK96+nAo8YgU=RmH8PlGgisYvHF6+NQn9L+AaXbDtO4t10fGbdQpdbKk2jsOacvLN9+wicNVY5GKOKXzmxXgJ4jbBauILqvJMjehWrtabOXDapZcWxEnshmW/S3/XSujJIv9fYhRMPciOV6qxd+ogQRumUTIT1DAKcoN/uhuyTGEku3CcUarSIKo=MIIDhDCCAmygAwIBAgIKZCXL8wAAAAAStTANBgkqhkiG9w0BAQUFADAcMRowGAYD +VQQDExFQSUxPVE9JU1NDVVJJVElCQTAeFw0xNjExMTUwMjQ0MzVaFw0xNzExMTUw +MjU0MzVaMFExCzAJBgNVBAYTAkFBMQowCAYDVQQIEwFhMQowCAYDVQQHEwFhMQow +CAYDVQQLEwFhMQowCAYDVQQDEwFhMRIwEAYJKoZIhvcNAQkBFgNhQGEwgZ8wDQYJ +KoZIhvcNAQEBBQADgY0AMIGJAoGBAKWXY7Ed+tNB08Gk9XDs64ySfebqUj8GPSkN +5v0JbGoKsU28PZKJmdZGI32PzSRimpqJ8TtF+mlIYzPGOWaPQfQ0RIul22TLEBFV +/MTf9NtQ+XtrI3P+41Z1b7NUfvZAeJX37td4yzD6tytLDG+OsqBoEFE1fcvEFm6S +SXjnqg4JAgMBAAGjggEVMIIBETAOBgNVHQ8BAf8EBAMCBPAwEwYDVR0lBAwwCgYI +KwYBBQUHAwIwHQYDVR0OBBYEFKjFwEt26SdfbwOm5dfhVTwwpsLqMB8GA1UdIwQY +MBaAFMfsVZWz6ktjZvG/o306I++LnBhLMEcGA1UdHwRAMD4wPKA6oDiGNmZpbGU6 +Ly9XRUJBUFBJU1NDV0IwNC9DZXJ0RW5yb2xsL1BJTE9UT0lTU0NVUklUSUJBLmNy +bDBhBggrBgEFBQcBAQRVMFMwUQYIKwYBBQUHMAKGRWZpbGU6Ly9XRUJBUFBJU1ND +V0IwNC9DZXJ0RW5yb2xsL1dFQkFQUElTU0NXQjA0X1BJTE9UT0lTU0NVUklUSUJB +LmNydDANBgkqhkiG9w0BAQUFAAOCAQEAcN1v1u/jyWoz54Py80QKc82ZfoYO12Ak +vw4hIc28BszeBO/cv1Idizu2jdqD0fG9mFrKqUd0LctOaumvr3tzSIEhH+oT3+8h +DBb4uhHBNAia1gcCYUZp+VMh/gsH5DKeziMCVEpb3NMu9GZ6rLdeTy4P7pymg1IC +Lud52TreMS6CXFZX7wD+uHJeLPEqQja1bT/1UDxq4h6fgI+y2N2h77vyt0NJkejV +DfKus4bPCxAVxnp4DREA+ZKlTuHFCrSQd21MDydE3sRgj9VDiJxFMoTWCTiYM63d +0SDKDuvm7gT9lhbDUFES8RCPOL3Pagr9bmpjALK0IBUISRXHRX9R0Q== + \ No newline at end of file diff --git a/tests/base/fixtures/CancelarNfseEnvio.xml b/tests/base/fixtures/CancelarNfseEnvio.xml new file mode 100755 index 0000000..43b0ed3 --- /dev/null +++ b/tests/base/fixtures/CancelarNfseEnvio.xml @@ -0,0 +1 @@ +19212345678000123098765432141069021 \ No newline at end of file diff --git a/tests/base/fixtures/EnviarLoteRpsEnvio-Signed.xml b/tests/base/fixtures/EnviarLoteRpsEnvio-Signed.xml new file mode 100755 index 0000000..f905b43 --- /dev/null +++ b/tests/base/fixtures/EnviarLoteRpsEnvio-Signed.xml @@ -0,0 +1,39 @@ +112345678000123098765432111A112016-12-12T17:22:3911211000.0220.01000.00.021000.0140195118001401Descrição do Serviço Prestado410690212345678000123098765432112345678000123Nome ClienteRua Cliente1234Bairro Cliente4106902PR800000004132221122financeiro@cliente.com.brWL53zmBftVkuAgzU1C9sAJ4+Myo=YB01f1P9yn9H29I//NRUaSWUUAUoSYTGaItwYSDiDJeSEwr2njgQwPfkjlo9KAWt1pZCwkBxAOfC04x9sKIE1BssiFFQqC784RnT7Ce3BijVavBg55VDuFxIf9LjEGSebAN0h8LLNv8kMDrlMMLuQJvY0KzPjrRrI/804BUsZ70=MIIDhDCCAmygAwIBAgIKZCXL8wAAAAAStTANBgkqhkiG9w0BAQUFADAcMRowGAYD +VQQDExFQSUxPVE9JU1NDVVJJVElCQTAeFw0xNjExMTUwMjQ0MzVaFw0xNzExMTUw +MjU0MzVaMFExCzAJBgNVBAYTAkFBMQowCAYDVQQIEwFhMQowCAYDVQQHEwFhMQow +CAYDVQQLEwFhMQowCAYDVQQDEwFhMRIwEAYJKoZIhvcNAQkBFgNhQGEwgZ8wDQYJ +KoZIhvcNAQEBBQADgY0AMIGJAoGBAKWXY7Ed+tNB08Gk9XDs64ySfebqUj8GPSkN +5v0JbGoKsU28PZKJmdZGI32PzSRimpqJ8TtF+mlIYzPGOWaPQfQ0RIul22TLEBFV +/MTf9NtQ+XtrI3P+41Z1b7NUfvZAeJX37td4yzD6tytLDG+OsqBoEFE1fcvEFm6S +SXjnqg4JAgMBAAGjggEVMIIBETAOBgNVHQ8BAf8EBAMCBPAwEwYDVR0lBAwwCgYI +KwYBBQUHAwIwHQYDVR0OBBYEFKjFwEt26SdfbwOm5dfhVTwwpsLqMB8GA1UdIwQY +MBaAFMfsVZWz6ktjZvG/o306I++LnBhLMEcGA1UdHwRAMD4wPKA6oDiGNmZpbGU6 +Ly9XRUJBUFBJU1NDV0IwNC9DZXJ0RW5yb2xsL1BJTE9UT0lTU0NVUklUSUJBLmNy +bDBhBggrBgEFBQcBAQRVMFMwUQYIKwYBBQUHMAKGRWZpbGU6Ly9XRUJBUFBJU1ND +V0IwNC9DZXJ0RW5yb2xsL1dFQkFQUElTU0NXQjA0X1BJTE9UT0lTU0NVUklUSUJB +LmNydDANBgkqhkiG9w0BAQUFAAOCAQEAcN1v1u/jyWoz54Py80QKc82ZfoYO12Ak +vw4hIc28BszeBO/cv1Idizu2jdqD0fG9mFrKqUd0LctOaumvr3tzSIEhH+oT3+8h +DBb4uhHBNAia1gcCYUZp+VMh/gsH5DKeziMCVEpb3NMu9GZ6rLdeTy4P7pymg1IC +Lud52TreMS6CXFZX7wD+uHJeLPEqQja1bT/1UDxq4h6fgI+y2N2h77vyt0NJkejV +DfKus4bPCxAVxnp4DREA+ZKlTuHFCrSQd21MDydE3sRgj9VDiJxFMoTWCTiYM63d +0SDKDuvm7gT9lhbDUFES8RCPOL3Pagr9bmpjALK0IBUISRXHRX9R0Q== +ssHS6KKLFrvH6nvD0v/SF8NEWUs=LUM6wq4gkLwVC421jZWKxGJzzVVgi0FpWgrZj4mmN4k4O0/5XlDklH6L82B5dBPfdLkoaFf1v+SCHbXQbaUVR+XEN++WSSUqLxx08NjP90WCrCDKqkg/339QpPJhSimfwFhx80EQZq+wix0bf4/o0uP5vthhk+rQALzixmmdRvY=MIIDhDCCAmygAwIBAgIKZCXL8wAAAAAStTANBgkqhkiG9w0BAQUFADAcMRowGAYD +VQQDExFQSUxPVE9JU1NDVVJJVElCQTAeFw0xNjExMTUwMjQ0MzVaFw0xNzExMTUw +MjU0MzVaMFExCzAJBgNVBAYTAkFBMQowCAYDVQQIEwFhMQowCAYDVQQHEwFhMQow +CAYDVQQLEwFhMQowCAYDVQQDEwFhMRIwEAYJKoZIhvcNAQkBFgNhQGEwgZ8wDQYJ +KoZIhvcNAQEBBQADgY0AMIGJAoGBAKWXY7Ed+tNB08Gk9XDs64ySfebqUj8GPSkN +5v0JbGoKsU28PZKJmdZGI32PzSRimpqJ8TtF+mlIYzPGOWaPQfQ0RIul22TLEBFV +/MTf9NtQ+XtrI3P+41Z1b7NUfvZAeJX37td4yzD6tytLDG+OsqBoEFE1fcvEFm6S +SXjnqg4JAgMBAAGjggEVMIIBETAOBgNVHQ8BAf8EBAMCBPAwEwYDVR0lBAwwCgYI +KwYBBQUHAwIwHQYDVR0OBBYEFKjFwEt26SdfbwOm5dfhVTwwpsLqMB8GA1UdIwQY +MBaAFMfsVZWz6ktjZvG/o306I++LnBhLMEcGA1UdHwRAMD4wPKA6oDiGNmZpbGU6 +Ly9XRUJBUFBJU1NDV0IwNC9DZXJ0RW5yb2xsL1BJTE9UT0lTU0NVUklUSUJBLmNy +bDBhBggrBgEFBQcBAQRVMFMwUQYIKwYBBQUHMAKGRWZpbGU6Ly9XRUJBUFBJU1ND +V0IwNC9DZXJ0RW5yb2xsL1dFQkFQUElTU0NXQjA0X1BJTE9UT0lTU0NVUklUSUJB +LmNydDANBgkqhkiG9w0BAQUFAAOCAQEAcN1v1u/jyWoz54Py80QKc82ZfoYO12Ak +vw4hIc28BszeBO/cv1Idizu2jdqD0fG9mFrKqUd0LctOaumvr3tzSIEhH+oT3+8h +DBb4uhHBNAia1gcCYUZp+VMh/gsH5DKeziMCVEpb3NMu9GZ6rLdeTy4P7pymg1IC +Lud52TreMS6CXFZX7wD+uHJeLPEqQja1bT/1UDxq4h6fgI+y2N2h77vyt0NJkejV +DfKus4bPCxAVxnp4DREA+ZKlTuHFCrSQd21MDydE3sRgj9VDiJxFMoTWCTiYM63d +0SDKDuvm7gT9lhbDUFES8RCPOL3Pagr9bmpjALK0IBUISRXHRX9R0Q== + \ No newline at end of file diff --git a/tests/base/fixtures/EnviarLoteRpsEnvio.xml b/tests/base/fixtures/EnviarLoteRpsEnvio.xml new file mode 100755 index 0000000..1bcae07 --- /dev/null +++ b/tests/base/fixtures/EnviarLoteRpsEnvio.xml @@ -0,0 +1 @@ +112345678000123098765432111A112016-12-12T17:22:3911211000.0220.01000.00.021000.0140195118001401Descrição do Serviço Prestado410690212345678000123098765432112345678000123Nome ClienteRua Cliente1234Bairro Cliente4106902PR800000004132221122financeiro@cliente.com.br \ No newline at end of file diff --git a/tests/base/fixtures/certificate.pfx b/tests/base/fixtures/certificate.pfx new file mode 100755 index 0000000..cddf295 Binary files /dev/null and b/tests/base/fixtures/certificate.pfx differ diff --git a/tests/base/test_certificate.py b/tests/base/test_certificate.py new file mode 100644 index 0000000..6ff8cb5 --- /dev/null +++ b/tests/base/test_certificate.py @@ -0,0 +1,67 @@ +from tempfile import _TemporaryFileWrapper + +import pytest +from pynfse.base.certificate import _create_temp_file, get_certificate + + +@pytest.fixture +def certificate_chain(): + return b"""-----BEGIN CERTIFICATE----- +MIIDhDCCAmygAwIBAgIKZCXL8wAAAAAStTANBgkqhkiG9w0BAQUFADAcMRowGAYD +VQQDExFQSUxPVE9JU1NDVVJJVElCQTAeFw0xNjExMTUwMjQ0MzVaFw0xNzExMTUw +MjU0MzVaMFExCzAJBgNVBAYTAkFBMQowCAYDVQQIEwFhMQowCAYDVQQHEwFhMQow +CAYDVQQLEwFhMQowCAYDVQQDEwFhMRIwEAYJKoZIhvcNAQkBFgNhQGEwgZ8wDQYJ +KoZIhvcNAQEBBQADgY0AMIGJAoGBAKWXY7Ed+tNB08Gk9XDs64ySfebqUj8GPSkN +5v0JbGoKsU28PZKJmdZGI32PzSRimpqJ8TtF+mlIYzPGOWaPQfQ0RIul22TLEBFV +/MTf9NtQ+XtrI3P+41Z1b7NUfvZAeJX37td4yzD6tytLDG+OsqBoEFE1fcvEFm6S +SXjnqg4JAgMBAAGjggEVMIIBETAOBgNVHQ8BAf8EBAMCBPAwEwYDVR0lBAwwCgYI +KwYBBQUHAwIwHQYDVR0OBBYEFKjFwEt26SdfbwOm5dfhVTwwpsLqMB8GA1UdIwQY +MBaAFMfsVZWz6ktjZvG/o306I++LnBhLMEcGA1UdHwRAMD4wPKA6oDiGNmZpbGU6 +Ly9XRUJBUFBJU1NDV0IwNC9DZXJ0RW5yb2xsL1BJTE9UT0lTU0NVUklUSUJBLmNy +bDBhBggrBgEFBQcBAQRVMFMwUQYIKwYBBQUHMAKGRWZpbGU6Ly9XRUJBUFBJU1ND +V0IwNC9DZXJ0RW5yb2xsL1dFQkFQUElTU0NXQjA0X1BJTE9UT0lTU0NVUklUSUJB +LmNydDANBgkqhkiG9w0BAQUFAAOCAQEAcN1v1u/jyWoz54Py80QKc82ZfoYO12Ak +vw4hIc28BszeBO/cv1Idizu2jdqD0fG9mFrKqUd0LctOaumvr3tzSIEhH+oT3+8h +DBb4uhHBNAia1gcCYUZp+VMh/gsH5DKeziMCVEpb3NMu9GZ6rLdeTy4P7pymg1IC +Lud52TreMS6CXFZX7wD+uHJeLPEqQja1bT/1UDxq4h6fgI+y2N2h77vyt0NJkejV +DfKus4bPCxAVxnp4DREA+ZKlTuHFCrSQd21MDydE3sRgj9VDiJxFMoTWCTiYM63d +0SDKDuvm7gT9lhbDUFES8RCPOL3Pagr9bmpjALK0IBUISRXHRX9R0Q== +-----END CERTIFICATE----- +""" + + +@pytest.fixture +def certificate_key(): + return b"""-----BEGIN PRIVATE KEY----- +MIICdQIBADANBgkqhkiG9w0BAQEFAASCAl8wggJbAgEAAoGBAKWXY7Ed+tNB08Gk +9XDs64ySfebqUj8GPSkN5v0JbGoKsU28PZKJmdZGI32PzSRimpqJ8TtF+mlIYzPG +OWaPQfQ0RIul22TLEBFV/MTf9NtQ+XtrI3P+41Z1b7NUfvZAeJX37td4yzD6tytL +DG+OsqBoEFE1fcvEFm6SSXjnqg4JAgMBAAECgYAJIy9Vu9QmUeq10+zUykgNsdw3 +cKzw7B7WG/2n7xwPxm8F/XoO0t+9rJFjCXs+E6BZIH1ConAI3P0XY2vxsjxG/veC +hnYVU9NOk49Fa1mzWLH82zsDzSLkrewjcxC56kXfZ7c6kpc2/U6D/UQkOIS+TWhO +HmRlnhSMkrgKT1n+MQJBAObqfx+p+17jVzPyDsnpdzlFZlcOYj26XgT0RHuSlRyY +YPZGtF1FwK9mIFUNhqpL0EYRJ/o7hgkdzzrublFre1kCQQC3lEqOIaQK21FUjUP9 +8zPbcDEhgYZecI9mwLEHlCIjTEfUgqkSLKeR9HTMGNZRAOXxX+tJL36wz1v1IvTl +zsIxAkBd7KnyljBxwyT4MxAC3tyoxeq/pFEfbIvLlhO488GFFRHzeoTon3OlpHOo +RM0uvZGkvlu1c7qsQJzHCq6CnaZZAkBvzt51oGGTxy3KrFsr0TLVRIh32rZm0HFW +aKepcPw1uWDKOmYUzqOkjlmQcNQe88gYcY4Qvd+QekqMi6TSTlIRAkA/suD5u5vF +NbqnpyPnDulvgtXE2B1UHl0wZJbLfDH+BFckz7B557Cz507YthsWWJmjVPVqJXLM +HFZwimKs65R9 +-----END PRIVATE KEY----- +""" + + +def test_get_certificate(certificate_chain, certificate_key, certificate_file_path, certificate_password): + cert, cert_file, key, key_file = get_certificate(certificate_file_path, certificate_password) + + assert cert == certificate_chain + assert cert_file.read() == certificate_chain + assert key == certificate_key + assert key_file.read() == certificate_key + + +def test_create_temp_file(certificate_key): + result = _create_temp_file(certificate_key) + + assert isinstance(result, _TemporaryFileWrapper) + assert result.read() == certificate_key diff --git a/tests/base/test_models.py b/tests/base/test_models.py new file mode 100644 index 0000000..0f123e9 --- /dev/null +++ b/tests/base/test_models.py @@ -0,0 +1,189 @@ +from datetime import datetime +from decimal import Decimal + +import pytest +from pynfse.base.models import RPS, LoteRPS, Prestador, Servico, Tomador, _validate_cnpj, _validate_cpf + + +def test_prestador_incorrect_cnpj(): + with pytest.raises(ValueError): + Prestador(cnpj="1234567890123", inscricao_municipal="987654321") + + +def test_tomador_incorrect_tipo_documento(): + with pytest.raises(ValueError): + Tomador( + razao_social="Nome do Tomador", + tipo_documento="ABC", + numero_documento="12345678901", + endereco="Rua Getúlio Vargas", + endereco_numero="1000", + bairro="Bairro Centro", + codigo_municipio="4106902", + uf="PR", + cep="80000000", + ) + + +def test_tomador_invalid_cpf_number(): + with pytest.raises(ValueError): + Tomador( + razao_social="Nome do Tomador", + tipo_documento="CPF", + numero_documento="1234567890", + endereco="Rua Getúlio Vargas", + endereco_numero="1000", + bairro="Bairro Centro", + codigo_municipio="4106902", + uf="PR", + cep="80000000", + ) + + +def test_tomador_invalid_cnpj_number(): + with pytest.raises(ValueError): + Tomador( + razao_social="Nome do Tomador", + tipo_documento="CNPJ", + numero_documento="1234567890123", + endereco="Rua Getúlio Vargas", + endereco_numero="1000", + bairro="Bairro Centro", + codigo_municipio="4106902", + uf="PR", + cep="80000000", + ) + + +def test_servico(): + servico = Servico( + valor_servico=Decimal("1000.00"), + iss_retido=1, + item_lista="0107", + discriminacao="Teste Integração", + codigo_municipio="4106902", + aliquota=Decimal("0.02"), + valor_pis=Decimal("10.00"), + valor_cofins=Decimal("9.00"), + valor_inss=Decimal("8.00"), + valor_ir=Decimal("7.00"), + valor_csll=Decimal("6.00"), + outras_retencoes=Decimal("5.00"), + desconto_incondicionado=Decimal("3.00"), + desconto_condicionado=Decimal("2.00"), + ) + + total_discount = sum( + [ + servico.desconto_condicionado, + servico.desconto_incondicionado, + servico.outras_retencoes, + servico.valor_cofins, + servico.valor_csll, + servico.valor_inss, + servico.valor_ir, + servico.valor_iss_retido, + servico.valor_pis, + ] + ) + expected_valor_iss = Decimal(servico.base_calculo * servico.aliquota).quantize(Decimal("0.01")) + expected_base_calculo = servico.valor_servico - servico.valor_deducoes - servico.desconto_incondicionado + expected_valor_liquido = Decimal(servico.valor_servico - total_discount) + + assert servico.base_calculo == expected_base_calculo + assert servico.valor_iss == expected_valor_iss + assert servico.valor_liquido == expected_valor_liquido + + +@pytest.mark.parametrize("iss_retido, valor_iss_retido", ((1, "2.00"), (2, "0"))) +def test_servico_iss_retido(iss_retido, valor_iss_retido): + servico = Servico( + valor_servico=Decimal("100.00"), + iss_retido=iss_retido, + item_lista="0107", + discriminacao="Teste Integração", + codigo_municipio="4106902", + aliquota=Decimal("0.02"), + ) + + assert servico.valor_iss_retido == Decimal(valor_iss_retido) + + +def test_servico_incorrect_iss_retido_value(): + with pytest.raises(ValueError) as exc: + Servico( + valor_servico=Decimal("100.00"), + iss_retido=3, + item_lista="0107", + discriminacao="Teste Integração", + codigo_municipio="4106902", + aliquota=Decimal("0.02"), + ) + + assert "ISS Retido deve ser 1 para SIM ou 2 para NÃO." in exc.value.errors()[0]["msg"] + + +def test_rps_invalid_natureza_operacao(prestador, tomador, servico): + with pytest.raises(ValueError) as exc: + RPS( + identificador="N1", + data_emissao=datetime.today(), + servico=servico, + prestador=prestador, + tomador=tomador, + simples=1, + incentivo=2, + numero=1, + serie="A1", + tipo="1", + natureza_operacao=7, + ) + + assert "Natureza da Operação deve ser um número entre 1 e 6." in exc.value.errors()[0]["msg"] + + +def test_rps_invalid_regime_especial(prestador, tomador, servico): + with pytest.raises(ValueError) as exc: + RPS( + identificador="N1", + data_emissao=datetime.today(), + servico=servico, + prestador=prestador, + tomador=tomador, + simples=1, + incentivo=2, + numero=1, + serie="A1", + tipo="1", + natureza_operacao=1, + regime_especial=6, + ) + + assert "Regime Especial deve ser um número entre 1 e 4." in exc.value.errors()[0]["msg"] + + +def test_lote_rps_invalid_cnpj(rps): + with pytest.raises(ValueError): + LoteRPS( + identificador="L1", + numero_lote=1, + cnpj="1234567890123", + inscricao_municipal=rps.prestador.inscricao_municipal, + lista_rps=[rps], + ) + + +@pytest.mark.parametrize("wrong_cpf", ("123456789012", "1234567890", "1234567890a")) +def test_validate__wrong_cpf(wrong_cpf): + with pytest.raises(ValueError) as exc: + _validate_cpf(wrong_cpf) + + assert "CPF deve conter 11 caracteres, sendo todos números." in exc.value.args + + +@pytest.mark.parametrize("wrong_cnpj", ("1234567890123", "123456789012345", "1234567890123a")) +def test_validate_wrong_cnpj(wrong_cnpj): + with pytest.raises(ValueError) as exc: + _validate_cnpj(wrong_cnpj) + + assert "CNPJ deve conter 14 caracteres, sendo todos números." in exc.value.args diff --git a/tests/base/test_nfse_signer.py b/tests/base/test_nfse_signer.py new file mode 100644 index 0000000..4d51cff --- /dev/null +++ b/tests/base/test_nfse_signer.py @@ -0,0 +1,18 @@ +import pytest +from pynfse.base.certificate import get_certificate +from pynfse.base.nfse_signer import NFSeSigner + + +@pytest.fixture +def signer(certificate_file_path, certificate_password): + namespace = "{http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}" + cert, _, key, _ = get_certificate(certificate_file_path, certificate_password) + return NFSeSigner(cert, key, namespace) + + +def test_sign_rps_batch(xml_rps, xml_rps_signed, signer): + assert signer.sign_rps_batch(xml_rps) == xml_rps_signed + + +def test_sign_canceled_nfse(xml_canceled_nfse, xml_canceled_nfse_signed, signer): + assert signer.sign_cancellation_request(xml_canceled_nfse) == xml_canceled_nfse_signed diff --git a/tests/pr/curitiba/basetestesserializacao.py b/tests/pr/curitiba/basetestesserializacao.py index cd8a51d..92eb81e 100755 --- a/tests/pr/curitiba/basetestesserializacao.py +++ b/tests/pr/curitiba/basetestesserializacao.py @@ -1,76 +1,83 @@ import unittest - -from decimal import Decimal from datetime import datetime -from pyxb import BIND +from decimal import Decimal -from PyNFSe.nfse.pr.curitiba import _schema as nfse_schema +from pynfse.base.models import RPS, LoteRPS, PedidoCancelamentoNFSe, Prestador, Servico, Tomador +from pynfse.nfse.pr.curitiba import _schema as nfse_schema +from pyxb import BIND class BaseTestesSerializacao(unittest.TestCase): maxDiff = None def setUp(self): - self.prestador = { - 'cnpj':'12345678000123', - 'inscricao_municipal':'0987654321' - } + self.prestador = Prestador(**{"cnpj": "12345678000123", "inscricao_municipal": "0987654321"}) - self.tomador = { - 'razao_social':'Nome Cliente', - 'numero_documento':'12345678000123', - 'endereco':'Rua Cliente', - 'endereco_numero':'1234', - 'bairro':'Bairro Cliente', - 'codigo_municipio':'4106902', - 'uf':'PR', - 'cep':'80000000', - 'telefone':'4132221122', - 'email':'financeiro@cliente.com.br' - } + self.tomador = Tomador( + **{ + "razao_social": "Nome Cliente", + "tipo_documento": "CNPJ", + "numero_documento": "12345678000123", + "endereco": "Rua Cliente", + "endereco_numero": "1234", + "bairro": "Bairro Cliente", + "codigo_municipio": "4106902", + "uf": "PR", + "cep": "80000000", + "telefone": "4132221122", + "email": "financeiro@cliente.com.br", + } + ) - self.servico = { - 'valor_servico':Decimal('1000.00'), - 'iss_retido':2, # 1 - Sim, 2 - Não - 'item_lista':'1401', - 'discriminacao':'Descrição do Serviço Prestado', - 'codigo_municipio':'4106902', - 'codigo_cnae':9511800, - 'codigo_tributacao_municipio':'1401', - 'aliquota':Decimal('0.02') - } + self.servico = Servico( + **{ + "valor_servico": Decimal("1000.00"), + "iss_retido": 2, # 1 - Sim, 2 - Não + "item_lista": "1401", + "discriminacao": "Descrição do Serviço Prestado", + "codigo_municipio": "4106902", + "codigo_cnae": 9511800, + "codigo_tributacao_municipio": "1401", + "aliquota": Decimal("0.02"), + } + ) - self.rps = { - 'identificador':'N1', - 'data_emissao':datetime(2016, 12, 12, 17, 22, 39, 960610), - 'servico':self.servico, - 'prestador':self.prestador, - 'tomador':self.tomador, - 'simples':1, - 'incentivo':2, - 'numero':1, - 'serie':'A1', - 'tipo':'1', - 'natureza_operacao':1, - 'regime_especial':6 - } + self.rps = RPS( + **{ + "identificador": "N1", + "data_emissao": datetime(2016, 12, 12, 17, 22, 39, 960610), + "servico": self.servico, + "prestador": self.prestador, + "tomador": self.tomador, + "simples": 1, + "incentivo": 2, + "numero": 1, + "serie": "A1", + "tipo": "1", + "natureza_operacao": 1, + } + ) - self.lote_rps = { - 'identificador':'L1', - 'numero_lote':1, - 'cnpj':self.rps['prestador']['cnpj'], - 'inscricao_municipal':self.rps['prestador']['inscricao_municipal'], - 'quantidade_rps':1, - 'lista_rps':[self.rps, ] - } + self.lote_rps = LoteRPS( + **{ + "identificador": "L1", + "numero_lote": 1, + "cnpj": self.prestador.cnpj, + "inscricao_municipal": self.prestador.inscricao_municipal, + "quantidade_rps": 1, + "lista_rps": [self.rps], + } + ) - self.pedido_cancelamento_nfse = { - 'identificador':'C1', - 'prestador':self.prestador, - 'numero_nota':192, - 'codigo_municipio':'4106902', - 'codigo_cancelamento':'1' - } + self.pedido_cancelamento_nfse = PedidoCancelamentoNFSe( + **{ + "identificador": "C1", + "prestador": self.prestador, + "numero_nota": 192, + "codigo_municipio": "4106902", + "codigo_cancelamento": "1", + } + ) # Necessário para "serializar" os objetos antes do lote completo. self.tc_inf_rps = nfse_schema.tcInfRps() @@ -79,7 +86,7 @@ def setUp(self): def xml_expected(arquivo_xml): - with open('tests/pr/curitiba/xml_expected/{}'.format(arquivo_xml), 'r') as xml: + with open("tests/pr/curitiba/xml_expected/{}".format(arquivo_xml), "r") as xml: xml_expected = xml.read() return xml_expected diff --git a/tests/pr/curitiba/test_curitiba_assinatura.py b/tests/pr/curitiba/test_curitiba_assinatura.py deleted file mode 100755 index 3ccf78f..0000000 --- a/tests/pr/curitiba/test_curitiba_assinatura.py +++ /dev/null @@ -1,36 +0,0 @@ -import unittest - -import PyNFSe.nfse.pr.curitiba.serializacao as s -from tests.pr.curitiba.basetestesserializacao import BaseTestesSerializacao, xml_expected -from PyNFSe.utils.certificado import certificado as c -from PyNFSe.utils.assinatura import Assinatura - - -class AssinaturaTestCase(BaseTestesSerializacao): - - def setUp(self): - super(AssinaturaTestCase, self).setUp() - namespace = '{http://isscuritiba.curitiba.pr.gov.br/iss/nfse.xsd}' - cert, cert_file, key, key_file = c('tests/pr/curitiba/certificado/certificado.pfx', '123456') - self.assinador = Assinatura(cert, key, namespace) - - def test_assinatura_lote_rps(self): - - xml_lote_rps = s.envio_lote_rps(self.lote_rps) - xml_lote_rps = self.assinador.assinar_lote_rps(xml_lote_rps) - - xml_lote_rps_expected = xml_expected('EnviarLoteRpsEnvio-Assinado.xml') - - self.assertEqual(xml_lote_rps, xml_lote_rps_expected) - - def test_assinatura_cancelamento_nfse(self): - xml_cancelar_nfse = s.cancela_nfse(self.pedido_cancelamento_nfse) - xml_cancelar_nfse = self.assinador.assinar_cancelamento_nfse(xml_cancelar_nfse) - - xml_cancelar_nfse_expected = xml_expected('CancelarNfseEnvio-Assinado.xml') - - self.assertEqual(xml_cancelar_nfse, xml_cancelar_nfse_expected) - - -if __name__ == '__main__': - unittest.main() diff --git a/tests/pr/curitiba/test_curitiba_serializacao_comunicacao.py b/tests/pr/curitiba/test_curitiba_serializacao_comunicacao.py index b886b12..303f37d 100755 --- a/tests/pr/curitiba/test_curitiba_serializacao_comunicacao.py +++ b/tests/pr/curitiba/test_curitiba_serializacao_comunicacao.py @@ -1,17 +1,17 @@ -import unittest import datetime +import unittest + +import pynfse.nfse.pr.curitiba.serializacao as s -import PyNFSe.nfse.pr.curitiba.serializacao as s from tests.pr.curitiba.basetestesserializacao import BaseTestesSerializacao, xml_expected class SerializacaoComunicacaoTestCase(BaseTestesSerializacao): - def test_consultar_nfse_por_nota(self): numero_nota = 179 xml_consultar_nfse = s.consulta_nfse_por_numero(self.prestador, numero_nota) - xml_consultar_nfse_expected = xml_expected('ConsultarNfseEnvio-por_nota.xml') + xml_consultar_nfse_expected = xml_expected("ConsultarNfseEnvio-por_nota.xml") self.assertEqual(xml_consultar_nfse, xml_consultar_nfse_expected) @@ -20,21 +20,21 @@ def test_consultar_nfse_por_data(self): data_final = datetime.datetime(2016, 12, 17) xml_consultar_nfse = s.consulta_nfse_por_data(self.prestador, data_inicial, data_final) - xml_consultar_nfse_expected = xml_expected('ConsultarNfseEnvio-por_data.xml') + xml_consultar_nfse_expected = xml_expected("ConsultarNfseEnvio-por_data.xml") self.assertEqual(xml_consultar_nfse, xml_consultar_nfse_expected) def test_envio_lote_rps(self): xml_lote_rps = s.envio_lote_rps(self.lote_rps) - xml_lote_rps_expected = xml_expected('EnviarLoteRpsEnvio.xml') + xml_lote_rps_expected = xml_expected("EnviarLoteRpsEnvio.xml") self.assertEqual(xml_lote_rps, xml_lote_rps_expected) def test_consultar_situacao_lote_rps(self): - xml_consultar_situacao_lote = s.consulta_situacao_lote_rps(self.prestador, '636174090357960929') + xml_consultar_situacao_lote = s.consulta_situacao_lote_rps(self.prestador, "636174090357960929") - xml_consultar_situacao_lote_expected = xml_expected('ConsultarSituacaoLoteRpsEnvio.xml') + xml_consultar_situacao_lote_expected = xml_expected("ConsultarSituacaoLoteRpsEnvio.xml") self.assertEqual(xml_consultar_situacao_lote, xml_consultar_situacao_lote_expected) @@ -42,25 +42,24 @@ def test_consultar_nfse_por_rps(self): xml_consultar_nfse = s.consulta_nfse_por_rps(self.rps) - xml_consultar_nfse_expected = xml_expected('ConsultarNfseRpsEnvio.xml') + xml_consultar_nfse_expected = xml_expected("ConsultarNfseRpsEnvio.xml") self.assertEqual(xml_consultar_nfse, xml_consultar_nfse_expected) def test_consultar_lote_rps(self): - xml_consultar_lote = s.consulta_lote_rps(self.prestador, '636174090357960929') + xml_consultar_lote = s.consulta_lote_rps(self.prestador, "636174090357960929") - xml_consultar_lote_expected = xml_expected('ConsultarLoteRpsEnvio.xml') + xml_consultar_lote_expected = xml_expected("ConsultarLoteRpsEnvio.xml") self.assertEqual(xml_consultar_lote, xml_consultar_lote_expected) def test_cancelar_nfse(self): xml_cancelar_nfse = s.cancela_nfse(self.pedido_cancelamento_nfse) - xml_cancelar_nfse_expected = xml_expected('CancelarNfseEnvio.xml') + xml_cancelar_nfse_expected = xml_expected("CancelarNfseEnvio.xml") self.assertEqual(xml_cancelar_nfse, xml_cancelar_nfse_expected) -if __name__ == '__main__': +if __name__ == "__main__": unittest.main() - diff --git a/tests/pr/curitiba/test_curitiba_serializacao_entidades.py b/tests/pr/curitiba/test_curitiba_serializacao_entidades.py index a5d5bd4..b27def2 100755 --- a/tests/pr/curitiba/test_curitiba_serializacao_entidades.py +++ b/tests/pr/curitiba/test_curitiba_serializacao_entidades.py @@ -1,17 +1,17 @@ import unittest -import PyNFSe.nfse.pr.curitiba.serializacao as s +import pynfse.nfse.pr.curitiba.serializacao as s + from tests.pr.curitiba.basetestesserializacao import BaseTestesSerializacao, xml_expected class SerializacaoEntidadesTestCase(BaseTestesSerializacao): - def test_xml_prestador(self): xml_prestador = s._serial_prestador(self.prestador) self.tc_inf_rps.Prestador = xml_prestador xml_prestador = xml_prestador.toxml() - xml_prestador_expected = xml_expected('prestador.xml') + xml_prestador_expected = xml_expected("prestador.xml") self.assertEqual(xml_prestador, xml_prestador_expected) @@ -20,7 +20,7 @@ def test_xml_tomador(self): self.tc_inf_rps.Tomador = xml_tomador xml_tomador = xml_tomador.toxml() - xml_tomador_expected = xml_expected('tomador.xml') + xml_tomador_expected = xml_expected("tomador.xml") self.assertEqual(xml_tomador, xml_tomador_expected) @@ -29,7 +29,7 @@ def test_xml_servico(self): self.tc_inf_rps.Servico = xml_servico xml_servico = xml_servico.toxml() - xml_servico_expected = xml_expected('servico.xml') + xml_servico_expected = xml_expected("servico.xml") self.assertEqual(xml_servico, xml_servico_expected) @@ -38,9 +38,10 @@ def test_xml_rps(self): self.tc_lote_rps.ListaRps.append(xml_rps) xml_rps = xml_rps.toxml() - xml_rps_expected = xml_expected('rps.xml') + xml_rps_expected = xml_expected("rps.xml") self.assertEqual(xml_rps, xml_rps_expected) -if __name__ == '__main__': + +if __name__ == "__main__": unittest.main() diff --git a/tests/pr/curitiba/xml_expected/EnviarLoteRpsEnvio-Assinado.xml b/tests/pr/curitiba/xml_expected/EnviarLoteRpsEnvio-Assinado.xml index 54981da..f905b43 100755 --- a/tests/pr/curitiba/xml_expected/EnviarLoteRpsEnvio-Assinado.xml +++ b/tests/pr/curitiba/xml_expected/EnviarLoteRpsEnvio-Assinado.xml @@ -1,4 +1,4 @@ -112345678000123098765432111A112016-12-12T17:22:39161211000.0220.01000.00.021000.0140195118001401Descrição do Serviço Prestado410690212345678000123098765432112345678000123Nome ClienteRua Cliente1234Bairro Cliente4106902PR800000004132221122financeiro@cliente.com.brd7OXoyGQxj9Sv9XaJ9AD0SEw4l8=eDLZrIWT9ot40iq6Q/wCLF0CjALTgERO3yg/oh0OIwsd+GLgOxpD20OIj0unaXsGpdYh0b11drzrDsR0OkjJrpWS7wz+VpTR4rmDbAaa3HuvTwe7HbwJ8SIynxHoUIkMQmmHjilg0aqL/Xm5gE4mh3U8GfnL+H/HAY/YwSwSROw=MIIDhDCCAmygAwIBAgIKZCXL8wAAAAAStTANBgkqhkiG9w0BAQUFADAcMRowGAYD +112345678000123098765432111A112016-12-12T17:22:3911211000.0220.01000.00.021000.0140195118001401Descrição do Serviço Prestado410690212345678000123098765432112345678000123Nome ClienteRua Cliente1234Bairro Cliente4106902PR800000004132221122financeiro@cliente.com.brWL53zmBftVkuAgzU1C9sAJ4+Myo=YB01f1P9yn9H29I//NRUaSWUUAUoSYTGaItwYSDiDJeSEwr2njgQwPfkjlo9KAWt1pZCwkBxAOfC04x9sKIE1BssiFFQqC784RnT7Ce3BijVavBg55VDuFxIf9LjEGSebAN0h8LLNv8kMDrlMMLuQJvY0KzPjrRrI/804BUsZ70=MIIDhDCCAmygAwIBAgIKZCXL8wAAAAAStTANBgkqhkiG9w0BAQUFADAcMRowGAYD VQQDExFQSUxPVE9JU1NDVVJJVElCQTAeFw0xNjExMTUwMjQ0MzVaFw0xNzExMTUw MjU0MzVaMFExCzAJBgNVBAYTAkFBMQowCAYDVQQIEwFhMQowCAYDVQQHEwFhMQow CAYDVQQLEwFhMQowCAYDVQQDEwFhMRIwEAYJKoZIhvcNAQkBFgNhQGEwgZ8wDQYJ @@ -17,7 +17,7 @@ DBb4uhHBNAia1gcCYUZp+VMh/gsH5DKeziMCVEpb3NMu9GZ6rLdeTy4P7pymg1IC Lud52TreMS6CXFZX7wD+uHJeLPEqQja1bT/1UDxq4h6fgI+y2N2h77vyt0NJkejV DfKus4bPCxAVxnp4DREA+ZKlTuHFCrSQd21MDydE3sRgj9VDiJxFMoTWCTiYM63d 0SDKDuvm7gT9lhbDUFES8RCPOL3Pagr9bmpjALK0IBUISRXHRX9R0Q== -ArUcttf84iGtmUMgpLTOoHbaMAs=ANWqlft/4VUQzpcD4wI4qpi2qf+kzyIece32xuKbNT5KmgIhzRVkNQ49M+NqLvZI3Gd7nIsAT38rQ4BsG2u9AE3WkH8m+mBdSa5uQGnpWfLZQJcJZXytFSMxIn3ITRXPwfUxmdr/YU8K4iJEyO/evNigkAs3xZ7aVA39rmKKdfI=MIIDhDCCAmygAwIBAgIKZCXL8wAAAAAStTANBgkqhkiG9w0BAQUFADAcMRowGAYD +ssHS6KKLFrvH6nvD0v/SF8NEWUs=LUM6wq4gkLwVC421jZWKxGJzzVVgi0FpWgrZj4mmN4k4O0/5XlDklH6L82B5dBPfdLkoaFf1v+SCHbXQbaUVR+XEN++WSSUqLxx08NjP90WCrCDKqkg/339QpPJhSimfwFhx80EQZq+wix0bf4/o0uP5vthhk+rQALzixmmdRvY=MIIDhDCCAmygAwIBAgIKZCXL8wAAAAAStTANBgkqhkiG9w0BAQUFADAcMRowGAYD VQQDExFQSUxPVE9JU1NDVVJJVElCQTAeFw0xNjExMTUwMjQ0MzVaFw0xNzExMTUw MjU0MzVaMFExCzAJBgNVBAYTAkFBMQowCAYDVQQIEwFhMQowCAYDVQQHEwFhMQow CAYDVQQLEwFhMQowCAYDVQQDEwFhMRIwEAYJKoZIhvcNAQkBFgNhQGEwgZ8wDQYJ diff --git a/tests/pr/curitiba/xml_expected/EnviarLoteRpsEnvio.xml b/tests/pr/curitiba/xml_expected/EnviarLoteRpsEnvio.xml index 9308941..1bcae07 100755 --- a/tests/pr/curitiba/xml_expected/EnviarLoteRpsEnvio.xml +++ b/tests/pr/curitiba/xml_expected/EnviarLoteRpsEnvio.xml @@ -1 +1 @@ -112345678000123098765432111A112016-12-12T17:22:39161211000.0220.01000.00.021000.0140195118001401Descrição do Serviço Prestado410690212345678000123098765432112345678000123Nome ClienteRua Cliente1234Bairro Cliente4106902PR800000004132221122financeiro@cliente.com.br \ No newline at end of file +112345678000123098765432111A112016-12-12T17:22:3911211000.0220.01000.00.021000.0140195118001401Descrição do Serviço Prestado410690212345678000123098765432112345678000123Nome ClienteRua Cliente1234Bairro Cliente4106902PR800000004132221122financeiro@cliente.com.br \ No newline at end of file diff --git a/tests/pr/curitiba/xml_expected/rps.xml b/tests/pr/curitiba/xml_expected/rps.xml index 44dc782..6452bfd 100755 --- a/tests/pr/curitiba/xml_expected/rps.xml +++ b/tests/pr/curitiba/xml_expected/rps.xml @@ -1 +1 @@ -1A112016-12-12T17:22:39161211000.0220.01000.00.021000.0140195118001401Descrição do Serviço Prestado410690212345678000123098765432112345678000123Nome ClienteRua Cliente1234Bairro Cliente4106902PR800000004132221122financeiro@cliente.com.br \ No newline at end of file +1A112016-12-12T17:22:3911211000.0220.01000.00.021000.0140195118001401Descrição do Serviço Prestado410690212345678000123098765432112345678000123Nome ClienteRua Cliente1234Bairro Cliente4106902PR800000004132221122financeiro@cliente.com.br \ No newline at end of file