Need updates on few queries

Hi,

We need a few clarifications on below questions:

  1. What is the content of an attachment for a transaction?
  2. Is the entire Sync is Asynchronous or just the Widget is Asynchronous?
  3. What is meant by is_disable, Avatar, Cover, Small_Cover in Accounts Response?
  4. What is meant by is_deleted, is_disable, is_pending in Transaction Response?
  5. In the documentation, When I looked into the sample, I saw all the transaction amounts >0, And I didn’t find any Credit/Debit Transaction Flag in the sample data?
  6. Does the response of the Transactions is sorted by the time of transaction?
  7. If the transactions are not sorted, how can we calculate the previous balances?
  8. If the customer’s bank credentials are changed/expired, does id_credential will be updated or not?
  9. All the transactions are sorted by time or is it random in response?

Please help us with some details on these. Thank you.

Hi!

  1. An attachment is a JSON format representation for a file related to the transaction, sometimes are PDFs or XML.

  2. Syncfy is entire asynchronous

  3. is_disable: canceled or not available, avatar, cover and small cover are URLs to consult and get the images related to the account for example: s.synfy.com/assets/Z1JLMk5FTTFTcVE4ZW81NWVEZU9sbFI3bEhOT0JEd2wyd2VsbjcrTWZYRzAxbzZEeUJqNGJuYnp6NUhjNG9nc1A4MlJXTENxVUlEdElaMVoreTlyNjlTSDFXaXBuckpqUGpFUytmcHU4dnhIQkt0QW81RHBKdz09.

  4. is_deleted: has been deleted, is_disable: canceled or not available, is_pending:

  1. Yes, we are working to improve our sample sandbox data: https://forums.paybook.com/t/how-to-differentiate-transaction-type-from-the-test-data/275/2?u=aldoea

  2. No, they are sorted by the date that they were added.

  3. You can sort the response by sending the param order=-dt_transaction.

  4. No, in that case, you’ll have to update the bank credentials and the id_credential remains the same unless you delete and create again the credential.

  5. Yes, they are sorted by the date that they were added.

Hope it helps you! :crossed_fingers: :slight_smile:

1 me gusta
  • Can you share, what is the specific contents in an attachment related to transaction?

Sure, here is an example:

{
            "id_attachment": "5db073b4caaf236a6a4c2eb5",
            "id_account": "5db073b1caaf236a6a4c2acc",
            "id_user": "5dde750d8c91e77a123e7013",
            "id_external": "",
            "id_attachment_type": "56bcdfca784806d1378b4567",
            "id_transaction": "5db073b1caaf236a6a4c2acd",
            "is_valid": 1,
            "file": "4B2B511C-A29E-4CDF-8AD3-143515CF6152.xml",
            "mime": null,
            "url": "/attachments/5db073b4caaf236a6a4c2eb5",
            "keywords": [
                "3.3",
                "emitidas",
                "i",
                "timbrefiscaldigital",
                "vigente"
            ],
            "dt_refresh": 1571844997
        }

Then if you GET the “url” field (/attachments/5db073b4caaf236a6a4c2eb5 ) you’ll get something like this:

 <?xml version="1.0" encoding="utf-8"?>
<cfdi:Comprobante xmlns:cfdi="http://www.sat.gob.mx/cfd/3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sat.gob.mx/cfd/3 http://www.sat.gob.mx/sitio_internet/cfd/3/cfdv33.xsd" Version="3.3" Serie="C" Folio="78" Fecha="2019-01-24T06:15:49" FormaPago="99" NoCertificado="0000100000040090000" Certificado="MIIGHzCCBAegAwIBAgIUMDAwMDEwMDAwMDA0MDA5MDI0NTkwDQYJKoZIhvcNAQELBQAwggGyMTgwNgYDVQQDDC9BLkMuIGRlbCBTZXJ2aWNpbyBkZSBBZG1pbmlzdHJhY2nDs24gVHJpYnV0YXJpYTEvMC0GA1UECgwmU2VydmljaW8gZGUgQWRtaW5pc3RyYWNpw7NuIFRyaWJ1dGFyaWExODA2BgNVBAsML0FkbWluaXN0cmFjacOzbiBkZSBTZWd1cmlkYWQgZGUgbGEgSW5mb3JtYWNpw7NuMR8wHQYJKoZIhvcNAQkBFhBhY29kc0BzYXQuZ29iLm14MSYwJAYDVQQJDB1Bdi4gSGlkYWxnbyA3NywgQ29sLiBHdWVycmVybzEOMAwGA1UEEQwFMDYzMDAxCzAJBgNVBAYTAk1YMRkwFwYDVQQIDBBEaXN0cml0byBGZWRlcmFsMRQwEgYDVQQHDAtDdWF1aHTDqW1vYzEVMBMGA1UELRMMU0FUOTcwNzAxTk4zMV0wWwYJKoZIhvcNAQkCDE5SZXNwb25zYWJsZTogQWRtaW5pc3RyYWNpw7NuIENlbnRyYWwgZGUgU2Vydmlja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7WCIoX36m+/kQqEacvvfsTtWmCPYD240wkNpSRbbc/E6jRg5cJHEcUU5sZ1lekCCz5Vkp+tul2qrTTFYzFG1uftbpBruhdbwXC/kWm8D1wGubp4Crn/zCvKMXwAPtk47E8EjmvOkgcGM0xZGFYibEvcrbeo69aAff0Bx0V34KU3pYxPHPP1iXLk0Hal65R88RKulAjGhopEU4XjdqSajfXoG5n4PNMyfIONuNNwwebciqEjFwB/Pfff2JYg6nbidKZnIJE1HnUgJwkByzTjsAcACFpNjVBXmmBfR51J7FHV9p8H2P7ikVA+ktjdENmjD+xfJSdMfVUyH2+H/RWPm5QuYlekxWXzMnTKvkafjwUuIyqiyjko4+xEp95TmT+nKX15E7Vw+JyJUghri3Xs/SOD/CFSu8O1yAn+ji4=" SubTotal="810.18" Descuento="0.00" Moneda="MXN" Total="810.18" TipoDeComprobante="I" MetodoPago="PUE" LugarExpedicion="00000" Sello="CjGJ6Uz6jWQ6wFyn8SEvRVCOCZq2sRtTAsUkLJjrs8vPSHfeEs+bMBhNnZ+7gLE5gSO+FU+IA64d+I9w98DEop24GRNDoWPxRGvX7SON4p47Ygna/rCWynyjCw8kYqRtBHxypwh0HGFLoNx+ulK+WcOXG7F3Nx2I+EPTg6jn1VvwBm1c1iat1Zgnhcna2ZJyZA3cRFOBhNONocr+qAF8zTtHSoJNYmolOlyIC9akyIPfrNl/ALgni4k1KwpEcr4HsyqVabUDW47vH5TqSNfFz+ZY3bZZZf7FLdTBn8So984+vbomWg/rP7OCBALI/u/+kIkgotm4TF/ImuGjUeKITw==">
    <cfdi:Emisor Rfc="ACM010101ABC" Nombre="ACME CORP" RegimenFiscal="601"/>
    <cfdi:Receptor Rfc="EKU9003173C9" Nombre="ESCUELA KEMPER URGATE SA DE CV" UsoCFDI="P01"/>
    <cfdi:Conceptos>
        <cfdi:Concepto ClaveProdServ="00195316" Cantidad="1" ClaveUnidad="H87" Unidad="PZA" Descripcion="PRODUCTO 1" ValorUnitario="810.18" Importe="810.18" Descuento="0"></cfdi:Concepto>
    </cfdi:Conceptos>
    <cfdi:Complemento>
        <tfd:TimbreFiscalDigital xmlns:tfd="http://www.sat.gob.mx/TimbreFiscalDigital" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sat.gob.mx/TimbreFiscalDigital http://www.sat.gob.mx/sitio_internet/cfd/timbrefiscaldigital/TimbreFiscalDigitalv11.xsd" Version="1.1" UUID="4B2B511C-A29E-4CDF-8AD3-143515CF6152" FechaTimbrado="2019-10-11T02:43:34" SelloCFD="CjGJ6Uz6jWQ6wFyn8SEvRVCOCZq2sRtTAsUkLJjrs8vPSHfeEs+bMBhNnZ+7gLE5gSO+FUz6jWQ6wFyn8SEvRVCOCZq2sWPxRGvX7SON4p47Ygna/rCWynyjCw8kYqRtBHxypwh0HGFLoNx+ulK+WcOXG7F3Nx2I+EPTg6jn1Vvz6jWQ6wFyn8SEvRVCOCZq2s3cRFOBhNONocr+qAF8zTtHSoJNYmolOlyIC9akyIPfrNl/ALgni4k1KwpEcr4HsyqVabz6jWQ6wFyn8SEvRVCOCZq2sf7FLdTBn8So984+vbomWg/rP7OCBALI/u/+kIkgotm4TF/ImuGjUeKITw==" NoCertificadoSAT="00001000000407657133" SelloSAT="W82etl3ZwAEDP7qT705tkK7jryQU5WCFUIOw1nmDyy5/iaxsOVuDPVyhK7fQMRG6A6x9WHGYjkMDZ0DkOnq1vcClr2Sn5yOLdWd9VYf6hg6e/RiLTn1mSUni/47rWNbyODfcom3hmKasclgBEYZL6unymQD2bsUfMc0L5ODZ5/AfK36/bYVeakauL1NxXMZ2Zc4RrX5Zd5AkF04VB6UWqDL2/zuCGDccA6/MsJR2BeXnq/hQ1I8WNSNGcy1OzBukQqRbhe9hIRit58F/ZtTtFnzyeT3Tknu9MIZFq/7D+tw0TxUziC+g2n86iiKRXnRJQvlowqKmkPGO8jMefrx8pg==" RfcProvCertif="ACM100625MC0"/>
    </cfdi:Complemento>
</cfdi:Comprobante> 

If you add extra at the end of the same URL (/attachments/5db073b4caaf236a6a4c2eb5/extra) you’ll get the extracted data from attachment:

{
    "rid": "4febb23e-cd97-4940-91a8-8178c08ca5ef",
    "code": 200,
    "errors": null,
    "status": true,
    "message": null,
    "response": {
        "id_attachment": "5db073b4caaf236a6a4c2eb5",
        "id_user": "5dde750d8c91e77a123e7013",
        "id_external": "",
        "is_valid": 1,
        "file": "4B2B511C-A29E-4CDF-8AD3-143515CF6152.xml",
        "mime": null,
        "extra": [
            {
                "n": "CFDI:COMPROBANTE",
                "a": {
                    "XMLNS:CFDI": "http://www.sat.gob.mx/cfd/3",
                    "XMLNS:XSI": "http://www.w3.org/2001/XMLSchema-instance",
                    "XSI:SCHEMALOCATION": "http://www.sat.gob.mx/cfd/3 http://www.sat.gob.mx/sitio_internet/cfd/3/cfdv33.xsd",
                    "VERSION": "3.3",
                    "SERIE": "C",
                    "FOLIO": "78",
                    "FECHA": "2019-01-24T06:15:49",
                    "FORMAPAGO": "99",
                    "NOCERTIFICADO": "0000100000040090000",
                    "CERTIFICADO": "MIIGHzCCBAegAwIBAgIUMDAwMDEwMDAwMDA0MDA5MDI0NTkwDQYJKoZIhvcNAQELBQAwggGyMTgwNgYDVQQDDC9BLkMuIGRlbCBTZXJ2aWNpbyBkZSBBZG1pbmlzdHJhY2nDs24gVHJpYnV0YXJpYTEvMC0GA1UECgwmU2VydmljaW8gZGUgQWRtaW5pc3RyYWNpw7NuIFRyaWJ1dGFyaWExODA2BgNVBAsML0FkbWluaXN0cmFjacOzbiBkZSBTZWd1cmlkYWQgZGUgbGEgSW5mb3JtYWNpw7NuMR8wHQYJKoZIhvcNAQkBFhBhY29kc0BzYXQuZ29iLm14MSYwJAYDVQQJDB1Bdi4gSGlkYWxnbyA3NywgQ29sLiBHdWVycmVybzEOMAwGA1UEEQwFMDYzMDAxCzAJBgNVBAYTAk1YMRkwFwYDVQQIDBBEaXN0cml0byBGZWRlcmFsMRQwEgYDVQQHDAtDdWF1aHTDqW1vYzEVMBMGA1U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kfHjq9qLFdhVsBdLux6ewtnT7cOdETpmGPOzVn+VzB5UHpGsLmwHf8Fyhzhb2na4Mqds+XhWnXu844Vr42DnnLHaWQc5dOOsraTAxt17ly7WCIoX36m+/kQqEacvvfsTtWmCPYD240wkNpSRbbc/E6jRg5cJHEcUU5sZ1lekCCz5Vkp+tul2qrTTFYzFG1uftbpBruhdbwXC/kWm8D1wGubp4Crn/zCvKMXwAPtk47E8EjmvOkgcGM0xZGFYibEvcrbeo69aAff0Bx0V34KU3pYxPHPP1iXLk0Hal65R88RKulAjGhopEU4XjdqSajfXoG5n4PNMyfIONuNNwwebciqEjFwB/Pfff2JYg6nbidKZnIJE1HnUgJwkByzTjsAcACFpNjVBXmmBfR51J7FHV9p8H2P7ikVA+ktjdENmjD+xfJSdMfVUyH2+H/RWPm5QuYlekxWXzMnTKvkafjwUuIyqiyjko4+xEp95TmT+nKX15E7Vw+JyJUghri3Xs/SOD/CFSu8O1yAn+ji4=",
                    "SUBTOTAL": "810.18",
                    "DESCUENTO": "0.00",
                    "MONEDA": "MXN",
                    "TOTAL": "810.18",
                    "TIPODECOMPROBANTE": "I",
                    "METODOPAGO": "PUE",
                    "LUGAREXPEDICION": "00000",
                    "SELLO": "CjGJ6Uz6jWQ6wFyn8SEvRVCOCZq2sRtTAsUkLJjrs8vPSHfeEs+bMBhNnZ+7gLE5gSO+FU+IA64d+I9w98DEop24GRNDoWPxRGvX7SON4p47Ygna/rCWynyjCw8kYqRtBHxypwh0HGFLoNx+ulK+WcOXG7F3Nx2I+EPTg6jn1VvwBm1c1iat1Zgnhcna2ZJyZA3cRFOBhNONocr+qAF8zTtHSoJNYmolOlyIC9akyIPfrNl/ALgni4k1KwpEcr4HsyqVabUDW47vH5TqSNfFz+ZY3bZZZf7FLdTBn8So984+vbomWg/rP7OCBALI/u/+kIkgotm4TF/ImuGjUeKITw=="
                },
                "c": [
                    {
                        "n": "CFDI:EMISOR",
                        "a": {
                            "RFC": "ACM010101ABC",
                            "NOMBRE": "ACME CORP",
                            "REGIMENFISCAL": "601"
                        }
                    },
                    {
                        "n": "CFDI:RECEPTOR",
                        "a": {
                            "RFC": "EKU9003173C9",
                            "NOMBRE": "ESCUELA KEMPER URGATE SA DE CV",
                            "USOCFDI": "P01"
                        }
                    },
                    {
                        "n": "CFDI:CONCEPTOS",
                        "c": [
                            {
                                "n": "CFDI:CONCEPTO",
                                "a": {
                                    "CLAVEPRODSERV": "00195316",
                                    "CANTIDAD": "1",
                                    "CLAVEUNIDAD": "H87",
                                    "UNIDAD": "PZA",
                                    "DESCRIPCION": "PRODUCTO 1",
                                    "VALORUNITARIO": "810.18",
                                    "IMPORTE": "810.18",
                                    "DESCUENTO": "0"
                                }
                            }
                        ]
                    },
                    {
                        "n": "CFDI:COMPLEMENTO",
                        "c": [
                            {
                                "n": "TFD:TIMBREFISCALDIGITAL",
                                "a": {
                                    "XMLNS:TFD": "http://www.sat.gob.mx/TimbreFiscalDigital",
                                    "XMLNS:XSI": "http://www.w3.org/2001/XMLSchema-instance",
                                    "XSI:SCHEMALOCATION": "http://www.sat.gob.mx/TimbreFiscalDigital http://www.sat.gob.mx/sitio_internet/cfd/timbrefiscaldigital/TimbreFiscalDigitalv11.xsd",
                                    "VERSION": "1.1",
                                    "UUID": "4B2B511C-A29E-4CDF-8AD3-143515CF6152",
                                    "FECHATIMBRADO": "2019-10-11T02:43:34",
                                    "SELLOCFD": "CjGJ6Uz6jWQ6wFyn8SEvRVCOCZq2sRtTAsUkLJjrs8vPSHfeEs+bMBhNnZ+7gLE5gSO+FUz6jWQ6wFyn8SEvRVCOCZq2sWPxRGvX7SON4p47Ygna/rCWynyjCw8kYqRtBHxypwh0HGFLoNx+ulK+WcOXG7F3Nx2I+EPTg6jn1Vvz6jWQ6wFyn8SEvRVCOCZq2s3cRFOBhNONocr+qAF8zTtHSoJNYmolOlyIC9akyIPfrNl/ALgni4k1KwpEcr4HsyqVabz6jWQ6wFyn8SEvRVCOCZq2sf7FLdTBn8So984+vbomWg/rP7OCBALI/u/+kIkgotm4TF/ImuGjUeKITw==",
                                    "NOCERTIFICADOSAT": "00001000000407657133",
                                    "SELLOSAT": "W82etl3ZwAEDP7qT705tkK7jryQU5WCFUIOw1nmDyy5/iaxsOVuDPVyhK7fQMRG6A6x9WHGYjkMDZ0DkOnq1vcClr2Sn5yOLdWd9VYf6hg6e/RiLTn1mSUni/47rWNbyODfcom3hmKasclgBEYZL6unymQD2bsUfMc0L5ODZ5/AfK36/bYVeakauL1NxXMZ2Zc4RrX5Zd5AkF04VB6UWqDL2/zuCGDccA6/MsJR2BeXnq/hQ1I8WNSNGcy1OzBukQqRbhe9hIRit58F/ZtTtFnzyeT3Tknu9MIZFq/7D+tw0TxUziC+g2n86iiKRXnRJQvlowqKmkPGO8jMefrx8pg==",
                                    "RFCPROVCERTIF": "ACM100625MC0"
                                }
                            }
                        ]
                    }
                ]
            }
        ]
    }
} 

finally, if you add /json to the same URL (/attachments/5db073b4caaf236a6a4c2eb5/json) you’ll get the parsed data from attachment:

{
    "rid": "122ab96b-20a8-47ac-8ece-03d8f5fd5efa",
    "code": 200,
    "errors": null,
    "status": true,
    "message": null,
    "response": [
        {
            "id_attachment": "5db073b4caaf236a6a4c2eb5",
            "id_user": "5dde750d8c91e77a123e7013",
            "id_external": "",
            "file": "4B2B511C-A29E-4CDF-8AD3-143515CF6152.xml",
            "json": {
                "CFDI:COMPROBANTE": {
                    "XMLNS:CFDI": "http://www.sat.gob.mx/cfd/3",
                    "XMLNS:XSI": "http://www.w3.org/2001/XMLSchema-instance",
                    "XSI:SCHEMALOCATION": "http://www.sat.gob.mx/cfd/3 http://www.sat.gob.mx/sitio_internet/cfd/3/cfdv33.xsd",
                    "VERSION": "3.3",
                    "SERIE": "C",
                    "FOLIO": "78",
                    "FECHA": "2019-01-24T06:15:49",
                    "FORMAPAGO": "99",
                    "NOCERTIFICADO": "0000100000040090000",
                    "CERTIFICADO": "MIIGHzCCBAegAwIBAgIUMDAwMDEwMDAwMDA0MDA5MDI0N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Qd+z10JQ8DJePQP1epF8q/dIqDwElqOrIwXsm59ZHVn1IomZnmqPbuSjGd1eYJQ+Z6dfdT/bU6gGIL9lUlDuhnQmygbrkaEizIQcXCElNEYm0zWZidGmsMEF871R1HZPcluugOrhWpRaskj/1Wwx27uwTBF6llItHkbJ7Q/8SOAzoiqaT/LgkKhw3sCSSWsHtnBf467I4+EWcgJ7LPPuVZ8U7BIyMsuvxhPcAqVGQIDAQABox0wGzAMBgNVHRMBAf8EAjAAMAsGA1UdDwQEAwIGwDANBgkqhkiG9w0BAQsFAAOCAgEAglPwKcTwNRxZWxg5u23VmpaRzV2rFojBhvNJ3q9xMRRAoIAf+1YxV3n+3j3xQCuSWiHyTuauaRTv6tj9S7mouu9A5UxuRV5PIZ56Y15IJ0ziF/+gpOLI1DGurUKqbkfpJ/DOHU0JpXb1COkn2C3z+ue9qInkfHjq9qLFdhVsBdLux6ewtnT7cOdETpmGPOzVn+VzB5UHpGsLmwHf8Fyhzhb2na4Mqds+XhWnXu844Vr42DnnLHaWQc5dOOsraTAxt17ly7WCIoX36m+/kQqEacvvfsTtWmCPYD240wkNpSRbbc/E6jRg5cJHEcUU5sZ1lekCCz5Vkp+tul2qrTTFYzFG1uftbpBruhdbwXC/kWm8D1wGubp4Crn/zCvKMXwAPtk47E8EjmvOkgcGM0xZGFYibEvcrbeo69aAff0Bx0V34KU3pYxPHPP1iXLk0Hal65R88RKulAjGhopEU4XjdqSajfXoG5n4PNMyfIONuNNwwebciqEjFwB/Pfff2JYg6nbidKZnIJE1HnUgJwkByzTjsAcACFpNjVBXmmBfR51J7FHV9p8H2P7ikVA+ktjdENmjD+xfJSdMfVUyH2+H/RWPm5QuYlekxWXzMnTKvkafjwUuIyqiyjko4+xEp95TmT+nKX15E7Vw+JyJUghri3Xs/SOD/CFSu8O1yAn+ji4=",
                    "SUBTOTAL": "810.18",
                    "DESCUENTO": "0.00",
                    "MONEDA": "MXN",
                    "TOTAL": "810.18",
                    "TIPODECOMPROBANTE": "I",
                    "METODOPAGO": "PUE",
                    "LUGAREXPEDICION": "00000",
                    "SELLO": "CjGJ6Uz6jWQ6wFyn8SEvRVCOCZq2sRtTAsUkLJjrs8vPSHfeEs+bMBhNnZ+7gLE5gSO+FU+IA64d+I9w98DEop24GRNDoWPxRGvX7SON4p47Ygna/rCWynyjCw8kYqRtBHxypwh0HGFLoNx+ulK+WcOXG7F3Nx2I+EPTg6jn1VvwBm1c1iat1Zgnhcna2ZJyZA3cRFOBhNONocr+qAF8zTtHSoJNYmolOlyIC9akyIPfrNl/ALgni4k1KwpEcr4HsyqVabUDW47vH5TqSNfFz+ZY3bZZZf7FLdTBn8So984+vbomWg/rP7OCBALI/u/+kIkgotm4TF/ImuGjUeKITw==",
                    "CFDI:EMISOR": {
                        "RFC": "ACM010101ABC",
                        "NOMBRE": "ACME CORP",
                        "REGIMENFISCAL": "601"
                    },
                    "CFDI:RECEPTOR": {
                        "RFC": "EKU9003173C9",
                        "NOMBRE": "ESCUELA KEMPER URGATE SA DE CV",
                        "USOCFDI": "P01"
                    },
                    "CFDI:CONCEPTOS": {
                        "CFDI:CONCEPTO": {
                            "CLAVEPRODSERV": "00195316",
                            "CANTIDAD": "1",
                            "CLAVEUNIDAD": "H87",
                            "UNIDAD": "PZA",
                            "DESCRIPCION": "PRODUCTO 1",
                            "VALORUNITARIO": "810.18",
                            "IMPORTE": "810.18",
                            "DESCUENTO": "0"
                        }
                    },
                    "CFDI:COMPLEMENTO": {
                        "TFD:TIMBREFISCALDIGITAL": {
                            "XMLNS:TFD": "http://www.sat.gob.mx/TimbreFiscalDigital",
                            "XMLNS:XSI": "http://www.w3.org/2001/XMLSchema-instance",
                            "XSI:SCHEMALOCATION": "http://www.sat.gob.mx/TimbreFiscalDigital http://www.sat.gob.mx/sitio_internet/cfd/timbrefiscaldigital/TimbreFiscalDigitalv11.xsd",
                            "VERSION": "1.1",
                            "UUID": "4B2B511C-A29E-4CDF-8AD3-143515CF6152",
                            "FECHATIMBRADO": "2019-10-11T02:43:34",
                            "SELLOCFD": "CjGJ6Uz6jWQ6wFyn8SEvRVCOCZq2sRtTAsUkLJjrs8vPSHfeEs+bMBhNnZ+7gLE5gSO+FUz6jWQ6wFyn8SEvRVCOCZq2sWPxRGvX7SON4p47Ygna/rCWynyjCw8kYqRtBHxypwh0HGFLoNx+ulK+WcOXG7F3Nx2I+EPTg6jn1Vvz6jWQ6wFyn8SEvRVCOCZq2s3cRFOBhNONocr+qAF8zTtHSoJNYmolOlyIC9akyIPfrNl/ALgni4k1KwpEcr4HsyqVabz6jWQ6wFyn8SEvRVCOCZq2sf7FLdTBn8So984+vbomWg/rP7OCBALI/u/+kIkgotm4TF/ImuGjUeKITw==",
                            "NOCERTIFICADOSAT": "00001000000407657133",
                            "SELLOSAT": "W82etl3ZwAEDP7qT705tkK7jryQU5WCFUIOw1nmDyy5/iaxsOVuDPVyhK7fQMRG6A6x9WHGYjkMDZ0DkOnq1vcClr2Sn5yOLdWd9VYf6hg6e/RiLTn1mSUni/47rWNbyODfcom3hmKasclgBEYZL6unymQD2bsUfMc0L5ODZ5/AfK36/bYVeakauL1NxXMZ2Zc4RrX5Zd5AkF04VB6UWqDL2/zuCGDccA6/MsJR2BeXnq/hQ1I8WNSNGcy1OzBukQqRbhe9hIRit58F/ZtTtFnzyeT3Tknu9MIZFq/7D+tw0TxUziC+g2n86iiKRXnRJQvlowqKmkPGO8jMefrx8pg==",
                            "RFCPROVCERTIF": "ACM100625MC0"
                        }
                    }
                }
            }
        }
    ]
} 

You can see more about transactions and attachments here: https://syncfy.com/w/es/sync/public/app/(section:docs/mx/sync-tax/api/attachments)