Untitled

mail@pastecode.io avatar
unknown
json
a year ago
1.7 kB
3
Indexable
Never
{
	"requestCredential": {
		"companyCode": "{{companyCode}}",
		"storeCode": "{{storeCode}}",
		"terminalCode": "{{terminalCode}}"
	},
	"customer": {
		"documentType": 13,
		"identificationNumber": "12.345.678-9",
		"taxCategory": 1,
		"billingEmail": "prueba@napse.global",
		"personalEmail": "prueba@napse.global",
		"businessName": "consumidor final"
	},
	"fiscalDocument": {
		"internalId": "{{internalId}}",
		"invoiceType": 33,
		"currency": "COP",
		"currencyChange": 0.01,
		"invoiceDate": "{{invoiceDate}}",
		"items": [
		{
			"action": "S",
			"sku": "1012",
			"code": "001",
			"name": "caja andes",
			"um": "NAR",
			"qty": 1,
			"tax": 0,
			"taxAmount": 0,
			"internalTax": 0,
			"unitPrice": 5000,
			"promotions": [],
			"discount": 0,
			"totalPrice": 5000,
			"itemInfo": [],
			"_id": "6414898c45935b5b97da4d0c"
		}
	],
	"taxedAmount": 5000,
	"amountIVA": 0,
	"nonTaxedAmount": 0,
	"exemptAmount": 0,
	"amountOtherTaxes": 0,
	"subtotalAmount": 5000,
	"discountAmount": 0,
	"totalAmount": 5000,
    "ticketDiscount": 0.0,
	"relatedTaxes": [
		{
			"code": 0,
			"name": "IVA 0,00",
			"baseAmount": 5000,
			"amount": 0,
			"_id": "6414898c45935b5b97da4d0d"
		}
	],
	"paymentMethods": [
		{
			"code": "EF",
			"name": "EFECTIVO",
			"amount": 5000,
			"paymentMethodsInfo": []
		}
	],
	"documentInfo": [
		{
			"key": "DATOS DE LA OPERACIÓN",
			"value": "N° TERMINAL 74 N° TRANSACCIÓN 16 TIENDA T1",
			"_id": "6414898c45935b5b97da4d0f"
		},
		{
			"key": "CANTIDAD DE ARTÍCULOS",
			"value": "1",
			"_id": "6414898c45935b5b97da4d10"
		},
		{
			"key": "OPERADOR",
			"value": "Gaston",
			"_id": "6414898c45935b5b97da4d11"
		}
	]
    }}