福途教育网
专业的教育资讯网站

当前位置:福途教育网 > 会计师 > 正文

补缴上年度增值税分录(补交上年度增值税涉及所得税调整吗)

时间:2023/7/25 9:10:23 编辑:福途教育 标签:会计师

2023年【会计师】申请条件/费用/专业咨询 >>

会计师申请条件是什么?会计师费用是多少?会计师专业都有哪些?

点击咨询

    本文解答了关于《补缴上年度增值税分录》相关内容,同时关于1、补缴上年增值税怎么做账,2、补交上年度的增值税,3、补缴去年的增值税的账务处理,4、补交上年度增值税涉及所得税调整吗,5、补交上年度增值税,怎么做账,的相关问答本篇文章福途教育网小编也整理了进来,希望对您有帮助。

    补缴上年度增值税分录(补交上年度增值税涉及所得税调整吗)

    补缴上年度增值税分录

    private static void RegisterVatPaymentForLastFinYearVoucher(string companyCode, string lastFinYear)

    {

    try

    {

    CurrentCompanyCompanyCode = companyCode;

    CurrentUserId = _userId;

    BusinessInfo businessInfo = new BusinessInfo();

    businessInfo.Add(XData.get("KR_FzVATPaymentForLastFinYearVoucher"));

    U8Business info = new U8Business

    {

    BusinessInfo = businessInfo,

    IsAudit = false,

    IsView = false,

    IsLock = false

    };

    new U8Login.clsLogin().Login(ref _operId, ref domain, _userId, _pwd, _server, _dataBaseName, _subId);

    CheckPeriodUTL.CheckCurrentPeriod( ref info);

    string strVouchDate = GetVoudcherDateByParam(lastFinYear);

    if (!string.IsNullOrEmpty(strVouchDate))

    {

    info.PVouchDate = DateTime.Parse(strVouchDate);

    }

    int vouchId;

    if (info.Add(ref _operId, ref domain))

    {

    vouchId = info.VouchId;

    new U8Login.clsLogin().Logout(ref _operId, ref domain);

    info.IsView = true;

    info.IsAudit = true;

    if (info.Audit(ref _operId, ref domain))

    {

    new U8Login.clsLogin().Logout(ref _operId, ref domain);

    LogHelper.WriteLog("日志信息:", string.Format("[{0}]:流水号{1}补缴上年度增值税凭证生成成功!", companyCode, vouchId));

    }

    else

    {

    LogHelper.WriteLog("日志信息:", string.Format("[{0}]:流水号{1}补缴上年度增值税凭证审核失败!", companyCode, vouchId));

    }

    }

    else

    {

    LogHelper.WriteLog("日志信息:", string.Format("[{0}]:补缴上年度增值税凭证制单失败!", companyCode));

    }

    }

    catch (Exception ex)

    {

    LogHelper.WriteLog("错误信息:", string.Format("[{0}]:补缴上年度增值税凭证生成失败,异常信息:{1}", companyCode, ex.Message));

    }

    }

    #endregion

    #region GetVoudcherDateByParam

    ///

    /// 根据参数获取单据日期

    ///

    /// 公司编码

    /// 最后结账的会计年度

    private static string GetVoudcherDateByParam(string lastFinYear)

    {

    string prestFinYearEndDate =(int.Parse(lastFinYear) - 1).ToString() + "-12-" + GetDayByYear(lastFinYear);

    return prestFinYearEndDate;

    }

    #endregion

    #region GetDayByYear

    ///

    /// 根据会计年返回当前默认月最后一天

    ///

    /// 会计年

    /// 月最后一天

    private static string GetDayByYear(string year)

    {

    string retVal;

    if (int.Parse(year) % 4 == 0 && int.Parse(year) % 100 != 0

    int.Parse(year) % 400 == 0)

    {

    //闰年

    retVal = "29";

    }

    else

    {

    //平年

    retVal = "28";

    }

    retVal=string.IsNullOrEmpty(retVal)?"28":retVal;

    return retVal;

    }

    #endregion

    }

    }

    总结:以上是编辑:【燕甚冬】整理及AI智能原创关于《

    补缴上年度增值税分录

    》优质内容解答希望能帮助到您。

以上手机版 补缴上年度增值税分录(补交上年度增值税涉及所得税调整吗) 小编为您整理补缴上年度增值税分录(补交上年度增值税涉及所得税调整吗)的全部内容

点击查看 会计师 更多内容

热门推荐

最新文章