-
Notifications
You must be signed in to change notification settings - Fork 111
/
Norwegian_SAF-T_Financial_Schema_v_1.10.xsd
3343 lines (3343 loc) · 159 KB
/
Norwegian_SAF-T_Financial_Schema_v_1.10.xsd
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0"?>
<!-- edited with XMLSpy v2017 rel. 3 sp1 (x64) (http://www.altova.com) by Skatteetaten (Skatteetaten) -->
<xs:schema xmlns="urn:StandardAuditFile-Taxation-Financial:NO" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:doc="urn:schemas-OECD:schema-extensions:documentation" targetNamespace="urn:StandardAuditFile-Taxation-Financial:NO" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.20" id="SAF-T">
<xs:annotation>
<xs:documentation>
<doc:Title>Norwegian SAF-T Financial data</doc:Title>
<doc:Copyright>Skatteetaten</doc:Copyright>
<doc:Version>
<doc:Number>1.20</doc:Number>
<doc:Status>Final version, with minor revision</doc:Status>
</doc:Version>
<doc:Author>SAF-T Working group</doc:Author>
<doc:BasedOn>OECD Standard Audit File - Taxation 2.00</doc:BasedOn>
<doc:ModificationDate>25-11-2020</doc:ModificationDate>
</xs:documentation>
</xs:annotation>
<xs:element name="AuditFile">
<xs:annotation>
<xs:documentation>Root element of the Norwegian SAF-T file.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Header">
<xs:annotation>
<xs:documentation>Overall information about this Standard Audit file.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="HeaderStructure">
<xs:sequence>
<xs:element name="TaxAccountingBasis">
<xs:annotation>
<xs:documentation>Type of data in the audit file. The only valid value is “A” (Accounting).</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="SAFshorttextType">
<xs:enumeration value="A"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="TaxEntity" type="SAFmiddle2textType" minOccurs="0">
<xs:annotation>
<xs:documentation>Company / Division / Branch reference</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="UserID" type="SAFmiddle1textType" minOccurs="0">
<xs:annotation>
<xs:documentation>ID of the user that generated the audit file.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AuditFileSender" type="CompanyStructure" minOccurs="0">
<xs:annotation>
<xs:documentation>Information about the sender of the audit file if the sender is not the company that owns the data. This can be an accounting office, a parent company, etc.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="MasterFiles" minOccurs="0">
<xs:annotation>
<xs:documentation>Holds standing data about general ledger account, suppliers, customers, products, etc.. An extension point is provided to allow Revenue Bodies to specify additional elements or structures such as tax rate tables.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="GeneralLedgerAccounts" minOccurs="0">
<xs:annotation>
<xs:documentation>The general ledger accounts of a company.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Account" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>General ledger account information.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="AccountID" type="SAFmiddle2textType">
<xs:annotation>
<xs:documentation>General ledger account code/number.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AccountDescription" type="SAFlongtextType">
<xs:annotation>
<xs:documentation>Name of individual general ledger account.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="StandardAccountID" type="SAFmiddle1textType" minOccurs="0">
<xs:annotation>
<xs:documentation>Standard general ledger account code/number from codelists for mapping. Alternatively the elements GroupingCategory and GroupingCode can be used for mapping. </xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="GroupingCategory" type="SAFmiddle1textType" minOccurs="0">
<xs:annotation>
<xs:documentation>Use in conjunction with GroupingCode. Use category from codelists. </xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="GroupingCode" type="SAFmiddle1textType" minOccurs="0">
<xs:annotation>
<xs:documentation>Use in conjunction with GroupingCategory. Use code from codelists. </xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AccountType">
<xs:annotation>
<xs:documentation>Type of account. Set standard account in the StandardAccountID element. The only valid value is “GL” (General Ledger).</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="SAFshorttextType">
<xs:enumeration value="GL"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="AccountCreationDate" type="xs:date" minOccurs="0">
<xs:annotation>
<xs:documentation>Date of when the general ledger account was created.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice>
<xs:element name="OpeningDebitBalance" type="SAFmonetaryType">
<xs:annotation>
<xs:documentation>Debit balance at the start date of the selection period in the header's default currency.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="OpeningCreditBalance" type="SAFmonetaryType">
<xs:annotation>
<xs:documentation>Credit balance at the start date of the selection period in the header's default currency.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice>
<xs:element name="ClosingDebitBalance" type="SAFmonetaryType">
<xs:annotation>
<xs:documentation>Debit balance at the end date of the selection period in the header's default currency.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ClosingCreditBalance" type="SAFmonetaryType">
<xs:annotation>
<xs:documentation>Credit balance at the end date of the selection period in the header's default currency.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Taxonomies" minOccurs="0">
<xs:annotation>
<xs:documentation>Not in use.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Taxonomy" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="TaxonomyReference" type="SAFlongtextType">
<xs:annotation>
<xs:documentation>Reference to the taxonomy that applies to the GL Account.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TaxonomyElement" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="TaxonomyCode" type="SAFlongtextType">
<xs:annotation>
<xs:documentation>Reference to specific taxonomy element</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TaxonomyClusterID" type="SAFlongtextType" minOccurs="0">
<xs:annotation>
<xs:documentation>Additional reference to specific taxonomy element</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TaxonomyClusterContextID" type="SAFlongtextType" minOccurs="0"/>
<xs:element name="AccountID" type="SAFmiddle2textType">
<xs:annotation>
<xs:documentation>General Ledger Account code for this TaxanomyReference/TaxonomyCode. Can be including sub-account id. It can contain many different levels to identify the Account. It could include cost centres such as company, division, region, group and branch/department.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Customers" minOccurs="0">
<xs:annotation>
<xs:documentation>The customers of a company.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Customer" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Customer information.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="CompanyStructure">
<xs:sequence>
<xs:element name="CustomerID" type="SAFmiddle1textType">
<xs:annotation>
<xs:documentation>Unique account code/number for the customer. </xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="SelfBillingIndicator" type="SAFcodeType" minOccurs="0">
<xs:annotation>
<xs:documentation>Indicator showing if a self-billing agreement exists between the customer and the supplier.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AccountID" type="SAFmiddle2textType" minOccurs="0">
<xs:annotation>
<xs:documentation>General ledger account code/number for this customer. This is the account code/number into where this sub account/accounts receivable is consolidated in the balance sheet. </xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice minOccurs="0">
<xs:element name="OpeningDebitBalance" type="SAFmonetaryType">
<xs:annotation>
<xs:documentation>Debit balance at the start date of the selection period in the header's default currency.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="OpeningCreditBalance" type="SAFmonetaryType">
<xs:annotation>
<xs:documentation>Credit balance at the start date of the selection period in the header's default currency.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice minOccurs="0">
<xs:element name="ClosingDebitBalance" type="SAFmonetaryType">
<xs:annotation>
<xs:documentation>Debit balance at the end date of the selection period in the header's default currency.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ClosingCreditBalance" type="SAFmonetaryType">
<xs:annotation>
<xs:documentation>Credit balance at the end date of the selection period in the header's default currency.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:element name="PartyInfo" type="PartyInfoStructure" minOccurs="0">
<xs:annotation>
<xs:documentation>Additional party information.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Suppliers" minOccurs="0">
<xs:annotation>
<xs:documentation>The suppliers of a company.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Supplier" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Supplier information.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="CompanyStructure">
<xs:sequence>
<xs:element name="SupplierID" type="SAFmiddle1textType">
<xs:annotation>
<xs:documentation>Unique account code/number for the supplier.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="SelfBillingIndicator" type="SAFcodeType" minOccurs="0">
<xs:annotation>
<xs:documentation>Indicator showing if a self-billing agreement exists between the customer and the supplier.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AccountID" type="SAFmiddle2textType" minOccurs="0">
<xs:annotation>
<xs:documentation>General ledger account code/number for this supplier. This is the account code/number into where this sub account/accounts payable is consolidated in the balance sheet.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice minOccurs="0">
<xs:element name="OpeningDebitBalance" type="SAFmonetaryType">
<xs:annotation>
<xs:documentation>Debit balance at the start date of the selection period in the header's default currency.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="OpeningCreditBalance" type="SAFmonetaryType">
<xs:annotation>
<xs:documentation>Credit balance at the start date of the selection period in the header's default currency.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice minOccurs="0">
<xs:element name="ClosingDebitBalance" type="SAFmonetaryType">
<xs:annotation>
<xs:documentation>Debit balance at the end date of the selection period in the header's default currency.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ClosingCreditBalance" type="SAFmonetaryType">
<xs:annotation>
<xs:documentation>Credit balance at the end date of the selection period in the header's default currency.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:element name="PartyInfo" type="PartyInfoStructure" minOccurs="0">
<xs:annotation>
<xs:documentation>Additional party information.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TaxTable" minOccurs="0">
<xs:annotation>
<xs:documentation>The tax tables of a company.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="TaxTableEntry" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Tax entry information.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="TaxType">
<xs:annotation>
<xs:documentation>Tax type for look-up in tables. “MVA” is the only valid value.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="SAFcodeType">
<xs:enumeration value="MVA"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Description">
<xs:annotation>
<xs:documentation>Description of the Tax Type. “Merverdiavgift” is the only valid value.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="SAFlongtextType">
<xs:enumeration value="Merverdiavgift"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="TaxCodeDetails" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Tax code details of the tax table entry.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="TaxCode" type="SAFmiddle1textType">
<xs:annotation>
<xs:documentation>Tax Code for lookup in tables.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="EffectiveDate" type="xs:date" minOccurs="0">
<xs:annotation>
<xs:documentation>Representing the starting date for this entry.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ExpirationDate" type="xs:date" minOccurs="0">
<xs:annotation>
<xs:documentation>Representing the ending date for this entry.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Description" type="SAFlongtextType" minOccurs="0">
<xs:annotation>
<xs:documentation>Description of the Tax Code.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice minOccurs="0">
<xs:element name="TaxPercentage" type="xs:decimal">
<xs:annotation>
<xs:documentation>Tax percentage.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="FlatTaxRate" type="AmountStructure">
<xs:annotation>
<xs:documentation>Not in use.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:element name="Country" type="ISOCountryCode">
<xs:annotation>
<xs:documentation>Two-letter country code according to ISO 3166-1 alpha 2 standard.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Region" type="SAFcodeType" minOccurs="0">
<xs:annotation>
<xs:documentation>Not in use.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="StandardTaxCode" type="SAFmiddle1textType">
<xs:annotation>
<xs:documentation>Standard Tax Code.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Compensation" type="xs:boolean" minOccurs="0">
<xs:annotation>
<xs:documentation>Indicates if the Tax Code is used for compensation.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="BaseRate" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Base rates used for the tax code. Standard is 100 (the whole amount is tax deductible). Example: 60 if only 60% of the total amount is tax deductible. Enter all standard base rates used for the tax code.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:decimal">
<xs:minInclusive value="0"/>
<xs:maxInclusive value="100"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="UOMTable" minOccurs="0">
<xs:annotation>
<xs:documentation>Not in use.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="UOMTableEntry" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="UnitOfMeasure" type="SAFcodeType">
<xs:annotation>
<xs:documentation>Quantity unit of measure e.g. pack of 12</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Description" type="SAFlongtextType">
<xs:annotation>
<xs:documentation>Description of the UOM</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnalysisTypeTable" minOccurs="0">
<xs:annotation>
<xs:documentation>Table with the analysis code identifiers. Used for further specification of transaction data. Example: cost unit, cost center, project, department, provider, journal type, employees, etc. Journal type (bilagsart) should always be used on all transactions.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="AnalysisTypeTableEntry" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Analysis entry information.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="AnalysisType" type="SAFcodeType">
<xs:annotation>
<xs:documentation>Analysis type identifier/code for the dimension type (e.g. departments, projects, journal types, cost centers, employees, etc.).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AnalysisTypeDescription" type="SAFlongtextType">
<xs:annotation>
<xs:documentation>Description of the dimension type.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AnalysisID" type="SAFmiddle1textType">
<xs:annotation>
<xs:documentation>Analysis ID of the specific dimension entity.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AnalysisIDDescription" type="SAFlongtextType">
<xs:annotation>
<xs:documentation>Description of the specific dimension entity.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="StartDate" type="xs:date" minOccurs="0">
<xs:annotation>
<xs:documentation>Start date.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="EndDate" type="xs:date" minOccurs="0">
<xs:annotation>
<xs:documentation>End date.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Status" minOccurs="0">
<xs:annotation>
<xs:documentation>Status of the analysis entry. Choose from the predefined enumerations: Active, Closed, Observation, Passive.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="SAFmiddle1textType">
<xs:enumeration value="Active"/>
<xs:enumeration value="Closed"/>
<xs:enumeration value="Observation"/>
<xs:enumeration value="Passive"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Analysis" type="AnalysisPartyInfoStructure" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Standard linked analysis codes for the analysis entry, such as project, department, cost center, groups, etc.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="MovementTypeTable" minOccurs="0">
<xs:annotation>
<xs:documentation>Not in use.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="MovementTypeTableEntry" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="MovementType" type="SAFcodeType">
<xs:annotation>
<xs:documentation>Identify kind of movement or movement line. E.g. sale, purchase, adjustment, etc. Or efficiencyloss, use of components in production, etc. Predescribed TABLE is possible.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Description" type="SAFlongtextType">
<xs:annotation>
<xs:documentation>Description of the movement(sub)type</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Products" minOccurs="0">
<xs:annotation>
<xs:documentation>Not in use.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Product" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="ProductCode" type="SAFmiddle2textType">
<xs:annotation>
<xs:documentation>Product code</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="GoodsServicesID" type="SAFcodeType" minOccurs="0">
<xs:annotation>
<xs:documentation>Indicator showing if goods or services (Predescribed TABLE is possible)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ProductGroup" type="SAFmiddle2textType" minOccurs="0">
<xs:annotation>
<xs:documentation>Code identifying aggregated level at which similar products are grouped</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Description" type="SAFlongtextType">
<xs:annotation>
<xs:documentation>Description of goods or services.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ProductCommodityCode" type="SAFmiddle1textType" minOccurs="0">
<xs:annotation>
<xs:documentation>Classification for import / export</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ProductNumberCode" type="SAFmiddle2textType" minOccurs="0">
<xs:annotation>
<xs:documentation>EAN or other code</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ValuationMethod" type="SAFcodeType" minOccurs="0">
<xs:annotation>
<xs:documentation>FIFO, LIFO, Average cost etc.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="UOMBase" type="SAFcodeType">
<xs:annotation>
<xs:documentation>Unit of measure for Stock Administration for this product Predescribed TABLE is possible.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:sequence minOccurs="0">
<xs:annotation>
<xs:documentation>Not needed when not applicable</xs:documentation>
</xs:annotation>
<xs:element name="UOMStandard" type="SAFcodeType">
<xs:annotation>
<xs:documentation>A Standard Unit of Measure applicable for this product, f.i. Kilo, Metres, Litres (Predescribed TABLE is possible)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="UOMToUOMBaseConversionFactor" type="xs:decimal">
<xs:annotation>
<xs:documentation>Conversion factor of the UOM to UOM Base</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:element name="Tax" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence minOccurs="0">
<xs:element name="TaxType" type="SAFcodeType">
<xs:annotation>
<xs:documentation>Tax Type for lookup in tables</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TaxCode" type="SAFcodeType">
<xs:annotation>
<xs:documentation>Tax Code for lookup in tables</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PhysicalStock" minOccurs="0">
<xs:annotation>
<xs:documentation>Not in use.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="PhysicalStockEntry" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="WarehouseID" type="SAFmiddle1textType" minOccurs="0">
<xs:annotation>
<xs:documentation>Warehouse where goods held - possoble also to identify work-in-progress, or stock-in-transit</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="LocationID" type="SAFshorttextType" minOccurs="0">
<xs:annotation>
<xs:documentation>Location of goods in warehouse</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ProductCode" type="SAFmiddle2textType">
<xs:annotation>
<xs:documentation>Product code</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="StockAccountNo" type="SAFmiddle2textType" minOccurs="0">
<xs:annotation>
<xs:documentation>Stock batch, lot, serial identification. Not used when there is exactly 1 PhysicalStock entry per ProductCode</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ProductType" type="SAFshorttextType" minOccurs="0">
<xs:annotation>
<xs:documentation>To determine whether the product/stockaccount is raw material, work-in-progress, finished good, merchandise for resale, etc.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ProductStatus" type="SAFshorttextType" minOccurs="0">
<xs:annotation>
<xs:documentation>To determine whether the product/stockaccount is discontinued, damaged, obsolete, active, etc.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="StockAccountCommodityCode" type="SAFmiddle1textType" minOccurs="0">
<xs:annotation>
<xs:documentation>Classification for import / export</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="OwnerID" type="SAFmiddle1textType" minOccurs="0">
<xs:annotation>
<xs:documentation>Reference to the owner Master File</xs:documentation>
</xs:annotation>
</xs:element>
<xs:sequence minOccurs="0">
<xs:annotation>
<xs:documentation>Not needed when UOMPhysicalStock equals UOMBase</xs:documentation>
</xs:annotation>
<xs:element name="UOMPhysicalStock" type="SAFcodeType">
<xs:annotation>
<xs:documentation>Unit of Measurement for this Physical Stock position</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="UOMToUOMBaseConversionFactor" type="xs:decimal">
<xs:annotation>
<xs:documentation>Conversion factor of the UOM to UOM Base</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:element name="UnitPrice" type="SAFmonetaryType" minOccurs="0">
<xs:annotation>
<xs:documentation>Base Unit price for this stock account in the header's default currency.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="OpeningStockQuantity" type="SAFquantityType">
<xs:annotation>
<xs:documentation>In UOM Physical Stock for selection period</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="OpeningStockValue" type="SAFmonetaryType" minOccurs="0">
<xs:annotation>
<xs:documentation>In the header's currency code for selection period</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ClosingStockQuantity" type="SAFquantityType">
<xs:annotation>
<xs:documentation>In UOM Physical Stock for selection period</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ClosingStockValue" type="SAFmonetaryType" minOccurs="0">
<xs:annotation>
<xs:documentation>Closing stock value in the header's default currency for selection period</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="StockCharacteristics" minOccurs="0">
<xs:complexType>
<xs:sequence maxOccurs="unbounded">
<xs:element name="StockCharacteristic" type="SAFshorttextType">
<xs:annotation>
<xs:documentation>User definable characteristics of the goods. Predescribed TABLE is possible.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="StockCharacteristicValue" type="SAFmiddle1textType">
<xs:annotation>
<xs:documentation>The weight, pack size, colour etc.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Owners" minOccurs="0">
<xs:annotation>
<xs:documentation>The owners of a company.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Owner" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Owner information.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="CompanyStructure">
<xs:sequence>
<xs:element name="OwnerID" type="SAFmiddle1textType" minOccurs="0">
<xs:annotation>
<xs:documentation>Unique ID code/number for the owner.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AccountID" type="SAFmiddle2textType" minOccurs="0">
<xs:annotation>
<xs:documentation>General ledger account code for this owner. Can be including sub-account id. It can contain many different levels to identify the Account. </xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Assets" minOccurs="0">
<xs:annotation>
<xs:documentation>Not in use.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Asset" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="AssetID" type="SAFmiddle1textType">
<xs:annotation>
<xs:documentation>Unique identifier of the asset</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AccountID" type="SAFmiddle2textType">
<xs:annotation>
<xs:documentation>General Ledger Account code. Can be including sub-account id. It can contain many different levels to identify the Account. It could include cost centres such as company, division, region, group and branch/department.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Description" type="SAFlongtextType">
<xs:annotation>
<xs:documentation>Description of this asset</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Supplier" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Contains the information of all suppliers, including the historical suppliers.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="SupplierName" type="SAFmiddle2textType">
<xs:annotation>
<xs:documentation>Name of the supplier of the asset</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="SupplierID" type="SAFmiddle1textType" minOccurs="0">
<xs:annotation>
<xs:documentation>Unique code for the supplier</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PostalAddress" type="AddressStructure">
<xs:annotation>
<xs:documentation>Address information of the supplier of the asset</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PurchaseOrderDate" type="xs:date" minOccurs="0">
<xs:annotation>
<xs:documentation>Date of the purchase order of this asset</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="DateOfAcquisition" type="xs:date">
<xs:annotation>
<xs:documentation>Date of the acquisition of the asset (usually the date of delivery).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="StartUpDate" type="xs:date" minOccurs="0">
<xs:annotation>
<xs:documentation>Commissioning date of the asset.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Valuations">
<xs:annotation>
<xs:documentation>The data can be reported for different purposes. More than one can be in this SAF.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Valuation" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="AssetValuationType" type="SAFshorttextType" minOccurs="0">
<xs:annotation>
<xs:documentation>Describes the purpose for the reporting: f.i. commercial, tax in country 1, tax in country 2, etc.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ValuationClass" type="SAFshorttextType" minOccurs="0">
<xs:annotation>
<xs:documentation>This describes the classification of the asset for (tax) reporting purposes.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AcquisitionAndProductionCostsBegin" type="SAFmonetaryType">
<xs:annotation>
<xs:documentation>Total costs of acquisition and/or production of the asset at SelectionStartDate in the header's default currency.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AcquisitionAndProductionCostsEnd" type="SAFmonetaryType">
<xs:annotation>
<xs:documentation>Total costs of acquisition and/or production of the asset at SelectionEndDate in the header's default currency.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="InvestmentSupport" type="SAFmonetaryType" minOccurs="0">
<xs:annotation>
<xs:documentation>Total amount of investment support for this asset in the header's default currency.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice>
<xs:element name="AssetLifeYear" type="xs:decimal">
<xs:annotation>
<xs:documentation>Periode of useful life in years</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AssetLifeMonth" type="xs:decimal">
<xs:annotation>
<xs:documentation>Period of useful life in months</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:element name="AssetAddition" type="SAFmonetaryType" minOccurs="0">
<xs:annotation>
<xs:documentation>Bookvalue of the acquisition and/or production of the asset in the Selectionperiod in the header's default currency.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Transfers" type="SAFmonetaryType" minOccurs="0">
<xs:annotation>
<xs:documentation>Book value of the transfers of the asset during the Selectionperiod in the header's default currency.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AssetDisposal" type="SAFmonetaryType" minOccurs="0">
<xs:annotation>
<xs:documentation>Book value of the disposals of the asset during the Selectionperiod in the header's default currency.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="BookValueBegin" type="SAFmonetaryType" minOccurs="0">
<xs:annotation>
<xs:documentation>Bookvalue at the beginning of the Selectionperiod in the header's default currency.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="DepreciationMethod" type="SAFmiddle1textType" minOccurs="0">
<xs:annotation>
<xs:documentation>Method of normal depreciation during the Selectionperiod.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="DepreciationPercentage" type="xs:decimal" minOccurs="0">
<xs:annotation>
<xs:documentation>The rate of the normal depreciation per year or month (depends on choice useful life periode)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="DepreciationForPeriod" type="SAFmonetaryType">
<xs:annotation>
<xs:documentation>Total amouunt of normal depreciation during the Selectionperiod in the header's default currency.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AppreciationForPeriod" type="SAFmonetaryType" minOccurs="0">
<xs:annotation>
<xs:documentation>Total amouunt of appreciation during the Selectionperiod in the header's default currency.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ExtraordinaryDepreciationsForPeriod" minOccurs="0">
<xs:annotation>
<xs:documentation>Extraordinary depreciations for this asset during the Selectionperiod.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ExtraordinaryDepreciationForPeriod" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="ExtraordinaryDepreciationMethod" type="SAFmiddle1textType">
<xs:annotation>
<xs:documentation>Method of extraordinary depreciation during the Selectionperiod.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ExtraordinaryDepreciationForPeriod" type="SAFmonetaryType">
<xs:annotation>
<xs:documentation>Amouunt of extraordinary depreciation during the Selectionperiod in the header's default currency.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AccumulatedDepreciation" type="SAFmonetaryType" minOccurs="0">
<xs:annotation>
<xs:documentation>Total amount of depreciation for this asset</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="BookValueEnd" type="SAFmonetaryType">
<xs:annotation>
<xs:documentation>Bookvalue at the end of the Selectionperiod in the header's default currency.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GeneralLedgerEntries" minOccurs="0">
<xs:annotation>
<xs:documentation>Accounting transactions.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="NumberOfEntries" type="xs:nonNegativeInteger">
<xs:annotation>
<xs:documentation>Number of entries. This is the total number of Transaction entries (accounting documents/vouchers) from all Journals included in the audit file.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TotalDebit" type="SAFmonetaryType">
<xs:annotation>
<xs:documentation>The total of all debit amounts in the header's default currency.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TotalCredit" type="SAFmonetaryType">
<xs:annotation>
<xs:documentation>The total of all credit amounts in the header's default currency.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Journal" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Journal information.</xs:documentation>