Untitled

mail@pastecode.io avatar
unknown
json
2 years ago
1.4 kB
0
Indexable
Never
{
	"requestCredential": {
		"companyCode": "{{companyCode}}",
		"storeCode": "{{storeCode}}",
		"terminalCode": "{{terminalCode}}"
	},
	"customer": {
		"documentType": 2,
		"identificationNumber": 222222222222,
		"taxCategory": "01",
		"billingEmail": "wilmari.carvajalnapse.global",
		"personalEmail": "wilmari.carvajalnapse.global",
		"businessName": "consumidor final"
	},
	"fiscalDocument": {
		"internalId": "{{internalId}}",
		"invoiceType": "1",
		"saleCondition": "1",
		"currency": "COP",
		"currencyChange": 0.01,
		"invoiceDate": "{{invoiceDate}}",
		"items": [
            {
			    "name": "bombombum colombina",
				"qty": 1,
				"sku": "123bbb4567clm4567k",
                "um": "UN",
				"tax": 19,
				"taxAmount": 19,
				"internalTax": 0.0,
				"discount": 0.0,
				"unitPrice": 100,
				"totalPrice": 119
			
			}
		],
	"relatedTaxes": [
		{
            "name" : "IVA 19",
			"amount": 19,
			"baseAmount": 100,
			"code": 19
		}
	],
    "paymentMethods": [{
            "code": "10",
            "name": "EFECTIVO",
            "surcharge": 0,
            "amount": 119,
            "paymentMethodsInfo": []
    }],
	"subtotalAmount": 100,
	"ticketDiscount": 0.0,
	"discountAmount": 0.0,
	"nonTaxedAmount": 0.0,
	"taxedAmount": 100,
	"amountIVA": 19,
	"amountOtherTaxes": 0.0,
	"exemptAmount": 0.00,
	"totalAmount": 119
}
}