Skip to content

Correct invoice approval GL posting to standard accounting #35

Description

@dotnetspark

Summary

The current invoice approval flow posts GL entries in the reverse of standard accrual accounting.

Problem

The implementation currently debits AP_CONTROL and credits the expense account during invoice approval.

Expected behavior

For a standard approved vendor invoice, approval should:

  • debit the vendor-category-derived expense account
  • credit AP_CONTROL

Scope

  • update the GL posting rule
  • update approval tests
  • update repo-owned specs/docs/ADR references to match the corrected accounting behavior
  • preserve original_assignment.md as the historical prompt source

Notes

This intentionally prioritizes accounting correctness over the original interview prompt's reversed debit/credit example.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions