-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.d.ts
55 lines (45 loc) · 1.26 KB
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
declare namespace finanzamt {
interface Finanzamt {
readonly buFaNr: string;
readonly name: string;
readonly hausanschrift?: Hausanschrift;
readonly tel?: string;
readonly fax?: string;
readonly mail?: string;
readonly url?: string;
}
interface Hausanschrift {
readonly strasse: string;
readonly hausNr?: string;
readonly hausNrZusatz?: string;
readonly plz: string;
readonly ort: string;
}
}
// See https://github.com/typescript-eslint/typescript-eslint/issues/1856.
// eslint-disable-next-line no-redeclare
declare const finanzamt: {
/**
Get information about a German tax office (*Finanzamt*).
@param bundesfinanzamtsnummer - German federal tax office number (*Bundesfinanzamtsnummer*).
@returns A Finanzamt object.
@example
```
import finanzamt = require('finanzamt');
finanzamt('1131');
```
*/
(bundesfinanzamtsnummer: string): finanzamt.Finanzamt;
/**
Get information about a German tax office (*Finanzamt*).
@param steuernummer - German tax number (*Steuernummer*) in the national format.
@returns A Finanzamt object.
@example
```
import finanzamt = require('finanzamt');
finanzamt('1121081508150');
```
*/
(steuernummer: string): finanzamt.Finanzamt;
};
export = finanzamt;