Untitled

 avatar
unknown
json
3 years ago
2.5 kB
4
Indexable
{
    "requestCredential": {
        "companyCode": "MOBO",
        "storeCode": "moboqa",
        "terminalCode": "MBQA01"
    },
	 "customer": {
	   "identificationNumber": "9876543212345",
	   "taxCategory": 612,
	   "businessName": "juancho perez",
       "fiscalAddress":"san isidro",
       "postalCode":"64280"
	 },
	    "fiscalDocument": {
        "internalId": "227",
        "conceptCode": "G01",
        "invoiceType": "I",
        "saleCondition": "PUE",
        "currency": "MXN",
        "currencyChange": 0.00,
          
        "invoiceDate": "2022-11-15T18:38:04.595Z",
        "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":0, 
				"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": 0.16
		},
        {
			"amount": 0.00,
			"baseAmount": 100.00,
			"code": 2,
			"name": 0.16
		}
	],
	"subtotalAmount": 1116.00,
	"discountAmount": 0.0,
	"totalAmount": 1116.00,
	"orderNumber": 321,
	"operator": "ws123",
	"relatedInvoices": [],
	"optionals": [],
	"benefits": []
	}
}
Editor is loading...