fix(skr.classes.account): Remove incorrect SKR04 automatic account 3300; improve VAT posting validation and test isolation; update readme hints and CI settings
This commit is contained in:
@@ -185,11 +185,12 @@ export class Account extends SmartDataDbDoc<Account, Account> {
|
||||
*/
|
||||
public static isAutomaticAccount(accountNumber: string, skrType: TSKRType): boolean {
|
||||
// SKR03: 1400 (Forderungen), 1600 (Verbindlichkeiten)
|
||||
// SKR04: 1400 (Forderungen), 1600 (Verbindlichkeiten), 3300 (Alternative Verbindlichkeiten)
|
||||
// SKR04: 1400 (Forderungen), 1600 (Verbindlichkeiten)
|
||||
// Note: In SKR04, 3300 is "Fahrzeugkosten" (vehicle costs), NOT an automatic account
|
||||
if (skrType === 'SKR03') {
|
||||
return accountNumber === '1400' || accountNumber === '1600';
|
||||
} else {
|
||||
return accountNumber === '1400' || accountNumber === '1600' || accountNumber === '3300';
|
||||
return accountNumber === '1400' || accountNumber === '1600';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user