SatXmlReceiptVersion Method |
Find version number of Comprobante element or ID number for other document types.
Namespace: FirmaSATAssembly: diFirmaSatNet (in diFirmaSatNet.dll) Version: 10.70.0.38178 (10.70.0.0)
Syntaxpublic static int XmlReceiptVersion(
string xmlFile
)
Public Shared Function XmlReceiptVersion (
xmlFile As String
) As Integer
Parameters
- xmlFile String
- Name of XML file
Return Value
Int32Version number or ID number, or a negative
error code.
- 40 = Comprobante document with Version="4.0"
- 33 = Comprobante document with version="3.3"
- 1010/1020 = Retenciones document with Version="1.0"/"2.0"
- 2011/2013 = CatalogoCuentas document with Version="1.1"/"1.3"
- 2111/2113 = BalanzaComprobacion document with Version="1.1"/"1.3"
- 2211/2213 = PolizasPeriodo document with Version="1.1"/"1.3"
- 2312/2313 = AuxiliarFolios document with Version="1.2"/"1.3"
- 2411/2413 = AuxiliarCtas document with Version="1.1"/"1.3"
- 2511 = SelloDigitalContElec document with Version="1.1"
- 4011 = ControlesVolumetricos document with Version="1.1"
ExampleConsole.WriteLine(Sat.XmlReceiptVersion("cfdv40-ejemplo.xml"));
See Also