Untitled

mail@pastecode.io avatar
unknown
json
2 years ago
3.1 kB
0
Indexable
Never
{
    "requestCredential": {
        "companyCode": "testqamx",
        "storeCode": "TQ02",
        "terminalCode": "WT2"
    },
	"customer": {
		"identificationNumber": "LOYG850712CQ0",
		"taxCategory": 605,
		"billingEmail": "wilmari.carvajal@napse.global",
		"businessName": "GABRIELA LOPEZ YEBRA",
		"fiscalAddress": "los campos 123",
		"postalCode": "07340"
	},
	
	    "fiscalDocument": {
        "internalId": "442",
        "conceptCode": "S01",
        "invoiceType": "I",
        "saleCondition": "PUE",
        "currency": "MXN",
        "currencyChange": 0.00,
        "invoiceDate": "2022-12-05T20:58:03.682Z",
        "electronicInvoice": true,
        "items": [
            {
                "name": "Tajini",
                "qty": 1,
                "sku": "666tjn654mxc4567k",
                "um": "KGM",
                "taxCode": 2,
                "tax": 0.16,
                "taxAmount": 16.0,
                "internalTax": 0.00,
                "unitPrice": 100.0,
                "totalPrice": 100.00,
                "code": "50435213",
                "action": "S",
                "promotions": [
                    {
                        "scope": "0",
                        "taxAmount": 0.00,
                        "percent": 0.00,
                        "amount": 0.00,
                        "name": "AAA",
                        "code": 0,
                        "internalTax": 0
                    }
                ]
            },
            {
                "name": "Coca-Cola",
                "qty": 1,
                "sku": "6cok654mxc4567k",
                "um": "LTR",
                "taxCode": 3,
                "tax": 0.08,
                "taxAmount": 8.0,
                "internalTax": 0.00,
                "unitPrice": 100.0,
                "totalPrice": 100.00,
                "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": 0.00,
        "taxedAmount": 0.00,
        "relatedTaxes": [
            {
                "amount": 16.0,
                "baseAmount": 100.0,
                "code": 2,
                "name": 0.16
            },
            {
                "amount": 8.0,
                "baseAmount": 100.0,
                "code": 3,
                "name": 0.08
            }
        ],
        "subtotalAmount": 200,
        "discountAmount": 0.0,
        "totalAmount": 224.0,
        "orderNumber": 321,
        "operator": "ws123",
        "relatedInvoices": [],
        "optionals": [],
        "benefits": []
    }
}