Factura Electrónica


Solicitud
{
    "environment": "dev",
    "method": "FECAESolicitar",
    "wsid": "wsfe",
    "params": {
        "Auth": {
            "Token": "string",
            "Sign": "string",
            "Cuit": "long"
        },
        "FeCAEReq": {
            "FeCabReq": {
                "CantReg": "integer",
                "PtoVta": "integer",
                "CbteTipo": "integer"
            },
            "FeDetReq": {
                "FECAEDetRequest": [
                    {
                        "Concepto": "integer",
                        "DocTipo": "integer",
                        "DocNro": "long",
                        "CbteDesde": "long",
                        "CbteHasta": "long",
                        "CbteFch": "string",
                        "ImpTotal": "decimal",
                        "ImpTotConc": "decimal",
                        "ImpNeto": "decimal",
                        "ImpOpEx": "decimal",
                        "ImpTrib": "decimal",
                        "ImpIVA": "decimal",
                        "FchServDesde": "string",
                        "FchServHasta": "string",
                        "FchVtoPago": "string",
                        "MonId": "string",
                        "MonCotiz": "decimal",
                        "CanMisMonExt": "string",
                        "CondicionIVAReceptorId": "integer",
                        "CbtesAsoc": {
                            "CbteAsoc": [
                                {
                                    "Tipo": "integer",
                                    "PtoVta": "integer",
                                    "Nro": "long",
                                    "Cuit": "string",
                                    "CbteFch": "string"
                                }
                            ]
                        },
                        "Tributos": {
                            "Tributo": [
                                {
                                    "Id": "short",
                                    "Desc": "string",
                                    "BaseImp": "decimal",
                                    "Alic": "decimal",
                                    "Importe": "decimal"
                                }
                            ]
                        },
                        "Iva": {
                            "AlicIva": [
                                {
                                    "Id": "integer",
                                    "BaseImp": "decimal",
                                    "Importe": "decimal"
                                }
                            ]
                        },
                        "Opcionales": {
                            "Opcional": [
                                {
                                    "Id": "string",
                                    "Valor": "string"
                                }
                            ]
                        },
                        "Compradores": {
                            "Comprador": [
                                {
                                    "DocTipo": "integer",
                                    "DocNro": "long",
                                    "Porcentaje": "decimal"
                                }
                            ]
                        },
                        "PeriodoAsoc": {
                            "FchDesde": "string",
                            "FchHasta": "string"
                        },
                        "Actividades": {
                            "Actividad": [
                                {
                                    "Id": "long"
                                }
                            ]
                        }
                    }
                ]
            }
        }
    }
}
Respuesta
{
    "FECAESolicitarResult": {
        "FeCabResp": {
            "Cuit": "long",
            "PtoVta": "integer",
            "CbteTipo": "integer",
            "FchProceso": "string",
            "CantReg": "integer",
            "Resultado": "string",
            "Reproceso": "string"
        },
        "FeDetResp": {
            "FECAEDetResponse": [
                {
                    "Concepto": "integer",
                    "DocTipo": "integer",
                    "DocNro": "long",
                    "CbteDesde": "long",
                    "CbteHasta": "long",
                    "CbteFch": "string",
                    "Resultado": "string",
                    "Observaciones": {
                        "Obs": [
                            {
                                "Code": "integer",
                                "Msg": "string"
                            }
                        ]
                    },
                    "CAE": "string",
                    "CAEFchVto": "string"
                }
            ]
        },
        "Events": {
            "Evt": [
                {
                    "Code": "integer",
                    "Msg": "string"
                }
            ]
        },
        "Errors": {
            "Err": [
                {
                    "Code": "integer",
                    "Msg": "string"
                }
            ]
        }
    }
}