Untitled

mail@pastecode.io avatar
unknown
json
a year ago
1.7 kB
1
Indexable
Never
{
   "requestCredential":{
        "companyCode": "{{companyCode}}",
        "storeCode": "{{storeCode}}",
        "terminalCode": "{{terminalCode}}"
   },
	"customer": {
		"identificationNumber": "1445110330",
		"taxCategory": "1",
		"billingEmail": "prueba@napse.global",
		"personalEmail": "prueba@napse.global",
        "documentType": "1",
		"businessName": "consumidor final",
        "companyCode": "napse"
	},
	"fiscalDocument": {
		"internalId": "100",
		"invoiceType": "03",
        "saleCondition": "efec",
		"conceptCode": 1,
		"currency": "CLP",
		"currencyChange": 0.01,
		"invoiceDate": "2023-07-20",
		"items": [
		{
			"action": "S",
			"sku": "1012",
			"code": "001",
			"name": "Coca Cola",
			"um": "NAR",
			"qty": 1,
			"tax": 0,
			"taxAmount": 0,
			"internalTax": 0,
			"unitPrice": 15000,
			"promotions": [],
			"discount": 0,
			"totalPrice": 5000,
			"itemInfo": []
		}
	],
	"taxedAmount": 5000,
	"amountIVA": 0,
	"nonTaxedAmount": 0,
	"exemptAmount": 0,
	"amountOtherTaxes": 0,
	"subtotalAmount": 5000,
	"discountAmount": 0,
	"totalAmount": 15000,
    "ticketDiscount": 0.0,
	"relatedTaxes": [
		{
			"code": 0,
			"name": "IVA 0,00",
			"baseAmount": 5000,
			"amount": 0
		}
	],
	"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"
		},
		{
			"key": "CANTIDAD DE ARTÍCULOS",
			"value": "1"
		},
		{
			"key": "OPERADOR",
			"value": "Gaston"
		}
	]
    }}