Skip to content

Fix - owner tip on 11.1; Task 178 service goods#677

Open
AVPavel wants to merge 1 commit into
mainfrom
fix-178-service-charge
Open

Fix - owner tip on 11.1; Task 178 service goods#677
AVPavel wants to merge 1 commit into
mainfrom
fix-178-service-charge

Conversation

@AVPavel
Copy link
Copy Markdown
Contributor

@AVPavel AVPavel commented May 28, 2026

Description

When a POS sends a charge item with Tip ChargeItemCase and a taxable VAT rate on a PointOfSaleReceipt (invoice type 11.1), the middleware was mapping it to category1_95 (Other Income Information). AADE rejects this combination with error 313category1_95 is forbidden on invoice type 11.1.

The fix adds a guard in GetIncomeClassificationCategoryType: when owner/company tip is detected on a Receipt type, the category is remapped to category1_3 (Provision of Services Income), which is allowed on 11.1. The VAT rate and E3_561_007 classification type are preserved.

The fix does not affect:

  • Owner Tip on invoice types (1.x, 2.x) — category1_95 remains correct there
  • Owner Tip with V=8 (employee tip) — separate concern, not in scope for this fix
  • Service charge — was already working correctly, no change

Changes in connection with #178 to ensure correct semantics.

@AVPavel AVPavel requested a review from a team as a code owner May 28, 2026 11:33
@github-actions github-actions Bot added market-gr Related to the greek market area-tests Affects the test labels May 28, 2026
@StefanKert StefanKert added area-sign Affects the signing endpoint and removed area-tests Affects the test labels May 29, 2026
@github-actions github-actions Bot added the area-tests Affects the test label May 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-sign Affects the signing endpoint area-tests Affects the test market-gr Related to the greek market

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants