Untitled

 avatar
unknown
plain_text
2 years ago
2.2 kB
7
Indexable
{
	"requestCredential": {
		"companyCode": "{{companyCode}}",
		"storeCode": "{{storeCode}}",
		"terminalCode": "{{terminalCode}}"
	},
	"customer": {
		"documentType": 13,
		"identificationNumber": 222222222222,
		"taxCategory": "01",
		"billingEmail": "wilmari.carvajalnapse.global",
		"personalEmail": "wilmari.carvajalnapse.global",
		"businessName": "consumidor final"
	},
	"fiscalDocument": {
		"internalId": "{{internalId}}",
		"conceptCode": 1,
		"invoiceType": "01",
		"saleCondition": "1",
		"currency": "COP",
		"currencyChange": 0.01,
		"invoiceDate": "{{invoiceDate}}",
		"periodStartDate": "{{invoiceDate}}",
		"periodEndDate": "{{invoiceDate}}",
		"businessDate": "{{invoiceDate}}",
		"items": [
			{
				"name": "bombombum colombina",
				"qty": 1,
				"sku": "11664819",
				"code": "10",
				"um": "NAR",
				"tax": 19,
				"taxAmount": 17.1,
				"internalTax": 0.0,
				"discount": 10.0,
				"unitPrice": 100,
				"totalPrice": 100,
				"promotions": [
					{
					"_id": "63ef9e1a3654c2ad7e22dda3",
					"code": "31",
					"name": "B1 2DA 17%",
					"amount": 10,
					"baseAmount": 100,
					"percent": 10,
					"taxAmount": 1.9,
					"internalTax": 0,
					"scope": "I"
				    }
				]
			}
		],
		"relatedTaxes": [
			{
				"name": "IVA 19",
				"amount": 17.1,
				"baseAmount": 90,
				"code": 19
			}
		],
		"paymentMethods": [
			{
				"code": "10",
				"name": "EFECTIVO",
				"surcharge": 0,
				"amount": 17.1,
				"paymentMethodsInfo": []
			}
		],
		"documentInfo": [
		{
			"key": "storeName",
			"value": "Drog. Cfam Tulua Exi. La Herradura",
			"_id": "63d834769ff94c426768f801"
		},
		{
			"key": "numberT",
			"value": "2505-00001079",
			"_id": "63d834769ff94c426768f802"
		},
		{
			"key": "numberTran",
			"value": "2300",
			"_id": "63d834769ff94c426768f803"
		}
	],
		"subtotalAmount": 100,
		"ticketDiscount": 0.0,
		"discountAmount": 10.0,
		"nonTaxedAmount": 0.0,
		"taxedAmount": 90,
		"amountIVA": 17.1,
		"amountOtherTaxes": 0.0,
		"exemptAmount": 0.0,
		"totalAmount": 107.1,
		"orderNumber": 321,
		"operator": "Pepe",
		"relatedInvoices": [],
		"optionals": [],
		"benefits": []
	}
}
Editor is loading...