Untitled

mail@pastecode.io avatar
unknown
json
2 years ago
3.6 kB
1
Indexable
Never
{

    "requestCredential": {

        "companyCode": "napse",

        "storeCode": "SMX02",

        "terminalCode": "TMXW1"

    },

    "customer": {

        "identificationNumber": "9876543212345",

        "taxCategory": 612,

        "businessName": "juancho perez",

        "fiscalAddress": "los campos 123"

    },

    "fiscalDocument": {

        "internalId": "mex1",

        "conceptCode": "G01",

        "invoiceType": "I",

        "saleCondition": "PUE",

        "currency": "MXN",

        "currencyChange": 0.00,

        "ticketDiscountAmount": 0.00,

        "invoiceDate": "2022-11-10T13:07:43.773Z",

        "electronicInvoice": false,

        "items": [

            {

                "name": "Tajini",

                "qty": 1,

                "sku": "666tjn654mxc4567k",

                "um": "KGM",

                "taxCode": 2,

                "tax": 16,

                "taxAmount": 16.0,

                "internalTax": 0.00,

                "unitPrice": 100.0,

                "totalPrice": 116.0,

                "code": "50435213",

                "action": "S",

                "promotions": [

                    {

                        "scope": "",

                        "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": 0.00,

        "taxedAmount": 0.00,

        "relatedTaxes": [

            {

                "amount": 16.0,

                "baseAmount": 100.0,

                "code": 2,

                "aliquot": 0.00,

                "name": "tasa"

            }

        ],

        "relatedOtherTaxes": [

            {

                "amount": 0.00,

                "baseAmount": 0.00,

                "code": 0,

                "aliquot": 0.00,

                "name": "IVA"

            }

        ],

        "internalNumber": "001",

        "pointOfSale": "mx123",

        "invoiceNumber": "00000100",

        "channelCode": "mobo",

        "subTotalAmount": 116.0,

        "discountAmount": 0.0,

        "totalAmount": 116.0,

        "orderNumber": 321,

        "operator": "ws123",

        "relatedInvoices": [],

        "optionals": [],

        "benefits": []

    }

}