Conversation
|
@basawaraj-fosserp Would love to discuss this at our next meeting |
|
@basawaraj-fosserp Adjacent, potentially overlapping use case: commissions payable. Potentially appropriate for Sales Partner (Supplier) or Sales Person (Employee or Supplier) as party types. Also potentially freight payable. |
|
There's one TODO left as of 6/4/24, which is to pull in the supplier default payment terms and payment due date. Normally this would have a a "days after month end" style of payment, we can use 25 days for testing purposes. |
fproldan
left a comment
There was a problem hiding this comment.
I have just a couple of questions
|
Todos as of 6/18/24:
|
outstanding amount is not updated some other warnings need to be defeated
outstanding amount is not updated some other warnings need to be defeated
📝 Draft Changelog EntryChangelog EntryThis update adds support for managing sales tax payable amounts through the Check Run system. Sales taxes and charges can now be tracked as outstanding payables and processed through check runs, similar to other payable accounts. The system includes configuration options to control which document types (such as Sales Invoices and Journal Entries) are eligible for tax payable processing. When a check run is executed for tax payables, it generates a payment entry that records the tax payment and updates the outstanding amount to reflect the paid balance. Documentation has been added to explain the sales tax payable workflow and configuration requirements. This changelog entry was automatically generated by the Changelog Generator Action. |
|
@HKuz Finally ready to go, please review, docs first |
|
@HKuz I can pick that back up, good catch |
|
@HKuz Fixed |
|
Looks like the root of the issue happens during In our override for Looks like if I set "against_voucher" to the tax row name and "against_voucher_type" to "Sales Taxes and Charges", it avoids the issue above. I want to run some more tests to see the Payment Ledger impact - when Check Run remits the tax amount, should the Accounts Payable report match them and remove? |
|
Latest push fixes two bugs:
si_os_amount_bug.movBUG: This happened because the GL entry being created for the taxes, has a Payable account and the FIX: our override for I had to adjust the tests a bit to find the correct GL Entries with this change.
BUG: depending on the Settings checks I had (include JEs / include Taxes), I wouldn't see any results in Check Run sometimes. Turns out the ref_no and name fields in the query have to be in exact same order of others it's union'ing with, because sometimes it would "flip" the data in those fields, then falsely trigger the "not o/s or cancelled" check, removing them from result FIX: make order same as other queries that combine via union |



#218

Sales Taxes and Charges, before being paid via Check Run (Outstanding Amount is $8.12)
Example Check Run

Example config (Sales Invoices and JEs allowed, other doctypes shouldn't be)

Example Payment Entry / output of Check Run

Satisfied Sales Tax Payable (Outstanding Amount is $0.00)
