Untitled

mail@pastecode.io avatar
unknown
json
a year ago
2.6 kB
0
Indexable
Never
{
	"requestCredential": {
		"companyCode": "SANTANDER",
		"storeCode": "TS01",
		"terminalCode": "tt1"
	},
	"customer": {
        "identificationNumber" : 1345659.0,
        "taxCategory" : "01",
        "billingEmail" : "MARI.FA@GMAIL",
        "personalEmail" : "MARI.FA@GMAIL",
        "businessName" : "MARIA FARIAS",
        "city" : "santiago",
        "state": "SANTIAGO",
        "fiscalAddress": "san miguel 123"

	},
	"fiscalDocument": {
		"internalId": "3",
		"invoiceType": 33,
        "saleCondition":"S",
		"currency": "COP",
		"currencyChange": 0.01,
		"invoiceDate": "2023-05-16T14:25:58.400Z",
		"items": [
			{
				"name": "bombombum colombina",
				"qty": 2,
				"sku": "11664819",
                "code":"10",
                "um": "NAR",
				"tax": 19,
				"taxAmount": 34.2,
				"internalTax": 0.0,
				"discount": 20.0,
				"unitPrice": 100,
                "discountedUnitPrice": 200,
				"totalPrice": 200,
				"promotions": [
                    {
                        "scope": "I",
                        "baseAmount":200,
                        "amount": 20,
                        "percent":10,
                        "name": "Descuento Viernes"
                    }
                ]
			},
            {
				"name": "bombombum colombina",
				"qty": 1,
				"sku": "11664819",
                "code":"10",
                "um": "NAR",
				"tax": 19,
				"taxAmount": 17.1,
				"internalTax": 0.0,
				"discount": 10.0,
				"unitPrice": 100,
                "discountedUnitPrice": 100,
				"totalPrice": 100,
				"promotions": [
                    {
                        "scope": "I",
                        "baseAmount":100,
                        "amount": 10,
                        "percent":10,
                        "name": "Descuento Viernes"
                    }
                ]
			}
		],
	"relatedTaxes": [
		{
			"name": "IVA 19",
            "amount": 34.2,
			"baseAmount": 180,
			"code": 19
		}
	],
        "paymentMethods": [
        {
            "code": "10",
            "name": "EFECTIVO",
            "surcharge": 0,
            "amount": 17.1,
            "paymentMethodsInfo": []
        }
    ],
	"subtotalAmount":  200,
	"ticketDiscount": 0.0,
	"discountAmount": 20.0,
	"nonTaxedAmount": 0.0,
	"taxedAmount": 180,
	"amountIVA": 34.2,
	"amountOtherTaxes": 0.0,
	 "exemptAmount": 0.00,
	"totalAmount": 214.2,
	"orderNumber": 321,
	"operator": "ws123",
	"relatedInvoices": [],
	"optionals": [],
	"benefits": []
}
}