Skip to content

In reports, Taxes, Withholdings with negative amounts. #1308

Description

@Javiermona

Describe the bug
When I apply a withholding on the invoice, which deducts an amount from the total, the tax report should display this amount. This value represents the withholding made by the customer, which the customer then pays to the tax authorities.

Expected behavior
The withholding amount is expected to appear (not as a negative value), but this amount should not be added to the VAT amount. I believe we should calculate totals by item and not sum everything together. The VAT amount is paid by the issuer of the invoice, but the withholding is paid by the customer; they are two different things. If it is negative, it should be in a separate section, such as "Withheld Amounts," and listed separately.

Screenshots
image

Please complete the following information:

  • Crater version:
  • PHP version:
  • Database type and version:

Optional info

  • OS: [e.g. Ubuntu]
  • Browser: [e.g. chrome, safari]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions