public static string CombineTaxPacket(string goodsNoVer, string goodsTaxNo, string taxPre, string taxPreCon, string zeroTax, string cropGoodsNo, string taxDeduction) { if (string.IsNullOrEmpty(goodsTaxNo)) { throw new Exception("税收分类编码为空!"); } string base64 = CombineTaxData(goodsNoVer, goodsTaxNo, taxPre, taxPreCon, zeroTax, cropGoodsNo, taxDeduction); return(XmlCreater.CreateBussinessXml("1100", base64)); }
/// <summary> /// 组织税收分类编码的数据报文 /// </summary> /// <param name="gfmc">买方单位/个人(72 字符)</param> /// <param name="gfdm">买方单位代码/身份证号码(22 字符)</param> /// <param name="gfdz">买方单位/个人地址(80 字符)</param> /// <param name="gfdh">买方电话(20 字符)</param> /// <param name="xfmc">卖方单位/个人(72 字符)</param> /// <param name="xfdm">卖方单位代码/身份证号码(22 字符)</param> /// <param name="xfdz">卖方单位/个人住址(80 字符)</param> /// <param name="xfdh">卖方电话(20 字符)</param> /// <param name="cpzh">车牌照号(20 个字符)</param> /// <param name="djzh">登记证号(20 字符)</param> /// <param name="cllx">车辆类型(40 字符)</param> /// <param name="cjh">车架号/车辆识别代码(23 字符)、英文字母需要大写</param> /// <param name="cpxh">厂牌型号(60 字符)</param> /// <param name="cgsmc">转入地车辆管理所名称(80 字符)</param> /// <param name="hjje">车价合计小写,double 类型,最多 1000000000</param> /// <param name="jypmmc">经营、拍卖单位(80 字符)</param> /// <param name="jypmsh">经营、拍卖单位纳税人识别号(20 字符)</param> /// <param name="jypmyhzh">经营、拍卖单位地址(80 字符)</param> /// <param name="jypmdz">经营、拍卖单位开户银行、账号(120 字符)</param> /// <param name="jypmdh">经营、拍卖单位/电话(20 字符)</param> /// <param name="scmc">二手车市场(80 字符)</param> /// <param name="scsh">二手车市场纳税人识别号(20 字符)</param> /// <param name="scdz">二手车市场地址(80 字符)</param> /// <param name="scyhzh">二手车市场开户银行、账号(120 字符)</param> /// <param name="scdh">二手车市场电话(20 字符)</param> /// <param name="bz">备注(230 字符)</param> /// <param name="kpr">开票人(20 字符)</param> /// <returns></returns> public static string CombineTaxPacket(string gfmc, string gfdm, string gfdz, string gfdh, string xfmc, string xfdm, string xfdz, string xfdh, string cpzh, string djzh, string cllx, string cjh, string cpxh, string cgsmc, double hjje, string jypmmc, string jypmsh, string jypmyhzh, string jypmdz, string jypmdh, string scmc, string scsh, string scdz, string scyhzh, string scdh, string bz, string kpr) { string base64 = CombineTaxData(gfmc, gfdm, gfdz, gfdh, xfmc, xfdm, xfdz, xfdh, cpzh, djzh, cllx, cjh, cpxh, cgsmc, hjje, jypmmc, jypmsh, jypmyhzh, jypmdz, jypmdh, scmc, scsh, scdz, scyhzh, scdh, bz, kpr); return(XmlCreater.CreateBussinessXml("1400", base64)); }