Untitled

mail@pastecode.io avatar
unknown
json
a year ago
2.6 kB
3
Indexable
Never
{
    "requestCredential": {
        "companyCode": "{{companyCode}}",
        "storeCode": "{{storeCode}}",
        "terminalCode": "{{terminalCode}}"
    },
	"customer": {
		"identificationNumber": "LOYG850712CQ0",
		"taxCategory": 606,
		"billingEmail": "wilmari.carvajal@napse.global",
		"businessName": "GABRIELA LOPEZ YEBRA",
		"fiscalAddress": "los campos 123",
		"postalCode": "07340"
	},
	
	    "fiscalDocument": {
        "internalId": "{{internalId}}",
        "conceptCode": "S01",
        "invoiceType": "I",
        "saleCondition": "PUE",
        "currency": "MXN",
        "currencyChange": 0.00,
        "invoiceDate": "2023-06-06T06:36:55.867Z",
        "electronicInvoice": true,
        "items": [
            {
                "name": "Tajini",
                "qty": 1,
                "sku": "666tjn654mxc4567k",
                "um": "KGM",
                "taxCode": 2,
                "tax": 0.16,
                "taxAmount": 19.2735,
                "internalTax": 0.00,
                "unitPrice": 120.4598,
                "totalPrice": 120.4598,
                "code": "50435213",
                "action": "S",
                "promotions": [
                    {
                        "scope": "0",
                        "taxAmount": 0.00,
                        "percent": 0.00,
                        "amount": 0.00,
                        "name": "AAA",
                        "code": 0,
                        "internalTax": 0
                    }
                ]
            }
        ],
        "amountOtherTaxes": 0.00,
        "exemptAmount": 0.00,
        "nonTaxedAmount": 0.00,
        "amountIVA": 19.2735,
        "taxedAmount": 0.00,
        "relatedTaxes": [
            {
                "amount": 19.2735,
                "baseAmount": 120.4598,
                "code": 2,
                "name": 0.16
            }
        ],
         "paymentMethods": [
        {
            "code": "01",
            "name": "EFECTIVO",
            "surcharge": 0,
            "amount": 116,
            "paymentMethodsInfo": []
        }
    ],
        "subtotalAmount": 120.4598,
        "discountAmount": 0.00,
        "totalAmount": 139.7333,
        "orderNumber": 321,
        "operator": "ws123",
        "optionals": [],
        "benefits": [
            {
                "code":"6328f34db350fd96a8ca8403",
                "name": "Prueba CUPON Impreso",
                "benefitType": "PRINTED",
                "couponCode": "1060010102346"
            }
        ]
    }
}