JSON Factura con IC (Impuesto al consumo departamental nominal)

pexels-chris-f-38966-1283219

Método de envío.

Para el proceso de pruebas de la factura de exportación recuerde

  1. Solicitar el TOKEN
  2. Valide el parámetro de envió para pruebas

        “sMethod”: “classTaxxa.fjDocumentAdd”,

        “jParams”: {

            “wVersionUBL”: 2.1,

            “wEnvironment”: “test”,

El ambiente de producción debe ajustar el parámetro de la siguiente forma:

        “sMethod”: “classTaxxa.fjDocumentAdd”,

        “jParams”: {

            “wVersionUBL”: 2.1,

            “wEnvironment”: “prod”,

				
					{
    "sToken": "0000000000",
    "jApi": {
        "sMethod": "classTaxxa.fjDocumentAdd",
        "jParams": {
            "wFormat": "taxxa.co.dian.document",
            "wVersionUBL": 2.1,
            "wEnvironment": "test",
            "jDocument": {
                "sdocumentprefix": "SETP",
                "wdocumenttype": "Invoice",
                "wdocumenttypecode": "01",
                "spaymentmethod": "10",
                "wpaymentmeans": "1",
                "tissuedate": null,
                "tduedate": "2024-08-02",
                "woperationtype": "10",
                "nprepayment": 0,
                "snotes": "",
                "snotetop": "",
                "wcurrency": "COP",
                "jseller": {
                    "wlegalorganizationtype": "company",
                    "sfiscalresponsibilities": "R-99-PN",
                    "sdocid": "901143082",
                    "sdoctype": "NIT",
                    "ssellername": "PRUEBAS TAXXA COLOMBIA",
                    "scontactperson": "901143082",
                    "semail": "jennifer.montealegre@taxxa.co",
                    "sphone": "3666908",
                    "saddressline1": "CALLE 6 5A-72 PISO 3",
                    "saddresszip": "",
                    "wdepartmentcode": "11",
                    "wtowncode": "11001",
                    "scityname": "Bogotá, D.c."
                },
                "jbuyer": {
                    "wlegalorganizationtype": "person",
                    "sbuyername": "CONSUMIDO  FINAL",
                    "sfiscalresponsibilities": "R-99-PN",
                    "jpartylegalentity": {
                        "wdoctype": "CC",
                        "sdocno": "222222222222",
                        "scorporateregistrationschemename": "CONSUMIDO  FINAL"
                    },
                    "jcontact": {
                        "selectronicmail": "",
                        "stelephone": "",
                        "scontactperson": "CONSUMIDOR  FINAL",
                        "jregistrationaddress": {
                            "saddressline1": "Colombia",
                            "scountrycode": "CO",
                            "wdepartmentcode": "11",
                            "sdepartmentname": "Bogotá",
                            "wprovincecode": "11001",
                            "scityname": "Bogotá, D.c.",
                            "szip": "0"
                        },
                        "jphysicallocationaddress": {
                            "saddressline1": "Colombia",
                            "scountrycode": "CO",
                            "wdepartmentcode": "11",
                            "sdepartmentname": "Bogotá",
                            "wprovincecode": "11001",
                            "scityname": "Bogotá, D.c.",
                            "szip": "0",
                            "wlanguage": "es"
                        }
                    }
                },
                "jextrainfo": {
                    "mivaservices": 0,
                    "musersubtotal": 0,
                    "musertotal": 0,
                    "ssalespersonname": "",
                    "iitemscount": 1
                },
                "jdocumentitems": {
                    "1": {
                        "jextrainfo": {
                            "sbarcode": "87710879"
                        },
                        "sdescription": "VINO GIACONDIXX 750 ML",
                        "sstandarditemidentification": "87710879",
                        "nunitprice": 32000,
                        "nquantity": 1,
                        "wproductcodetype": "999",
                        "jtax": {
                            "jic": {
                                "sname": "IC",  
                                "namount": 1,
                                "nperunitamount": 1,
                                "wunitcode": "NIU",
                                "nbaseunitmeasuere": 1,
                                "nbaseamount": 0
                            }
                        }
                    }
                },
                "rtaxxadocument": "102794237"
            }
        }
    }
}