Untitled

mail@pastecode.io avatar
unknown
json
a year ago
2.4 kB
1
Indexable
Never
{
    "requestCredential": {
        "companyCode": "{{companyCode}}",
        "storeCode": "{{storeCode}}",
        "terminalCode": "{{terminalCode}}"
    },
	"customer": {
		"identificationNumber": "LOYG850712CQ0",
		"taxCategory": 605,
		"billingEmail": "wilmari.carvajal@napse.global",
		"businessName": "GABRIELA LOPEZ YEBRA",
		"fiscalAddress": "los campos 123",
		"postalCode": "07340"
	 },
	    "fiscalDocument": {
        "internalId": "{{internalId}}",
        "conceptCode": "S01",
        "invoiceType": "E",
        "saleCondition": "PUE",
        "currency": "MXN",
        "currencyChange": 0.00,
          
        "invoiceDate": "{{invoiceDate}}",
        "electronicInvoice": true,
        "items": [
            {
                "name": "Tajini",
                "qty": 1,
                "sku": "666tjn654mxc4567k",
                "um": "KGM",
                "taxCode": 2,
                "tax": 0.16,
                "taxAmount": 16.0,
                "internalTax": 0.00,
                "unitPrice": 100.0,
                "totalPrice": 100.0,
                "code": "50435213",
                "action": "R",
                "promotions": [
                    {
                        "scope": "0",
                        "taxAmount": 0.00,
                        "percent": 0.00,
                        "amount": 0.00,
                        "name": "AAA",
                        "code": 0,
                        "internalTax": 0
                    }
                ]
            }
        ],
        "amountOtherTaxes": 0.00,
        "exemptAmount": 0.00,
        "nonTaxedAmount": 0.00,
        "amountIVA": 16.00,
        "taxedAmount": 0.00,
        "relatedTaxes": [
            {
                "amount": 16.0,
                "baseAmount": 100.0,
                "code": 2,
                "name": 0.16
            }
        ],

    "relatedInvoices": [
        {
            "relationInvoice": 1,
            "invoiceType": "I",
            "pointOfSale": "{{lastPointOfSale}}",
            "invoiceNumber": "{{lastInvoiceNumber}}"
        }
    ],
        "subtotalAmount": 100.0,
        "discountAmount": 0.0,
        "totalAmount": 116.0,
        "orderNumber": 321,
        "operator": "ws123",
        "optionals": [],
        "benefits": []
}
}