预收款开具发票时的会计分录

时间:2023/5/20 10:39:26 编辑:福途教育 标签:会计师

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

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

点击咨询

    本文解答了关于《预收款开具发票时的会计分录》相关内容,同时关于的相关问答本篇文章福途教育网小编也整理了进来,希望对您有帮助。

    预收款开具发票时的会计分录

    预收款开具发票时的会计分录

    ///

    ///[C#]

    ///if (ET.ProjectAmount > 0 )

    ///{

    /// if (ReceiptObjectType == ReceiptObjectType.Customer)

    /// {

    /// var shenQingNo =await BalanceOfReceipt.AddBalanceOfReceiptAsync(

    /// new BalanceOfReceipt()

    /// {

    /// ObjectType = BalanceObjectType.客户,

    /// ObjectId = ET.CustomerId.Value,

    /// ProjectId = ET.ProjectId.Value,

    /// PaymentName = string.Empty,

    /// FeiYongName = string.Empty,

    /// BeforeBalanceAmount = oldBalanceDeposit,

    /// Amount = ET.ProjectAmount.Value,

    /// AfterBalanceAmount = newBalanceDeposit,

    /// BalanceType = ReceiptBalanceType.存入,

    /// Remark = "客户" + ET.CustomerName + "预收款存入,开票流水号:" + ET.SerialNo

    /// });

    /// if (shenQingNo < 0)

    /// {

    /// return new Tuple(false, "预收款流水分录保存失败!");

    /// }

    /// }

    ///}

    ///

    /// //预收款会计分录

    ///if (ET.BalanceAmount > 0 && ReceiptObjectType == ReceiptObjectType.Customer)

    ///{

    /// var shenQingNo =await BalanceOfReceipt.AddBalanceOfReceiptAsync(

    /// new BalanceOfReceipt()

    /// {

    /// ObjectType = BalanceObjectType.客户,

    /// ObjectId = ET.CustomerId.Value,

    /// ProjectId = ET.ProjectId.Value,

    /// PaymentName = string.Empty,

    /// FeiYongName = string.Empty,

    /// BeforeBalanceAmount = oldBalanceDeposit,

    /// Amount = ET.BalanceAmount.Value,

    /// AfterBalanceAmount = newBalanceDeposit,

    /// BalanceType = ReceiptBalanceType.存入,

    /// Remark = "客户" + ET.CustomerName + "预收款存入,开票流水号:" + ET.SerialNo

    /// });

    /// if (shenQingNo < 0)

    /// {

    /// return new Tuple(false, "预收款流水分录保存失败!");

    /// }

    ///}

    //if (ET.BalanceAmount > 0 && ReceiptObjectType == ReceiptObjectType.Customer)

    //{

    // var shenQingNo = BalanceOfReceiptService.AddBalanceOfReceipt(

    // new BalanceOfReceipt()

    // {

    // ObjectType = BalanceObjectType.客户,

    // ObjectId = ET.CustomerId.Value,

    // ProjectId = ET.ProjectId.Value,

    // PaymentName = string.Empty,

    // FeiYongName = string.Empty,

    // BeforeBalanceAmount = oldBalanceDeposit,

    // Amount = ET.BalanceAmount.Value,

    // AfterBalanceAmount = newBalanceDeposit,

    // BalanceType = ReceiptBalanceType.存入,

    // Remark = "客户" + ET.CustomerName + "预收款存入,开票流水号:" + ET.SerialNo

    // });

    // if (shenQingNo < 0)

    // {

    // return new Tuple(false,"预收款流水分录保存失败!");

    // }

    //}

    }

    //入账

    if (purType== PurchaseType.部分入账)

    {

    //var details = _qtDetailService.GetQTODetailsByQTId(ET.Id);

    //int receiptId = ET.Id;

    // var receiptId = _receiptService.GetReceiptIdByCode(ET.SerialNo);

    #region 入账分录[付款项目

    金额

    负数]

    //if (ReceiptObjectType == ReceiptObjectType.Customer && IsDebt == "1")

    //{

    // var shenQingNo =await BalanceOfReceipt.AddBalanceOfReceiptAsync(

    // new BalanceOfReceipt()

    // {

    // ObjectType = BalanceObjectType.客户,

    // ObjectId = ET.CustomerId.Value,

    // ProjectId = ET.ProjectId.Value,

    // PaymentName = "客户欠款",

    // FeiYongName = string.Empty,

    // BeforeBalanceAmount = 0,

    // Amount = ET.TotalAmount.Value,

    // AfterBalanceAmount = ET.TotalAmount.Value,

    // BalanceType = ReceiptBalanceType.支出,

    // Remark = "客户" + ET.CustomerName + "欠款入账,发票流水号:" + ET.SerialNo

    // });

    // if (shenQingNo < 0)

    // {

    // return new Tuple(false, "欠款入账流水分录保存失败!");

    // }

    //}

    #endregion

    #region 入账分录[付款项目

    金额]

    //foreach (var detail in details)

    //{

    // if (detail.AccountType == 9)

    // {

    // var shenQingNo =await BalanceOfReceipt.AddBalanceOfReceiptAsync(

    // new BalanceOfReceipt()

    // {

    // ObjectType = BalanceObjectType.客户,

    // ObjectId = ET.CustomerId.Value,

    // ProjectId = ET.ProjectId.Value,

    // PaymentName = detail.AccountingCode + ":" + detail.AccountingName,

    // FeiYongName = string.Empty,

    // BeforeBalanceAmount = 0,

    // Amount = detail.AccountAmount,

    // AfterBalanceAmount = detail.AccountAmount,

    // BalanceType = ReceiptBalanceType.支出,

    // Remark = "客户" + ET.CustomerName + "发票明细:" + detail.AccountingCode +

    // ",发票流水号:" + ET.SerialNo + ")"

    // });

    // if (shenQingNo < 0)

    // {

    // return new Tuple(false, "明细入账流水分录保存失败!");

    // }

    // }

    //}

    #endregion

    }

    #endregion

    return new Tuple(true,"记账成功!");

    }

    #endregion

    }

    }

    总结:以上是编辑:【姚沁蕾】整理及AI智能原创关于《

    预收款开具发票时的会计分录

    》优质内容解答希望能帮助到您。
了解 【会计师】更多资讯
以上手机版 预收款开具发票时的会计分录 小编为您整理预收款开具发票时的会计分录的全部内容
上一篇:2023教师考试作文万能实用素材(教师考试作文万能模板范文)
下一篇:二级建造师考市政还是建筑好哪个含金量高

热门推荐

最新文章