每月账单支付工作流程

发布于 2024-07-27 21:21:22 字数 105 浏览 4 评论 0原文

我正在尝试在现有的基于网络的应用程序中启用每月计费模块(只需键入交易,无需支付网关),并且我正在寻找账单支付工作流程的任何资源/信息,或者是否有任何针对账单支付工作流程的通用标准或规则或最佳实践?

I am trying enable monthly billing module(just key the transactions no payment gateways) in the existing web based application and i am looking for any resource/info for bill payment workflow or is there any general standard or rule or best practice for bill payment workflow ?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

倾城月光淡如水﹏ 2024-08-03 21:21:22

账单支付似乎是一个简单的话题,但一旦你开始考虑细节,范围就会扩大。

最简单的账单支付过程涉及两个数据实体:账户(又名客户、客户等)和分类账。 分类账记录客户账户的贷方和借方。 借方是发票以及任何增加客户余额的文件。 信用证是指减少客户余额的付款和任何文件。 虽然也有例外,但让我们保持简单。

贷方和借方的总和就是客户的账户余额。

您的系统的一部分应该产生费用,无论是订阅、商品购买等。

下面显示了一个示例表结构:

Customer Table
Id     Name                 Balance
1      Smith                1000.00
2      Jones                   0.00

Ledger Table
Id    CustomerId      Type   Description                     Amount
1     1               D      Services for June '09           1000.00
2     2               D      Subscription for Jul '09          50.00
3     2               C      Payment MC ****2908              -50.00

当然,这与您想要的一样简单。

以下是一些需要考虑的其他事项。

桌子上的触发器可用于保持客户的余额同步。
如果您需要知道哪些付款适用于哪些发票,那么您需要一个额外的表。

大多数大型和不太大型的会计系统都为此过程维护两个部分:文档和分类帐。

这些单据由发票、贷项凭证、销售收据、退款和付款等实体组成。 还有其他的。

根据文档的不同,分类账会受到不同方式的影响。

发票:向客户收取费用,但不收取款项,这是您应得的,因此只有一个分类帐分录 - 借记发票金额

贷项凭证:贷记客户但不退还款项,您欠了钱,因此有只有一个分类账条目 - 贷项凭证金额的贷方

销售收据:向客户收取费用并收款,最终结果是此活动的余额为零,因此有两个分类账条目: 销售金额的借方并将付款净额抵扣为零。

付款:记录从客户处收取的款项,因此只有一个分类帐条目 - 付款金额的贷方。

我希望这能解决您的问题。 如果没有,请告诉我,因为这些年来我已经编写了十几个自定义会计系统。

Bill payment seems like a simple topic, but can broaden once you start considering the details.

The bill payment process at its simplest involves two data entities: an account (aka customer, client, etc.), and a ledger. The ledger records credits and debits to the customer's account. Debits are the invoices, and any document which increases a customer's balance. Credits are the payments and any document which decreases a customer's balance. There are exceptions to this, but lets keep it simple.

The sum of credits and debits are the customer's account balance.

One part of your system should be generating charges be they subscriptions, merchandise purchases, etc.

An example table structure is shown below:

Customer Table
Id     Name                 Balance
1      Smith                1000.00
2      Jones                   0.00

Ledger Table
Id    CustomerId      Type   Description                     Amount
1     1               D      Services for June '09           1000.00
2     2               D      Subscription for Jul '09          50.00
3     2               C      Payment MC ****2908              -50.00

Of course this is about as simple as you might want to get.

Here are some other things to consider.

Triggers on the tables can be used to keep the customer's balance in sync.
If you need to know what payments are applied to what invoices then you need an additional table.

Most larger and not-so-large accounting systems maintain two parts for this process: documents and ledgers.

The documents consist of entities such as Invoices, Credit Memos, Sales Receipts, Refunds, and Payments. There are others.

Depending on the document the ledger is impacted in different ways.

Invoices: charge a customer but do not collect money, it is due to you so there is only one ledger entry- a debit for the invoice amount

Credit Memos: credit a customer but do not refund the money, you owe it back so there is only one ledger entry- a credit for the credit memo amount

Sales Receipts: charge a customer and collect money, the net effect is to have zero balance due from this activity and so there are two ledger entries: a debit for the amount of the sale and a credit for the amount of the payment netting to zero.

Payments: record the collection of money from a customer therefore only one ledger entry- a credit for the payment amount.

I hope this addresses your quesetion. If not let me know as I have written about a dozen custom accounting systems throughout the years.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文