Untitled

mail@pastecode.io avatar
unknown
json
2 years ago
1.5 kB
3
Indexable
Never
{
    "requestCredential": {
        "companyCode": "FEMSA",
        "storeCode": "coke3",
        "terminalCode": "CKTT3"
    },
	 "customer": {
		"identificationNumber": "LOYG850712CQ0",
		"taxCategory": 605,
		"billingEmail": "wilmari.carvajal@napse.global",
		"businessName": "GABRIELA LOPEZ YEBRA",
		"fiscalAddress": "los campos 123",
		"postalCode": "07340"
	 },
		"fiscalDocument": {
        "internalId": "469",
        "conceptCode": "S01",
        "invoiceType": "E",
        "saleCondition": "PUE",
        "currency": "MXN",
        "currencyChange": 0.00,
          
        "invoiceDate": "2022-12-06T16:02:50.233Z",
        "electronicInvoice": false,
		"items": [
			{
				"name": "Tajini",
				"qty": 1,
				"sku": "666tjn654mxc4567k",
				"um": "KGM",
                "taxCode":2, 
				"tax": 0.16,
                "taxAmount": 16.0,
                "internalTax": 0.00,
				"unitPrice": 100.00,
				"totalPrice": 100.00,
				"code": "50435213",
                "action": "R",
				"promotions": [
					{
						"scope": "0"
					}
				]
			}
		],
         "relatedTaxes": [
		{
			"amount": 16.00,
			"baseAmount": 100.00,
			"code": 2,
			"name": 0.16
		}
	],
        "relatedInvoices": [
        {
            "relationInvoice": 1,
            "ffuid": "1234"
        }
    ],

	"subtotalAmount": 100.00,
	"discountAmount": 0.0,
	"totalAmount": 116.00,
	"orderNumber": 321,
	"operator": "ws123",
	"optionals": [],
	"benefits": []
	}
}'