Untitled

mail@pastecode.io avatar
unknown
json
2 years ago
1.6 kB
0
Indexable
Never
{
	"requestCredential": {
		"companyCode": "{{companyCode}}",
		"storeCode": "{{storeCode}}",
		"terminalCode": "{{terminalCode}}"
	},
	"customer": {
		"identificationNumber": "LOYG850712CQ0",
		"taxCategory": 605,
		"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": 1.00,
		"invoiceDate": "{{invoiceDate}}",
		"electronicInvoice": true,
		"items": [
			{
				"name": "Tajini",
				"qty": 1,
				"sku": "666tjn654mxc4567k",
				"um": "KGM",
				"taxCode": 2,
				"tax": 0.16,
				"taxAmount": 14.40,
				"internalTax": 0.00,
				"unitPrice": 100.00,
				"totalPrice": 100.00,
				"code": "50435213",
				"discount": 10.00,
				"action": "S",
				"promotions": [
					{
						"scope": "I",
						"taxAmount": 1.60,
						"percent": 10,
						"amount": 10.00,
						"name": "PROMO10",
						"code": "OD",
						"internalTax": 0
					}
				]
			}
		],
		"amountOtherTaxes": 0.00,
		"exemptAmount": 0.00,
		"nonTaxedAmount": 0.00,
		"amountIVA": 14.40,
		"taxedAmount": 90.00,
		"relatedTaxes": [
			{
				"amount": 14.40,
				"baseAmount": 90.00,
				"code": 2,
				"name": 0.16
			}
		],
		"subtotalAmount": 100.00,
		"discountAmount": 10.00,
		"totalAmount": 104.40,
		"orderNumber": 321,
		"operator": "ws123",
		"relatedInvoices": [],
		"optionals": [],
		"benefits": []
	}
}