Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in exempt tax rate totals calculation #316

Open
samlown opened this issue Jul 18, 2024 · 0 comments
Open

Bug in exempt tax rate totals calculation #316

samlown opened this issue Jul 18, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@samlown
Copy link
Collaborator

samlown commented Jul 18, 2024

Given the following document:

$schema: "https://gobl.org/draft-0/bill/invoice"
uuid: "328f20c8-a0ac-11ee-bb1d-e6a7901137ed"
currency: "EUR"
issue_date: "2023-12-18"
series: "EXPORT-X"
code: "0002"

supplier:
  tax_id:
    country: "ES"
    code: "B98602642" # random
  name: "Provide One S.L."
  emails:
    - addr: "billing@example.com"
  addresses:
    - num: "42"
      street: "San Frantzisko"
      locality: "Bilbo"
      region: "Bizkaia"
      code: "48003"
      country: "ES"

customer:
  tax_id:
    country: "NL"
  name: "Sample End-Consumer"
  identities:
    - key: "es-passport"
      code: "123456789"

lines:
  - quantity: 20
    item:
      name: "Development services"
      price: "90.00"
      unit: "h"
    discounts:
      - percent: "10%"
        reason: "Special discount"
    taxes:
      - cat: VAT
        ext:
          es-tbai-product: "services"
          es-tbai-exemption: "RL"

notes:
  - key: "general"
    text: "Some random description"

Unless rate: exempt is included in the line's taxes, the totals will not be calculated.

@samlown samlown added the bug Something isn't working label Jul 18, 2024
@samlown samlown self-assigned this Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant