Untitled

mail@pastecode.io avatar
unknown
json
2 years ago
2.7 kB
1
Indexable
Never
{
    "requestCredential": {
        "companyCode": "MOBO",
        "storeCode": "moboqa",
        "terminalCode": "MBQA01"
    },
	 "customer": {
	   "identificationNumber": "9876543212345",
	   "taxCategory": 612,
	   "businessName": "juancho perez",
       "fiscalAddress":"san isidro",
       "postalCode":"64280"
	 },
	    "fiscalDocument": {
        "internalId": "216",
        "conceptCode": "G01",
        "invoiceType": "I",
        "saleCondition": "PUE",
        "currency": "MXN",
        "currencyChange": 0.00,
          
        "invoiceDate": "2022-11-15T18:16:27.994Z",
        "electronicInvoice": false,
		"items": [
			{
				"name": "Tajini",
				"qty": 1,
				"sku": "666tjn654mxc4567k",
				"um": "KGM",
                "taxCode":2, 
				"tax": 16,
                "taxAmount": 16.00,
                "internalTax": 0.00,
				"unitPrice": 100.00,
				"totalPrice": 116.00,
				"code": "50435213",
                "action": "S",
				"promotions": [
					{
						"scope": "0",
                        "taxAmount": 0.00,
                        "percent": 0.00,
                        "amount": 0.00,
                        "name": "AAA",
                        "code": 0,
                        "internalTax": 0
					}
				]
			},
            {
				"name": "patron",
				"qty": 1,
				"sku": "666tjn654mxc4567k",
				"um": "LTR",
                "taxCode":2, 
				"tax": 0,
                "taxAmount": 0.00,
                "internalTax": 0.00,
				"unitPrice": 1000.00,
				"totalPrice": 1000.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.00,
			"baseAmount": 100.00,
			"code": 2,
			"name": "tasa"
		},
        {
			"amount": 0.00,
			"baseAmount": 100.00,
			"code": 2,
			"name": "tasa"
		}
	],
	"relatedOtherTaxes": [
		{
			"amount": 0.0,
			"baseAmount": 0.0,
			"code": 0,
            "aliquot": 0.00,
            "name": "IVA"
		}	
		],

	"subtotalAmount": 1116.00,
	"discountAmount": 0.0,
	"totalAmount": 1116.00,
	"orderNumber": 321,
	"operator": "ws123",
	"relatedInvoices": [],
	"optionals": [],
	"benefits": []
	}
}