Internal (Inter-Brand) Invoices — business view

Technical trace: Internal Invoices

1. Business Summary

Inter-brand or inter-branch invoices documenting internal chargebacks, with explicit approval workflow before SAP sync.

2. Business Value

Inter-company allocation, profitability analysis.

3. Users / Stakeholders

Finance, executives, approvers.

4. Workflows

  • Create Internal Invoice with task and expense line items.
  • Approval gate before SAP sync.
  • SAP sync posts the IC transaction.

5. Sub-Features

  • IC branch routing logic (depending on branch vs. customer brand).

6. Business Rules

  • Issue date must meet SAP eligibility threshold.
  • Approval required before sync.

7. Data Entities

Internal Invoice, Tasks, Expenses, Approval Status.

8. Entry Points

  • Finance internal invoice screens; common submit; SAP sync.

9. Inputs & Outputs

  • Inputs: tasks, expenses, approvals.
  • Outputs: IC records, SAP IDs.

10. Integrations

  • SAP.

11. Calculations / Logic

  • Aggregation of line items.

12. Status Lifecycle

  • Draft → submitted → approved → SAP-posted.

13. Permissions

  • Finance + approvers, brand-scoped.

14. Reports & KPIs

  • IC volumes, approval cycle time.

15. Risks & Observations

  • Approval can be bypassed if status is not validated upstream.

16. Source Code Evidence

  • app/Plugin/finance/Model/{InternalInvoice, InternalInvoicesTask, InternalInvoicesExpense}.php.

← Deep dives index