Untitled

mail@pastecode.io avatar
unknown
json
2 years ago
2.0 kB
0
Indexable
{
    "requestCredential": {
        "companyCode": "testqamx",
        "storeCode": "TQ2",
        "terminalCode": "tt2"
    },
	 "customer": {
	   "identificationNumber": "XAXX010101000",
	   "taxCategory": 616,
       "fiscalAddress":"la lucila",
       "postalCode": "11000"
	 },
	    "fiscalDocument": {
        "internalId": "372",
        "conceptCode": "S01",
        "invoiceType": "E",
        "saleCondition": "PUE",
        "currency": "MXN",
        "currencyChange": 0.00,
        "invoiceDate": "2023-03-17T17:23:30.415Z",
        "electronicInvoice": false,
        "items": [
            {
                "name": "Tajini",
                "qty": 1,
                "sku": "666tjn654mxc4567k",
                "um": "KGM",
                "taxCode": 2,
                "tax": 0.16,
                "taxAmount": 16.00,
                "internalTax": 0.00,
                "unitPrice": 100.0,
                "totalPrice": 100.0,
                "code": "50435213",
                "action": "S",
                "promotions": [
                    {
                        "scope": "0"
                    }
                ]
            }
        ],
        "relatedTaxes": [
            {
                "amount": 16.0,
                "baseAmount": 100.0,
                "code": 2,
                "name": 0.16
            }
        ],
        "relatedInvoices": [
        {
            "relationInvoice": 1,
            "invoiceType": "I",
            "pointOfSale": "ti1",
            "invoiceNumber": "146"
        }
    ],

        "subtotalAmount": 100.0,
        "discountAmount": 0.0,
        "totalAmount": 116.0,
        "orderNumber": 321,
        "operator": "ws123",
        "optionals": [],
        "benefits": [
            {
              "code":"50435213",
              "name": "Prueba CUPON Impreso",
              "benefitType": "PRINTED",
              "couponCode": "1060010102346"  
            }
        ]
    }
}