Guidance for the Standard Audit File - Payroll, Version 1.0
-
Upload
khangminh22 -
Category
Documents
-
view
0 -
download
0
Transcript of Guidance for the Standard Audit File - Payroll, Version 1.0
Guidance for the Standard Audit File - Payroll Version 10 Appendix B SAF-P Schema version 100
schema location SAF-P_Schema_v_100xsdattribute form default element form default targetNamespace urnOECDStandardAuditFile-Payroll10 Elements Complex types Simple types AuditFilePayroll AddressStructure ISOCountryCode
AmountStructure ISOCurrencyCode BankAccountStructure SAFcodeType CompanyHeaderStructure SAFexchangerateType CompanyStructure SAFlongtextType ContactHeaderStructure SAFmiddle1textType ContactInformationStructure SAFmiddle2textType HeaderStructure SAFmonetaryType IdentificationStructure SAFquantityType PersonNameStructure SAFshorttextType SelectionCriteriaStructure SAFweightType TaxIDStructure
element AuditFilePayroll diagram
properties content complex
children Header MasterFiles TransactionFiles
element AuditFilePayrollHeader
145
diagram
type extension of HeaderStructure
properties isRef 0content complex
children AuditFileVersion AuditFileCountry AuditFileRegion AuditFileDateCreated SoftwareCompanyName SoftwareID SoftwareVersion Company DefaultCurrencyCode SelectionCriteria HeaderComment PayrollBureau
annotation documentationHolds general information about the file including the name of the software which produced it the employer on whose behalf the SAF-P is being submitted the name of the payroll bureau involved and the selection criteria used An extension point is provided to allow individual Revenue Bodies to specify further relevant information to be supplied
element AuditFilePayrollHeaderPayrollBureau
245
diagram
properties isRef 0minOcc 0maxOcc 1content complex
children Name Address Contact
annotation documentationPayroll Bureau name and address details
element AuditFilePayrollHeaderPayrollBureauName diagram
type restriction of SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
annotation documentationName of the payroll bureau
element AuditFilePayrollHeaderPayrollBureauAddress diagram
345
type AddressStructure
properties isRef 0minOcc 0maxOcc 1content complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
annotation documentationPayroll bureau address details
element AuditFilePayrollHeaderPayrollBureauContact diagram
type ContactInformationStructure
properties isRef 0content complex
children ContactPerson Telephone Fax Email Website
annotation documentationPayroll bureau contact details
element AuditFilePayrollMasterFiles diagram
properties isRef 0content complex
children EmployerBranches PayrollElements Employees
annotation documentationHolds standing data about employer branches employees and payroll elements An extension point is provided to allow Revenue Bodies to specify additional elements or structures such as tax rate tables
element AuditFilePayrollMasterFilesEmployerBranches diagram
properties isRef 0minOcc 0
maxOcc 1content complex
children EmployerBranch
annotation documentationFor use where an employer operates a number of distinct organisational units (referred to in SAF-P as branches for the sake of convenience)
445
element AuditFilePayrollMasterFilesEmployerBranchesEmployerBranch diagram
properties isRef 0minOcc 1
maxOcc unboundedcontent complex
children BranchID BranchDetails
element AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchID diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationA unique identifier for the branch whose details are shown below
element AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchDetails diagram
type CompanyStructure
properties isRef 0content complex
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
annotation documentationBranch name and address details
element AuditFilePayrollMasterFilesPayrollElements diagram
properties isRef 0minOcc 0maxOcc 1content complex
545
children PayrollElement
annotation documentationDefinition of the payroll elements be used in the transaction recordss Includes income and deductions
element AuditFilePayrollMasterFilesPayrollElementsPayrollElement diagram
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children PayrollElementID PayrollElementDescription PositionCode FlatRateTax
element AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementID diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationUnique ID used in the software to identify the element
element AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementDescription diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationDescription given to the Payroll element
element AuditFilePayrollMasterFilesPayrollElementsPayrollElementPositionCode diagram
type xsnonNegativeInteger
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationA code indicating the point in the tax calculation at which the element is taken into account when determining an employees net pay Can be used to reproduce transactions in a payslip format
645
element AuditFilePayrollMasterFilesPayrollElementsPayrollElementFlatRateTax diagram
properties isRef 0minOcc 0maxOcc 1content complex
annotation documentationRepresents space to provide country specific information about the liability of the element to flat rate taxes
element AuditFilePayrollMasterFilesEmployees diagram
properties isRef 0minOcc 0
maxOcc 1content complex
children Employee
annotation documentationEmployee personal details including name address and other relevant information
element AuditFilePayrollMasterFilesEmployeesEmployee diagram
properties isRef 0minOcc 1
maxOcc unboundedcontent complex
children EmployeeID EmployeeRegistrationNumbers Name Address DateOfBirth Gender BankAccount Identification
element AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeID
745
diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationUnique idenfitier for this employee within the payroll system
element AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeRegistrationNumbers diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc 1content complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
annotation documentationPersonal tax regiistration details for the employee
element AuditFilePayrollMasterFilesEmployeesEmployeeName diagram
845
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
annotation documentationEmployee name
element AuditFilePayrollMasterFilesEmployeesEmployeeAddress diagram
945
type extension of AddressStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
annotation documentationEmployee address details Multiple entries are possible to allow concurrent or consecutive addresses to be reported An extension point is provided to allow additional address information to be specified
element AuditFilePayrollMasterFilesEmployeesEmployeeDateOfBirth diagram
type xsdate
properties isRef 0content simple
element AuditFilePayrollMasterFilesEmployeesEmployeeGender diagram
type xsstring
properties isRef 0content simple
annotation documentationRevenue Bodies should consider the acceptable range of entries
element AuditFilePayrollMasterFilesEmployeesEmployeeBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
annotation documentationEmployee bank account details
1045
element AuditFilePayrollMasterFilesEmployeesEmployeeIdentification diagram
type IdentificationStructure
properties isRef 0minOcc 0maxOcc 1content complex
children IdentificationType IdentificationNumber DateValidUntil PlaceOfIssue DateOfIssue
annotation documentationFor use when employers need to demonstrate that they have seen proof of an employees identity
element AuditFilePayrollTransactionFiles diagram
properties isRef 0content complex
children Employment
annotation documentationDetailed analysis of payroll transactions
element AuditFilePayrollTransactionFilesEmployment diagram
1145
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children EmployeeID EmployeeWorkReferenceNumber DateStartEmployment DateEndEmployment JobTitle BranchID Department PeriodicalPayments
annotation documentationNormally there should be one Employment record for each employee Where an employee holds more than one job with the same employer (whether consecutively or concurrently) there may be more than one Employment record per employee
element AuditFilePayrollTransactionFilesEmploymentEmployeeID diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationA unique reference for the employee This reference should correspond to an entry in the Employee masterfile
element AuditFilePayrollTransactionFilesEmploymentEmployeeWorkReferenceNumber diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationHR personnel number for the employee (if different to the employee ID)
element AuditFilePayrollTransactionFilesEmploymentDateStartEmployment diagram
type xsdate
properties isRef 0content simple
annotation documentationThe date the employee started the Employment referred to by the PeriodicalPayments shown below
element AuditFilePayrollTransactionFilesEmploymentDateEndEmployment diagram
1245
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date the employee started the Employment referred to by the PeriodicalPayments shown below - if applicable
element AuditFilePayrollTransactionFilesEmploymentJobTitle diagram
type SAFlongtextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 256
annotation documentationTitle or description of the employees job
element AuditFilePayrollTransactionFilesEmploymentBranchID diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationUnique identifier for which the employee performs the main duties of the employment This identifier should correspond to an entry in the EmployerBranches masterfile
element AuditFilePayrollTransactionFilesEmploymentDepartment diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationName of the department for which the employee performs the main duties of the employment
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPayments diagram
properties isRef 0minOcc 0maxOcc 1content complex
children PeriodicalPayment
annotation documentationDetail of payroll transactions For each employee there will normally be one PeriodicalPayments entry each time the payroll is run This structure may also be used for other types of payroll transaction such as adjustments
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPayment
1345
diagram
properties isRef 0minOcc 1
maxOcc unboundedcontent complex
children PayrollPeriod PayrollPeriodYear PayFrequency DatePeriodStart DatePeriodEnd DatePaymentMade Element Hours
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayrollPeriod diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationNumber of tax period as recorded in payroll system
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayrollPeriodYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
1445
annotation documentationThe year in which the payroll transaction took place Revenue Bodies will wish to specify how this is to be shown if the fiscal year is not a calendar year
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayFrequency diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationThe time interval which forms the basis of periodic tax calculations for the employment for example Week or Month
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentDatePeriodStart diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
annotation documentationStart date of period for which payment has been made
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentDatePeriodEnd diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
annotation documentationEnd date of period for which payment has been made
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentDatePaymentMade diagram
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date on which payment was actually made Used to identify instances where payments are made in advance or in arrears
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElement diagram
1545
properties isRef 0minOcc 0
maxOcc unboundedcontent complex
children PayrollElementID Amount BankAccount PaymentDetails
annotation documentationAnalysis of the total amount paid
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPayrollElementID diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationReference to master files payroll element definition
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementAmount diagram
type AmountStructure
properties isRef 0content complex
children Amount CurrencyCode CurrencyAmount ExchangeRate
annotation documentationBasic amount is shown in default currency as defined in the header Option provided to show amount in local currency also
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementBankAccount diagram
type BankAccountStructure
1645
properties isRef 0minOcc 0maxOcc 1content complex
children IBANNumber BankAccountNumber BankAccountName SortCode
annotation documentationCross reference to bank account details in master files
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetails diagram
properties isRef 0minOcc 0
maxOcc unboundedcontent complex
children NumberOfUnits AmountPaidPerUnit UnitDescription
annotation documentationPayment details
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits diagram
type SAFquantityType
properties isRef 0content simple
facets totalDigits 22fractionDigits 6
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsAmountPaidPerUnit diagram
type AmountStructure
properties isRef 0content complex
children Amount CurrencyCode CurrencyAmount ExchangeRate
annotation documentationBasic amount shown in default currency as defined in the header Option to show amount in local currency also
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
1745
diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationDescription of units per which payment is made eg hours days
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHours diagram
properties isRef 0minOcc 0
maxOcc unboundedcontent complex
children HourType NumberOfHours AmountPaidPerUnit
annotation documentationTo allow SAF-P to report payroll amounts attributable to specific types of employee activity
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationThe type of activity being reported on Revenue Bodies may wish to prescribe a list of activity codes
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours diagram
type SAFquantityType
properties isRef 0content simple
facets totalDigits 22fractionDigits 6
annotation documentationThe umber of hours being reported under the activity type
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursAmountPaidPerUnit
1845
diagram
type AmountStructure
properties isRef 0minOcc 0maxOcc 1content complex
children Amount CurrencyCode CurrencyAmount ExchangeRate
annotation documentationThe hourly rate for the activity being reported upon
complexType AddressStructure diagram
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
used by elements AuditFilePayrollHeaderPayrollBureauAddress AuditFilePayrollMasterFilesEmployeesEmployeeAddress CompanyHeaderStructureAddress CompanyStructureAddress
1945
annotation documentation[Common to all SAFs] A common structure used wherever an address is required
element AddressStructureStreetName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element AddressStructureNumber diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element AddressStructureAdditionalAddressDetail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element AddressStructureBuilding diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
element AddressStructureCity diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
element AddressStructurePostalCode diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
element AddressStructureRegion
2045
diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationCountry specific code to indicate regions provinces within the tax authority Preferably described according to ISO 3166-2 Example GB-KEN for Kent county in the United Kingdom
element AddressStructureCountry diagram
type ISOCountryCode
properties isRef 0minOcc 0maxOcc 1content simple
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
element AddressStructureAddressType diagram
type restriction of xsstring
properties isRef 0minOcc 0maxOcc 1content simple
facets enumeration StreetAddressenumeration PostalAddressenumeration enumeration enumeration
annotation documentationField to differentiate between multiple addresses To indicate the type of address Choose from the predefined enumeration (examples StreetAddress PostalAddress BillingAddress)
complexType AmountStructure diagram
children Amount CurrencyCode CurrencyAmount ExchangeRate
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementAmount AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsAmountPaidPerUnit AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursAmountPaidPerUnit
2145
annotation documentation[Common to all SAFs] A common structure used wherever an amount is required Monetary amount with optional foreign currency exchange rate information
element AmountStructureAmount diagram
type SAFmonetaryType
properties isRef 0content simple
facets totalDigits 18fractionDigits 2
annotation documentationIn the default currency as shown in the SAF-P header
element AmountStructureCurrencyCode diagram
type ISOCurrencyCode
properties isRef 0content simple
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for Euros or USD for American Dollars
element AmountStructureCurrencyAmount diagram
type SAFmonetaryType
properties isRef 0content simple
facets totalDigits 18fractionDigits 2
annotation documentationAmount in the currency referred to by the CurrencyCode above
element AmountStructureExchangeRate diagram
type SAFexchangerateType
properties isRef 0minOcc 0maxOcc 1content simple
facets totalDigits 18fractionDigits 8
annotation documentationThe exchange rate used It should be reported in accordance with the formula CurrencyAmount x ExchangeRate = Amount
complexType BankAccountStructure diagram
2245
children IBANNumber BankAccountNumber BankAccountName SortCode
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeBankAccount AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementBankAccount CompanyHeaderStructureBankAccount CompanyStructureBankAccount
annotation documentation[Common to all SAFs] Bank account number information IBAN number or account number with optional information
element BankAccountStructureIBANNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationInternational Bank Account Number ISO 13616
element BankAccountStructureBankAccountNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationThe number allocated to the account by the individuals or companys own bank
element BankAccountStructureBankAccountName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
annotation documentationThe name of the individual or company holding the bank account
element BankAccountStructureSortCode
2345
diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationIdentifier for the bank branch at which the account is held May be needed to uniquely identify the account
complexType CompanyHeaderStructure diagram
type restriction of CompanyStructure
properties base CompanyStructure
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
used by element HeaderStructureCompany
annotation documentation[Common to all SAFs] CompanyStructure with mandatory RegistrationNumber and Telephone (Contact)
element CompanyHeaderStructureRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number to identify the company in the accounting records issued by a government body or created by the company for internal purposes to identify different entities within their corporate group
element CompanyHeaderStructureName diagram
type SAFmiddle2textType
properties isRef 0content simple
2445
facets maxLength 70
element CompanyHeaderStructureAddress diagram
type AddressStructure
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
element CompanyHeaderStructureContact diagram
type ContactHeaderStructure
2545
properties isRef 0minOcc 1
maxOcc unboundedcontent complex
children ContactPerson Telephone Fax Email Website
element CompanyHeaderStructureTaxRegistration diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
element CompanyHeaderStructureBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
complexType CompanyStructure
2645
diagram
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
used by element AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchDetailscomplexType CompanyHeaderStructure
annotation documentation[Common to all SAFs] Name address contact and identification information of a company or employer
element CompanyStructureRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationUnique number to identify the company in the accounting records issued by a government authority or created by the company for internal purposes to identify different entities within their corporate group
element CompanyStructureName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element CompanyStructureAddress diagram
2745
type AddressStructure
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
element CompanyStructureContact diagram
type ContactInformationStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children ContactPerson Telephone Fax Email Website
2845
element CompanyStructureTaxRegistration diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
element CompanyStructureBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
complexType ContactHeaderStructure
2945
diagram
type restriction of ContactInformationStructure
properties base ContactInformationStructure
children ContactPerson Telephone Fax Email Website
used by element CompanyHeaderStructureContact
annotation documentation[Common to all SAFs] ContactInformationStructure with madatory TelephoneNumber
element ContactHeaderStructureContactPerson diagram
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactHeaderStructureTelephone diagram
type SAFshorttextType
3045
properties isRef 0content simple
facets maxLength 18
element ContactHeaderStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactHeaderStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element ContactHeaderStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType ContactInformationStructure diagram
children ContactPerson Telephone Fax Email Website
used by elements AuditFilePayrollHeaderPayrollBureauContact CompanyStructureContactcomplexType ContactHeaderStructure
annotation documentation[Common to all SAFs] Contact information of a company or employer
element ContactInformationStructureContactPerson diagram
3145
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactInformationStructureTelephone diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
3245
facets maxLength 70
element ContactInformationStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType HeaderStructure diagram
children AuditFileVersion AuditFileCountry AuditFileRegion AuditFileDateCreated SoftwareCompanyName SoftwareID SoftwareVersion Company DefaultCurrencyCode SelectionCriteria HeaderComment
used by element AuditFilePayrollHeader
annotation documentation[Common to all SAFs] Overall information about this Standard Auditfile
element HeaderStructureAuditFileVersion
3345
diagram
type SAFcodeType
properties isRef 0content simple
facets maxLength 9
annotation documentationIdentification of the Standard Audit File SAF-P version being used
element HeaderStructureAuditFileCountry diagram
type ISOCountryCode
properties isRef 0content simple
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
element HeaderStructureAuditFileRegion diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationCountry specific code to indicate regions provinces within the tax jurisdiction Preferably described according to ISO 3166-2 Example GB-KEN for Kent county in the United Kingdom
element HeaderStructureAuditFileDateCreated diagram
type xsdate
properties isRef 0content simple
annotation documentationDate of production of SAF-P
element HeaderStructureSoftwareCompanyName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
annotation documentationName of the software company whose product created the SAF-P
element HeaderStructureSoftwareID diagram
3445
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationName of the Software that generated the SAF-P
element HeaderStructureSoftwareVersion diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationVersion of the software that created the SAF-P
element HeaderStructureCompany diagram
type CompanyHeaderStructure
properties isRef 0content complex
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
annotation documentationEmployers name and address details
element HeaderStructureDefaultCurrencyCode diagram
type ISOCurrencyCode
properties isRef 0content simple
facets length 3
annotation documentationThree letter Currency Code (ISO 4217) of local currency which is the default for the SAF
element HeaderStructureSelectionCriteria
3545
diagram
type SelectionCriteriaStructure
properties isRef 0minOcc 0maxOcc 1content complex
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
annotation documentationCriteria set by the user to populate the SAF-P
element HeaderStructureHeaderComment diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
3645
facets maxLength 256
annotation documentationSpace for any further generic comments on the SAF-P Revenue Bodies should consider what information they would expect to see here
complexType IdentificationStructure diagram
children IdentificationType IdentificationNumber DateValidUntil PlaceOfIssue DateOfIssue
used by element AuditFilePayrollMasterFilesEmployeesEmployeeIdentification
annotation documentationIdentification Document data This section is used when employers need to demonstrate that they have seen proof of an employees identity
element IdentificationStructureIdentificationType diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationThe type of identity document supplied to the employer Revenue bodies may wish to prescribe a specific list of codes
element IdentificationStructureIdentificationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number on the identification document
element IdentificationStructureDateValidUntil diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
element IdentificationStructurePlaceOfIssue diagram
type SAFmiddle1textType
3745
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
element IdentificationStructureDateOfIssue diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
complexType PersonNameStructure diagram
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
used by elements ContactHeaderStructureContactPerson ContactInformationStructureContactPerson AuditFilePayrollMasterFilesEmployeesEmployeeName
annotation documentation[Common to all SAFs] All information about the name of a natural (non-corporate) person
element PersonNameStructureTitle diagram
type SAFcodeType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 9
element PersonNameStructureFirstName diagram
type SAFmiddle1textType
properties isRef 0content simple
3845
facets maxLength 35
element PersonNameStructureInitials diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element PersonNameStructureLastNamePrefix diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA textual expression of a prefix that precedes this persons family name such as Van Von
element PersonNameStructureLastName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element PersonNameStructureBirthName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element PersonNameStructureSalutation diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA formal sign or expression of greeting expressed as text that is appropriate for this person such as Sir or Madam
element PersonNameStructureOtherTitles diagram
type SAFshorttextType
3945
properties isRef 0minOcc 0
maxOcc unboundedcontent simple
facets maxLength 18
complexType SelectionCriteriaStructure diagram
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
used by element HeaderStructureSelectionCriteria
annotation documentation[Common to all SAFs] The selection criteria used to generate this Standard Auditfile
element SelectionCriteriaStructureTaxReportingJurisdiction diagram
type SAFmiddle1textType
4045
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationIdentifies the tax jurisdiction for whose purpose the SAF has been created Principally for use where a single Revenue body covers more than one territory
element SelectionCriteriaStructureCompanyEntity diagram
type SAFmiddle2textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 70
annotation documentationFor use where data has been extracted from the full data set by reference to a specific corporate entity
element SelectionCriteriaStructureSelectionStartDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe start date for the reporting period covered by the SAF
element SelectionCriteriaStructureSelectionEndDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe end date for the reporting period covered by the SAF
element SelectionCriteriaStructurePeriodStart diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe first Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodStartYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodStart falls
element SelectionCriteriaStructurePeriodEnd
4145
diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe last Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodEndYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodEnd falls
element SelectionCriteriaStructureDocumentType diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationType of documents selected For use where the data has been restricted by reference to particular transaction types
element SelectionCriteriaStructureOtherCriteria diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc unboundedcontent simple
facets maxLength 256
annotation documentationAny other criteria used in selecting data Individual Revenue Bodies may wish to draw up a list of other acceptable selection criteria for use within their jurisdiction
complexType TaxIDStructure diagram
4245
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeRegistrationNumbers CompanyHeaderStructureTaxRegistration CompanyStructureTaxRegistration
annotation documentation[Common to all SAFs] Tax information for a company or employer
element TaxIDStructureTaxRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number issued by Revenue Body for use by the employer
element TaxIDStructureTaxType diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationFor use where information reported in the SAF-P covers more than one type of tax regime to identify the type of tax regime to which this entry relates
element TaxIDStructureTaxNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
4345
annotation documentationThe tax registration number for the particular tax regime referred to by TaxType
element TaxIDStructureTaxAuthority diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
annotation documentationIdentification of the Revenue Body to which this TaxType refers
element TaxIDStructureTaxVerificationDate diagram
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date that the tax registration details referred to above were last checked
simpleType ISOCountryCode type restriction of xsstring
used by elements HeaderStructureAuditFileCountry AddressStructureCountry
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
simpleType ISOCurrencyCode type restriction of xsstring
used by elements AmountStructureCurrencyCode HeaderStructureDefaultCurrencyCode
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for the Euros or USD for American Dollars
simpleType SAFcodeType type restriction of xsstring
used by elements HeaderStructureAuditFileRegion HeaderStructureAuditFileVersion TaxIDStructureTaxType PersonNameStructureTitle
facets maxLength 9
annotation documentationText of max 9 characters
simpleType SAFexchangerateType type restriction of xsdecimal
used by element AmountStructureExchangeRate
facets totalDigits 18fractionDigits 8
annotation documentation18 digits max of which 8 can be fractional digits
simpleType SAFlongtextType type restriction of xsstring
used by elements AuditFilePayrollTransactionFilesEmploymentBranchID AuditFilePayrollTransactionFilesEmploymentDepartment SelectionCriteriaStructureDocumentType AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeWorkReferenceNumber HeaderStructureHeaderComment AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType AuditFilePayrollTransactionFilesEmploymentJobTitle SelectionCriteriaStructureOtherCriteria AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementDescription HeaderStructureSoftwareID AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
facets maxLength 256
annotation documentation256 character text
simpleType SAFmiddle1textType type restriction of xsstring
4445
used by elements BankAccountStructureBankAccountNumber AddressStructureBuilding AddressStructureCity PersonNameStructureFirstName BankAccountStructureIBANNumber IdentificationStructureIdentificationNumber AuditFilePayrollHeaderPayrollBureauName IdentificationStructurePlaceOfIssue AddressStructureRegion CompanyHeaderStructureRegistrationNumber CompanyStructureRegistrationNumber TaxIDStructureTaxAuthority TaxIDStructureTaxNumber TaxIDStructureTaxRegistrationNumber SelectionCriteriaStructureTaxReportingJurisdiction
facets maxLength 35
annotation documentation35 character text
simpleType SAFmiddle2textType type restriction of xsstring
used by elements AddressStructureAdditionalAddressDetail BankAccountStructureBankAccountName PersonNameStructureBirthName SelectionCriteriaStructureCompanyEntity ContactHeaderStructureEmail ContactInformationStructureEmail PersonNameStructureLastName CompanyHeaderStructureName CompanyStructureName HeaderStructureSoftwareCompanyName AddressStructureStreetName
facets maxLength 70
annotation documentation70 character text
simpleType SAFmonetaryType type restriction of xsdecimal
used by elements AmountStructureAmount AmountStructureCurrencyAmount
facets totalDigits 18fractionDigits 2
annotation documentationMonetary amount18 digits max of which 2 can be fractional digits
simpleType SAFquantityType type restriction of xsdecimal
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits
facets totalDigits 22fractionDigits 6
annotation documentationUsed to describe a quantity Monetary amount 22 digits max of which 6 can be fractional digits
simpleType SAFshorttextType type restriction of xsstring
used by elements AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchID ContactHeaderStructureFax ContactInformationStructureFax IdentificationStructureIdentificationType PersonNameStructureInitials PersonNameStructureLastNamePrefix AddressStructureNumber PersonNameStructureOtherTitles AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayFrequency AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementID AddressStructurePostalCode PersonNameStructureSalutation HeaderStructureSoftwareVersion BankAccountStructureSortCode ContactHeaderStructureTelephone ContactInformationStructureTelephone
facets maxLength 18
annotation documentation18 character text
simpleType SAFweightType type restriction of xsdecimal
facets totalDigits 14fractionDigits 3
annotation documentationDescribes a weight Monetary amount14 digits max of which 3 can be fractional digits
XML Schema documentation generated by XMLSpy Schema Editor httpwwwaltovacomxmlspy
4545
- Footer Guidance for the Standard Audit File ndash Payroll Version 10 Appendix B Schema
- Header Page
diagram
type extension of HeaderStructure
properties isRef 0content complex
children AuditFileVersion AuditFileCountry AuditFileRegion AuditFileDateCreated SoftwareCompanyName SoftwareID SoftwareVersion Company DefaultCurrencyCode SelectionCriteria HeaderComment PayrollBureau
annotation documentationHolds general information about the file including the name of the software which produced it the employer on whose behalf the SAF-P is being submitted the name of the payroll bureau involved and the selection criteria used An extension point is provided to allow individual Revenue Bodies to specify further relevant information to be supplied
element AuditFilePayrollHeaderPayrollBureau
245
diagram
properties isRef 0minOcc 0maxOcc 1content complex
children Name Address Contact
annotation documentationPayroll Bureau name and address details
element AuditFilePayrollHeaderPayrollBureauName diagram
type restriction of SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
annotation documentationName of the payroll bureau
element AuditFilePayrollHeaderPayrollBureauAddress diagram
345
type AddressStructure
properties isRef 0minOcc 0maxOcc 1content complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
annotation documentationPayroll bureau address details
element AuditFilePayrollHeaderPayrollBureauContact diagram
type ContactInformationStructure
properties isRef 0content complex
children ContactPerson Telephone Fax Email Website
annotation documentationPayroll bureau contact details
element AuditFilePayrollMasterFiles diagram
properties isRef 0content complex
children EmployerBranches PayrollElements Employees
annotation documentationHolds standing data about employer branches employees and payroll elements An extension point is provided to allow Revenue Bodies to specify additional elements or structures such as tax rate tables
element AuditFilePayrollMasterFilesEmployerBranches diagram
properties isRef 0minOcc 0
maxOcc 1content complex
children EmployerBranch
annotation documentationFor use where an employer operates a number of distinct organisational units (referred to in SAF-P as branches for the sake of convenience)
445
element AuditFilePayrollMasterFilesEmployerBranchesEmployerBranch diagram
properties isRef 0minOcc 1
maxOcc unboundedcontent complex
children BranchID BranchDetails
element AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchID diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationA unique identifier for the branch whose details are shown below
element AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchDetails diagram
type CompanyStructure
properties isRef 0content complex
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
annotation documentationBranch name and address details
element AuditFilePayrollMasterFilesPayrollElements diagram
properties isRef 0minOcc 0maxOcc 1content complex
545
children PayrollElement
annotation documentationDefinition of the payroll elements be used in the transaction recordss Includes income and deductions
element AuditFilePayrollMasterFilesPayrollElementsPayrollElement diagram
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children PayrollElementID PayrollElementDescription PositionCode FlatRateTax
element AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementID diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationUnique ID used in the software to identify the element
element AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementDescription diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationDescription given to the Payroll element
element AuditFilePayrollMasterFilesPayrollElementsPayrollElementPositionCode diagram
type xsnonNegativeInteger
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationA code indicating the point in the tax calculation at which the element is taken into account when determining an employees net pay Can be used to reproduce transactions in a payslip format
645
element AuditFilePayrollMasterFilesPayrollElementsPayrollElementFlatRateTax diagram
properties isRef 0minOcc 0maxOcc 1content complex
annotation documentationRepresents space to provide country specific information about the liability of the element to flat rate taxes
element AuditFilePayrollMasterFilesEmployees diagram
properties isRef 0minOcc 0
maxOcc 1content complex
children Employee
annotation documentationEmployee personal details including name address and other relevant information
element AuditFilePayrollMasterFilesEmployeesEmployee diagram
properties isRef 0minOcc 1
maxOcc unboundedcontent complex
children EmployeeID EmployeeRegistrationNumbers Name Address DateOfBirth Gender BankAccount Identification
element AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeID
745
diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationUnique idenfitier for this employee within the payroll system
element AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeRegistrationNumbers diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc 1content complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
annotation documentationPersonal tax regiistration details for the employee
element AuditFilePayrollMasterFilesEmployeesEmployeeName diagram
845
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
annotation documentationEmployee name
element AuditFilePayrollMasterFilesEmployeesEmployeeAddress diagram
945
type extension of AddressStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
annotation documentationEmployee address details Multiple entries are possible to allow concurrent or consecutive addresses to be reported An extension point is provided to allow additional address information to be specified
element AuditFilePayrollMasterFilesEmployeesEmployeeDateOfBirth diagram
type xsdate
properties isRef 0content simple
element AuditFilePayrollMasterFilesEmployeesEmployeeGender diagram
type xsstring
properties isRef 0content simple
annotation documentationRevenue Bodies should consider the acceptable range of entries
element AuditFilePayrollMasterFilesEmployeesEmployeeBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
annotation documentationEmployee bank account details
1045
element AuditFilePayrollMasterFilesEmployeesEmployeeIdentification diagram
type IdentificationStructure
properties isRef 0minOcc 0maxOcc 1content complex
children IdentificationType IdentificationNumber DateValidUntil PlaceOfIssue DateOfIssue
annotation documentationFor use when employers need to demonstrate that they have seen proof of an employees identity
element AuditFilePayrollTransactionFiles diagram
properties isRef 0content complex
children Employment
annotation documentationDetailed analysis of payroll transactions
element AuditFilePayrollTransactionFilesEmployment diagram
1145
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children EmployeeID EmployeeWorkReferenceNumber DateStartEmployment DateEndEmployment JobTitle BranchID Department PeriodicalPayments
annotation documentationNormally there should be one Employment record for each employee Where an employee holds more than one job with the same employer (whether consecutively or concurrently) there may be more than one Employment record per employee
element AuditFilePayrollTransactionFilesEmploymentEmployeeID diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationA unique reference for the employee This reference should correspond to an entry in the Employee masterfile
element AuditFilePayrollTransactionFilesEmploymentEmployeeWorkReferenceNumber diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationHR personnel number for the employee (if different to the employee ID)
element AuditFilePayrollTransactionFilesEmploymentDateStartEmployment diagram
type xsdate
properties isRef 0content simple
annotation documentationThe date the employee started the Employment referred to by the PeriodicalPayments shown below
element AuditFilePayrollTransactionFilesEmploymentDateEndEmployment diagram
1245
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date the employee started the Employment referred to by the PeriodicalPayments shown below - if applicable
element AuditFilePayrollTransactionFilesEmploymentJobTitle diagram
type SAFlongtextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 256
annotation documentationTitle or description of the employees job
element AuditFilePayrollTransactionFilesEmploymentBranchID diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationUnique identifier for which the employee performs the main duties of the employment This identifier should correspond to an entry in the EmployerBranches masterfile
element AuditFilePayrollTransactionFilesEmploymentDepartment diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationName of the department for which the employee performs the main duties of the employment
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPayments diagram
properties isRef 0minOcc 0maxOcc 1content complex
children PeriodicalPayment
annotation documentationDetail of payroll transactions For each employee there will normally be one PeriodicalPayments entry each time the payroll is run This structure may also be used for other types of payroll transaction such as adjustments
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPayment
1345
diagram
properties isRef 0minOcc 1
maxOcc unboundedcontent complex
children PayrollPeriod PayrollPeriodYear PayFrequency DatePeriodStart DatePeriodEnd DatePaymentMade Element Hours
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayrollPeriod diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationNumber of tax period as recorded in payroll system
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayrollPeriodYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
1445
annotation documentationThe year in which the payroll transaction took place Revenue Bodies will wish to specify how this is to be shown if the fiscal year is not a calendar year
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayFrequency diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationThe time interval which forms the basis of periodic tax calculations for the employment for example Week or Month
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentDatePeriodStart diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
annotation documentationStart date of period for which payment has been made
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentDatePeriodEnd diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
annotation documentationEnd date of period for which payment has been made
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentDatePaymentMade diagram
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date on which payment was actually made Used to identify instances where payments are made in advance or in arrears
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElement diagram
1545
properties isRef 0minOcc 0
maxOcc unboundedcontent complex
children PayrollElementID Amount BankAccount PaymentDetails
annotation documentationAnalysis of the total amount paid
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPayrollElementID diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationReference to master files payroll element definition
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementAmount diagram
type AmountStructure
properties isRef 0content complex
children Amount CurrencyCode CurrencyAmount ExchangeRate
annotation documentationBasic amount is shown in default currency as defined in the header Option provided to show amount in local currency also
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementBankAccount diagram
type BankAccountStructure
1645
properties isRef 0minOcc 0maxOcc 1content complex
children IBANNumber BankAccountNumber BankAccountName SortCode
annotation documentationCross reference to bank account details in master files
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetails diagram
properties isRef 0minOcc 0
maxOcc unboundedcontent complex
children NumberOfUnits AmountPaidPerUnit UnitDescription
annotation documentationPayment details
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits diagram
type SAFquantityType
properties isRef 0content simple
facets totalDigits 22fractionDigits 6
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsAmountPaidPerUnit diagram
type AmountStructure
properties isRef 0content complex
children Amount CurrencyCode CurrencyAmount ExchangeRate
annotation documentationBasic amount shown in default currency as defined in the header Option to show amount in local currency also
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
1745
diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationDescription of units per which payment is made eg hours days
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHours diagram
properties isRef 0minOcc 0
maxOcc unboundedcontent complex
children HourType NumberOfHours AmountPaidPerUnit
annotation documentationTo allow SAF-P to report payroll amounts attributable to specific types of employee activity
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationThe type of activity being reported on Revenue Bodies may wish to prescribe a list of activity codes
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours diagram
type SAFquantityType
properties isRef 0content simple
facets totalDigits 22fractionDigits 6
annotation documentationThe umber of hours being reported under the activity type
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursAmountPaidPerUnit
1845
diagram
type AmountStructure
properties isRef 0minOcc 0maxOcc 1content complex
children Amount CurrencyCode CurrencyAmount ExchangeRate
annotation documentationThe hourly rate for the activity being reported upon
complexType AddressStructure diagram
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
used by elements AuditFilePayrollHeaderPayrollBureauAddress AuditFilePayrollMasterFilesEmployeesEmployeeAddress CompanyHeaderStructureAddress CompanyStructureAddress
1945
annotation documentation[Common to all SAFs] A common structure used wherever an address is required
element AddressStructureStreetName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element AddressStructureNumber diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element AddressStructureAdditionalAddressDetail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element AddressStructureBuilding diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
element AddressStructureCity diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
element AddressStructurePostalCode diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
element AddressStructureRegion
2045
diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationCountry specific code to indicate regions provinces within the tax authority Preferably described according to ISO 3166-2 Example GB-KEN for Kent county in the United Kingdom
element AddressStructureCountry diagram
type ISOCountryCode
properties isRef 0minOcc 0maxOcc 1content simple
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
element AddressStructureAddressType diagram
type restriction of xsstring
properties isRef 0minOcc 0maxOcc 1content simple
facets enumeration StreetAddressenumeration PostalAddressenumeration enumeration enumeration
annotation documentationField to differentiate between multiple addresses To indicate the type of address Choose from the predefined enumeration (examples StreetAddress PostalAddress BillingAddress)
complexType AmountStructure diagram
children Amount CurrencyCode CurrencyAmount ExchangeRate
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementAmount AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsAmountPaidPerUnit AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursAmountPaidPerUnit
2145
annotation documentation[Common to all SAFs] A common structure used wherever an amount is required Monetary amount with optional foreign currency exchange rate information
element AmountStructureAmount diagram
type SAFmonetaryType
properties isRef 0content simple
facets totalDigits 18fractionDigits 2
annotation documentationIn the default currency as shown in the SAF-P header
element AmountStructureCurrencyCode diagram
type ISOCurrencyCode
properties isRef 0content simple
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for Euros or USD for American Dollars
element AmountStructureCurrencyAmount diagram
type SAFmonetaryType
properties isRef 0content simple
facets totalDigits 18fractionDigits 2
annotation documentationAmount in the currency referred to by the CurrencyCode above
element AmountStructureExchangeRate diagram
type SAFexchangerateType
properties isRef 0minOcc 0maxOcc 1content simple
facets totalDigits 18fractionDigits 8
annotation documentationThe exchange rate used It should be reported in accordance with the formula CurrencyAmount x ExchangeRate = Amount
complexType BankAccountStructure diagram
2245
children IBANNumber BankAccountNumber BankAccountName SortCode
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeBankAccount AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementBankAccount CompanyHeaderStructureBankAccount CompanyStructureBankAccount
annotation documentation[Common to all SAFs] Bank account number information IBAN number or account number with optional information
element BankAccountStructureIBANNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationInternational Bank Account Number ISO 13616
element BankAccountStructureBankAccountNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationThe number allocated to the account by the individuals or companys own bank
element BankAccountStructureBankAccountName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
annotation documentationThe name of the individual or company holding the bank account
element BankAccountStructureSortCode
2345
diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationIdentifier for the bank branch at which the account is held May be needed to uniquely identify the account
complexType CompanyHeaderStructure diagram
type restriction of CompanyStructure
properties base CompanyStructure
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
used by element HeaderStructureCompany
annotation documentation[Common to all SAFs] CompanyStructure with mandatory RegistrationNumber and Telephone (Contact)
element CompanyHeaderStructureRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number to identify the company in the accounting records issued by a government body or created by the company for internal purposes to identify different entities within their corporate group
element CompanyHeaderStructureName diagram
type SAFmiddle2textType
properties isRef 0content simple
2445
facets maxLength 70
element CompanyHeaderStructureAddress diagram
type AddressStructure
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
element CompanyHeaderStructureContact diagram
type ContactHeaderStructure
2545
properties isRef 0minOcc 1
maxOcc unboundedcontent complex
children ContactPerson Telephone Fax Email Website
element CompanyHeaderStructureTaxRegistration diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
element CompanyHeaderStructureBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
complexType CompanyStructure
2645
diagram
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
used by element AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchDetailscomplexType CompanyHeaderStructure
annotation documentation[Common to all SAFs] Name address contact and identification information of a company or employer
element CompanyStructureRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationUnique number to identify the company in the accounting records issued by a government authority or created by the company for internal purposes to identify different entities within their corporate group
element CompanyStructureName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element CompanyStructureAddress diagram
2745
type AddressStructure
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
element CompanyStructureContact diagram
type ContactInformationStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children ContactPerson Telephone Fax Email Website
2845
element CompanyStructureTaxRegistration diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
element CompanyStructureBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
complexType ContactHeaderStructure
2945
diagram
type restriction of ContactInformationStructure
properties base ContactInformationStructure
children ContactPerson Telephone Fax Email Website
used by element CompanyHeaderStructureContact
annotation documentation[Common to all SAFs] ContactInformationStructure with madatory TelephoneNumber
element ContactHeaderStructureContactPerson diagram
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactHeaderStructureTelephone diagram
type SAFshorttextType
3045
properties isRef 0content simple
facets maxLength 18
element ContactHeaderStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactHeaderStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element ContactHeaderStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType ContactInformationStructure diagram
children ContactPerson Telephone Fax Email Website
used by elements AuditFilePayrollHeaderPayrollBureauContact CompanyStructureContactcomplexType ContactHeaderStructure
annotation documentation[Common to all SAFs] Contact information of a company or employer
element ContactInformationStructureContactPerson diagram
3145
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactInformationStructureTelephone diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
3245
facets maxLength 70
element ContactInformationStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType HeaderStructure diagram
children AuditFileVersion AuditFileCountry AuditFileRegion AuditFileDateCreated SoftwareCompanyName SoftwareID SoftwareVersion Company DefaultCurrencyCode SelectionCriteria HeaderComment
used by element AuditFilePayrollHeader
annotation documentation[Common to all SAFs] Overall information about this Standard Auditfile
element HeaderStructureAuditFileVersion
3345
diagram
type SAFcodeType
properties isRef 0content simple
facets maxLength 9
annotation documentationIdentification of the Standard Audit File SAF-P version being used
element HeaderStructureAuditFileCountry diagram
type ISOCountryCode
properties isRef 0content simple
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
element HeaderStructureAuditFileRegion diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationCountry specific code to indicate regions provinces within the tax jurisdiction Preferably described according to ISO 3166-2 Example GB-KEN for Kent county in the United Kingdom
element HeaderStructureAuditFileDateCreated diagram
type xsdate
properties isRef 0content simple
annotation documentationDate of production of SAF-P
element HeaderStructureSoftwareCompanyName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
annotation documentationName of the software company whose product created the SAF-P
element HeaderStructureSoftwareID diagram
3445
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationName of the Software that generated the SAF-P
element HeaderStructureSoftwareVersion diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationVersion of the software that created the SAF-P
element HeaderStructureCompany diagram
type CompanyHeaderStructure
properties isRef 0content complex
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
annotation documentationEmployers name and address details
element HeaderStructureDefaultCurrencyCode diagram
type ISOCurrencyCode
properties isRef 0content simple
facets length 3
annotation documentationThree letter Currency Code (ISO 4217) of local currency which is the default for the SAF
element HeaderStructureSelectionCriteria
3545
diagram
type SelectionCriteriaStructure
properties isRef 0minOcc 0maxOcc 1content complex
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
annotation documentationCriteria set by the user to populate the SAF-P
element HeaderStructureHeaderComment diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
3645
facets maxLength 256
annotation documentationSpace for any further generic comments on the SAF-P Revenue Bodies should consider what information they would expect to see here
complexType IdentificationStructure diagram
children IdentificationType IdentificationNumber DateValidUntil PlaceOfIssue DateOfIssue
used by element AuditFilePayrollMasterFilesEmployeesEmployeeIdentification
annotation documentationIdentification Document data This section is used when employers need to demonstrate that they have seen proof of an employees identity
element IdentificationStructureIdentificationType diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationThe type of identity document supplied to the employer Revenue bodies may wish to prescribe a specific list of codes
element IdentificationStructureIdentificationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number on the identification document
element IdentificationStructureDateValidUntil diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
element IdentificationStructurePlaceOfIssue diagram
type SAFmiddle1textType
3745
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
element IdentificationStructureDateOfIssue diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
complexType PersonNameStructure diagram
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
used by elements ContactHeaderStructureContactPerson ContactInformationStructureContactPerson AuditFilePayrollMasterFilesEmployeesEmployeeName
annotation documentation[Common to all SAFs] All information about the name of a natural (non-corporate) person
element PersonNameStructureTitle diagram
type SAFcodeType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 9
element PersonNameStructureFirstName diagram
type SAFmiddle1textType
properties isRef 0content simple
3845
facets maxLength 35
element PersonNameStructureInitials diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element PersonNameStructureLastNamePrefix diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA textual expression of a prefix that precedes this persons family name such as Van Von
element PersonNameStructureLastName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element PersonNameStructureBirthName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element PersonNameStructureSalutation diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA formal sign or expression of greeting expressed as text that is appropriate for this person such as Sir or Madam
element PersonNameStructureOtherTitles diagram
type SAFshorttextType
3945
properties isRef 0minOcc 0
maxOcc unboundedcontent simple
facets maxLength 18
complexType SelectionCriteriaStructure diagram
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
used by element HeaderStructureSelectionCriteria
annotation documentation[Common to all SAFs] The selection criteria used to generate this Standard Auditfile
element SelectionCriteriaStructureTaxReportingJurisdiction diagram
type SAFmiddle1textType
4045
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationIdentifies the tax jurisdiction for whose purpose the SAF has been created Principally for use where a single Revenue body covers more than one territory
element SelectionCriteriaStructureCompanyEntity diagram
type SAFmiddle2textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 70
annotation documentationFor use where data has been extracted from the full data set by reference to a specific corporate entity
element SelectionCriteriaStructureSelectionStartDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe start date for the reporting period covered by the SAF
element SelectionCriteriaStructureSelectionEndDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe end date for the reporting period covered by the SAF
element SelectionCriteriaStructurePeriodStart diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe first Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodStartYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodStart falls
element SelectionCriteriaStructurePeriodEnd
4145
diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe last Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodEndYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodEnd falls
element SelectionCriteriaStructureDocumentType diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationType of documents selected For use where the data has been restricted by reference to particular transaction types
element SelectionCriteriaStructureOtherCriteria diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc unboundedcontent simple
facets maxLength 256
annotation documentationAny other criteria used in selecting data Individual Revenue Bodies may wish to draw up a list of other acceptable selection criteria for use within their jurisdiction
complexType TaxIDStructure diagram
4245
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeRegistrationNumbers CompanyHeaderStructureTaxRegistration CompanyStructureTaxRegistration
annotation documentation[Common to all SAFs] Tax information for a company or employer
element TaxIDStructureTaxRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number issued by Revenue Body for use by the employer
element TaxIDStructureTaxType diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationFor use where information reported in the SAF-P covers more than one type of tax regime to identify the type of tax regime to which this entry relates
element TaxIDStructureTaxNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
4345
annotation documentationThe tax registration number for the particular tax regime referred to by TaxType
element TaxIDStructureTaxAuthority diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
annotation documentationIdentification of the Revenue Body to which this TaxType refers
element TaxIDStructureTaxVerificationDate diagram
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date that the tax registration details referred to above were last checked
simpleType ISOCountryCode type restriction of xsstring
used by elements HeaderStructureAuditFileCountry AddressStructureCountry
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
simpleType ISOCurrencyCode type restriction of xsstring
used by elements AmountStructureCurrencyCode HeaderStructureDefaultCurrencyCode
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for the Euros or USD for American Dollars
simpleType SAFcodeType type restriction of xsstring
used by elements HeaderStructureAuditFileRegion HeaderStructureAuditFileVersion TaxIDStructureTaxType PersonNameStructureTitle
facets maxLength 9
annotation documentationText of max 9 characters
simpleType SAFexchangerateType type restriction of xsdecimal
used by element AmountStructureExchangeRate
facets totalDigits 18fractionDigits 8
annotation documentation18 digits max of which 8 can be fractional digits
simpleType SAFlongtextType type restriction of xsstring
used by elements AuditFilePayrollTransactionFilesEmploymentBranchID AuditFilePayrollTransactionFilesEmploymentDepartment SelectionCriteriaStructureDocumentType AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeWorkReferenceNumber HeaderStructureHeaderComment AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType AuditFilePayrollTransactionFilesEmploymentJobTitle SelectionCriteriaStructureOtherCriteria AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementDescription HeaderStructureSoftwareID AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
facets maxLength 256
annotation documentation256 character text
simpleType SAFmiddle1textType type restriction of xsstring
4445
used by elements BankAccountStructureBankAccountNumber AddressStructureBuilding AddressStructureCity PersonNameStructureFirstName BankAccountStructureIBANNumber IdentificationStructureIdentificationNumber AuditFilePayrollHeaderPayrollBureauName IdentificationStructurePlaceOfIssue AddressStructureRegion CompanyHeaderStructureRegistrationNumber CompanyStructureRegistrationNumber TaxIDStructureTaxAuthority TaxIDStructureTaxNumber TaxIDStructureTaxRegistrationNumber SelectionCriteriaStructureTaxReportingJurisdiction
facets maxLength 35
annotation documentation35 character text
simpleType SAFmiddle2textType type restriction of xsstring
used by elements AddressStructureAdditionalAddressDetail BankAccountStructureBankAccountName PersonNameStructureBirthName SelectionCriteriaStructureCompanyEntity ContactHeaderStructureEmail ContactInformationStructureEmail PersonNameStructureLastName CompanyHeaderStructureName CompanyStructureName HeaderStructureSoftwareCompanyName AddressStructureStreetName
facets maxLength 70
annotation documentation70 character text
simpleType SAFmonetaryType type restriction of xsdecimal
used by elements AmountStructureAmount AmountStructureCurrencyAmount
facets totalDigits 18fractionDigits 2
annotation documentationMonetary amount18 digits max of which 2 can be fractional digits
simpleType SAFquantityType type restriction of xsdecimal
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits
facets totalDigits 22fractionDigits 6
annotation documentationUsed to describe a quantity Monetary amount 22 digits max of which 6 can be fractional digits
simpleType SAFshorttextType type restriction of xsstring
used by elements AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchID ContactHeaderStructureFax ContactInformationStructureFax IdentificationStructureIdentificationType PersonNameStructureInitials PersonNameStructureLastNamePrefix AddressStructureNumber PersonNameStructureOtherTitles AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayFrequency AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementID AddressStructurePostalCode PersonNameStructureSalutation HeaderStructureSoftwareVersion BankAccountStructureSortCode ContactHeaderStructureTelephone ContactInformationStructureTelephone
facets maxLength 18
annotation documentation18 character text
simpleType SAFweightType type restriction of xsdecimal
facets totalDigits 14fractionDigits 3
annotation documentationDescribes a weight Monetary amount14 digits max of which 3 can be fractional digits
XML Schema documentation generated by XMLSpy Schema Editor httpwwwaltovacomxmlspy
4545
- Footer Guidance for the Standard Audit File ndash Payroll Version 10 Appendix B Schema
- Header Page
diagram
properties isRef 0minOcc 0maxOcc 1content complex
children Name Address Contact
annotation documentationPayroll Bureau name and address details
element AuditFilePayrollHeaderPayrollBureauName diagram
type restriction of SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
annotation documentationName of the payroll bureau
element AuditFilePayrollHeaderPayrollBureauAddress diagram
345
type AddressStructure
properties isRef 0minOcc 0maxOcc 1content complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
annotation documentationPayroll bureau address details
element AuditFilePayrollHeaderPayrollBureauContact diagram
type ContactInformationStructure
properties isRef 0content complex
children ContactPerson Telephone Fax Email Website
annotation documentationPayroll bureau contact details
element AuditFilePayrollMasterFiles diagram
properties isRef 0content complex
children EmployerBranches PayrollElements Employees
annotation documentationHolds standing data about employer branches employees and payroll elements An extension point is provided to allow Revenue Bodies to specify additional elements or structures such as tax rate tables
element AuditFilePayrollMasterFilesEmployerBranches diagram
properties isRef 0minOcc 0
maxOcc 1content complex
children EmployerBranch
annotation documentationFor use where an employer operates a number of distinct organisational units (referred to in SAF-P as branches for the sake of convenience)
445
element AuditFilePayrollMasterFilesEmployerBranchesEmployerBranch diagram
properties isRef 0minOcc 1
maxOcc unboundedcontent complex
children BranchID BranchDetails
element AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchID diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationA unique identifier for the branch whose details are shown below
element AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchDetails diagram
type CompanyStructure
properties isRef 0content complex
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
annotation documentationBranch name and address details
element AuditFilePayrollMasterFilesPayrollElements diagram
properties isRef 0minOcc 0maxOcc 1content complex
545
children PayrollElement
annotation documentationDefinition of the payroll elements be used in the transaction recordss Includes income and deductions
element AuditFilePayrollMasterFilesPayrollElementsPayrollElement diagram
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children PayrollElementID PayrollElementDescription PositionCode FlatRateTax
element AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementID diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationUnique ID used in the software to identify the element
element AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementDescription diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationDescription given to the Payroll element
element AuditFilePayrollMasterFilesPayrollElementsPayrollElementPositionCode diagram
type xsnonNegativeInteger
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationA code indicating the point in the tax calculation at which the element is taken into account when determining an employees net pay Can be used to reproduce transactions in a payslip format
645
element AuditFilePayrollMasterFilesPayrollElementsPayrollElementFlatRateTax diagram
properties isRef 0minOcc 0maxOcc 1content complex
annotation documentationRepresents space to provide country specific information about the liability of the element to flat rate taxes
element AuditFilePayrollMasterFilesEmployees diagram
properties isRef 0minOcc 0
maxOcc 1content complex
children Employee
annotation documentationEmployee personal details including name address and other relevant information
element AuditFilePayrollMasterFilesEmployeesEmployee diagram
properties isRef 0minOcc 1
maxOcc unboundedcontent complex
children EmployeeID EmployeeRegistrationNumbers Name Address DateOfBirth Gender BankAccount Identification
element AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeID
745
diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationUnique idenfitier for this employee within the payroll system
element AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeRegistrationNumbers diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc 1content complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
annotation documentationPersonal tax regiistration details for the employee
element AuditFilePayrollMasterFilesEmployeesEmployeeName diagram
845
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
annotation documentationEmployee name
element AuditFilePayrollMasterFilesEmployeesEmployeeAddress diagram
945
type extension of AddressStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
annotation documentationEmployee address details Multiple entries are possible to allow concurrent or consecutive addresses to be reported An extension point is provided to allow additional address information to be specified
element AuditFilePayrollMasterFilesEmployeesEmployeeDateOfBirth diagram
type xsdate
properties isRef 0content simple
element AuditFilePayrollMasterFilesEmployeesEmployeeGender diagram
type xsstring
properties isRef 0content simple
annotation documentationRevenue Bodies should consider the acceptable range of entries
element AuditFilePayrollMasterFilesEmployeesEmployeeBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
annotation documentationEmployee bank account details
1045
element AuditFilePayrollMasterFilesEmployeesEmployeeIdentification diagram
type IdentificationStructure
properties isRef 0minOcc 0maxOcc 1content complex
children IdentificationType IdentificationNumber DateValidUntil PlaceOfIssue DateOfIssue
annotation documentationFor use when employers need to demonstrate that they have seen proof of an employees identity
element AuditFilePayrollTransactionFiles diagram
properties isRef 0content complex
children Employment
annotation documentationDetailed analysis of payroll transactions
element AuditFilePayrollTransactionFilesEmployment diagram
1145
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children EmployeeID EmployeeWorkReferenceNumber DateStartEmployment DateEndEmployment JobTitle BranchID Department PeriodicalPayments
annotation documentationNormally there should be one Employment record for each employee Where an employee holds more than one job with the same employer (whether consecutively or concurrently) there may be more than one Employment record per employee
element AuditFilePayrollTransactionFilesEmploymentEmployeeID diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationA unique reference for the employee This reference should correspond to an entry in the Employee masterfile
element AuditFilePayrollTransactionFilesEmploymentEmployeeWorkReferenceNumber diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationHR personnel number for the employee (if different to the employee ID)
element AuditFilePayrollTransactionFilesEmploymentDateStartEmployment diagram
type xsdate
properties isRef 0content simple
annotation documentationThe date the employee started the Employment referred to by the PeriodicalPayments shown below
element AuditFilePayrollTransactionFilesEmploymentDateEndEmployment diagram
1245
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date the employee started the Employment referred to by the PeriodicalPayments shown below - if applicable
element AuditFilePayrollTransactionFilesEmploymentJobTitle diagram
type SAFlongtextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 256
annotation documentationTitle or description of the employees job
element AuditFilePayrollTransactionFilesEmploymentBranchID diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationUnique identifier for which the employee performs the main duties of the employment This identifier should correspond to an entry in the EmployerBranches masterfile
element AuditFilePayrollTransactionFilesEmploymentDepartment diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationName of the department for which the employee performs the main duties of the employment
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPayments diagram
properties isRef 0minOcc 0maxOcc 1content complex
children PeriodicalPayment
annotation documentationDetail of payroll transactions For each employee there will normally be one PeriodicalPayments entry each time the payroll is run This structure may also be used for other types of payroll transaction such as adjustments
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPayment
1345
diagram
properties isRef 0minOcc 1
maxOcc unboundedcontent complex
children PayrollPeriod PayrollPeriodYear PayFrequency DatePeriodStart DatePeriodEnd DatePaymentMade Element Hours
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayrollPeriod diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationNumber of tax period as recorded in payroll system
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayrollPeriodYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
1445
annotation documentationThe year in which the payroll transaction took place Revenue Bodies will wish to specify how this is to be shown if the fiscal year is not a calendar year
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayFrequency diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationThe time interval which forms the basis of periodic tax calculations for the employment for example Week or Month
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentDatePeriodStart diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
annotation documentationStart date of period for which payment has been made
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentDatePeriodEnd diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
annotation documentationEnd date of period for which payment has been made
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentDatePaymentMade diagram
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date on which payment was actually made Used to identify instances where payments are made in advance or in arrears
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElement diagram
1545
properties isRef 0minOcc 0
maxOcc unboundedcontent complex
children PayrollElementID Amount BankAccount PaymentDetails
annotation documentationAnalysis of the total amount paid
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPayrollElementID diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationReference to master files payroll element definition
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementAmount diagram
type AmountStructure
properties isRef 0content complex
children Amount CurrencyCode CurrencyAmount ExchangeRate
annotation documentationBasic amount is shown in default currency as defined in the header Option provided to show amount in local currency also
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementBankAccount diagram
type BankAccountStructure
1645
properties isRef 0minOcc 0maxOcc 1content complex
children IBANNumber BankAccountNumber BankAccountName SortCode
annotation documentationCross reference to bank account details in master files
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetails diagram
properties isRef 0minOcc 0
maxOcc unboundedcontent complex
children NumberOfUnits AmountPaidPerUnit UnitDescription
annotation documentationPayment details
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits diagram
type SAFquantityType
properties isRef 0content simple
facets totalDigits 22fractionDigits 6
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsAmountPaidPerUnit diagram
type AmountStructure
properties isRef 0content complex
children Amount CurrencyCode CurrencyAmount ExchangeRate
annotation documentationBasic amount shown in default currency as defined in the header Option to show amount in local currency also
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
1745
diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationDescription of units per which payment is made eg hours days
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHours diagram
properties isRef 0minOcc 0
maxOcc unboundedcontent complex
children HourType NumberOfHours AmountPaidPerUnit
annotation documentationTo allow SAF-P to report payroll amounts attributable to specific types of employee activity
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationThe type of activity being reported on Revenue Bodies may wish to prescribe a list of activity codes
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours diagram
type SAFquantityType
properties isRef 0content simple
facets totalDigits 22fractionDigits 6
annotation documentationThe umber of hours being reported under the activity type
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursAmountPaidPerUnit
1845
diagram
type AmountStructure
properties isRef 0minOcc 0maxOcc 1content complex
children Amount CurrencyCode CurrencyAmount ExchangeRate
annotation documentationThe hourly rate for the activity being reported upon
complexType AddressStructure diagram
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
used by elements AuditFilePayrollHeaderPayrollBureauAddress AuditFilePayrollMasterFilesEmployeesEmployeeAddress CompanyHeaderStructureAddress CompanyStructureAddress
1945
annotation documentation[Common to all SAFs] A common structure used wherever an address is required
element AddressStructureStreetName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element AddressStructureNumber diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element AddressStructureAdditionalAddressDetail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element AddressStructureBuilding diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
element AddressStructureCity diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
element AddressStructurePostalCode diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
element AddressStructureRegion
2045
diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationCountry specific code to indicate regions provinces within the tax authority Preferably described according to ISO 3166-2 Example GB-KEN for Kent county in the United Kingdom
element AddressStructureCountry diagram
type ISOCountryCode
properties isRef 0minOcc 0maxOcc 1content simple
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
element AddressStructureAddressType diagram
type restriction of xsstring
properties isRef 0minOcc 0maxOcc 1content simple
facets enumeration StreetAddressenumeration PostalAddressenumeration enumeration enumeration
annotation documentationField to differentiate between multiple addresses To indicate the type of address Choose from the predefined enumeration (examples StreetAddress PostalAddress BillingAddress)
complexType AmountStructure diagram
children Amount CurrencyCode CurrencyAmount ExchangeRate
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementAmount AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsAmountPaidPerUnit AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursAmountPaidPerUnit
2145
annotation documentation[Common to all SAFs] A common structure used wherever an amount is required Monetary amount with optional foreign currency exchange rate information
element AmountStructureAmount diagram
type SAFmonetaryType
properties isRef 0content simple
facets totalDigits 18fractionDigits 2
annotation documentationIn the default currency as shown in the SAF-P header
element AmountStructureCurrencyCode diagram
type ISOCurrencyCode
properties isRef 0content simple
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for Euros or USD for American Dollars
element AmountStructureCurrencyAmount diagram
type SAFmonetaryType
properties isRef 0content simple
facets totalDigits 18fractionDigits 2
annotation documentationAmount in the currency referred to by the CurrencyCode above
element AmountStructureExchangeRate diagram
type SAFexchangerateType
properties isRef 0minOcc 0maxOcc 1content simple
facets totalDigits 18fractionDigits 8
annotation documentationThe exchange rate used It should be reported in accordance with the formula CurrencyAmount x ExchangeRate = Amount
complexType BankAccountStructure diagram
2245
children IBANNumber BankAccountNumber BankAccountName SortCode
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeBankAccount AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementBankAccount CompanyHeaderStructureBankAccount CompanyStructureBankAccount
annotation documentation[Common to all SAFs] Bank account number information IBAN number or account number with optional information
element BankAccountStructureIBANNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationInternational Bank Account Number ISO 13616
element BankAccountStructureBankAccountNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationThe number allocated to the account by the individuals or companys own bank
element BankAccountStructureBankAccountName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
annotation documentationThe name of the individual or company holding the bank account
element BankAccountStructureSortCode
2345
diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationIdentifier for the bank branch at which the account is held May be needed to uniquely identify the account
complexType CompanyHeaderStructure diagram
type restriction of CompanyStructure
properties base CompanyStructure
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
used by element HeaderStructureCompany
annotation documentation[Common to all SAFs] CompanyStructure with mandatory RegistrationNumber and Telephone (Contact)
element CompanyHeaderStructureRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number to identify the company in the accounting records issued by a government body or created by the company for internal purposes to identify different entities within their corporate group
element CompanyHeaderStructureName diagram
type SAFmiddle2textType
properties isRef 0content simple
2445
facets maxLength 70
element CompanyHeaderStructureAddress diagram
type AddressStructure
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
element CompanyHeaderStructureContact diagram
type ContactHeaderStructure
2545
properties isRef 0minOcc 1
maxOcc unboundedcontent complex
children ContactPerson Telephone Fax Email Website
element CompanyHeaderStructureTaxRegistration diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
element CompanyHeaderStructureBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
complexType CompanyStructure
2645
diagram
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
used by element AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchDetailscomplexType CompanyHeaderStructure
annotation documentation[Common to all SAFs] Name address contact and identification information of a company or employer
element CompanyStructureRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationUnique number to identify the company in the accounting records issued by a government authority or created by the company for internal purposes to identify different entities within their corporate group
element CompanyStructureName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element CompanyStructureAddress diagram
2745
type AddressStructure
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
element CompanyStructureContact diagram
type ContactInformationStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children ContactPerson Telephone Fax Email Website
2845
element CompanyStructureTaxRegistration diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
element CompanyStructureBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
complexType ContactHeaderStructure
2945
diagram
type restriction of ContactInformationStructure
properties base ContactInformationStructure
children ContactPerson Telephone Fax Email Website
used by element CompanyHeaderStructureContact
annotation documentation[Common to all SAFs] ContactInformationStructure with madatory TelephoneNumber
element ContactHeaderStructureContactPerson diagram
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactHeaderStructureTelephone diagram
type SAFshorttextType
3045
properties isRef 0content simple
facets maxLength 18
element ContactHeaderStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactHeaderStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element ContactHeaderStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType ContactInformationStructure diagram
children ContactPerson Telephone Fax Email Website
used by elements AuditFilePayrollHeaderPayrollBureauContact CompanyStructureContactcomplexType ContactHeaderStructure
annotation documentation[Common to all SAFs] Contact information of a company or employer
element ContactInformationStructureContactPerson diagram
3145
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactInformationStructureTelephone diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
3245
facets maxLength 70
element ContactInformationStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType HeaderStructure diagram
children AuditFileVersion AuditFileCountry AuditFileRegion AuditFileDateCreated SoftwareCompanyName SoftwareID SoftwareVersion Company DefaultCurrencyCode SelectionCriteria HeaderComment
used by element AuditFilePayrollHeader
annotation documentation[Common to all SAFs] Overall information about this Standard Auditfile
element HeaderStructureAuditFileVersion
3345
diagram
type SAFcodeType
properties isRef 0content simple
facets maxLength 9
annotation documentationIdentification of the Standard Audit File SAF-P version being used
element HeaderStructureAuditFileCountry diagram
type ISOCountryCode
properties isRef 0content simple
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
element HeaderStructureAuditFileRegion diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationCountry specific code to indicate regions provinces within the tax jurisdiction Preferably described according to ISO 3166-2 Example GB-KEN for Kent county in the United Kingdom
element HeaderStructureAuditFileDateCreated diagram
type xsdate
properties isRef 0content simple
annotation documentationDate of production of SAF-P
element HeaderStructureSoftwareCompanyName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
annotation documentationName of the software company whose product created the SAF-P
element HeaderStructureSoftwareID diagram
3445
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationName of the Software that generated the SAF-P
element HeaderStructureSoftwareVersion diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationVersion of the software that created the SAF-P
element HeaderStructureCompany diagram
type CompanyHeaderStructure
properties isRef 0content complex
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
annotation documentationEmployers name and address details
element HeaderStructureDefaultCurrencyCode diagram
type ISOCurrencyCode
properties isRef 0content simple
facets length 3
annotation documentationThree letter Currency Code (ISO 4217) of local currency which is the default for the SAF
element HeaderStructureSelectionCriteria
3545
diagram
type SelectionCriteriaStructure
properties isRef 0minOcc 0maxOcc 1content complex
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
annotation documentationCriteria set by the user to populate the SAF-P
element HeaderStructureHeaderComment diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
3645
facets maxLength 256
annotation documentationSpace for any further generic comments on the SAF-P Revenue Bodies should consider what information they would expect to see here
complexType IdentificationStructure diagram
children IdentificationType IdentificationNumber DateValidUntil PlaceOfIssue DateOfIssue
used by element AuditFilePayrollMasterFilesEmployeesEmployeeIdentification
annotation documentationIdentification Document data This section is used when employers need to demonstrate that they have seen proof of an employees identity
element IdentificationStructureIdentificationType diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationThe type of identity document supplied to the employer Revenue bodies may wish to prescribe a specific list of codes
element IdentificationStructureIdentificationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number on the identification document
element IdentificationStructureDateValidUntil diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
element IdentificationStructurePlaceOfIssue diagram
type SAFmiddle1textType
3745
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
element IdentificationStructureDateOfIssue diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
complexType PersonNameStructure diagram
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
used by elements ContactHeaderStructureContactPerson ContactInformationStructureContactPerson AuditFilePayrollMasterFilesEmployeesEmployeeName
annotation documentation[Common to all SAFs] All information about the name of a natural (non-corporate) person
element PersonNameStructureTitle diagram
type SAFcodeType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 9
element PersonNameStructureFirstName diagram
type SAFmiddle1textType
properties isRef 0content simple
3845
facets maxLength 35
element PersonNameStructureInitials diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element PersonNameStructureLastNamePrefix diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA textual expression of a prefix that precedes this persons family name such as Van Von
element PersonNameStructureLastName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element PersonNameStructureBirthName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element PersonNameStructureSalutation diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA formal sign or expression of greeting expressed as text that is appropriate for this person such as Sir or Madam
element PersonNameStructureOtherTitles diagram
type SAFshorttextType
3945
properties isRef 0minOcc 0
maxOcc unboundedcontent simple
facets maxLength 18
complexType SelectionCriteriaStructure diagram
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
used by element HeaderStructureSelectionCriteria
annotation documentation[Common to all SAFs] The selection criteria used to generate this Standard Auditfile
element SelectionCriteriaStructureTaxReportingJurisdiction diagram
type SAFmiddle1textType
4045
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationIdentifies the tax jurisdiction for whose purpose the SAF has been created Principally for use where a single Revenue body covers more than one territory
element SelectionCriteriaStructureCompanyEntity diagram
type SAFmiddle2textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 70
annotation documentationFor use where data has been extracted from the full data set by reference to a specific corporate entity
element SelectionCriteriaStructureSelectionStartDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe start date for the reporting period covered by the SAF
element SelectionCriteriaStructureSelectionEndDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe end date for the reporting period covered by the SAF
element SelectionCriteriaStructurePeriodStart diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe first Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodStartYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodStart falls
element SelectionCriteriaStructurePeriodEnd
4145
diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe last Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodEndYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodEnd falls
element SelectionCriteriaStructureDocumentType diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationType of documents selected For use where the data has been restricted by reference to particular transaction types
element SelectionCriteriaStructureOtherCriteria diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc unboundedcontent simple
facets maxLength 256
annotation documentationAny other criteria used in selecting data Individual Revenue Bodies may wish to draw up a list of other acceptable selection criteria for use within their jurisdiction
complexType TaxIDStructure diagram
4245
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeRegistrationNumbers CompanyHeaderStructureTaxRegistration CompanyStructureTaxRegistration
annotation documentation[Common to all SAFs] Tax information for a company or employer
element TaxIDStructureTaxRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number issued by Revenue Body for use by the employer
element TaxIDStructureTaxType diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationFor use where information reported in the SAF-P covers more than one type of tax regime to identify the type of tax regime to which this entry relates
element TaxIDStructureTaxNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
4345
annotation documentationThe tax registration number for the particular tax regime referred to by TaxType
element TaxIDStructureTaxAuthority diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
annotation documentationIdentification of the Revenue Body to which this TaxType refers
element TaxIDStructureTaxVerificationDate diagram
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date that the tax registration details referred to above were last checked
simpleType ISOCountryCode type restriction of xsstring
used by elements HeaderStructureAuditFileCountry AddressStructureCountry
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
simpleType ISOCurrencyCode type restriction of xsstring
used by elements AmountStructureCurrencyCode HeaderStructureDefaultCurrencyCode
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for the Euros or USD for American Dollars
simpleType SAFcodeType type restriction of xsstring
used by elements HeaderStructureAuditFileRegion HeaderStructureAuditFileVersion TaxIDStructureTaxType PersonNameStructureTitle
facets maxLength 9
annotation documentationText of max 9 characters
simpleType SAFexchangerateType type restriction of xsdecimal
used by element AmountStructureExchangeRate
facets totalDigits 18fractionDigits 8
annotation documentation18 digits max of which 8 can be fractional digits
simpleType SAFlongtextType type restriction of xsstring
used by elements AuditFilePayrollTransactionFilesEmploymentBranchID AuditFilePayrollTransactionFilesEmploymentDepartment SelectionCriteriaStructureDocumentType AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeWorkReferenceNumber HeaderStructureHeaderComment AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType AuditFilePayrollTransactionFilesEmploymentJobTitle SelectionCriteriaStructureOtherCriteria AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementDescription HeaderStructureSoftwareID AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
facets maxLength 256
annotation documentation256 character text
simpleType SAFmiddle1textType type restriction of xsstring
4445
used by elements BankAccountStructureBankAccountNumber AddressStructureBuilding AddressStructureCity PersonNameStructureFirstName BankAccountStructureIBANNumber IdentificationStructureIdentificationNumber AuditFilePayrollHeaderPayrollBureauName IdentificationStructurePlaceOfIssue AddressStructureRegion CompanyHeaderStructureRegistrationNumber CompanyStructureRegistrationNumber TaxIDStructureTaxAuthority TaxIDStructureTaxNumber TaxIDStructureTaxRegistrationNumber SelectionCriteriaStructureTaxReportingJurisdiction
facets maxLength 35
annotation documentation35 character text
simpleType SAFmiddle2textType type restriction of xsstring
used by elements AddressStructureAdditionalAddressDetail BankAccountStructureBankAccountName PersonNameStructureBirthName SelectionCriteriaStructureCompanyEntity ContactHeaderStructureEmail ContactInformationStructureEmail PersonNameStructureLastName CompanyHeaderStructureName CompanyStructureName HeaderStructureSoftwareCompanyName AddressStructureStreetName
facets maxLength 70
annotation documentation70 character text
simpleType SAFmonetaryType type restriction of xsdecimal
used by elements AmountStructureAmount AmountStructureCurrencyAmount
facets totalDigits 18fractionDigits 2
annotation documentationMonetary amount18 digits max of which 2 can be fractional digits
simpleType SAFquantityType type restriction of xsdecimal
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits
facets totalDigits 22fractionDigits 6
annotation documentationUsed to describe a quantity Monetary amount 22 digits max of which 6 can be fractional digits
simpleType SAFshorttextType type restriction of xsstring
used by elements AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchID ContactHeaderStructureFax ContactInformationStructureFax IdentificationStructureIdentificationType PersonNameStructureInitials PersonNameStructureLastNamePrefix AddressStructureNumber PersonNameStructureOtherTitles AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayFrequency AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementID AddressStructurePostalCode PersonNameStructureSalutation HeaderStructureSoftwareVersion BankAccountStructureSortCode ContactHeaderStructureTelephone ContactInformationStructureTelephone
facets maxLength 18
annotation documentation18 character text
simpleType SAFweightType type restriction of xsdecimal
facets totalDigits 14fractionDigits 3
annotation documentationDescribes a weight Monetary amount14 digits max of which 3 can be fractional digits
XML Schema documentation generated by XMLSpy Schema Editor httpwwwaltovacomxmlspy
4545
- Footer Guidance for the Standard Audit File ndash Payroll Version 10 Appendix B Schema
- Header Page
type AddressStructure
properties isRef 0minOcc 0maxOcc 1content complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
annotation documentationPayroll bureau address details
element AuditFilePayrollHeaderPayrollBureauContact diagram
type ContactInformationStructure
properties isRef 0content complex
children ContactPerson Telephone Fax Email Website
annotation documentationPayroll bureau contact details
element AuditFilePayrollMasterFiles diagram
properties isRef 0content complex
children EmployerBranches PayrollElements Employees
annotation documentationHolds standing data about employer branches employees and payroll elements An extension point is provided to allow Revenue Bodies to specify additional elements or structures such as tax rate tables
element AuditFilePayrollMasterFilesEmployerBranches diagram
properties isRef 0minOcc 0
maxOcc 1content complex
children EmployerBranch
annotation documentationFor use where an employer operates a number of distinct organisational units (referred to in SAF-P as branches for the sake of convenience)
445
element AuditFilePayrollMasterFilesEmployerBranchesEmployerBranch diagram
properties isRef 0minOcc 1
maxOcc unboundedcontent complex
children BranchID BranchDetails
element AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchID diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationA unique identifier for the branch whose details are shown below
element AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchDetails diagram
type CompanyStructure
properties isRef 0content complex
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
annotation documentationBranch name and address details
element AuditFilePayrollMasterFilesPayrollElements diagram
properties isRef 0minOcc 0maxOcc 1content complex
545
children PayrollElement
annotation documentationDefinition of the payroll elements be used in the transaction recordss Includes income and deductions
element AuditFilePayrollMasterFilesPayrollElementsPayrollElement diagram
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children PayrollElementID PayrollElementDescription PositionCode FlatRateTax
element AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementID diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationUnique ID used in the software to identify the element
element AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementDescription diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationDescription given to the Payroll element
element AuditFilePayrollMasterFilesPayrollElementsPayrollElementPositionCode diagram
type xsnonNegativeInteger
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationA code indicating the point in the tax calculation at which the element is taken into account when determining an employees net pay Can be used to reproduce transactions in a payslip format
645
element AuditFilePayrollMasterFilesPayrollElementsPayrollElementFlatRateTax diagram
properties isRef 0minOcc 0maxOcc 1content complex
annotation documentationRepresents space to provide country specific information about the liability of the element to flat rate taxes
element AuditFilePayrollMasterFilesEmployees diagram
properties isRef 0minOcc 0
maxOcc 1content complex
children Employee
annotation documentationEmployee personal details including name address and other relevant information
element AuditFilePayrollMasterFilesEmployeesEmployee diagram
properties isRef 0minOcc 1
maxOcc unboundedcontent complex
children EmployeeID EmployeeRegistrationNumbers Name Address DateOfBirth Gender BankAccount Identification
element AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeID
745
diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationUnique idenfitier for this employee within the payroll system
element AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeRegistrationNumbers diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc 1content complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
annotation documentationPersonal tax regiistration details for the employee
element AuditFilePayrollMasterFilesEmployeesEmployeeName diagram
845
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
annotation documentationEmployee name
element AuditFilePayrollMasterFilesEmployeesEmployeeAddress diagram
945
type extension of AddressStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
annotation documentationEmployee address details Multiple entries are possible to allow concurrent or consecutive addresses to be reported An extension point is provided to allow additional address information to be specified
element AuditFilePayrollMasterFilesEmployeesEmployeeDateOfBirth diagram
type xsdate
properties isRef 0content simple
element AuditFilePayrollMasterFilesEmployeesEmployeeGender diagram
type xsstring
properties isRef 0content simple
annotation documentationRevenue Bodies should consider the acceptable range of entries
element AuditFilePayrollMasterFilesEmployeesEmployeeBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
annotation documentationEmployee bank account details
1045
element AuditFilePayrollMasterFilesEmployeesEmployeeIdentification diagram
type IdentificationStructure
properties isRef 0minOcc 0maxOcc 1content complex
children IdentificationType IdentificationNumber DateValidUntil PlaceOfIssue DateOfIssue
annotation documentationFor use when employers need to demonstrate that they have seen proof of an employees identity
element AuditFilePayrollTransactionFiles diagram
properties isRef 0content complex
children Employment
annotation documentationDetailed analysis of payroll transactions
element AuditFilePayrollTransactionFilesEmployment diagram
1145
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children EmployeeID EmployeeWorkReferenceNumber DateStartEmployment DateEndEmployment JobTitle BranchID Department PeriodicalPayments
annotation documentationNormally there should be one Employment record for each employee Where an employee holds more than one job with the same employer (whether consecutively or concurrently) there may be more than one Employment record per employee
element AuditFilePayrollTransactionFilesEmploymentEmployeeID diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationA unique reference for the employee This reference should correspond to an entry in the Employee masterfile
element AuditFilePayrollTransactionFilesEmploymentEmployeeWorkReferenceNumber diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationHR personnel number for the employee (if different to the employee ID)
element AuditFilePayrollTransactionFilesEmploymentDateStartEmployment diagram
type xsdate
properties isRef 0content simple
annotation documentationThe date the employee started the Employment referred to by the PeriodicalPayments shown below
element AuditFilePayrollTransactionFilesEmploymentDateEndEmployment diagram
1245
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date the employee started the Employment referred to by the PeriodicalPayments shown below - if applicable
element AuditFilePayrollTransactionFilesEmploymentJobTitle diagram
type SAFlongtextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 256
annotation documentationTitle or description of the employees job
element AuditFilePayrollTransactionFilesEmploymentBranchID diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationUnique identifier for which the employee performs the main duties of the employment This identifier should correspond to an entry in the EmployerBranches masterfile
element AuditFilePayrollTransactionFilesEmploymentDepartment diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationName of the department for which the employee performs the main duties of the employment
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPayments diagram
properties isRef 0minOcc 0maxOcc 1content complex
children PeriodicalPayment
annotation documentationDetail of payroll transactions For each employee there will normally be one PeriodicalPayments entry each time the payroll is run This structure may also be used for other types of payroll transaction such as adjustments
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPayment
1345
diagram
properties isRef 0minOcc 1
maxOcc unboundedcontent complex
children PayrollPeriod PayrollPeriodYear PayFrequency DatePeriodStart DatePeriodEnd DatePaymentMade Element Hours
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayrollPeriod diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationNumber of tax period as recorded in payroll system
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayrollPeriodYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
1445
annotation documentationThe year in which the payroll transaction took place Revenue Bodies will wish to specify how this is to be shown if the fiscal year is not a calendar year
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayFrequency diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationThe time interval which forms the basis of periodic tax calculations for the employment for example Week or Month
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentDatePeriodStart diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
annotation documentationStart date of period for which payment has been made
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentDatePeriodEnd diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
annotation documentationEnd date of period for which payment has been made
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentDatePaymentMade diagram
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date on which payment was actually made Used to identify instances where payments are made in advance or in arrears
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElement diagram
1545
properties isRef 0minOcc 0
maxOcc unboundedcontent complex
children PayrollElementID Amount BankAccount PaymentDetails
annotation documentationAnalysis of the total amount paid
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPayrollElementID diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationReference to master files payroll element definition
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementAmount diagram
type AmountStructure
properties isRef 0content complex
children Amount CurrencyCode CurrencyAmount ExchangeRate
annotation documentationBasic amount is shown in default currency as defined in the header Option provided to show amount in local currency also
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementBankAccount diagram
type BankAccountStructure
1645
properties isRef 0minOcc 0maxOcc 1content complex
children IBANNumber BankAccountNumber BankAccountName SortCode
annotation documentationCross reference to bank account details in master files
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetails diagram
properties isRef 0minOcc 0
maxOcc unboundedcontent complex
children NumberOfUnits AmountPaidPerUnit UnitDescription
annotation documentationPayment details
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits diagram
type SAFquantityType
properties isRef 0content simple
facets totalDigits 22fractionDigits 6
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsAmountPaidPerUnit diagram
type AmountStructure
properties isRef 0content complex
children Amount CurrencyCode CurrencyAmount ExchangeRate
annotation documentationBasic amount shown in default currency as defined in the header Option to show amount in local currency also
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
1745
diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationDescription of units per which payment is made eg hours days
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHours diagram
properties isRef 0minOcc 0
maxOcc unboundedcontent complex
children HourType NumberOfHours AmountPaidPerUnit
annotation documentationTo allow SAF-P to report payroll amounts attributable to specific types of employee activity
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationThe type of activity being reported on Revenue Bodies may wish to prescribe a list of activity codes
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours diagram
type SAFquantityType
properties isRef 0content simple
facets totalDigits 22fractionDigits 6
annotation documentationThe umber of hours being reported under the activity type
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursAmountPaidPerUnit
1845
diagram
type AmountStructure
properties isRef 0minOcc 0maxOcc 1content complex
children Amount CurrencyCode CurrencyAmount ExchangeRate
annotation documentationThe hourly rate for the activity being reported upon
complexType AddressStructure diagram
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
used by elements AuditFilePayrollHeaderPayrollBureauAddress AuditFilePayrollMasterFilesEmployeesEmployeeAddress CompanyHeaderStructureAddress CompanyStructureAddress
1945
annotation documentation[Common to all SAFs] A common structure used wherever an address is required
element AddressStructureStreetName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element AddressStructureNumber diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element AddressStructureAdditionalAddressDetail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element AddressStructureBuilding diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
element AddressStructureCity diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
element AddressStructurePostalCode diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
element AddressStructureRegion
2045
diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationCountry specific code to indicate regions provinces within the tax authority Preferably described according to ISO 3166-2 Example GB-KEN for Kent county in the United Kingdom
element AddressStructureCountry diagram
type ISOCountryCode
properties isRef 0minOcc 0maxOcc 1content simple
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
element AddressStructureAddressType diagram
type restriction of xsstring
properties isRef 0minOcc 0maxOcc 1content simple
facets enumeration StreetAddressenumeration PostalAddressenumeration enumeration enumeration
annotation documentationField to differentiate between multiple addresses To indicate the type of address Choose from the predefined enumeration (examples StreetAddress PostalAddress BillingAddress)
complexType AmountStructure diagram
children Amount CurrencyCode CurrencyAmount ExchangeRate
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementAmount AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsAmountPaidPerUnit AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursAmountPaidPerUnit
2145
annotation documentation[Common to all SAFs] A common structure used wherever an amount is required Monetary amount with optional foreign currency exchange rate information
element AmountStructureAmount diagram
type SAFmonetaryType
properties isRef 0content simple
facets totalDigits 18fractionDigits 2
annotation documentationIn the default currency as shown in the SAF-P header
element AmountStructureCurrencyCode diagram
type ISOCurrencyCode
properties isRef 0content simple
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for Euros or USD for American Dollars
element AmountStructureCurrencyAmount diagram
type SAFmonetaryType
properties isRef 0content simple
facets totalDigits 18fractionDigits 2
annotation documentationAmount in the currency referred to by the CurrencyCode above
element AmountStructureExchangeRate diagram
type SAFexchangerateType
properties isRef 0minOcc 0maxOcc 1content simple
facets totalDigits 18fractionDigits 8
annotation documentationThe exchange rate used It should be reported in accordance with the formula CurrencyAmount x ExchangeRate = Amount
complexType BankAccountStructure diagram
2245
children IBANNumber BankAccountNumber BankAccountName SortCode
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeBankAccount AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementBankAccount CompanyHeaderStructureBankAccount CompanyStructureBankAccount
annotation documentation[Common to all SAFs] Bank account number information IBAN number or account number with optional information
element BankAccountStructureIBANNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationInternational Bank Account Number ISO 13616
element BankAccountStructureBankAccountNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationThe number allocated to the account by the individuals or companys own bank
element BankAccountStructureBankAccountName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
annotation documentationThe name of the individual or company holding the bank account
element BankAccountStructureSortCode
2345
diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationIdentifier for the bank branch at which the account is held May be needed to uniquely identify the account
complexType CompanyHeaderStructure diagram
type restriction of CompanyStructure
properties base CompanyStructure
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
used by element HeaderStructureCompany
annotation documentation[Common to all SAFs] CompanyStructure with mandatory RegistrationNumber and Telephone (Contact)
element CompanyHeaderStructureRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number to identify the company in the accounting records issued by a government body or created by the company for internal purposes to identify different entities within their corporate group
element CompanyHeaderStructureName diagram
type SAFmiddle2textType
properties isRef 0content simple
2445
facets maxLength 70
element CompanyHeaderStructureAddress diagram
type AddressStructure
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
element CompanyHeaderStructureContact diagram
type ContactHeaderStructure
2545
properties isRef 0minOcc 1
maxOcc unboundedcontent complex
children ContactPerson Telephone Fax Email Website
element CompanyHeaderStructureTaxRegistration diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
element CompanyHeaderStructureBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
complexType CompanyStructure
2645
diagram
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
used by element AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchDetailscomplexType CompanyHeaderStructure
annotation documentation[Common to all SAFs] Name address contact and identification information of a company or employer
element CompanyStructureRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationUnique number to identify the company in the accounting records issued by a government authority or created by the company for internal purposes to identify different entities within their corporate group
element CompanyStructureName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element CompanyStructureAddress diagram
2745
type AddressStructure
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
element CompanyStructureContact diagram
type ContactInformationStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children ContactPerson Telephone Fax Email Website
2845
element CompanyStructureTaxRegistration diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
element CompanyStructureBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
complexType ContactHeaderStructure
2945
diagram
type restriction of ContactInformationStructure
properties base ContactInformationStructure
children ContactPerson Telephone Fax Email Website
used by element CompanyHeaderStructureContact
annotation documentation[Common to all SAFs] ContactInformationStructure with madatory TelephoneNumber
element ContactHeaderStructureContactPerson diagram
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactHeaderStructureTelephone diagram
type SAFshorttextType
3045
properties isRef 0content simple
facets maxLength 18
element ContactHeaderStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactHeaderStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element ContactHeaderStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType ContactInformationStructure diagram
children ContactPerson Telephone Fax Email Website
used by elements AuditFilePayrollHeaderPayrollBureauContact CompanyStructureContactcomplexType ContactHeaderStructure
annotation documentation[Common to all SAFs] Contact information of a company or employer
element ContactInformationStructureContactPerson diagram
3145
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactInformationStructureTelephone diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
3245
facets maxLength 70
element ContactInformationStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType HeaderStructure diagram
children AuditFileVersion AuditFileCountry AuditFileRegion AuditFileDateCreated SoftwareCompanyName SoftwareID SoftwareVersion Company DefaultCurrencyCode SelectionCriteria HeaderComment
used by element AuditFilePayrollHeader
annotation documentation[Common to all SAFs] Overall information about this Standard Auditfile
element HeaderStructureAuditFileVersion
3345
diagram
type SAFcodeType
properties isRef 0content simple
facets maxLength 9
annotation documentationIdentification of the Standard Audit File SAF-P version being used
element HeaderStructureAuditFileCountry diagram
type ISOCountryCode
properties isRef 0content simple
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
element HeaderStructureAuditFileRegion diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationCountry specific code to indicate regions provinces within the tax jurisdiction Preferably described according to ISO 3166-2 Example GB-KEN for Kent county in the United Kingdom
element HeaderStructureAuditFileDateCreated diagram
type xsdate
properties isRef 0content simple
annotation documentationDate of production of SAF-P
element HeaderStructureSoftwareCompanyName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
annotation documentationName of the software company whose product created the SAF-P
element HeaderStructureSoftwareID diagram
3445
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationName of the Software that generated the SAF-P
element HeaderStructureSoftwareVersion diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationVersion of the software that created the SAF-P
element HeaderStructureCompany diagram
type CompanyHeaderStructure
properties isRef 0content complex
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
annotation documentationEmployers name and address details
element HeaderStructureDefaultCurrencyCode diagram
type ISOCurrencyCode
properties isRef 0content simple
facets length 3
annotation documentationThree letter Currency Code (ISO 4217) of local currency which is the default for the SAF
element HeaderStructureSelectionCriteria
3545
diagram
type SelectionCriteriaStructure
properties isRef 0minOcc 0maxOcc 1content complex
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
annotation documentationCriteria set by the user to populate the SAF-P
element HeaderStructureHeaderComment diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
3645
facets maxLength 256
annotation documentationSpace for any further generic comments on the SAF-P Revenue Bodies should consider what information they would expect to see here
complexType IdentificationStructure diagram
children IdentificationType IdentificationNumber DateValidUntil PlaceOfIssue DateOfIssue
used by element AuditFilePayrollMasterFilesEmployeesEmployeeIdentification
annotation documentationIdentification Document data This section is used when employers need to demonstrate that they have seen proof of an employees identity
element IdentificationStructureIdentificationType diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationThe type of identity document supplied to the employer Revenue bodies may wish to prescribe a specific list of codes
element IdentificationStructureIdentificationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number on the identification document
element IdentificationStructureDateValidUntil diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
element IdentificationStructurePlaceOfIssue diagram
type SAFmiddle1textType
3745
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
element IdentificationStructureDateOfIssue diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
complexType PersonNameStructure diagram
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
used by elements ContactHeaderStructureContactPerson ContactInformationStructureContactPerson AuditFilePayrollMasterFilesEmployeesEmployeeName
annotation documentation[Common to all SAFs] All information about the name of a natural (non-corporate) person
element PersonNameStructureTitle diagram
type SAFcodeType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 9
element PersonNameStructureFirstName diagram
type SAFmiddle1textType
properties isRef 0content simple
3845
facets maxLength 35
element PersonNameStructureInitials diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element PersonNameStructureLastNamePrefix diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA textual expression of a prefix that precedes this persons family name such as Van Von
element PersonNameStructureLastName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element PersonNameStructureBirthName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element PersonNameStructureSalutation diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA formal sign or expression of greeting expressed as text that is appropriate for this person such as Sir or Madam
element PersonNameStructureOtherTitles diagram
type SAFshorttextType
3945
properties isRef 0minOcc 0
maxOcc unboundedcontent simple
facets maxLength 18
complexType SelectionCriteriaStructure diagram
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
used by element HeaderStructureSelectionCriteria
annotation documentation[Common to all SAFs] The selection criteria used to generate this Standard Auditfile
element SelectionCriteriaStructureTaxReportingJurisdiction diagram
type SAFmiddle1textType
4045
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationIdentifies the tax jurisdiction for whose purpose the SAF has been created Principally for use where a single Revenue body covers more than one territory
element SelectionCriteriaStructureCompanyEntity diagram
type SAFmiddle2textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 70
annotation documentationFor use where data has been extracted from the full data set by reference to a specific corporate entity
element SelectionCriteriaStructureSelectionStartDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe start date for the reporting period covered by the SAF
element SelectionCriteriaStructureSelectionEndDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe end date for the reporting period covered by the SAF
element SelectionCriteriaStructurePeriodStart diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe first Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodStartYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodStart falls
element SelectionCriteriaStructurePeriodEnd
4145
diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe last Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodEndYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodEnd falls
element SelectionCriteriaStructureDocumentType diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationType of documents selected For use where the data has been restricted by reference to particular transaction types
element SelectionCriteriaStructureOtherCriteria diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc unboundedcontent simple
facets maxLength 256
annotation documentationAny other criteria used in selecting data Individual Revenue Bodies may wish to draw up a list of other acceptable selection criteria for use within their jurisdiction
complexType TaxIDStructure diagram
4245
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeRegistrationNumbers CompanyHeaderStructureTaxRegistration CompanyStructureTaxRegistration
annotation documentation[Common to all SAFs] Tax information for a company or employer
element TaxIDStructureTaxRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number issued by Revenue Body for use by the employer
element TaxIDStructureTaxType diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationFor use where information reported in the SAF-P covers more than one type of tax regime to identify the type of tax regime to which this entry relates
element TaxIDStructureTaxNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
4345
annotation documentationThe tax registration number for the particular tax regime referred to by TaxType
element TaxIDStructureTaxAuthority diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
annotation documentationIdentification of the Revenue Body to which this TaxType refers
element TaxIDStructureTaxVerificationDate diagram
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date that the tax registration details referred to above were last checked
simpleType ISOCountryCode type restriction of xsstring
used by elements HeaderStructureAuditFileCountry AddressStructureCountry
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
simpleType ISOCurrencyCode type restriction of xsstring
used by elements AmountStructureCurrencyCode HeaderStructureDefaultCurrencyCode
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for the Euros or USD for American Dollars
simpleType SAFcodeType type restriction of xsstring
used by elements HeaderStructureAuditFileRegion HeaderStructureAuditFileVersion TaxIDStructureTaxType PersonNameStructureTitle
facets maxLength 9
annotation documentationText of max 9 characters
simpleType SAFexchangerateType type restriction of xsdecimal
used by element AmountStructureExchangeRate
facets totalDigits 18fractionDigits 8
annotation documentation18 digits max of which 8 can be fractional digits
simpleType SAFlongtextType type restriction of xsstring
used by elements AuditFilePayrollTransactionFilesEmploymentBranchID AuditFilePayrollTransactionFilesEmploymentDepartment SelectionCriteriaStructureDocumentType AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeWorkReferenceNumber HeaderStructureHeaderComment AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType AuditFilePayrollTransactionFilesEmploymentJobTitle SelectionCriteriaStructureOtherCriteria AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementDescription HeaderStructureSoftwareID AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
facets maxLength 256
annotation documentation256 character text
simpleType SAFmiddle1textType type restriction of xsstring
4445
used by elements BankAccountStructureBankAccountNumber AddressStructureBuilding AddressStructureCity PersonNameStructureFirstName BankAccountStructureIBANNumber IdentificationStructureIdentificationNumber AuditFilePayrollHeaderPayrollBureauName IdentificationStructurePlaceOfIssue AddressStructureRegion CompanyHeaderStructureRegistrationNumber CompanyStructureRegistrationNumber TaxIDStructureTaxAuthority TaxIDStructureTaxNumber TaxIDStructureTaxRegistrationNumber SelectionCriteriaStructureTaxReportingJurisdiction
facets maxLength 35
annotation documentation35 character text
simpleType SAFmiddle2textType type restriction of xsstring
used by elements AddressStructureAdditionalAddressDetail BankAccountStructureBankAccountName PersonNameStructureBirthName SelectionCriteriaStructureCompanyEntity ContactHeaderStructureEmail ContactInformationStructureEmail PersonNameStructureLastName CompanyHeaderStructureName CompanyStructureName HeaderStructureSoftwareCompanyName AddressStructureStreetName
facets maxLength 70
annotation documentation70 character text
simpleType SAFmonetaryType type restriction of xsdecimal
used by elements AmountStructureAmount AmountStructureCurrencyAmount
facets totalDigits 18fractionDigits 2
annotation documentationMonetary amount18 digits max of which 2 can be fractional digits
simpleType SAFquantityType type restriction of xsdecimal
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits
facets totalDigits 22fractionDigits 6
annotation documentationUsed to describe a quantity Monetary amount 22 digits max of which 6 can be fractional digits
simpleType SAFshorttextType type restriction of xsstring
used by elements AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchID ContactHeaderStructureFax ContactInformationStructureFax IdentificationStructureIdentificationType PersonNameStructureInitials PersonNameStructureLastNamePrefix AddressStructureNumber PersonNameStructureOtherTitles AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayFrequency AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementID AddressStructurePostalCode PersonNameStructureSalutation HeaderStructureSoftwareVersion BankAccountStructureSortCode ContactHeaderStructureTelephone ContactInformationStructureTelephone
facets maxLength 18
annotation documentation18 character text
simpleType SAFweightType type restriction of xsdecimal
facets totalDigits 14fractionDigits 3
annotation documentationDescribes a weight Monetary amount14 digits max of which 3 can be fractional digits
XML Schema documentation generated by XMLSpy Schema Editor httpwwwaltovacomxmlspy
4545
- Footer Guidance for the Standard Audit File ndash Payroll Version 10 Appendix B Schema
- Header Page
element AuditFilePayrollMasterFilesEmployerBranchesEmployerBranch diagram
properties isRef 0minOcc 1
maxOcc unboundedcontent complex
children BranchID BranchDetails
element AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchID diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationA unique identifier for the branch whose details are shown below
element AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchDetails diagram
type CompanyStructure
properties isRef 0content complex
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
annotation documentationBranch name and address details
element AuditFilePayrollMasterFilesPayrollElements diagram
properties isRef 0minOcc 0maxOcc 1content complex
545
children PayrollElement
annotation documentationDefinition of the payroll elements be used in the transaction recordss Includes income and deductions
element AuditFilePayrollMasterFilesPayrollElementsPayrollElement diagram
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children PayrollElementID PayrollElementDescription PositionCode FlatRateTax
element AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementID diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationUnique ID used in the software to identify the element
element AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementDescription diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationDescription given to the Payroll element
element AuditFilePayrollMasterFilesPayrollElementsPayrollElementPositionCode diagram
type xsnonNegativeInteger
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationA code indicating the point in the tax calculation at which the element is taken into account when determining an employees net pay Can be used to reproduce transactions in a payslip format
645
element AuditFilePayrollMasterFilesPayrollElementsPayrollElementFlatRateTax diagram
properties isRef 0minOcc 0maxOcc 1content complex
annotation documentationRepresents space to provide country specific information about the liability of the element to flat rate taxes
element AuditFilePayrollMasterFilesEmployees diagram
properties isRef 0minOcc 0
maxOcc 1content complex
children Employee
annotation documentationEmployee personal details including name address and other relevant information
element AuditFilePayrollMasterFilesEmployeesEmployee diagram
properties isRef 0minOcc 1
maxOcc unboundedcontent complex
children EmployeeID EmployeeRegistrationNumbers Name Address DateOfBirth Gender BankAccount Identification
element AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeID
745
diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationUnique idenfitier for this employee within the payroll system
element AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeRegistrationNumbers diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc 1content complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
annotation documentationPersonal tax regiistration details for the employee
element AuditFilePayrollMasterFilesEmployeesEmployeeName diagram
845
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
annotation documentationEmployee name
element AuditFilePayrollMasterFilesEmployeesEmployeeAddress diagram
945
type extension of AddressStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
annotation documentationEmployee address details Multiple entries are possible to allow concurrent or consecutive addresses to be reported An extension point is provided to allow additional address information to be specified
element AuditFilePayrollMasterFilesEmployeesEmployeeDateOfBirth diagram
type xsdate
properties isRef 0content simple
element AuditFilePayrollMasterFilesEmployeesEmployeeGender diagram
type xsstring
properties isRef 0content simple
annotation documentationRevenue Bodies should consider the acceptable range of entries
element AuditFilePayrollMasterFilesEmployeesEmployeeBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
annotation documentationEmployee bank account details
1045
element AuditFilePayrollMasterFilesEmployeesEmployeeIdentification diagram
type IdentificationStructure
properties isRef 0minOcc 0maxOcc 1content complex
children IdentificationType IdentificationNumber DateValidUntil PlaceOfIssue DateOfIssue
annotation documentationFor use when employers need to demonstrate that they have seen proof of an employees identity
element AuditFilePayrollTransactionFiles diagram
properties isRef 0content complex
children Employment
annotation documentationDetailed analysis of payroll transactions
element AuditFilePayrollTransactionFilesEmployment diagram
1145
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children EmployeeID EmployeeWorkReferenceNumber DateStartEmployment DateEndEmployment JobTitle BranchID Department PeriodicalPayments
annotation documentationNormally there should be one Employment record for each employee Where an employee holds more than one job with the same employer (whether consecutively or concurrently) there may be more than one Employment record per employee
element AuditFilePayrollTransactionFilesEmploymentEmployeeID diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationA unique reference for the employee This reference should correspond to an entry in the Employee masterfile
element AuditFilePayrollTransactionFilesEmploymentEmployeeWorkReferenceNumber diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationHR personnel number for the employee (if different to the employee ID)
element AuditFilePayrollTransactionFilesEmploymentDateStartEmployment diagram
type xsdate
properties isRef 0content simple
annotation documentationThe date the employee started the Employment referred to by the PeriodicalPayments shown below
element AuditFilePayrollTransactionFilesEmploymentDateEndEmployment diagram
1245
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date the employee started the Employment referred to by the PeriodicalPayments shown below - if applicable
element AuditFilePayrollTransactionFilesEmploymentJobTitle diagram
type SAFlongtextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 256
annotation documentationTitle or description of the employees job
element AuditFilePayrollTransactionFilesEmploymentBranchID diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationUnique identifier for which the employee performs the main duties of the employment This identifier should correspond to an entry in the EmployerBranches masterfile
element AuditFilePayrollTransactionFilesEmploymentDepartment diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationName of the department for which the employee performs the main duties of the employment
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPayments diagram
properties isRef 0minOcc 0maxOcc 1content complex
children PeriodicalPayment
annotation documentationDetail of payroll transactions For each employee there will normally be one PeriodicalPayments entry each time the payroll is run This structure may also be used for other types of payroll transaction such as adjustments
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPayment
1345
diagram
properties isRef 0minOcc 1
maxOcc unboundedcontent complex
children PayrollPeriod PayrollPeriodYear PayFrequency DatePeriodStart DatePeriodEnd DatePaymentMade Element Hours
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayrollPeriod diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationNumber of tax period as recorded in payroll system
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayrollPeriodYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
1445
annotation documentationThe year in which the payroll transaction took place Revenue Bodies will wish to specify how this is to be shown if the fiscal year is not a calendar year
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayFrequency diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationThe time interval which forms the basis of periodic tax calculations for the employment for example Week or Month
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentDatePeriodStart diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
annotation documentationStart date of period for which payment has been made
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentDatePeriodEnd diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
annotation documentationEnd date of period for which payment has been made
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentDatePaymentMade diagram
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date on which payment was actually made Used to identify instances where payments are made in advance or in arrears
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElement diagram
1545
properties isRef 0minOcc 0
maxOcc unboundedcontent complex
children PayrollElementID Amount BankAccount PaymentDetails
annotation documentationAnalysis of the total amount paid
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPayrollElementID diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationReference to master files payroll element definition
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementAmount diagram
type AmountStructure
properties isRef 0content complex
children Amount CurrencyCode CurrencyAmount ExchangeRate
annotation documentationBasic amount is shown in default currency as defined in the header Option provided to show amount in local currency also
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementBankAccount diagram
type BankAccountStructure
1645
properties isRef 0minOcc 0maxOcc 1content complex
children IBANNumber BankAccountNumber BankAccountName SortCode
annotation documentationCross reference to bank account details in master files
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetails diagram
properties isRef 0minOcc 0
maxOcc unboundedcontent complex
children NumberOfUnits AmountPaidPerUnit UnitDescription
annotation documentationPayment details
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits diagram
type SAFquantityType
properties isRef 0content simple
facets totalDigits 22fractionDigits 6
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsAmountPaidPerUnit diagram
type AmountStructure
properties isRef 0content complex
children Amount CurrencyCode CurrencyAmount ExchangeRate
annotation documentationBasic amount shown in default currency as defined in the header Option to show amount in local currency also
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
1745
diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationDescription of units per which payment is made eg hours days
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHours diagram
properties isRef 0minOcc 0
maxOcc unboundedcontent complex
children HourType NumberOfHours AmountPaidPerUnit
annotation documentationTo allow SAF-P to report payroll amounts attributable to specific types of employee activity
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationThe type of activity being reported on Revenue Bodies may wish to prescribe a list of activity codes
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours diagram
type SAFquantityType
properties isRef 0content simple
facets totalDigits 22fractionDigits 6
annotation documentationThe umber of hours being reported under the activity type
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursAmountPaidPerUnit
1845
diagram
type AmountStructure
properties isRef 0minOcc 0maxOcc 1content complex
children Amount CurrencyCode CurrencyAmount ExchangeRate
annotation documentationThe hourly rate for the activity being reported upon
complexType AddressStructure diagram
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
used by elements AuditFilePayrollHeaderPayrollBureauAddress AuditFilePayrollMasterFilesEmployeesEmployeeAddress CompanyHeaderStructureAddress CompanyStructureAddress
1945
annotation documentation[Common to all SAFs] A common structure used wherever an address is required
element AddressStructureStreetName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element AddressStructureNumber diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element AddressStructureAdditionalAddressDetail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element AddressStructureBuilding diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
element AddressStructureCity diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
element AddressStructurePostalCode diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
element AddressStructureRegion
2045
diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationCountry specific code to indicate regions provinces within the tax authority Preferably described according to ISO 3166-2 Example GB-KEN for Kent county in the United Kingdom
element AddressStructureCountry diagram
type ISOCountryCode
properties isRef 0minOcc 0maxOcc 1content simple
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
element AddressStructureAddressType diagram
type restriction of xsstring
properties isRef 0minOcc 0maxOcc 1content simple
facets enumeration StreetAddressenumeration PostalAddressenumeration enumeration enumeration
annotation documentationField to differentiate between multiple addresses To indicate the type of address Choose from the predefined enumeration (examples StreetAddress PostalAddress BillingAddress)
complexType AmountStructure diagram
children Amount CurrencyCode CurrencyAmount ExchangeRate
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementAmount AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsAmountPaidPerUnit AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursAmountPaidPerUnit
2145
annotation documentation[Common to all SAFs] A common structure used wherever an amount is required Monetary amount with optional foreign currency exchange rate information
element AmountStructureAmount diagram
type SAFmonetaryType
properties isRef 0content simple
facets totalDigits 18fractionDigits 2
annotation documentationIn the default currency as shown in the SAF-P header
element AmountStructureCurrencyCode diagram
type ISOCurrencyCode
properties isRef 0content simple
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for Euros or USD for American Dollars
element AmountStructureCurrencyAmount diagram
type SAFmonetaryType
properties isRef 0content simple
facets totalDigits 18fractionDigits 2
annotation documentationAmount in the currency referred to by the CurrencyCode above
element AmountStructureExchangeRate diagram
type SAFexchangerateType
properties isRef 0minOcc 0maxOcc 1content simple
facets totalDigits 18fractionDigits 8
annotation documentationThe exchange rate used It should be reported in accordance with the formula CurrencyAmount x ExchangeRate = Amount
complexType BankAccountStructure diagram
2245
children IBANNumber BankAccountNumber BankAccountName SortCode
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeBankAccount AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementBankAccount CompanyHeaderStructureBankAccount CompanyStructureBankAccount
annotation documentation[Common to all SAFs] Bank account number information IBAN number or account number with optional information
element BankAccountStructureIBANNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationInternational Bank Account Number ISO 13616
element BankAccountStructureBankAccountNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationThe number allocated to the account by the individuals or companys own bank
element BankAccountStructureBankAccountName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
annotation documentationThe name of the individual or company holding the bank account
element BankAccountStructureSortCode
2345
diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationIdentifier for the bank branch at which the account is held May be needed to uniquely identify the account
complexType CompanyHeaderStructure diagram
type restriction of CompanyStructure
properties base CompanyStructure
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
used by element HeaderStructureCompany
annotation documentation[Common to all SAFs] CompanyStructure with mandatory RegistrationNumber and Telephone (Contact)
element CompanyHeaderStructureRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number to identify the company in the accounting records issued by a government body or created by the company for internal purposes to identify different entities within their corporate group
element CompanyHeaderStructureName diagram
type SAFmiddle2textType
properties isRef 0content simple
2445
facets maxLength 70
element CompanyHeaderStructureAddress diagram
type AddressStructure
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
element CompanyHeaderStructureContact diagram
type ContactHeaderStructure
2545
properties isRef 0minOcc 1
maxOcc unboundedcontent complex
children ContactPerson Telephone Fax Email Website
element CompanyHeaderStructureTaxRegistration diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
element CompanyHeaderStructureBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
complexType CompanyStructure
2645
diagram
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
used by element AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchDetailscomplexType CompanyHeaderStructure
annotation documentation[Common to all SAFs] Name address contact and identification information of a company or employer
element CompanyStructureRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationUnique number to identify the company in the accounting records issued by a government authority or created by the company for internal purposes to identify different entities within their corporate group
element CompanyStructureName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element CompanyStructureAddress diagram
2745
type AddressStructure
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
element CompanyStructureContact diagram
type ContactInformationStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children ContactPerson Telephone Fax Email Website
2845
element CompanyStructureTaxRegistration diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
element CompanyStructureBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
complexType ContactHeaderStructure
2945
diagram
type restriction of ContactInformationStructure
properties base ContactInformationStructure
children ContactPerson Telephone Fax Email Website
used by element CompanyHeaderStructureContact
annotation documentation[Common to all SAFs] ContactInformationStructure with madatory TelephoneNumber
element ContactHeaderStructureContactPerson diagram
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactHeaderStructureTelephone diagram
type SAFshorttextType
3045
properties isRef 0content simple
facets maxLength 18
element ContactHeaderStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactHeaderStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element ContactHeaderStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType ContactInformationStructure diagram
children ContactPerson Telephone Fax Email Website
used by elements AuditFilePayrollHeaderPayrollBureauContact CompanyStructureContactcomplexType ContactHeaderStructure
annotation documentation[Common to all SAFs] Contact information of a company or employer
element ContactInformationStructureContactPerson diagram
3145
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactInformationStructureTelephone diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
3245
facets maxLength 70
element ContactInformationStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType HeaderStructure diagram
children AuditFileVersion AuditFileCountry AuditFileRegion AuditFileDateCreated SoftwareCompanyName SoftwareID SoftwareVersion Company DefaultCurrencyCode SelectionCriteria HeaderComment
used by element AuditFilePayrollHeader
annotation documentation[Common to all SAFs] Overall information about this Standard Auditfile
element HeaderStructureAuditFileVersion
3345
diagram
type SAFcodeType
properties isRef 0content simple
facets maxLength 9
annotation documentationIdentification of the Standard Audit File SAF-P version being used
element HeaderStructureAuditFileCountry diagram
type ISOCountryCode
properties isRef 0content simple
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
element HeaderStructureAuditFileRegion diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationCountry specific code to indicate regions provinces within the tax jurisdiction Preferably described according to ISO 3166-2 Example GB-KEN for Kent county in the United Kingdom
element HeaderStructureAuditFileDateCreated diagram
type xsdate
properties isRef 0content simple
annotation documentationDate of production of SAF-P
element HeaderStructureSoftwareCompanyName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
annotation documentationName of the software company whose product created the SAF-P
element HeaderStructureSoftwareID diagram
3445
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationName of the Software that generated the SAF-P
element HeaderStructureSoftwareVersion diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationVersion of the software that created the SAF-P
element HeaderStructureCompany diagram
type CompanyHeaderStructure
properties isRef 0content complex
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
annotation documentationEmployers name and address details
element HeaderStructureDefaultCurrencyCode diagram
type ISOCurrencyCode
properties isRef 0content simple
facets length 3
annotation documentationThree letter Currency Code (ISO 4217) of local currency which is the default for the SAF
element HeaderStructureSelectionCriteria
3545
diagram
type SelectionCriteriaStructure
properties isRef 0minOcc 0maxOcc 1content complex
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
annotation documentationCriteria set by the user to populate the SAF-P
element HeaderStructureHeaderComment diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
3645
facets maxLength 256
annotation documentationSpace for any further generic comments on the SAF-P Revenue Bodies should consider what information they would expect to see here
complexType IdentificationStructure diagram
children IdentificationType IdentificationNumber DateValidUntil PlaceOfIssue DateOfIssue
used by element AuditFilePayrollMasterFilesEmployeesEmployeeIdentification
annotation documentationIdentification Document data This section is used when employers need to demonstrate that they have seen proof of an employees identity
element IdentificationStructureIdentificationType diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationThe type of identity document supplied to the employer Revenue bodies may wish to prescribe a specific list of codes
element IdentificationStructureIdentificationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number on the identification document
element IdentificationStructureDateValidUntil diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
element IdentificationStructurePlaceOfIssue diagram
type SAFmiddle1textType
3745
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
element IdentificationStructureDateOfIssue diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
complexType PersonNameStructure diagram
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
used by elements ContactHeaderStructureContactPerson ContactInformationStructureContactPerson AuditFilePayrollMasterFilesEmployeesEmployeeName
annotation documentation[Common to all SAFs] All information about the name of a natural (non-corporate) person
element PersonNameStructureTitle diagram
type SAFcodeType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 9
element PersonNameStructureFirstName diagram
type SAFmiddle1textType
properties isRef 0content simple
3845
facets maxLength 35
element PersonNameStructureInitials diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element PersonNameStructureLastNamePrefix diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA textual expression of a prefix that precedes this persons family name such as Van Von
element PersonNameStructureLastName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element PersonNameStructureBirthName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element PersonNameStructureSalutation diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA formal sign or expression of greeting expressed as text that is appropriate for this person such as Sir or Madam
element PersonNameStructureOtherTitles diagram
type SAFshorttextType
3945
properties isRef 0minOcc 0
maxOcc unboundedcontent simple
facets maxLength 18
complexType SelectionCriteriaStructure diagram
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
used by element HeaderStructureSelectionCriteria
annotation documentation[Common to all SAFs] The selection criteria used to generate this Standard Auditfile
element SelectionCriteriaStructureTaxReportingJurisdiction diagram
type SAFmiddle1textType
4045
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationIdentifies the tax jurisdiction for whose purpose the SAF has been created Principally for use where a single Revenue body covers more than one territory
element SelectionCriteriaStructureCompanyEntity diagram
type SAFmiddle2textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 70
annotation documentationFor use where data has been extracted from the full data set by reference to a specific corporate entity
element SelectionCriteriaStructureSelectionStartDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe start date for the reporting period covered by the SAF
element SelectionCriteriaStructureSelectionEndDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe end date for the reporting period covered by the SAF
element SelectionCriteriaStructurePeriodStart diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe first Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodStartYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodStart falls
element SelectionCriteriaStructurePeriodEnd
4145
diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe last Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodEndYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodEnd falls
element SelectionCriteriaStructureDocumentType diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationType of documents selected For use where the data has been restricted by reference to particular transaction types
element SelectionCriteriaStructureOtherCriteria diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc unboundedcontent simple
facets maxLength 256
annotation documentationAny other criteria used in selecting data Individual Revenue Bodies may wish to draw up a list of other acceptable selection criteria for use within their jurisdiction
complexType TaxIDStructure diagram
4245
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeRegistrationNumbers CompanyHeaderStructureTaxRegistration CompanyStructureTaxRegistration
annotation documentation[Common to all SAFs] Tax information for a company or employer
element TaxIDStructureTaxRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number issued by Revenue Body for use by the employer
element TaxIDStructureTaxType diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationFor use where information reported in the SAF-P covers more than one type of tax regime to identify the type of tax regime to which this entry relates
element TaxIDStructureTaxNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
4345
annotation documentationThe tax registration number for the particular tax regime referred to by TaxType
element TaxIDStructureTaxAuthority diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
annotation documentationIdentification of the Revenue Body to which this TaxType refers
element TaxIDStructureTaxVerificationDate diagram
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date that the tax registration details referred to above were last checked
simpleType ISOCountryCode type restriction of xsstring
used by elements HeaderStructureAuditFileCountry AddressStructureCountry
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
simpleType ISOCurrencyCode type restriction of xsstring
used by elements AmountStructureCurrencyCode HeaderStructureDefaultCurrencyCode
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for the Euros or USD for American Dollars
simpleType SAFcodeType type restriction of xsstring
used by elements HeaderStructureAuditFileRegion HeaderStructureAuditFileVersion TaxIDStructureTaxType PersonNameStructureTitle
facets maxLength 9
annotation documentationText of max 9 characters
simpleType SAFexchangerateType type restriction of xsdecimal
used by element AmountStructureExchangeRate
facets totalDigits 18fractionDigits 8
annotation documentation18 digits max of which 8 can be fractional digits
simpleType SAFlongtextType type restriction of xsstring
used by elements AuditFilePayrollTransactionFilesEmploymentBranchID AuditFilePayrollTransactionFilesEmploymentDepartment SelectionCriteriaStructureDocumentType AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeWorkReferenceNumber HeaderStructureHeaderComment AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType AuditFilePayrollTransactionFilesEmploymentJobTitle SelectionCriteriaStructureOtherCriteria AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementDescription HeaderStructureSoftwareID AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
facets maxLength 256
annotation documentation256 character text
simpleType SAFmiddle1textType type restriction of xsstring
4445
used by elements BankAccountStructureBankAccountNumber AddressStructureBuilding AddressStructureCity PersonNameStructureFirstName BankAccountStructureIBANNumber IdentificationStructureIdentificationNumber AuditFilePayrollHeaderPayrollBureauName IdentificationStructurePlaceOfIssue AddressStructureRegion CompanyHeaderStructureRegistrationNumber CompanyStructureRegistrationNumber TaxIDStructureTaxAuthority TaxIDStructureTaxNumber TaxIDStructureTaxRegistrationNumber SelectionCriteriaStructureTaxReportingJurisdiction
facets maxLength 35
annotation documentation35 character text
simpleType SAFmiddle2textType type restriction of xsstring
used by elements AddressStructureAdditionalAddressDetail BankAccountStructureBankAccountName PersonNameStructureBirthName SelectionCriteriaStructureCompanyEntity ContactHeaderStructureEmail ContactInformationStructureEmail PersonNameStructureLastName CompanyHeaderStructureName CompanyStructureName HeaderStructureSoftwareCompanyName AddressStructureStreetName
facets maxLength 70
annotation documentation70 character text
simpleType SAFmonetaryType type restriction of xsdecimal
used by elements AmountStructureAmount AmountStructureCurrencyAmount
facets totalDigits 18fractionDigits 2
annotation documentationMonetary amount18 digits max of which 2 can be fractional digits
simpleType SAFquantityType type restriction of xsdecimal
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits
facets totalDigits 22fractionDigits 6
annotation documentationUsed to describe a quantity Monetary amount 22 digits max of which 6 can be fractional digits
simpleType SAFshorttextType type restriction of xsstring
used by elements AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchID ContactHeaderStructureFax ContactInformationStructureFax IdentificationStructureIdentificationType PersonNameStructureInitials PersonNameStructureLastNamePrefix AddressStructureNumber PersonNameStructureOtherTitles AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayFrequency AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementID AddressStructurePostalCode PersonNameStructureSalutation HeaderStructureSoftwareVersion BankAccountStructureSortCode ContactHeaderStructureTelephone ContactInformationStructureTelephone
facets maxLength 18
annotation documentation18 character text
simpleType SAFweightType type restriction of xsdecimal
facets totalDigits 14fractionDigits 3
annotation documentationDescribes a weight Monetary amount14 digits max of which 3 can be fractional digits
XML Schema documentation generated by XMLSpy Schema Editor httpwwwaltovacomxmlspy
4545
- Footer Guidance for the Standard Audit File ndash Payroll Version 10 Appendix B Schema
- Header Page
children PayrollElement
annotation documentationDefinition of the payroll elements be used in the transaction recordss Includes income and deductions
element AuditFilePayrollMasterFilesPayrollElementsPayrollElement diagram
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children PayrollElementID PayrollElementDescription PositionCode FlatRateTax
element AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementID diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationUnique ID used in the software to identify the element
element AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementDescription diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationDescription given to the Payroll element
element AuditFilePayrollMasterFilesPayrollElementsPayrollElementPositionCode diagram
type xsnonNegativeInteger
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationA code indicating the point in the tax calculation at which the element is taken into account when determining an employees net pay Can be used to reproduce transactions in a payslip format
645
element AuditFilePayrollMasterFilesPayrollElementsPayrollElementFlatRateTax diagram
properties isRef 0minOcc 0maxOcc 1content complex
annotation documentationRepresents space to provide country specific information about the liability of the element to flat rate taxes
element AuditFilePayrollMasterFilesEmployees diagram
properties isRef 0minOcc 0
maxOcc 1content complex
children Employee
annotation documentationEmployee personal details including name address and other relevant information
element AuditFilePayrollMasterFilesEmployeesEmployee diagram
properties isRef 0minOcc 1
maxOcc unboundedcontent complex
children EmployeeID EmployeeRegistrationNumbers Name Address DateOfBirth Gender BankAccount Identification
element AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeID
745
diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationUnique idenfitier for this employee within the payroll system
element AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeRegistrationNumbers diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc 1content complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
annotation documentationPersonal tax regiistration details for the employee
element AuditFilePayrollMasterFilesEmployeesEmployeeName diagram
845
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
annotation documentationEmployee name
element AuditFilePayrollMasterFilesEmployeesEmployeeAddress diagram
945
type extension of AddressStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
annotation documentationEmployee address details Multiple entries are possible to allow concurrent or consecutive addresses to be reported An extension point is provided to allow additional address information to be specified
element AuditFilePayrollMasterFilesEmployeesEmployeeDateOfBirth diagram
type xsdate
properties isRef 0content simple
element AuditFilePayrollMasterFilesEmployeesEmployeeGender diagram
type xsstring
properties isRef 0content simple
annotation documentationRevenue Bodies should consider the acceptable range of entries
element AuditFilePayrollMasterFilesEmployeesEmployeeBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
annotation documentationEmployee bank account details
1045
element AuditFilePayrollMasterFilesEmployeesEmployeeIdentification diagram
type IdentificationStructure
properties isRef 0minOcc 0maxOcc 1content complex
children IdentificationType IdentificationNumber DateValidUntil PlaceOfIssue DateOfIssue
annotation documentationFor use when employers need to demonstrate that they have seen proof of an employees identity
element AuditFilePayrollTransactionFiles diagram
properties isRef 0content complex
children Employment
annotation documentationDetailed analysis of payroll transactions
element AuditFilePayrollTransactionFilesEmployment diagram
1145
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children EmployeeID EmployeeWorkReferenceNumber DateStartEmployment DateEndEmployment JobTitle BranchID Department PeriodicalPayments
annotation documentationNormally there should be one Employment record for each employee Where an employee holds more than one job with the same employer (whether consecutively or concurrently) there may be more than one Employment record per employee
element AuditFilePayrollTransactionFilesEmploymentEmployeeID diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationA unique reference for the employee This reference should correspond to an entry in the Employee masterfile
element AuditFilePayrollTransactionFilesEmploymentEmployeeWorkReferenceNumber diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationHR personnel number for the employee (if different to the employee ID)
element AuditFilePayrollTransactionFilesEmploymentDateStartEmployment diagram
type xsdate
properties isRef 0content simple
annotation documentationThe date the employee started the Employment referred to by the PeriodicalPayments shown below
element AuditFilePayrollTransactionFilesEmploymentDateEndEmployment diagram
1245
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date the employee started the Employment referred to by the PeriodicalPayments shown below - if applicable
element AuditFilePayrollTransactionFilesEmploymentJobTitle diagram
type SAFlongtextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 256
annotation documentationTitle or description of the employees job
element AuditFilePayrollTransactionFilesEmploymentBranchID diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationUnique identifier for which the employee performs the main duties of the employment This identifier should correspond to an entry in the EmployerBranches masterfile
element AuditFilePayrollTransactionFilesEmploymentDepartment diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationName of the department for which the employee performs the main duties of the employment
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPayments diagram
properties isRef 0minOcc 0maxOcc 1content complex
children PeriodicalPayment
annotation documentationDetail of payroll transactions For each employee there will normally be one PeriodicalPayments entry each time the payroll is run This structure may also be used for other types of payroll transaction such as adjustments
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPayment
1345
diagram
properties isRef 0minOcc 1
maxOcc unboundedcontent complex
children PayrollPeriod PayrollPeriodYear PayFrequency DatePeriodStart DatePeriodEnd DatePaymentMade Element Hours
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayrollPeriod diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationNumber of tax period as recorded in payroll system
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayrollPeriodYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
1445
annotation documentationThe year in which the payroll transaction took place Revenue Bodies will wish to specify how this is to be shown if the fiscal year is not a calendar year
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayFrequency diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationThe time interval which forms the basis of periodic tax calculations for the employment for example Week or Month
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentDatePeriodStart diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
annotation documentationStart date of period for which payment has been made
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentDatePeriodEnd diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
annotation documentationEnd date of period for which payment has been made
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentDatePaymentMade diagram
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date on which payment was actually made Used to identify instances where payments are made in advance or in arrears
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElement diagram
1545
properties isRef 0minOcc 0
maxOcc unboundedcontent complex
children PayrollElementID Amount BankAccount PaymentDetails
annotation documentationAnalysis of the total amount paid
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPayrollElementID diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationReference to master files payroll element definition
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementAmount diagram
type AmountStructure
properties isRef 0content complex
children Amount CurrencyCode CurrencyAmount ExchangeRate
annotation documentationBasic amount is shown in default currency as defined in the header Option provided to show amount in local currency also
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementBankAccount diagram
type BankAccountStructure
1645
properties isRef 0minOcc 0maxOcc 1content complex
children IBANNumber BankAccountNumber BankAccountName SortCode
annotation documentationCross reference to bank account details in master files
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetails diagram
properties isRef 0minOcc 0
maxOcc unboundedcontent complex
children NumberOfUnits AmountPaidPerUnit UnitDescription
annotation documentationPayment details
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits diagram
type SAFquantityType
properties isRef 0content simple
facets totalDigits 22fractionDigits 6
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsAmountPaidPerUnit diagram
type AmountStructure
properties isRef 0content complex
children Amount CurrencyCode CurrencyAmount ExchangeRate
annotation documentationBasic amount shown in default currency as defined in the header Option to show amount in local currency also
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
1745
diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationDescription of units per which payment is made eg hours days
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHours diagram
properties isRef 0minOcc 0
maxOcc unboundedcontent complex
children HourType NumberOfHours AmountPaidPerUnit
annotation documentationTo allow SAF-P to report payroll amounts attributable to specific types of employee activity
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationThe type of activity being reported on Revenue Bodies may wish to prescribe a list of activity codes
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours diagram
type SAFquantityType
properties isRef 0content simple
facets totalDigits 22fractionDigits 6
annotation documentationThe umber of hours being reported under the activity type
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursAmountPaidPerUnit
1845
diagram
type AmountStructure
properties isRef 0minOcc 0maxOcc 1content complex
children Amount CurrencyCode CurrencyAmount ExchangeRate
annotation documentationThe hourly rate for the activity being reported upon
complexType AddressStructure diagram
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
used by elements AuditFilePayrollHeaderPayrollBureauAddress AuditFilePayrollMasterFilesEmployeesEmployeeAddress CompanyHeaderStructureAddress CompanyStructureAddress
1945
annotation documentation[Common to all SAFs] A common structure used wherever an address is required
element AddressStructureStreetName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element AddressStructureNumber diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element AddressStructureAdditionalAddressDetail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element AddressStructureBuilding diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
element AddressStructureCity diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
element AddressStructurePostalCode diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
element AddressStructureRegion
2045
diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationCountry specific code to indicate regions provinces within the tax authority Preferably described according to ISO 3166-2 Example GB-KEN for Kent county in the United Kingdom
element AddressStructureCountry diagram
type ISOCountryCode
properties isRef 0minOcc 0maxOcc 1content simple
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
element AddressStructureAddressType diagram
type restriction of xsstring
properties isRef 0minOcc 0maxOcc 1content simple
facets enumeration StreetAddressenumeration PostalAddressenumeration enumeration enumeration
annotation documentationField to differentiate between multiple addresses To indicate the type of address Choose from the predefined enumeration (examples StreetAddress PostalAddress BillingAddress)
complexType AmountStructure diagram
children Amount CurrencyCode CurrencyAmount ExchangeRate
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementAmount AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsAmountPaidPerUnit AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursAmountPaidPerUnit
2145
annotation documentation[Common to all SAFs] A common structure used wherever an amount is required Monetary amount with optional foreign currency exchange rate information
element AmountStructureAmount diagram
type SAFmonetaryType
properties isRef 0content simple
facets totalDigits 18fractionDigits 2
annotation documentationIn the default currency as shown in the SAF-P header
element AmountStructureCurrencyCode diagram
type ISOCurrencyCode
properties isRef 0content simple
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for Euros or USD for American Dollars
element AmountStructureCurrencyAmount diagram
type SAFmonetaryType
properties isRef 0content simple
facets totalDigits 18fractionDigits 2
annotation documentationAmount in the currency referred to by the CurrencyCode above
element AmountStructureExchangeRate diagram
type SAFexchangerateType
properties isRef 0minOcc 0maxOcc 1content simple
facets totalDigits 18fractionDigits 8
annotation documentationThe exchange rate used It should be reported in accordance with the formula CurrencyAmount x ExchangeRate = Amount
complexType BankAccountStructure diagram
2245
children IBANNumber BankAccountNumber BankAccountName SortCode
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeBankAccount AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementBankAccount CompanyHeaderStructureBankAccount CompanyStructureBankAccount
annotation documentation[Common to all SAFs] Bank account number information IBAN number or account number with optional information
element BankAccountStructureIBANNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationInternational Bank Account Number ISO 13616
element BankAccountStructureBankAccountNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationThe number allocated to the account by the individuals or companys own bank
element BankAccountStructureBankAccountName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
annotation documentationThe name of the individual or company holding the bank account
element BankAccountStructureSortCode
2345
diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationIdentifier for the bank branch at which the account is held May be needed to uniquely identify the account
complexType CompanyHeaderStructure diagram
type restriction of CompanyStructure
properties base CompanyStructure
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
used by element HeaderStructureCompany
annotation documentation[Common to all SAFs] CompanyStructure with mandatory RegistrationNumber and Telephone (Contact)
element CompanyHeaderStructureRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number to identify the company in the accounting records issued by a government body or created by the company for internal purposes to identify different entities within their corporate group
element CompanyHeaderStructureName diagram
type SAFmiddle2textType
properties isRef 0content simple
2445
facets maxLength 70
element CompanyHeaderStructureAddress diagram
type AddressStructure
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
element CompanyHeaderStructureContact diagram
type ContactHeaderStructure
2545
properties isRef 0minOcc 1
maxOcc unboundedcontent complex
children ContactPerson Telephone Fax Email Website
element CompanyHeaderStructureTaxRegistration diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
element CompanyHeaderStructureBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
complexType CompanyStructure
2645
diagram
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
used by element AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchDetailscomplexType CompanyHeaderStructure
annotation documentation[Common to all SAFs] Name address contact and identification information of a company or employer
element CompanyStructureRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationUnique number to identify the company in the accounting records issued by a government authority or created by the company for internal purposes to identify different entities within their corporate group
element CompanyStructureName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element CompanyStructureAddress diagram
2745
type AddressStructure
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
element CompanyStructureContact diagram
type ContactInformationStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children ContactPerson Telephone Fax Email Website
2845
element CompanyStructureTaxRegistration diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
element CompanyStructureBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
complexType ContactHeaderStructure
2945
diagram
type restriction of ContactInformationStructure
properties base ContactInformationStructure
children ContactPerson Telephone Fax Email Website
used by element CompanyHeaderStructureContact
annotation documentation[Common to all SAFs] ContactInformationStructure with madatory TelephoneNumber
element ContactHeaderStructureContactPerson diagram
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactHeaderStructureTelephone diagram
type SAFshorttextType
3045
properties isRef 0content simple
facets maxLength 18
element ContactHeaderStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactHeaderStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element ContactHeaderStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType ContactInformationStructure diagram
children ContactPerson Telephone Fax Email Website
used by elements AuditFilePayrollHeaderPayrollBureauContact CompanyStructureContactcomplexType ContactHeaderStructure
annotation documentation[Common to all SAFs] Contact information of a company or employer
element ContactInformationStructureContactPerson diagram
3145
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactInformationStructureTelephone diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
3245
facets maxLength 70
element ContactInformationStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType HeaderStructure diagram
children AuditFileVersion AuditFileCountry AuditFileRegion AuditFileDateCreated SoftwareCompanyName SoftwareID SoftwareVersion Company DefaultCurrencyCode SelectionCriteria HeaderComment
used by element AuditFilePayrollHeader
annotation documentation[Common to all SAFs] Overall information about this Standard Auditfile
element HeaderStructureAuditFileVersion
3345
diagram
type SAFcodeType
properties isRef 0content simple
facets maxLength 9
annotation documentationIdentification of the Standard Audit File SAF-P version being used
element HeaderStructureAuditFileCountry diagram
type ISOCountryCode
properties isRef 0content simple
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
element HeaderStructureAuditFileRegion diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationCountry specific code to indicate regions provinces within the tax jurisdiction Preferably described according to ISO 3166-2 Example GB-KEN for Kent county in the United Kingdom
element HeaderStructureAuditFileDateCreated diagram
type xsdate
properties isRef 0content simple
annotation documentationDate of production of SAF-P
element HeaderStructureSoftwareCompanyName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
annotation documentationName of the software company whose product created the SAF-P
element HeaderStructureSoftwareID diagram
3445
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationName of the Software that generated the SAF-P
element HeaderStructureSoftwareVersion diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationVersion of the software that created the SAF-P
element HeaderStructureCompany diagram
type CompanyHeaderStructure
properties isRef 0content complex
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
annotation documentationEmployers name and address details
element HeaderStructureDefaultCurrencyCode diagram
type ISOCurrencyCode
properties isRef 0content simple
facets length 3
annotation documentationThree letter Currency Code (ISO 4217) of local currency which is the default for the SAF
element HeaderStructureSelectionCriteria
3545
diagram
type SelectionCriteriaStructure
properties isRef 0minOcc 0maxOcc 1content complex
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
annotation documentationCriteria set by the user to populate the SAF-P
element HeaderStructureHeaderComment diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
3645
facets maxLength 256
annotation documentationSpace for any further generic comments on the SAF-P Revenue Bodies should consider what information they would expect to see here
complexType IdentificationStructure diagram
children IdentificationType IdentificationNumber DateValidUntil PlaceOfIssue DateOfIssue
used by element AuditFilePayrollMasterFilesEmployeesEmployeeIdentification
annotation documentationIdentification Document data This section is used when employers need to demonstrate that they have seen proof of an employees identity
element IdentificationStructureIdentificationType diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationThe type of identity document supplied to the employer Revenue bodies may wish to prescribe a specific list of codes
element IdentificationStructureIdentificationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number on the identification document
element IdentificationStructureDateValidUntil diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
element IdentificationStructurePlaceOfIssue diagram
type SAFmiddle1textType
3745
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
element IdentificationStructureDateOfIssue diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
complexType PersonNameStructure diagram
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
used by elements ContactHeaderStructureContactPerson ContactInformationStructureContactPerson AuditFilePayrollMasterFilesEmployeesEmployeeName
annotation documentation[Common to all SAFs] All information about the name of a natural (non-corporate) person
element PersonNameStructureTitle diagram
type SAFcodeType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 9
element PersonNameStructureFirstName diagram
type SAFmiddle1textType
properties isRef 0content simple
3845
facets maxLength 35
element PersonNameStructureInitials diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element PersonNameStructureLastNamePrefix diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA textual expression of a prefix that precedes this persons family name such as Van Von
element PersonNameStructureLastName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element PersonNameStructureBirthName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element PersonNameStructureSalutation diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA formal sign or expression of greeting expressed as text that is appropriate for this person such as Sir or Madam
element PersonNameStructureOtherTitles diagram
type SAFshorttextType
3945
properties isRef 0minOcc 0
maxOcc unboundedcontent simple
facets maxLength 18
complexType SelectionCriteriaStructure diagram
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
used by element HeaderStructureSelectionCriteria
annotation documentation[Common to all SAFs] The selection criteria used to generate this Standard Auditfile
element SelectionCriteriaStructureTaxReportingJurisdiction diagram
type SAFmiddle1textType
4045
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationIdentifies the tax jurisdiction for whose purpose the SAF has been created Principally for use where a single Revenue body covers more than one territory
element SelectionCriteriaStructureCompanyEntity diagram
type SAFmiddle2textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 70
annotation documentationFor use where data has been extracted from the full data set by reference to a specific corporate entity
element SelectionCriteriaStructureSelectionStartDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe start date for the reporting period covered by the SAF
element SelectionCriteriaStructureSelectionEndDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe end date for the reporting period covered by the SAF
element SelectionCriteriaStructurePeriodStart diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe first Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodStartYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodStart falls
element SelectionCriteriaStructurePeriodEnd
4145
diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe last Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodEndYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodEnd falls
element SelectionCriteriaStructureDocumentType diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationType of documents selected For use where the data has been restricted by reference to particular transaction types
element SelectionCriteriaStructureOtherCriteria diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc unboundedcontent simple
facets maxLength 256
annotation documentationAny other criteria used in selecting data Individual Revenue Bodies may wish to draw up a list of other acceptable selection criteria for use within their jurisdiction
complexType TaxIDStructure diagram
4245
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeRegistrationNumbers CompanyHeaderStructureTaxRegistration CompanyStructureTaxRegistration
annotation documentation[Common to all SAFs] Tax information for a company or employer
element TaxIDStructureTaxRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number issued by Revenue Body for use by the employer
element TaxIDStructureTaxType diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationFor use where information reported in the SAF-P covers more than one type of tax regime to identify the type of tax regime to which this entry relates
element TaxIDStructureTaxNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
4345
annotation documentationThe tax registration number for the particular tax regime referred to by TaxType
element TaxIDStructureTaxAuthority diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
annotation documentationIdentification of the Revenue Body to which this TaxType refers
element TaxIDStructureTaxVerificationDate diagram
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date that the tax registration details referred to above were last checked
simpleType ISOCountryCode type restriction of xsstring
used by elements HeaderStructureAuditFileCountry AddressStructureCountry
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
simpleType ISOCurrencyCode type restriction of xsstring
used by elements AmountStructureCurrencyCode HeaderStructureDefaultCurrencyCode
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for the Euros or USD for American Dollars
simpleType SAFcodeType type restriction of xsstring
used by elements HeaderStructureAuditFileRegion HeaderStructureAuditFileVersion TaxIDStructureTaxType PersonNameStructureTitle
facets maxLength 9
annotation documentationText of max 9 characters
simpleType SAFexchangerateType type restriction of xsdecimal
used by element AmountStructureExchangeRate
facets totalDigits 18fractionDigits 8
annotation documentation18 digits max of which 8 can be fractional digits
simpleType SAFlongtextType type restriction of xsstring
used by elements AuditFilePayrollTransactionFilesEmploymentBranchID AuditFilePayrollTransactionFilesEmploymentDepartment SelectionCriteriaStructureDocumentType AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeWorkReferenceNumber HeaderStructureHeaderComment AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType AuditFilePayrollTransactionFilesEmploymentJobTitle SelectionCriteriaStructureOtherCriteria AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementDescription HeaderStructureSoftwareID AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
facets maxLength 256
annotation documentation256 character text
simpleType SAFmiddle1textType type restriction of xsstring
4445
used by elements BankAccountStructureBankAccountNumber AddressStructureBuilding AddressStructureCity PersonNameStructureFirstName BankAccountStructureIBANNumber IdentificationStructureIdentificationNumber AuditFilePayrollHeaderPayrollBureauName IdentificationStructurePlaceOfIssue AddressStructureRegion CompanyHeaderStructureRegistrationNumber CompanyStructureRegistrationNumber TaxIDStructureTaxAuthority TaxIDStructureTaxNumber TaxIDStructureTaxRegistrationNumber SelectionCriteriaStructureTaxReportingJurisdiction
facets maxLength 35
annotation documentation35 character text
simpleType SAFmiddle2textType type restriction of xsstring
used by elements AddressStructureAdditionalAddressDetail BankAccountStructureBankAccountName PersonNameStructureBirthName SelectionCriteriaStructureCompanyEntity ContactHeaderStructureEmail ContactInformationStructureEmail PersonNameStructureLastName CompanyHeaderStructureName CompanyStructureName HeaderStructureSoftwareCompanyName AddressStructureStreetName
facets maxLength 70
annotation documentation70 character text
simpleType SAFmonetaryType type restriction of xsdecimal
used by elements AmountStructureAmount AmountStructureCurrencyAmount
facets totalDigits 18fractionDigits 2
annotation documentationMonetary amount18 digits max of which 2 can be fractional digits
simpleType SAFquantityType type restriction of xsdecimal
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits
facets totalDigits 22fractionDigits 6
annotation documentationUsed to describe a quantity Monetary amount 22 digits max of which 6 can be fractional digits
simpleType SAFshorttextType type restriction of xsstring
used by elements AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchID ContactHeaderStructureFax ContactInformationStructureFax IdentificationStructureIdentificationType PersonNameStructureInitials PersonNameStructureLastNamePrefix AddressStructureNumber PersonNameStructureOtherTitles AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayFrequency AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementID AddressStructurePostalCode PersonNameStructureSalutation HeaderStructureSoftwareVersion BankAccountStructureSortCode ContactHeaderStructureTelephone ContactInformationStructureTelephone
facets maxLength 18
annotation documentation18 character text
simpleType SAFweightType type restriction of xsdecimal
facets totalDigits 14fractionDigits 3
annotation documentationDescribes a weight Monetary amount14 digits max of which 3 can be fractional digits
XML Schema documentation generated by XMLSpy Schema Editor httpwwwaltovacomxmlspy
4545
- Footer Guidance for the Standard Audit File ndash Payroll Version 10 Appendix B Schema
- Header Page
element AuditFilePayrollMasterFilesPayrollElementsPayrollElementFlatRateTax diagram
properties isRef 0minOcc 0maxOcc 1content complex
annotation documentationRepresents space to provide country specific information about the liability of the element to flat rate taxes
element AuditFilePayrollMasterFilesEmployees diagram
properties isRef 0minOcc 0
maxOcc 1content complex
children Employee
annotation documentationEmployee personal details including name address and other relevant information
element AuditFilePayrollMasterFilesEmployeesEmployee diagram
properties isRef 0minOcc 1
maxOcc unboundedcontent complex
children EmployeeID EmployeeRegistrationNumbers Name Address DateOfBirth Gender BankAccount Identification
element AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeID
745
diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationUnique idenfitier for this employee within the payroll system
element AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeRegistrationNumbers diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc 1content complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
annotation documentationPersonal tax regiistration details for the employee
element AuditFilePayrollMasterFilesEmployeesEmployeeName diagram
845
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
annotation documentationEmployee name
element AuditFilePayrollMasterFilesEmployeesEmployeeAddress diagram
945
type extension of AddressStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
annotation documentationEmployee address details Multiple entries are possible to allow concurrent or consecutive addresses to be reported An extension point is provided to allow additional address information to be specified
element AuditFilePayrollMasterFilesEmployeesEmployeeDateOfBirth diagram
type xsdate
properties isRef 0content simple
element AuditFilePayrollMasterFilesEmployeesEmployeeGender diagram
type xsstring
properties isRef 0content simple
annotation documentationRevenue Bodies should consider the acceptable range of entries
element AuditFilePayrollMasterFilesEmployeesEmployeeBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
annotation documentationEmployee bank account details
1045
element AuditFilePayrollMasterFilesEmployeesEmployeeIdentification diagram
type IdentificationStructure
properties isRef 0minOcc 0maxOcc 1content complex
children IdentificationType IdentificationNumber DateValidUntil PlaceOfIssue DateOfIssue
annotation documentationFor use when employers need to demonstrate that they have seen proof of an employees identity
element AuditFilePayrollTransactionFiles diagram
properties isRef 0content complex
children Employment
annotation documentationDetailed analysis of payroll transactions
element AuditFilePayrollTransactionFilesEmployment diagram
1145
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children EmployeeID EmployeeWorkReferenceNumber DateStartEmployment DateEndEmployment JobTitle BranchID Department PeriodicalPayments
annotation documentationNormally there should be one Employment record for each employee Where an employee holds more than one job with the same employer (whether consecutively or concurrently) there may be more than one Employment record per employee
element AuditFilePayrollTransactionFilesEmploymentEmployeeID diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationA unique reference for the employee This reference should correspond to an entry in the Employee masterfile
element AuditFilePayrollTransactionFilesEmploymentEmployeeWorkReferenceNumber diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationHR personnel number for the employee (if different to the employee ID)
element AuditFilePayrollTransactionFilesEmploymentDateStartEmployment diagram
type xsdate
properties isRef 0content simple
annotation documentationThe date the employee started the Employment referred to by the PeriodicalPayments shown below
element AuditFilePayrollTransactionFilesEmploymentDateEndEmployment diagram
1245
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date the employee started the Employment referred to by the PeriodicalPayments shown below - if applicable
element AuditFilePayrollTransactionFilesEmploymentJobTitle diagram
type SAFlongtextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 256
annotation documentationTitle or description of the employees job
element AuditFilePayrollTransactionFilesEmploymentBranchID diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationUnique identifier for which the employee performs the main duties of the employment This identifier should correspond to an entry in the EmployerBranches masterfile
element AuditFilePayrollTransactionFilesEmploymentDepartment diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationName of the department for which the employee performs the main duties of the employment
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPayments diagram
properties isRef 0minOcc 0maxOcc 1content complex
children PeriodicalPayment
annotation documentationDetail of payroll transactions For each employee there will normally be one PeriodicalPayments entry each time the payroll is run This structure may also be used for other types of payroll transaction such as adjustments
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPayment
1345
diagram
properties isRef 0minOcc 1
maxOcc unboundedcontent complex
children PayrollPeriod PayrollPeriodYear PayFrequency DatePeriodStart DatePeriodEnd DatePaymentMade Element Hours
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayrollPeriod diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationNumber of tax period as recorded in payroll system
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayrollPeriodYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
1445
annotation documentationThe year in which the payroll transaction took place Revenue Bodies will wish to specify how this is to be shown if the fiscal year is not a calendar year
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayFrequency diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationThe time interval which forms the basis of periodic tax calculations for the employment for example Week or Month
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentDatePeriodStart diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
annotation documentationStart date of period for which payment has been made
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentDatePeriodEnd diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
annotation documentationEnd date of period for which payment has been made
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentDatePaymentMade diagram
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date on which payment was actually made Used to identify instances where payments are made in advance or in arrears
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElement diagram
1545
properties isRef 0minOcc 0
maxOcc unboundedcontent complex
children PayrollElementID Amount BankAccount PaymentDetails
annotation documentationAnalysis of the total amount paid
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPayrollElementID diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationReference to master files payroll element definition
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementAmount diagram
type AmountStructure
properties isRef 0content complex
children Amount CurrencyCode CurrencyAmount ExchangeRate
annotation documentationBasic amount is shown in default currency as defined in the header Option provided to show amount in local currency also
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementBankAccount diagram
type BankAccountStructure
1645
properties isRef 0minOcc 0maxOcc 1content complex
children IBANNumber BankAccountNumber BankAccountName SortCode
annotation documentationCross reference to bank account details in master files
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetails diagram
properties isRef 0minOcc 0
maxOcc unboundedcontent complex
children NumberOfUnits AmountPaidPerUnit UnitDescription
annotation documentationPayment details
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits diagram
type SAFquantityType
properties isRef 0content simple
facets totalDigits 22fractionDigits 6
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsAmountPaidPerUnit diagram
type AmountStructure
properties isRef 0content complex
children Amount CurrencyCode CurrencyAmount ExchangeRate
annotation documentationBasic amount shown in default currency as defined in the header Option to show amount in local currency also
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
1745
diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationDescription of units per which payment is made eg hours days
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHours diagram
properties isRef 0minOcc 0
maxOcc unboundedcontent complex
children HourType NumberOfHours AmountPaidPerUnit
annotation documentationTo allow SAF-P to report payroll amounts attributable to specific types of employee activity
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationThe type of activity being reported on Revenue Bodies may wish to prescribe a list of activity codes
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours diagram
type SAFquantityType
properties isRef 0content simple
facets totalDigits 22fractionDigits 6
annotation documentationThe umber of hours being reported under the activity type
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursAmountPaidPerUnit
1845
diagram
type AmountStructure
properties isRef 0minOcc 0maxOcc 1content complex
children Amount CurrencyCode CurrencyAmount ExchangeRate
annotation documentationThe hourly rate for the activity being reported upon
complexType AddressStructure diagram
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
used by elements AuditFilePayrollHeaderPayrollBureauAddress AuditFilePayrollMasterFilesEmployeesEmployeeAddress CompanyHeaderStructureAddress CompanyStructureAddress
1945
annotation documentation[Common to all SAFs] A common structure used wherever an address is required
element AddressStructureStreetName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element AddressStructureNumber diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element AddressStructureAdditionalAddressDetail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element AddressStructureBuilding diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
element AddressStructureCity diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
element AddressStructurePostalCode diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
element AddressStructureRegion
2045
diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationCountry specific code to indicate regions provinces within the tax authority Preferably described according to ISO 3166-2 Example GB-KEN for Kent county in the United Kingdom
element AddressStructureCountry diagram
type ISOCountryCode
properties isRef 0minOcc 0maxOcc 1content simple
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
element AddressStructureAddressType diagram
type restriction of xsstring
properties isRef 0minOcc 0maxOcc 1content simple
facets enumeration StreetAddressenumeration PostalAddressenumeration enumeration enumeration
annotation documentationField to differentiate between multiple addresses To indicate the type of address Choose from the predefined enumeration (examples StreetAddress PostalAddress BillingAddress)
complexType AmountStructure diagram
children Amount CurrencyCode CurrencyAmount ExchangeRate
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementAmount AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsAmountPaidPerUnit AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursAmountPaidPerUnit
2145
annotation documentation[Common to all SAFs] A common structure used wherever an amount is required Monetary amount with optional foreign currency exchange rate information
element AmountStructureAmount diagram
type SAFmonetaryType
properties isRef 0content simple
facets totalDigits 18fractionDigits 2
annotation documentationIn the default currency as shown in the SAF-P header
element AmountStructureCurrencyCode diagram
type ISOCurrencyCode
properties isRef 0content simple
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for Euros or USD for American Dollars
element AmountStructureCurrencyAmount diagram
type SAFmonetaryType
properties isRef 0content simple
facets totalDigits 18fractionDigits 2
annotation documentationAmount in the currency referred to by the CurrencyCode above
element AmountStructureExchangeRate diagram
type SAFexchangerateType
properties isRef 0minOcc 0maxOcc 1content simple
facets totalDigits 18fractionDigits 8
annotation documentationThe exchange rate used It should be reported in accordance with the formula CurrencyAmount x ExchangeRate = Amount
complexType BankAccountStructure diagram
2245
children IBANNumber BankAccountNumber BankAccountName SortCode
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeBankAccount AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementBankAccount CompanyHeaderStructureBankAccount CompanyStructureBankAccount
annotation documentation[Common to all SAFs] Bank account number information IBAN number or account number with optional information
element BankAccountStructureIBANNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationInternational Bank Account Number ISO 13616
element BankAccountStructureBankAccountNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationThe number allocated to the account by the individuals or companys own bank
element BankAccountStructureBankAccountName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
annotation documentationThe name of the individual or company holding the bank account
element BankAccountStructureSortCode
2345
diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationIdentifier for the bank branch at which the account is held May be needed to uniquely identify the account
complexType CompanyHeaderStructure diagram
type restriction of CompanyStructure
properties base CompanyStructure
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
used by element HeaderStructureCompany
annotation documentation[Common to all SAFs] CompanyStructure with mandatory RegistrationNumber and Telephone (Contact)
element CompanyHeaderStructureRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number to identify the company in the accounting records issued by a government body or created by the company for internal purposes to identify different entities within their corporate group
element CompanyHeaderStructureName diagram
type SAFmiddle2textType
properties isRef 0content simple
2445
facets maxLength 70
element CompanyHeaderStructureAddress diagram
type AddressStructure
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
element CompanyHeaderStructureContact diagram
type ContactHeaderStructure
2545
properties isRef 0minOcc 1
maxOcc unboundedcontent complex
children ContactPerson Telephone Fax Email Website
element CompanyHeaderStructureTaxRegistration diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
element CompanyHeaderStructureBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
complexType CompanyStructure
2645
diagram
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
used by element AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchDetailscomplexType CompanyHeaderStructure
annotation documentation[Common to all SAFs] Name address contact and identification information of a company or employer
element CompanyStructureRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationUnique number to identify the company in the accounting records issued by a government authority or created by the company for internal purposes to identify different entities within their corporate group
element CompanyStructureName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element CompanyStructureAddress diagram
2745
type AddressStructure
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
element CompanyStructureContact diagram
type ContactInformationStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children ContactPerson Telephone Fax Email Website
2845
element CompanyStructureTaxRegistration diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
element CompanyStructureBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
complexType ContactHeaderStructure
2945
diagram
type restriction of ContactInformationStructure
properties base ContactInformationStructure
children ContactPerson Telephone Fax Email Website
used by element CompanyHeaderStructureContact
annotation documentation[Common to all SAFs] ContactInformationStructure with madatory TelephoneNumber
element ContactHeaderStructureContactPerson diagram
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactHeaderStructureTelephone diagram
type SAFshorttextType
3045
properties isRef 0content simple
facets maxLength 18
element ContactHeaderStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactHeaderStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element ContactHeaderStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType ContactInformationStructure diagram
children ContactPerson Telephone Fax Email Website
used by elements AuditFilePayrollHeaderPayrollBureauContact CompanyStructureContactcomplexType ContactHeaderStructure
annotation documentation[Common to all SAFs] Contact information of a company or employer
element ContactInformationStructureContactPerson diagram
3145
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactInformationStructureTelephone diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
3245
facets maxLength 70
element ContactInformationStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType HeaderStructure diagram
children AuditFileVersion AuditFileCountry AuditFileRegion AuditFileDateCreated SoftwareCompanyName SoftwareID SoftwareVersion Company DefaultCurrencyCode SelectionCriteria HeaderComment
used by element AuditFilePayrollHeader
annotation documentation[Common to all SAFs] Overall information about this Standard Auditfile
element HeaderStructureAuditFileVersion
3345
diagram
type SAFcodeType
properties isRef 0content simple
facets maxLength 9
annotation documentationIdentification of the Standard Audit File SAF-P version being used
element HeaderStructureAuditFileCountry diagram
type ISOCountryCode
properties isRef 0content simple
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
element HeaderStructureAuditFileRegion diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationCountry specific code to indicate regions provinces within the tax jurisdiction Preferably described according to ISO 3166-2 Example GB-KEN for Kent county in the United Kingdom
element HeaderStructureAuditFileDateCreated diagram
type xsdate
properties isRef 0content simple
annotation documentationDate of production of SAF-P
element HeaderStructureSoftwareCompanyName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
annotation documentationName of the software company whose product created the SAF-P
element HeaderStructureSoftwareID diagram
3445
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationName of the Software that generated the SAF-P
element HeaderStructureSoftwareVersion diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationVersion of the software that created the SAF-P
element HeaderStructureCompany diagram
type CompanyHeaderStructure
properties isRef 0content complex
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
annotation documentationEmployers name and address details
element HeaderStructureDefaultCurrencyCode diagram
type ISOCurrencyCode
properties isRef 0content simple
facets length 3
annotation documentationThree letter Currency Code (ISO 4217) of local currency which is the default for the SAF
element HeaderStructureSelectionCriteria
3545
diagram
type SelectionCriteriaStructure
properties isRef 0minOcc 0maxOcc 1content complex
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
annotation documentationCriteria set by the user to populate the SAF-P
element HeaderStructureHeaderComment diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
3645
facets maxLength 256
annotation documentationSpace for any further generic comments on the SAF-P Revenue Bodies should consider what information they would expect to see here
complexType IdentificationStructure diagram
children IdentificationType IdentificationNumber DateValidUntil PlaceOfIssue DateOfIssue
used by element AuditFilePayrollMasterFilesEmployeesEmployeeIdentification
annotation documentationIdentification Document data This section is used when employers need to demonstrate that they have seen proof of an employees identity
element IdentificationStructureIdentificationType diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationThe type of identity document supplied to the employer Revenue bodies may wish to prescribe a specific list of codes
element IdentificationStructureIdentificationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number on the identification document
element IdentificationStructureDateValidUntil diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
element IdentificationStructurePlaceOfIssue diagram
type SAFmiddle1textType
3745
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
element IdentificationStructureDateOfIssue diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
complexType PersonNameStructure diagram
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
used by elements ContactHeaderStructureContactPerson ContactInformationStructureContactPerson AuditFilePayrollMasterFilesEmployeesEmployeeName
annotation documentation[Common to all SAFs] All information about the name of a natural (non-corporate) person
element PersonNameStructureTitle diagram
type SAFcodeType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 9
element PersonNameStructureFirstName diagram
type SAFmiddle1textType
properties isRef 0content simple
3845
facets maxLength 35
element PersonNameStructureInitials diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element PersonNameStructureLastNamePrefix diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA textual expression of a prefix that precedes this persons family name such as Van Von
element PersonNameStructureLastName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element PersonNameStructureBirthName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element PersonNameStructureSalutation diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA formal sign or expression of greeting expressed as text that is appropriate for this person such as Sir or Madam
element PersonNameStructureOtherTitles diagram
type SAFshorttextType
3945
properties isRef 0minOcc 0
maxOcc unboundedcontent simple
facets maxLength 18
complexType SelectionCriteriaStructure diagram
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
used by element HeaderStructureSelectionCriteria
annotation documentation[Common to all SAFs] The selection criteria used to generate this Standard Auditfile
element SelectionCriteriaStructureTaxReportingJurisdiction diagram
type SAFmiddle1textType
4045
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationIdentifies the tax jurisdiction for whose purpose the SAF has been created Principally for use where a single Revenue body covers more than one territory
element SelectionCriteriaStructureCompanyEntity diagram
type SAFmiddle2textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 70
annotation documentationFor use where data has been extracted from the full data set by reference to a specific corporate entity
element SelectionCriteriaStructureSelectionStartDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe start date for the reporting period covered by the SAF
element SelectionCriteriaStructureSelectionEndDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe end date for the reporting period covered by the SAF
element SelectionCriteriaStructurePeriodStart diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe first Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodStartYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodStart falls
element SelectionCriteriaStructurePeriodEnd
4145
diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe last Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodEndYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodEnd falls
element SelectionCriteriaStructureDocumentType diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationType of documents selected For use where the data has been restricted by reference to particular transaction types
element SelectionCriteriaStructureOtherCriteria diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc unboundedcontent simple
facets maxLength 256
annotation documentationAny other criteria used in selecting data Individual Revenue Bodies may wish to draw up a list of other acceptable selection criteria for use within their jurisdiction
complexType TaxIDStructure diagram
4245
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeRegistrationNumbers CompanyHeaderStructureTaxRegistration CompanyStructureTaxRegistration
annotation documentation[Common to all SAFs] Tax information for a company or employer
element TaxIDStructureTaxRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number issued by Revenue Body for use by the employer
element TaxIDStructureTaxType diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationFor use where information reported in the SAF-P covers more than one type of tax regime to identify the type of tax regime to which this entry relates
element TaxIDStructureTaxNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
4345
annotation documentationThe tax registration number for the particular tax regime referred to by TaxType
element TaxIDStructureTaxAuthority diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
annotation documentationIdentification of the Revenue Body to which this TaxType refers
element TaxIDStructureTaxVerificationDate diagram
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date that the tax registration details referred to above were last checked
simpleType ISOCountryCode type restriction of xsstring
used by elements HeaderStructureAuditFileCountry AddressStructureCountry
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
simpleType ISOCurrencyCode type restriction of xsstring
used by elements AmountStructureCurrencyCode HeaderStructureDefaultCurrencyCode
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for the Euros or USD for American Dollars
simpleType SAFcodeType type restriction of xsstring
used by elements HeaderStructureAuditFileRegion HeaderStructureAuditFileVersion TaxIDStructureTaxType PersonNameStructureTitle
facets maxLength 9
annotation documentationText of max 9 characters
simpleType SAFexchangerateType type restriction of xsdecimal
used by element AmountStructureExchangeRate
facets totalDigits 18fractionDigits 8
annotation documentation18 digits max of which 8 can be fractional digits
simpleType SAFlongtextType type restriction of xsstring
used by elements AuditFilePayrollTransactionFilesEmploymentBranchID AuditFilePayrollTransactionFilesEmploymentDepartment SelectionCriteriaStructureDocumentType AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeWorkReferenceNumber HeaderStructureHeaderComment AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType AuditFilePayrollTransactionFilesEmploymentJobTitle SelectionCriteriaStructureOtherCriteria AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementDescription HeaderStructureSoftwareID AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
facets maxLength 256
annotation documentation256 character text
simpleType SAFmiddle1textType type restriction of xsstring
4445
used by elements BankAccountStructureBankAccountNumber AddressStructureBuilding AddressStructureCity PersonNameStructureFirstName BankAccountStructureIBANNumber IdentificationStructureIdentificationNumber AuditFilePayrollHeaderPayrollBureauName IdentificationStructurePlaceOfIssue AddressStructureRegion CompanyHeaderStructureRegistrationNumber CompanyStructureRegistrationNumber TaxIDStructureTaxAuthority TaxIDStructureTaxNumber TaxIDStructureTaxRegistrationNumber SelectionCriteriaStructureTaxReportingJurisdiction
facets maxLength 35
annotation documentation35 character text
simpleType SAFmiddle2textType type restriction of xsstring
used by elements AddressStructureAdditionalAddressDetail BankAccountStructureBankAccountName PersonNameStructureBirthName SelectionCriteriaStructureCompanyEntity ContactHeaderStructureEmail ContactInformationStructureEmail PersonNameStructureLastName CompanyHeaderStructureName CompanyStructureName HeaderStructureSoftwareCompanyName AddressStructureStreetName
facets maxLength 70
annotation documentation70 character text
simpleType SAFmonetaryType type restriction of xsdecimal
used by elements AmountStructureAmount AmountStructureCurrencyAmount
facets totalDigits 18fractionDigits 2
annotation documentationMonetary amount18 digits max of which 2 can be fractional digits
simpleType SAFquantityType type restriction of xsdecimal
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits
facets totalDigits 22fractionDigits 6
annotation documentationUsed to describe a quantity Monetary amount 22 digits max of which 6 can be fractional digits
simpleType SAFshorttextType type restriction of xsstring
used by elements AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchID ContactHeaderStructureFax ContactInformationStructureFax IdentificationStructureIdentificationType PersonNameStructureInitials PersonNameStructureLastNamePrefix AddressStructureNumber PersonNameStructureOtherTitles AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayFrequency AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementID AddressStructurePostalCode PersonNameStructureSalutation HeaderStructureSoftwareVersion BankAccountStructureSortCode ContactHeaderStructureTelephone ContactInformationStructureTelephone
facets maxLength 18
annotation documentation18 character text
simpleType SAFweightType type restriction of xsdecimal
facets totalDigits 14fractionDigits 3
annotation documentationDescribes a weight Monetary amount14 digits max of which 3 can be fractional digits
XML Schema documentation generated by XMLSpy Schema Editor httpwwwaltovacomxmlspy
4545
- Footer Guidance for the Standard Audit File ndash Payroll Version 10 Appendix B Schema
- Header Page
diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationUnique idenfitier for this employee within the payroll system
element AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeRegistrationNumbers diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc 1content complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
annotation documentationPersonal tax regiistration details for the employee
element AuditFilePayrollMasterFilesEmployeesEmployeeName diagram
845
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
annotation documentationEmployee name
element AuditFilePayrollMasterFilesEmployeesEmployeeAddress diagram
945
type extension of AddressStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
annotation documentationEmployee address details Multiple entries are possible to allow concurrent or consecutive addresses to be reported An extension point is provided to allow additional address information to be specified
element AuditFilePayrollMasterFilesEmployeesEmployeeDateOfBirth diagram
type xsdate
properties isRef 0content simple
element AuditFilePayrollMasterFilesEmployeesEmployeeGender diagram
type xsstring
properties isRef 0content simple
annotation documentationRevenue Bodies should consider the acceptable range of entries
element AuditFilePayrollMasterFilesEmployeesEmployeeBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
annotation documentationEmployee bank account details
1045
element AuditFilePayrollMasterFilesEmployeesEmployeeIdentification diagram
type IdentificationStructure
properties isRef 0minOcc 0maxOcc 1content complex
children IdentificationType IdentificationNumber DateValidUntil PlaceOfIssue DateOfIssue
annotation documentationFor use when employers need to demonstrate that they have seen proof of an employees identity
element AuditFilePayrollTransactionFiles diagram
properties isRef 0content complex
children Employment
annotation documentationDetailed analysis of payroll transactions
element AuditFilePayrollTransactionFilesEmployment diagram
1145
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children EmployeeID EmployeeWorkReferenceNumber DateStartEmployment DateEndEmployment JobTitle BranchID Department PeriodicalPayments
annotation documentationNormally there should be one Employment record for each employee Where an employee holds more than one job with the same employer (whether consecutively or concurrently) there may be more than one Employment record per employee
element AuditFilePayrollTransactionFilesEmploymentEmployeeID diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationA unique reference for the employee This reference should correspond to an entry in the Employee masterfile
element AuditFilePayrollTransactionFilesEmploymentEmployeeWorkReferenceNumber diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationHR personnel number for the employee (if different to the employee ID)
element AuditFilePayrollTransactionFilesEmploymentDateStartEmployment diagram
type xsdate
properties isRef 0content simple
annotation documentationThe date the employee started the Employment referred to by the PeriodicalPayments shown below
element AuditFilePayrollTransactionFilesEmploymentDateEndEmployment diagram
1245
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date the employee started the Employment referred to by the PeriodicalPayments shown below - if applicable
element AuditFilePayrollTransactionFilesEmploymentJobTitle diagram
type SAFlongtextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 256
annotation documentationTitle or description of the employees job
element AuditFilePayrollTransactionFilesEmploymentBranchID diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationUnique identifier for which the employee performs the main duties of the employment This identifier should correspond to an entry in the EmployerBranches masterfile
element AuditFilePayrollTransactionFilesEmploymentDepartment diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationName of the department for which the employee performs the main duties of the employment
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPayments diagram
properties isRef 0minOcc 0maxOcc 1content complex
children PeriodicalPayment
annotation documentationDetail of payroll transactions For each employee there will normally be one PeriodicalPayments entry each time the payroll is run This structure may also be used for other types of payroll transaction such as adjustments
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPayment
1345
diagram
properties isRef 0minOcc 1
maxOcc unboundedcontent complex
children PayrollPeriod PayrollPeriodYear PayFrequency DatePeriodStart DatePeriodEnd DatePaymentMade Element Hours
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayrollPeriod diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationNumber of tax period as recorded in payroll system
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayrollPeriodYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
1445
annotation documentationThe year in which the payroll transaction took place Revenue Bodies will wish to specify how this is to be shown if the fiscal year is not a calendar year
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayFrequency diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationThe time interval which forms the basis of periodic tax calculations for the employment for example Week or Month
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentDatePeriodStart diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
annotation documentationStart date of period for which payment has been made
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentDatePeriodEnd diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
annotation documentationEnd date of period for which payment has been made
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentDatePaymentMade diagram
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date on which payment was actually made Used to identify instances where payments are made in advance or in arrears
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElement diagram
1545
properties isRef 0minOcc 0
maxOcc unboundedcontent complex
children PayrollElementID Amount BankAccount PaymentDetails
annotation documentationAnalysis of the total amount paid
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPayrollElementID diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationReference to master files payroll element definition
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementAmount diagram
type AmountStructure
properties isRef 0content complex
children Amount CurrencyCode CurrencyAmount ExchangeRate
annotation documentationBasic amount is shown in default currency as defined in the header Option provided to show amount in local currency also
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementBankAccount diagram
type BankAccountStructure
1645
properties isRef 0minOcc 0maxOcc 1content complex
children IBANNumber BankAccountNumber BankAccountName SortCode
annotation documentationCross reference to bank account details in master files
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetails diagram
properties isRef 0minOcc 0
maxOcc unboundedcontent complex
children NumberOfUnits AmountPaidPerUnit UnitDescription
annotation documentationPayment details
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits diagram
type SAFquantityType
properties isRef 0content simple
facets totalDigits 22fractionDigits 6
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsAmountPaidPerUnit diagram
type AmountStructure
properties isRef 0content complex
children Amount CurrencyCode CurrencyAmount ExchangeRate
annotation documentationBasic amount shown in default currency as defined in the header Option to show amount in local currency also
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
1745
diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationDescription of units per which payment is made eg hours days
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHours diagram
properties isRef 0minOcc 0
maxOcc unboundedcontent complex
children HourType NumberOfHours AmountPaidPerUnit
annotation documentationTo allow SAF-P to report payroll amounts attributable to specific types of employee activity
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationThe type of activity being reported on Revenue Bodies may wish to prescribe a list of activity codes
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours diagram
type SAFquantityType
properties isRef 0content simple
facets totalDigits 22fractionDigits 6
annotation documentationThe umber of hours being reported under the activity type
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursAmountPaidPerUnit
1845
diagram
type AmountStructure
properties isRef 0minOcc 0maxOcc 1content complex
children Amount CurrencyCode CurrencyAmount ExchangeRate
annotation documentationThe hourly rate for the activity being reported upon
complexType AddressStructure diagram
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
used by elements AuditFilePayrollHeaderPayrollBureauAddress AuditFilePayrollMasterFilesEmployeesEmployeeAddress CompanyHeaderStructureAddress CompanyStructureAddress
1945
annotation documentation[Common to all SAFs] A common structure used wherever an address is required
element AddressStructureStreetName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element AddressStructureNumber diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element AddressStructureAdditionalAddressDetail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element AddressStructureBuilding diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
element AddressStructureCity diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
element AddressStructurePostalCode diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
element AddressStructureRegion
2045
diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationCountry specific code to indicate regions provinces within the tax authority Preferably described according to ISO 3166-2 Example GB-KEN for Kent county in the United Kingdom
element AddressStructureCountry diagram
type ISOCountryCode
properties isRef 0minOcc 0maxOcc 1content simple
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
element AddressStructureAddressType diagram
type restriction of xsstring
properties isRef 0minOcc 0maxOcc 1content simple
facets enumeration StreetAddressenumeration PostalAddressenumeration enumeration enumeration
annotation documentationField to differentiate between multiple addresses To indicate the type of address Choose from the predefined enumeration (examples StreetAddress PostalAddress BillingAddress)
complexType AmountStructure diagram
children Amount CurrencyCode CurrencyAmount ExchangeRate
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementAmount AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsAmountPaidPerUnit AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursAmountPaidPerUnit
2145
annotation documentation[Common to all SAFs] A common structure used wherever an amount is required Monetary amount with optional foreign currency exchange rate information
element AmountStructureAmount diagram
type SAFmonetaryType
properties isRef 0content simple
facets totalDigits 18fractionDigits 2
annotation documentationIn the default currency as shown in the SAF-P header
element AmountStructureCurrencyCode diagram
type ISOCurrencyCode
properties isRef 0content simple
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for Euros or USD for American Dollars
element AmountStructureCurrencyAmount diagram
type SAFmonetaryType
properties isRef 0content simple
facets totalDigits 18fractionDigits 2
annotation documentationAmount in the currency referred to by the CurrencyCode above
element AmountStructureExchangeRate diagram
type SAFexchangerateType
properties isRef 0minOcc 0maxOcc 1content simple
facets totalDigits 18fractionDigits 8
annotation documentationThe exchange rate used It should be reported in accordance with the formula CurrencyAmount x ExchangeRate = Amount
complexType BankAccountStructure diagram
2245
children IBANNumber BankAccountNumber BankAccountName SortCode
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeBankAccount AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementBankAccount CompanyHeaderStructureBankAccount CompanyStructureBankAccount
annotation documentation[Common to all SAFs] Bank account number information IBAN number or account number with optional information
element BankAccountStructureIBANNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationInternational Bank Account Number ISO 13616
element BankAccountStructureBankAccountNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationThe number allocated to the account by the individuals or companys own bank
element BankAccountStructureBankAccountName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
annotation documentationThe name of the individual or company holding the bank account
element BankAccountStructureSortCode
2345
diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationIdentifier for the bank branch at which the account is held May be needed to uniquely identify the account
complexType CompanyHeaderStructure diagram
type restriction of CompanyStructure
properties base CompanyStructure
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
used by element HeaderStructureCompany
annotation documentation[Common to all SAFs] CompanyStructure with mandatory RegistrationNumber and Telephone (Contact)
element CompanyHeaderStructureRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number to identify the company in the accounting records issued by a government body or created by the company for internal purposes to identify different entities within their corporate group
element CompanyHeaderStructureName diagram
type SAFmiddle2textType
properties isRef 0content simple
2445
facets maxLength 70
element CompanyHeaderStructureAddress diagram
type AddressStructure
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
element CompanyHeaderStructureContact diagram
type ContactHeaderStructure
2545
properties isRef 0minOcc 1
maxOcc unboundedcontent complex
children ContactPerson Telephone Fax Email Website
element CompanyHeaderStructureTaxRegistration diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
element CompanyHeaderStructureBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
complexType CompanyStructure
2645
diagram
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
used by element AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchDetailscomplexType CompanyHeaderStructure
annotation documentation[Common to all SAFs] Name address contact and identification information of a company or employer
element CompanyStructureRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationUnique number to identify the company in the accounting records issued by a government authority or created by the company for internal purposes to identify different entities within their corporate group
element CompanyStructureName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element CompanyStructureAddress diagram
2745
type AddressStructure
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
element CompanyStructureContact diagram
type ContactInformationStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children ContactPerson Telephone Fax Email Website
2845
element CompanyStructureTaxRegistration diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
element CompanyStructureBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
complexType ContactHeaderStructure
2945
diagram
type restriction of ContactInformationStructure
properties base ContactInformationStructure
children ContactPerson Telephone Fax Email Website
used by element CompanyHeaderStructureContact
annotation documentation[Common to all SAFs] ContactInformationStructure with madatory TelephoneNumber
element ContactHeaderStructureContactPerson diagram
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactHeaderStructureTelephone diagram
type SAFshorttextType
3045
properties isRef 0content simple
facets maxLength 18
element ContactHeaderStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactHeaderStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element ContactHeaderStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType ContactInformationStructure diagram
children ContactPerson Telephone Fax Email Website
used by elements AuditFilePayrollHeaderPayrollBureauContact CompanyStructureContactcomplexType ContactHeaderStructure
annotation documentation[Common to all SAFs] Contact information of a company or employer
element ContactInformationStructureContactPerson diagram
3145
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactInformationStructureTelephone diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
3245
facets maxLength 70
element ContactInformationStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType HeaderStructure diagram
children AuditFileVersion AuditFileCountry AuditFileRegion AuditFileDateCreated SoftwareCompanyName SoftwareID SoftwareVersion Company DefaultCurrencyCode SelectionCriteria HeaderComment
used by element AuditFilePayrollHeader
annotation documentation[Common to all SAFs] Overall information about this Standard Auditfile
element HeaderStructureAuditFileVersion
3345
diagram
type SAFcodeType
properties isRef 0content simple
facets maxLength 9
annotation documentationIdentification of the Standard Audit File SAF-P version being used
element HeaderStructureAuditFileCountry diagram
type ISOCountryCode
properties isRef 0content simple
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
element HeaderStructureAuditFileRegion diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationCountry specific code to indicate regions provinces within the tax jurisdiction Preferably described according to ISO 3166-2 Example GB-KEN for Kent county in the United Kingdom
element HeaderStructureAuditFileDateCreated diagram
type xsdate
properties isRef 0content simple
annotation documentationDate of production of SAF-P
element HeaderStructureSoftwareCompanyName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
annotation documentationName of the software company whose product created the SAF-P
element HeaderStructureSoftwareID diagram
3445
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationName of the Software that generated the SAF-P
element HeaderStructureSoftwareVersion diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationVersion of the software that created the SAF-P
element HeaderStructureCompany diagram
type CompanyHeaderStructure
properties isRef 0content complex
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
annotation documentationEmployers name and address details
element HeaderStructureDefaultCurrencyCode diagram
type ISOCurrencyCode
properties isRef 0content simple
facets length 3
annotation documentationThree letter Currency Code (ISO 4217) of local currency which is the default for the SAF
element HeaderStructureSelectionCriteria
3545
diagram
type SelectionCriteriaStructure
properties isRef 0minOcc 0maxOcc 1content complex
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
annotation documentationCriteria set by the user to populate the SAF-P
element HeaderStructureHeaderComment diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
3645
facets maxLength 256
annotation documentationSpace for any further generic comments on the SAF-P Revenue Bodies should consider what information they would expect to see here
complexType IdentificationStructure diagram
children IdentificationType IdentificationNumber DateValidUntil PlaceOfIssue DateOfIssue
used by element AuditFilePayrollMasterFilesEmployeesEmployeeIdentification
annotation documentationIdentification Document data This section is used when employers need to demonstrate that they have seen proof of an employees identity
element IdentificationStructureIdentificationType diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationThe type of identity document supplied to the employer Revenue bodies may wish to prescribe a specific list of codes
element IdentificationStructureIdentificationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number on the identification document
element IdentificationStructureDateValidUntil diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
element IdentificationStructurePlaceOfIssue diagram
type SAFmiddle1textType
3745
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
element IdentificationStructureDateOfIssue diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
complexType PersonNameStructure diagram
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
used by elements ContactHeaderStructureContactPerson ContactInformationStructureContactPerson AuditFilePayrollMasterFilesEmployeesEmployeeName
annotation documentation[Common to all SAFs] All information about the name of a natural (non-corporate) person
element PersonNameStructureTitle diagram
type SAFcodeType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 9
element PersonNameStructureFirstName diagram
type SAFmiddle1textType
properties isRef 0content simple
3845
facets maxLength 35
element PersonNameStructureInitials diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element PersonNameStructureLastNamePrefix diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA textual expression of a prefix that precedes this persons family name such as Van Von
element PersonNameStructureLastName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element PersonNameStructureBirthName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element PersonNameStructureSalutation diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA formal sign or expression of greeting expressed as text that is appropriate for this person such as Sir or Madam
element PersonNameStructureOtherTitles diagram
type SAFshorttextType
3945
properties isRef 0minOcc 0
maxOcc unboundedcontent simple
facets maxLength 18
complexType SelectionCriteriaStructure diagram
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
used by element HeaderStructureSelectionCriteria
annotation documentation[Common to all SAFs] The selection criteria used to generate this Standard Auditfile
element SelectionCriteriaStructureTaxReportingJurisdiction diagram
type SAFmiddle1textType
4045
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationIdentifies the tax jurisdiction for whose purpose the SAF has been created Principally for use where a single Revenue body covers more than one territory
element SelectionCriteriaStructureCompanyEntity diagram
type SAFmiddle2textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 70
annotation documentationFor use where data has been extracted from the full data set by reference to a specific corporate entity
element SelectionCriteriaStructureSelectionStartDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe start date for the reporting period covered by the SAF
element SelectionCriteriaStructureSelectionEndDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe end date for the reporting period covered by the SAF
element SelectionCriteriaStructurePeriodStart diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe first Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodStartYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodStart falls
element SelectionCriteriaStructurePeriodEnd
4145
diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe last Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodEndYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodEnd falls
element SelectionCriteriaStructureDocumentType diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationType of documents selected For use where the data has been restricted by reference to particular transaction types
element SelectionCriteriaStructureOtherCriteria diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc unboundedcontent simple
facets maxLength 256
annotation documentationAny other criteria used in selecting data Individual Revenue Bodies may wish to draw up a list of other acceptable selection criteria for use within their jurisdiction
complexType TaxIDStructure diagram
4245
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeRegistrationNumbers CompanyHeaderStructureTaxRegistration CompanyStructureTaxRegistration
annotation documentation[Common to all SAFs] Tax information for a company or employer
element TaxIDStructureTaxRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number issued by Revenue Body for use by the employer
element TaxIDStructureTaxType diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationFor use where information reported in the SAF-P covers more than one type of tax regime to identify the type of tax regime to which this entry relates
element TaxIDStructureTaxNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
4345
annotation documentationThe tax registration number for the particular tax regime referred to by TaxType
element TaxIDStructureTaxAuthority diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
annotation documentationIdentification of the Revenue Body to which this TaxType refers
element TaxIDStructureTaxVerificationDate diagram
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date that the tax registration details referred to above were last checked
simpleType ISOCountryCode type restriction of xsstring
used by elements HeaderStructureAuditFileCountry AddressStructureCountry
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
simpleType ISOCurrencyCode type restriction of xsstring
used by elements AmountStructureCurrencyCode HeaderStructureDefaultCurrencyCode
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for the Euros or USD for American Dollars
simpleType SAFcodeType type restriction of xsstring
used by elements HeaderStructureAuditFileRegion HeaderStructureAuditFileVersion TaxIDStructureTaxType PersonNameStructureTitle
facets maxLength 9
annotation documentationText of max 9 characters
simpleType SAFexchangerateType type restriction of xsdecimal
used by element AmountStructureExchangeRate
facets totalDigits 18fractionDigits 8
annotation documentation18 digits max of which 8 can be fractional digits
simpleType SAFlongtextType type restriction of xsstring
used by elements AuditFilePayrollTransactionFilesEmploymentBranchID AuditFilePayrollTransactionFilesEmploymentDepartment SelectionCriteriaStructureDocumentType AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeWorkReferenceNumber HeaderStructureHeaderComment AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType AuditFilePayrollTransactionFilesEmploymentJobTitle SelectionCriteriaStructureOtherCriteria AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementDescription HeaderStructureSoftwareID AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
facets maxLength 256
annotation documentation256 character text
simpleType SAFmiddle1textType type restriction of xsstring
4445
used by elements BankAccountStructureBankAccountNumber AddressStructureBuilding AddressStructureCity PersonNameStructureFirstName BankAccountStructureIBANNumber IdentificationStructureIdentificationNumber AuditFilePayrollHeaderPayrollBureauName IdentificationStructurePlaceOfIssue AddressStructureRegion CompanyHeaderStructureRegistrationNumber CompanyStructureRegistrationNumber TaxIDStructureTaxAuthority TaxIDStructureTaxNumber TaxIDStructureTaxRegistrationNumber SelectionCriteriaStructureTaxReportingJurisdiction
facets maxLength 35
annotation documentation35 character text
simpleType SAFmiddle2textType type restriction of xsstring
used by elements AddressStructureAdditionalAddressDetail BankAccountStructureBankAccountName PersonNameStructureBirthName SelectionCriteriaStructureCompanyEntity ContactHeaderStructureEmail ContactInformationStructureEmail PersonNameStructureLastName CompanyHeaderStructureName CompanyStructureName HeaderStructureSoftwareCompanyName AddressStructureStreetName
facets maxLength 70
annotation documentation70 character text
simpleType SAFmonetaryType type restriction of xsdecimal
used by elements AmountStructureAmount AmountStructureCurrencyAmount
facets totalDigits 18fractionDigits 2
annotation documentationMonetary amount18 digits max of which 2 can be fractional digits
simpleType SAFquantityType type restriction of xsdecimal
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits
facets totalDigits 22fractionDigits 6
annotation documentationUsed to describe a quantity Monetary amount 22 digits max of which 6 can be fractional digits
simpleType SAFshorttextType type restriction of xsstring
used by elements AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchID ContactHeaderStructureFax ContactInformationStructureFax IdentificationStructureIdentificationType PersonNameStructureInitials PersonNameStructureLastNamePrefix AddressStructureNumber PersonNameStructureOtherTitles AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayFrequency AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementID AddressStructurePostalCode PersonNameStructureSalutation HeaderStructureSoftwareVersion BankAccountStructureSortCode ContactHeaderStructureTelephone ContactInformationStructureTelephone
facets maxLength 18
annotation documentation18 character text
simpleType SAFweightType type restriction of xsdecimal
facets totalDigits 14fractionDigits 3
annotation documentationDescribes a weight Monetary amount14 digits max of which 3 can be fractional digits
XML Schema documentation generated by XMLSpy Schema Editor httpwwwaltovacomxmlspy
4545
- Footer Guidance for the Standard Audit File ndash Payroll Version 10 Appendix B Schema
- Header Page
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
annotation documentationEmployee name
element AuditFilePayrollMasterFilesEmployeesEmployeeAddress diagram
945
type extension of AddressStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
annotation documentationEmployee address details Multiple entries are possible to allow concurrent or consecutive addresses to be reported An extension point is provided to allow additional address information to be specified
element AuditFilePayrollMasterFilesEmployeesEmployeeDateOfBirth diagram
type xsdate
properties isRef 0content simple
element AuditFilePayrollMasterFilesEmployeesEmployeeGender diagram
type xsstring
properties isRef 0content simple
annotation documentationRevenue Bodies should consider the acceptable range of entries
element AuditFilePayrollMasterFilesEmployeesEmployeeBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
annotation documentationEmployee bank account details
1045
element AuditFilePayrollMasterFilesEmployeesEmployeeIdentification diagram
type IdentificationStructure
properties isRef 0minOcc 0maxOcc 1content complex
children IdentificationType IdentificationNumber DateValidUntil PlaceOfIssue DateOfIssue
annotation documentationFor use when employers need to demonstrate that they have seen proof of an employees identity
element AuditFilePayrollTransactionFiles diagram
properties isRef 0content complex
children Employment
annotation documentationDetailed analysis of payroll transactions
element AuditFilePayrollTransactionFilesEmployment diagram
1145
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children EmployeeID EmployeeWorkReferenceNumber DateStartEmployment DateEndEmployment JobTitle BranchID Department PeriodicalPayments
annotation documentationNormally there should be one Employment record for each employee Where an employee holds more than one job with the same employer (whether consecutively or concurrently) there may be more than one Employment record per employee
element AuditFilePayrollTransactionFilesEmploymentEmployeeID diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationA unique reference for the employee This reference should correspond to an entry in the Employee masterfile
element AuditFilePayrollTransactionFilesEmploymentEmployeeWorkReferenceNumber diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationHR personnel number for the employee (if different to the employee ID)
element AuditFilePayrollTransactionFilesEmploymentDateStartEmployment diagram
type xsdate
properties isRef 0content simple
annotation documentationThe date the employee started the Employment referred to by the PeriodicalPayments shown below
element AuditFilePayrollTransactionFilesEmploymentDateEndEmployment diagram
1245
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date the employee started the Employment referred to by the PeriodicalPayments shown below - if applicable
element AuditFilePayrollTransactionFilesEmploymentJobTitle diagram
type SAFlongtextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 256
annotation documentationTitle or description of the employees job
element AuditFilePayrollTransactionFilesEmploymentBranchID diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationUnique identifier for which the employee performs the main duties of the employment This identifier should correspond to an entry in the EmployerBranches masterfile
element AuditFilePayrollTransactionFilesEmploymentDepartment diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationName of the department for which the employee performs the main duties of the employment
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPayments diagram
properties isRef 0minOcc 0maxOcc 1content complex
children PeriodicalPayment
annotation documentationDetail of payroll transactions For each employee there will normally be one PeriodicalPayments entry each time the payroll is run This structure may also be used for other types of payroll transaction such as adjustments
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPayment
1345
diagram
properties isRef 0minOcc 1
maxOcc unboundedcontent complex
children PayrollPeriod PayrollPeriodYear PayFrequency DatePeriodStart DatePeriodEnd DatePaymentMade Element Hours
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayrollPeriod diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationNumber of tax period as recorded in payroll system
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayrollPeriodYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
1445
annotation documentationThe year in which the payroll transaction took place Revenue Bodies will wish to specify how this is to be shown if the fiscal year is not a calendar year
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayFrequency diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationThe time interval which forms the basis of periodic tax calculations for the employment for example Week or Month
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentDatePeriodStart diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
annotation documentationStart date of period for which payment has been made
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentDatePeriodEnd diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
annotation documentationEnd date of period for which payment has been made
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentDatePaymentMade diagram
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date on which payment was actually made Used to identify instances where payments are made in advance or in arrears
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElement diagram
1545
properties isRef 0minOcc 0
maxOcc unboundedcontent complex
children PayrollElementID Amount BankAccount PaymentDetails
annotation documentationAnalysis of the total amount paid
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPayrollElementID diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationReference to master files payroll element definition
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementAmount diagram
type AmountStructure
properties isRef 0content complex
children Amount CurrencyCode CurrencyAmount ExchangeRate
annotation documentationBasic amount is shown in default currency as defined in the header Option provided to show amount in local currency also
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementBankAccount diagram
type BankAccountStructure
1645
properties isRef 0minOcc 0maxOcc 1content complex
children IBANNumber BankAccountNumber BankAccountName SortCode
annotation documentationCross reference to bank account details in master files
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetails diagram
properties isRef 0minOcc 0
maxOcc unboundedcontent complex
children NumberOfUnits AmountPaidPerUnit UnitDescription
annotation documentationPayment details
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits diagram
type SAFquantityType
properties isRef 0content simple
facets totalDigits 22fractionDigits 6
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsAmountPaidPerUnit diagram
type AmountStructure
properties isRef 0content complex
children Amount CurrencyCode CurrencyAmount ExchangeRate
annotation documentationBasic amount shown in default currency as defined in the header Option to show amount in local currency also
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
1745
diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationDescription of units per which payment is made eg hours days
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHours diagram
properties isRef 0minOcc 0
maxOcc unboundedcontent complex
children HourType NumberOfHours AmountPaidPerUnit
annotation documentationTo allow SAF-P to report payroll amounts attributable to specific types of employee activity
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationThe type of activity being reported on Revenue Bodies may wish to prescribe a list of activity codes
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours diagram
type SAFquantityType
properties isRef 0content simple
facets totalDigits 22fractionDigits 6
annotation documentationThe umber of hours being reported under the activity type
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursAmountPaidPerUnit
1845
diagram
type AmountStructure
properties isRef 0minOcc 0maxOcc 1content complex
children Amount CurrencyCode CurrencyAmount ExchangeRate
annotation documentationThe hourly rate for the activity being reported upon
complexType AddressStructure diagram
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
used by elements AuditFilePayrollHeaderPayrollBureauAddress AuditFilePayrollMasterFilesEmployeesEmployeeAddress CompanyHeaderStructureAddress CompanyStructureAddress
1945
annotation documentation[Common to all SAFs] A common structure used wherever an address is required
element AddressStructureStreetName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element AddressStructureNumber diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element AddressStructureAdditionalAddressDetail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element AddressStructureBuilding diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
element AddressStructureCity diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
element AddressStructurePostalCode diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
element AddressStructureRegion
2045
diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationCountry specific code to indicate regions provinces within the tax authority Preferably described according to ISO 3166-2 Example GB-KEN for Kent county in the United Kingdom
element AddressStructureCountry diagram
type ISOCountryCode
properties isRef 0minOcc 0maxOcc 1content simple
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
element AddressStructureAddressType diagram
type restriction of xsstring
properties isRef 0minOcc 0maxOcc 1content simple
facets enumeration StreetAddressenumeration PostalAddressenumeration enumeration enumeration
annotation documentationField to differentiate between multiple addresses To indicate the type of address Choose from the predefined enumeration (examples StreetAddress PostalAddress BillingAddress)
complexType AmountStructure diagram
children Amount CurrencyCode CurrencyAmount ExchangeRate
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementAmount AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsAmountPaidPerUnit AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursAmountPaidPerUnit
2145
annotation documentation[Common to all SAFs] A common structure used wherever an amount is required Monetary amount with optional foreign currency exchange rate information
element AmountStructureAmount diagram
type SAFmonetaryType
properties isRef 0content simple
facets totalDigits 18fractionDigits 2
annotation documentationIn the default currency as shown in the SAF-P header
element AmountStructureCurrencyCode diagram
type ISOCurrencyCode
properties isRef 0content simple
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for Euros or USD for American Dollars
element AmountStructureCurrencyAmount diagram
type SAFmonetaryType
properties isRef 0content simple
facets totalDigits 18fractionDigits 2
annotation documentationAmount in the currency referred to by the CurrencyCode above
element AmountStructureExchangeRate diagram
type SAFexchangerateType
properties isRef 0minOcc 0maxOcc 1content simple
facets totalDigits 18fractionDigits 8
annotation documentationThe exchange rate used It should be reported in accordance with the formula CurrencyAmount x ExchangeRate = Amount
complexType BankAccountStructure diagram
2245
children IBANNumber BankAccountNumber BankAccountName SortCode
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeBankAccount AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementBankAccount CompanyHeaderStructureBankAccount CompanyStructureBankAccount
annotation documentation[Common to all SAFs] Bank account number information IBAN number or account number with optional information
element BankAccountStructureIBANNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationInternational Bank Account Number ISO 13616
element BankAccountStructureBankAccountNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationThe number allocated to the account by the individuals or companys own bank
element BankAccountStructureBankAccountName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
annotation documentationThe name of the individual or company holding the bank account
element BankAccountStructureSortCode
2345
diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationIdentifier for the bank branch at which the account is held May be needed to uniquely identify the account
complexType CompanyHeaderStructure diagram
type restriction of CompanyStructure
properties base CompanyStructure
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
used by element HeaderStructureCompany
annotation documentation[Common to all SAFs] CompanyStructure with mandatory RegistrationNumber and Telephone (Contact)
element CompanyHeaderStructureRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number to identify the company in the accounting records issued by a government body or created by the company for internal purposes to identify different entities within their corporate group
element CompanyHeaderStructureName diagram
type SAFmiddle2textType
properties isRef 0content simple
2445
facets maxLength 70
element CompanyHeaderStructureAddress diagram
type AddressStructure
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
element CompanyHeaderStructureContact diagram
type ContactHeaderStructure
2545
properties isRef 0minOcc 1
maxOcc unboundedcontent complex
children ContactPerson Telephone Fax Email Website
element CompanyHeaderStructureTaxRegistration diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
element CompanyHeaderStructureBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
complexType CompanyStructure
2645
diagram
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
used by element AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchDetailscomplexType CompanyHeaderStructure
annotation documentation[Common to all SAFs] Name address contact and identification information of a company or employer
element CompanyStructureRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationUnique number to identify the company in the accounting records issued by a government authority or created by the company for internal purposes to identify different entities within their corporate group
element CompanyStructureName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element CompanyStructureAddress diagram
2745
type AddressStructure
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
element CompanyStructureContact diagram
type ContactInformationStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children ContactPerson Telephone Fax Email Website
2845
element CompanyStructureTaxRegistration diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
element CompanyStructureBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
complexType ContactHeaderStructure
2945
diagram
type restriction of ContactInformationStructure
properties base ContactInformationStructure
children ContactPerson Telephone Fax Email Website
used by element CompanyHeaderStructureContact
annotation documentation[Common to all SAFs] ContactInformationStructure with madatory TelephoneNumber
element ContactHeaderStructureContactPerson diagram
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactHeaderStructureTelephone diagram
type SAFshorttextType
3045
properties isRef 0content simple
facets maxLength 18
element ContactHeaderStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactHeaderStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element ContactHeaderStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType ContactInformationStructure diagram
children ContactPerson Telephone Fax Email Website
used by elements AuditFilePayrollHeaderPayrollBureauContact CompanyStructureContactcomplexType ContactHeaderStructure
annotation documentation[Common to all SAFs] Contact information of a company or employer
element ContactInformationStructureContactPerson diagram
3145
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactInformationStructureTelephone diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
3245
facets maxLength 70
element ContactInformationStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType HeaderStructure diagram
children AuditFileVersion AuditFileCountry AuditFileRegion AuditFileDateCreated SoftwareCompanyName SoftwareID SoftwareVersion Company DefaultCurrencyCode SelectionCriteria HeaderComment
used by element AuditFilePayrollHeader
annotation documentation[Common to all SAFs] Overall information about this Standard Auditfile
element HeaderStructureAuditFileVersion
3345
diagram
type SAFcodeType
properties isRef 0content simple
facets maxLength 9
annotation documentationIdentification of the Standard Audit File SAF-P version being used
element HeaderStructureAuditFileCountry diagram
type ISOCountryCode
properties isRef 0content simple
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
element HeaderStructureAuditFileRegion diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationCountry specific code to indicate regions provinces within the tax jurisdiction Preferably described according to ISO 3166-2 Example GB-KEN for Kent county in the United Kingdom
element HeaderStructureAuditFileDateCreated diagram
type xsdate
properties isRef 0content simple
annotation documentationDate of production of SAF-P
element HeaderStructureSoftwareCompanyName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
annotation documentationName of the software company whose product created the SAF-P
element HeaderStructureSoftwareID diagram
3445
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationName of the Software that generated the SAF-P
element HeaderStructureSoftwareVersion diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationVersion of the software that created the SAF-P
element HeaderStructureCompany diagram
type CompanyHeaderStructure
properties isRef 0content complex
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
annotation documentationEmployers name and address details
element HeaderStructureDefaultCurrencyCode diagram
type ISOCurrencyCode
properties isRef 0content simple
facets length 3
annotation documentationThree letter Currency Code (ISO 4217) of local currency which is the default for the SAF
element HeaderStructureSelectionCriteria
3545
diagram
type SelectionCriteriaStructure
properties isRef 0minOcc 0maxOcc 1content complex
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
annotation documentationCriteria set by the user to populate the SAF-P
element HeaderStructureHeaderComment diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
3645
facets maxLength 256
annotation documentationSpace for any further generic comments on the SAF-P Revenue Bodies should consider what information they would expect to see here
complexType IdentificationStructure diagram
children IdentificationType IdentificationNumber DateValidUntil PlaceOfIssue DateOfIssue
used by element AuditFilePayrollMasterFilesEmployeesEmployeeIdentification
annotation documentationIdentification Document data This section is used when employers need to demonstrate that they have seen proof of an employees identity
element IdentificationStructureIdentificationType diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationThe type of identity document supplied to the employer Revenue bodies may wish to prescribe a specific list of codes
element IdentificationStructureIdentificationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number on the identification document
element IdentificationStructureDateValidUntil diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
element IdentificationStructurePlaceOfIssue diagram
type SAFmiddle1textType
3745
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
element IdentificationStructureDateOfIssue diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
complexType PersonNameStructure diagram
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
used by elements ContactHeaderStructureContactPerson ContactInformationStructureContactPerson AuditFilePayrollMasterFilesEmployeesEmployeeName
annotation documentation[Common to all SAFs] All information about the name of a natural (non-corporate) person
element PersonNameStructureTitle diagram
type SAFcodeType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 9
element PersonNameStructureFirstName diagram
type SAFmiddle1textType
properties isRef 0content simple
3845
facets maxLength 35
element PersonNameStructureInitials diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element PersonNameStructureLastNamePrefix diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA textual expression of a prefix that precedes this persons family name such as Van Von
element PersonNameStructureLastName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element PersonNameStructureBirthName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element PersonNameStructureSalutation diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA formal sign or expression of greeting expressed as text that is appropriate for this person such as Sir or Madam
element PersonNameStructureOtherTitles diagram
type SAFshorttextType
3945
properties isRef 0minOcc 0
maxOcc unboundedcontent simple
facets maxLength 18
complexType SelectionCriteriaStructure diagram
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
used by element HeaderStructureSelectionCriteria
annotation documentation[Common to all SAFs] The selection criteria used to generate this Standard Auditfile
element SelectionCriteriaStructureTaxReportingJurisdiction diagram
type SAFmiddle1textType
4045
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationIdentifies the tax jurisdiction for whose purpose the SAF has been created Principally for use where a single Revenue body covers more than one territory
element SelectionCriteriaStructureCompanyEntity diagram
type SAFmiddle2textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 70
annotation documentationFor use where data has been extracted from the full data set by reference to a specific corporate entity
element SelectionCriteriaStructureSelectionStartDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe start date for the reporting period covered by the SAF
element SelectionCriteriaStructureSelectionEndDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe end date for the reporting period covered by the SAF
element SelectionCriteriaStructurePeriodStart diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe first Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodStartYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodStart falls
element SelectionCriteriaStructurePeriodEnd
4145
diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe last Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodEndYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodEnd falls
element SelectionCriteriaStructureDocumentType diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationType of documents selected For use where the data has been restricted by reference to particular transaction types
element SelectionCriteriaStructureOtherCriteria diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc unboundedcontent simple
facets maxLength 256
annotation documentationAny other criteria used in selecting data Individual Revenue Bodies may wish to draw up a list of other acceptable selection criteria for use within their jurisdiction
complexType TaxIDStructure diagram
4245
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeRegistrationNumbers CompanyHeaderStructureTaxRegistration CompanyStructureTaxRegistration
annotation documentation[Common to all SAFs] Tax information for a company or employer
element TaxIDStructureTaxRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number issued by Revenue Body for use by the employer
element TaxIDStructureTaxType diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationFor use where information reported in the SAF-P covers more than one type of tax regime to identify the type of tax regime to which this entry relates
element TaxIDStructureTaxNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
4345
annotation documentationThe tax registration number for the particular tax regime referred to by TaxType
element TaxIDStructureTaxAuthority diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
annotation documentationIdentification of the Revenue Body to which this TaxType refers
element TaxIDStructureTaxVerificationDate diagram
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date that the tax registration details referred to above were last checked
simpleType ISOCountryCode type restriction of xsstring
used by elements HeaderStructureAuditFileCountry AddressStructureCountry
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
simpleType ISOCurrencyCode type restriction of xsstring
used by elements AmountStructureCurrencyCode HeaderStructureDefaultCurrencyCode
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for the Euros or USD for American Dollars
simpleType SAFcodeType type restriction of xsstring
used by elements HeaderStructureAuditFileRegion HeaderStructureAuditFileVersion TaxIDStructureTaxType PersonNameStructureTitle
facets maxLength 9
annotation documentationText of max 9 characters
simpleType SAFexchangerateType type restriction of xsdecimal
used by element AmountStructureExchangeRate
facets totalDigits 18fractionDigits 8
annotation documentation18 digits max of which 8 can be fractional digits
simpleType SAFlongtextType type restriction of xsstring
used by elements AuditFilePayrollTransactionFilesEmploymentBranchID AuditFilePayrollTransactionFilesEmploymentDepartment SelectionCriteriaStructureDocumentType AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeWorkReferenceNumber HeaderStructureHeaderComment AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType AuditFilePayrollTransactionFilesEmploymentJobTitle SelectionCriteriaStructureOtherCriteria AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementDescription HeaderStructureSoftwareID AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
facets maxLength 256
annotation documentation256 character text
simpleType SAFmiddle1textType type restriction of xsstring
4445
used by elements BankAccountStructureBankAccountNumber AddressStructureBuilding AddressStructureCity PersonNameStructureFirstName BankAccountStructureIBANNumber IdentificationStructureIdentificationNumber AuditFilePayrollHeaderPayrollBureauName IdentificationStructurePlaceOfIssue AddressStructureRegion CompanyHeaderStructureRegistrationNumber CompanyStructureRegistrationNumber TaxIDStructureTaxAuthority TaxIDStructureTaxNumber TaxIDStructureTaxRegistrationNumber SelectionCriteriaStructureTaxReportingJurisdiction
facets maxLength 35
annotation documentation35 character text
simpleType SAFmiddle2textType type restriction of xsstring
used by elements AddressStructureAdditionalAddressDetail BankAccountStructureBankAccountName PersonNameStructureBirthName SelectionCriteriaStructureCompanyEntity ContactHeaderStructureEmail ContactInformationStructureEmail PersonNameStructureLastName CompanyHeaderStructureName CompanyStructureName HeaderStructureSoftwareCompanyName AddressStructureStreetName
facets maxLength 70
annotation documentation70 character text
simpleType SAFmonetaryType type restriction of xsdecimal
used by elements AmountStructureAmount AmountStructureCurrencyAmount
facets totalDigits 18fractionDigits 2
annotation documentationMonetary amount18 digits max of which 2 can be fractional digits
simpleType SAFquantityType type restriction of xsdecimal
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits
facets totalDigits 22fractionDigits 6
annotation documentationUsed to describe a quantity Monetary amount 22 digits max of which 6 can be fractional digits
simpleType SAFshorttextType type restriction of xsstring
used by elements AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchID ContactHeaderStructureFax ContactInformationStructureFax IdentificationStructureIdentificationType PersonNameStructureInitials PersonNameStructureLastNamePrefix AddressStructureNumber PersonNameStructureOtherTitles AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayFrequency AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementID AddressStructurePostalCode PersonNameStructureSalutation HeaderStructureSoftwareVersion BankAccountStructureSortCode ContactHeaderStructureTelephone ContactInformationStructureTelephone
facets maxLength 18
annotation documentation18 character text
simpleType SAFweightType type restriction of xsdecimal
facets totalDigits 14fractionDigits 3
annotation documentationDescribes a weight Monetary amount14 digits max of which 3 can be fractional digits
XML Schema documentation generated by XMLSpy Schema Editor httpwwwaltovacomxmlspy
4545
- Footer Guidance for the Standard Audit File ndash Payroll Version 10 Appendix B Schema
- Header Page
type extension of AddressStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
annotation documentationEmployee address details Multiple entries are possible to allow concurrent or consecutive addresses to be reported An extension point is provided to allow additional address information to be specified
element AuditFilePayrollMasterFilesEmployeesEmployeeDateOfBirth diagram
type xsdate
properties isRef 0content simple
element AuditFilePayrollMasterFilesEmployeesEmployeeGender diagram
type xsstring
properties isRef 0content simple
annotation documentationRevenue Bodies should consider the acceptable range of entries
element AuditFilePayrollMasterFilesEmployeesEmployeeBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
annotation documentationEmployee bank account details
1045
element AuditFilePayrollMasterFilesEmployeesEmployeeIdentification diagram
type IdentificationStructure
properties isRef 0minOcc 0maxOcc 1content complex
children IdentificationType IdentificationNumber DateValidUntil PlaceOfIssue DateOfIssue
annotation documentationFor use when employers need to demonstrate that they have seen proof of an employees identity
element AuditFilePayrollTransactionFiles diagram
properties isRef 0content complex
children Employment
annotation documentationDetailed analysis of payroll transactions
element AuditFilePayrollTransactionFilesEmployment diagram
1145
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children EmployeeID EmployeeWorkReferenceNumber DateStartEmployment DateEndEmployment JobTitle BranchID Department PeriodicalPayments
annotation documentationNormally there should be one Employment record for each employee Where an employee holds more than one job with the same employer (whether consecutively or concurrently) there may be more than one Employment record per employee
element AuditFilePayrollTransactionFilesEmploymentEmployeeID diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationA unique reference for the employee This reference should correspond to an entry in the Employee masterfile
element AuditFilePayrollTransactionFilesEmploymentEmployeeWorkReferenceNumber diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationHR personnel number for the employee (if different to the employee ID)
element AuditFilePayrollTransactionFilesEmploymentDateStartEmployment diagram
type xsdate
properties isRef 0content simple
annotation documentationThe date the employee started the Employment referred to by the PeriodicalPayments shown below
element AuditFilePayrollTransactionFilesEmploymentDateEndEmployment diagram
1245
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date the employee started the Employment referred to by the PeriodicalPayments shown below - if applicable
element AuditFilePayrollTransactionFilesEmploymentJobTitle diagram
type SAFlongtextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 256
annotation documentationTitle or description of the employees job
element AuditFilePayrollTransactionFilesEmploymentBranchID diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationUnique identifier for which the employee performs the main duties of the employment This identifier should correspond to an entry in the EmployerBranches masterfile
element AuditFilePayrollTransactionFilesEmploymentDepartment diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationName of the department for which the employee performs the main duties of the employment
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPayments diagram
properties isRef 0minOcc 0maxOcc 1content complex
children PeriodicalPayment
annotation documentationDetail of payroll transactions For each employee there will normally be one PeriodicalPayments entry each time the payroll is run This structure may also be used for other types of payroll transaction such as adjustments
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPayment
1345
diagram
properties isRef 0minOcc 1
maxOcc unboundedcontent complex
children PayrollPeriod PayrollPeriodYear PayFrequency DatePeriodStart DatePeriodEnd DatePaymentMade Element Hours
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayrollPeriod diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationNumber of tax period as recorded in payroll system
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayrollPeriodYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
1445
annotation documentationThe year in which the payroll transaction took place Revenue Bodies will wish to specify how this is to be shown if the fiscal year is not a calendar year
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayFrequency diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationThe time interval which forms the basis of periodic tax calculations for the employment for example Week or Month
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentDatePeriodStart diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
annotation documentationStart date of period for which payment has been made
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentDatePeriodEnd diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
annotation documentationEnd date of period for which payment has been made
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentDatePaymentMade diagram
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date on which payment was actually made Used to identify instances where payments are made in advance or in arrears
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElement diagram
1545
properties isRef 0minOcc 0
maxOcc unboundedcontent complex
children PayrollElementID Amount BankAccount PaymentDetails
annotation documentationAnalysis of the total amount paid
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPayrollElementID diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationReference to master files payroll element definition
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementAmount diagram
type AmountStructure
properties isRef 0content complex
children Amount CurrencyCode CurrencyAmount ExchangeRate
annotation documentationBasic amount is shown in default currency as defined in the header Option provided to show amount in local currency also
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementBankAccount diagram
type BankAccountStructure
1645
properties isRef 0minOcc 0maxOcc 1content complex
children IBANNumber BankAccountNumber BankAccountName SortCode
annotation documentationCross reference to bank account details in master files
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetails diagram
properties isRef 0minOcc 0
maxOcc unboundedcontent complex
children NumberOfUnits AmountPaidPerUnit UnitDescription
annotation documentationPayment details
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits diagram
type SAFquantityType
properties isRef 0content simple
facets totalDigits 22fractionDigits 6
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsAmountPaidPerUnit diagram
type AmountStructure
properties isRef 0content complex
children Amount CurrencyCode CurrencyAmount ExchangeRate
annotation documentationBasic amount shown in default currency as defined in the header Option to show amount in local currency also
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
1745
diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationDescription of units per which payment is made eg hours days
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHours diagram
properties isRef 0minOcc 0
maxOcc unboundedcontent complex
children HourType NumberOfHours AmountPaidPerUnit
annotation documentationTo allow SAF-P to report payroll amounts attributable to specific types of employee activity
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationThe type of activity being reported on Revenue Bodies may wish to prescribe a list of activity codes
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours diagram
type SAFquantityType
properties isRef 0content simple
facets totalDigits 22fractionDigits 6
annotation documentationThe umber of hours being reported under the activity type
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursAmountPaidPerUnit
1845
diagram
type AmountStructure
properties isRef 0minOcc 0maxOcc 1content complex
children Amount CurrencyCode CurrencyAmount ExchangeRate
annotation documentationThe hourly rate for the activity being reported upon
complexType AddressStructure diagram
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
used by elements AuditFilePayrollHeaderPayrollBureauAddress AuditFilePayrollMasterFilesEmployeesEmployeeAddress CompanyHeaderStructureAddress CompanyStructureAddress
1945
annotation documentation[Common to all SAFs] A common structure used wherever an address is required
element AddressStructureStreetName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element AddressStructureNumber diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element AddressStructureAdditionalAddressDetail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element AddressStructureBuilding diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
element AddressStructureCity diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
element AddressStructurePostalCode diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
element AddressStructureRegion
2045
diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationCountry specific code to indicate regions provinces within the tax authority Preferably described according to ISO 3166-2 Example GB-KEN for Kent county in the United Kingdom
element AddressStructureCountry diagram
type ISOCountryCode
properties isRef 0minOcc 0maxOcc 1content simple
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
element AddressStructureAddressType diagram
type restriction of xsstring
properties isRef 0minOcc 0maxOcc 1content simple
facets enumeration StreetAddressenumeration PostalAddressenumeration enumeration enumeration
annotation documentationField to differentiate between multiple addresses To indicate the type of address Choose from the predefined enumeration (examples StreetAddress PostalAddress BillingAddress)
complexType AmountStructure diagram
children Amount CurrencyCode CurrencyAmount ExchangeRate
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementAmount AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsAmountPaidPerUnit AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursAmountPaidPerUnit
2145
annotation documentation[Common to all SAFs] A common structure used wherever an amount is required Monetary amount with optional foreign currency exchange rate information
element AmountStructureAmount diagram
type SAFmonetaryType
properties isRef 0content simple
facets totalDigits 18fractionDigits 2
annotation documentationIn the default currency as shown in the SAF-P header
element AmountStructureCurrencyCode diagram
type ISOCurrencyCode
properties isRef 0content simple
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for Euros or USD for American Dollars
element AmountStructureCurrencyAmount diagram
type SAFmonetaryType
properties isRef 0content simple
facets totalDigits 18fractionDigits 2
annotation documentationAmount in the currency referred to by the CurrencyCode above
element AmountStructureExchangeRate diagram
type SAFexchangerateType
properties isRef 0minOcc 0maxOcc 1content simple
facets totalDigits 18fractionDigits 8
annotation documentationThe exchange rate used It should be reported in accordance with the formula CurrencyAmount x ExchangeRate = Amount
complexType BankAccountStructure diagram
2245
children IBANNumber BankAccountNumber BankAccountName SortCode
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeBankAccount AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementBankAccount CompanyHeaderStructureBankAccount CompanyStructureBankAccount
annotation documentation[Common to all SAFs] Bank account number information IBAN number or account number with optional information
element BankAccountStructureIBANNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationInternational Bank Account Number ISO 13616
element BankAccountStructureBankAccountNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationThe number allocated to the account by the individuals or companys own bank
element BankAccountStructureBankAccountName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
annotation documentationThe name of the individual or company holding the bank account
element BankAccountStructureSortCode
2345
diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationIdentifier for the bank branch at which the account is held May be needed to uniquely identify the account
complexType CompanyHeaderStructure diagram
type restriction of CompanyStructure
properties base CompanyStructure
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
used by element HeaderStructureCompany
annotation documentation[Common to all SAFs] CompanyStructure with mandatory RegistrationNumber and Telephone (Contact)
element CompanyHeaderStructureRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number to identify the company in the accounting records issued by a government body or created by the company for internal purposes to identify different entities within their corporate group
element CompanyHeaderStructureName diagram
type SAFmiddle2textType
properties isRef 0content simple
2445
facets maxLength 70
element CompanyHeaderStructureAddress diagram
type AddressStructure
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
element CompanyHeaderStructureContact diagram
type ContactHeaderStructure
2545
properties isRef 0minOcc 1
maxOcc unboundedcontent complex
children ContactPerson Telephone Fax Email Website
element CompanyHeaderStructureTaxRegistration diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
element CompanyHeaderStructureBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
complexType CompanyStructure
2645
diagram
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
used by element AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchDetailscomplexType CompanyHeaderStructure
annotation documentation[Common to all SAFs] Name address contact and identification information of a company or employer
element CompanyStructureRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationUnique number to identify the company in the accounting records issued by a government authority or created by the company for internal purposes to identify different entities within their corporate group
element CompanyStructureName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element CompanyStructureAddress diagram
2745
type AddressStructure
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
element CompanyStructureContact diagram
type ContactInformationStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children ContactPerson Telephone Fax Email Website
2845
element CompanyStructureTaxRegistration diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
element CompanyStructureBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
complexType ContactHeaderStructure
2945
diagram
type restriction of ContactInformationStructure
properties base ContactInformationStructure
children ContactPerson Telephone Fax Email Website
used by element CompanyHeaderStructureContact
annotation documentation[Common to all SAFs] ContactInformationStructure with madatory TelephoneNumber
element ContactHeaderStructureContactPerson diagram
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactHeaderStructureTelephone diagram
type SAFshorttextType
3045
properties isRef 0content simple
facets maxLength 18
element ContactHeaderStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactHeaderStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element ContactHeaderStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType ContactInformationStructure diagram
children ContactPerson Telephone Fax Email Website
used by elements AuditFilePayrollHeaderPayrollBureauContact CompanyStructureContactcomplexType ContactHeaderStructure
annotation documentation[Common to all SAFs] Contact information of a company or employer
element ContactInformationStructureContactPerson diagram
3145
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactInformationStructureTelephone diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
3245
facets maxLength 70
element ContactInformationStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType HeaderStructure diagram
children AuditFileVersion AuditFileCountry AuditFileRegion AuditFileDateCreated SoftwareCompanyName SoftwareID SoftwareVersion Company DefaultCurrencyCode SelectionCriteria HeaderComment
used by element AuditFilePayrollHeader
annotation documentation[Common to all SAFs] Overall information about this Standard Auditfile
element HeaderStructureAuditFileVersion
3345
diagram
type SAFcodeType
properties isRef 0content simple
facets maxLength 9
annotation documentationIdentification of the Standard Audit File SAF-P version being used
element HeaderStructureAuditFileCountry diagram
type ISOCountryCode
properties isRef 0content simple
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
element HeaderStructureAuditFileRegion diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationCountry specific code to indicate regions provinces within the tax jurisdiction Preferably described according to ISO 3166-2 Example GB-KEN for Kent county in the United Kingdom
element HeaderStructureAuditFileDateCreated diagram
type xsdate
properties isRef 0content simple
annotation documentationDate of production of SAF-P
element HeaderStructureSoftwareCompanyName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
annotation documentationName of the software company whose product created the SAF-P
element HeaderStructureSoftwareID diagram
3445
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationName of the Software that generated the SAF-P
element HeaderStructureSoftwareVersion diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationVersion of the software that created the SAF-P
element HeaderStructureCompany diagram
type CompanyHeaderStructure
properties isRef 0content complex
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
annotation documentationEmployers name and address details
element HeaderStructureDefaultCurrencyCode diagram
type ISOCurrencyCode
properties isRef 0content simple
facets length 3
annotation documentationThree letter Currency Code (ISO 4217) of local currency which is the default for the SAF
element HeaderStructureSelectionCriteria
3545
diagram
type SelectionCriteriaStructure
properties isRef 0minOcc 0maxOcc 1content complex
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
annotation documentationCriteria set by the user to populate the SAF-P
element HeaderStructureHeaderComment diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
3645
facets maxLength 256
annotation documentationSpace for any further generic comments on the SAF-P Revenue Bodies should consider what information they would expect to see here
complexType IdentificationStructure diagram
children IdentificationType IdentificationNumber DateValidUntil PlaceOfIssue DateOfIssue
used by element AuditFilePayrollMasterFilesEmployeesEmployeeIdentification
annotation documentationIdentification Document data This section is used when employers need to demonstrate that they have seen proof of an employees identity
element IdentificationStructureIdentificationType diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationThe type of identity document supplied to the employer Revenue bodies may wish to prescribe a specific list of codes
element IdentificationStructureIdentificationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number on the identification document
element IdentificationStructureDateValidUntil diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
element IdentificationStructurePlaceOfIssue diagram
type SAFmiddle1textType
3745
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
element IdentificationStructureDateOfIssue diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
complexType PersonNameStructure diagram
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
used by elements ContactHeaderStructureContactPerson ContactInformationStructureContactPerson AuditFilePayrollMasterFilesEmployeesEmployeeName
annotation documentation[Common to all SAFs] All information about the name of a natural (non-corporate) person
element PersonNameStructureTitle diagram
type SAFcodeType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 9
element PersonNameStructureFirstName diagram
type SAFmiddle1textType
properties isRef 0content simple
3845
facets maxLength 35
element PersonNameStructureInitials diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element PersonNameStructureLastNamePrefix diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA textual expression of a prefix that precedes this persons family name such as Van Von
element PersonNameStructureLastName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element PersonNameStructureBirthName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element PersonNameStructureSalutation diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA formal sign or expression of greeting expressed as text that is appropriate for this person such as Sir or Madam
element PersonNameStructureOtherTitles diagram
type SAFshorttextType
3945
properties isRef 0minOcc 0
maxOcc unboundedcontent simple
facets maxLength 18
complexType SelectionCriteriaStructure diagram
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
used by element HeaderStructureSelectionCriteria
annotation documentation[Common to all SAFs] The selection criteria used to generate this Standard Auditfile
element SelectionCriteriaStructureTaxReportingJurisdiction diagram
type SAFmiddle1textType
4045
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationIdentifies the tax jurisdiction for whose purpose the SAF has been created Principally for use where a single Revenue body covers more than one territory
element SelectionCriteriaStructureCompanyEntity diagram
type SAFmiddle2textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 70
annotation documentationFor use where data has been extracted from the full data set by reference to a specific corporate entity
element SelectionCriteriaStructureSelectionStartDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe start date for the reporting period covered by the SAF
element SelectionCriteriaStructureSelectionEndDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe end date for the reporting period covered by the SAF
element SelectionCriteriaStructurePeriodStart diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe first Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodStartYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodStart falls
element SelectionCriteriaStructurePeriodEnd
4145
diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe last Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodEndYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodEnd falls
element SelectionCriteriaStructureDocumentType diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationType of documents selected For use where the data has been restricted by reference to particular transaction types
element SelectionCriteriaStructureOtherCriteria diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc unboundedcontent simple
facets maxLength 256
annotation documentationAny other criteria used in selecting data Individual Revenue Bodies may wish to draw up a list of other acceptable selection criteria for use within their jurisdiction
complexType TaxIDStructure diagram
4245
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeRegistrationNumbers CompanyHeaderStructureTaxRegistration CompanyStructureTaxRegistration
annotation documentation[Common to all SAFs] Tax information for a company or employer
element TaxIDStructureTaxRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number issued by Revenue Body for use by the employer
element TaxIDStructureTaxType diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationFor use where information reported in the SAF-P covers more than one type of tax regime to identify the type of tax regime to which this entry relates
element TaxIDStructureTaxNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
4345
annotation documentationThe tax registration number for the particular tax regime referred to by TaxType
element TaxIDStructureTaxAuthority diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
annotation documentationIdentification of the Revenue Body to which this TaxType refers
element TaxIDStructureTaxVerificationDate diagram
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date that the tax registration details referred to above were last checked
simpleType ISOCountryCode type restriction of xsstring
used by elements HeaderStructureAuditFileCountry AddressStructureCountry
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
simpleType ISOCurrencyCode type restriction of xsstring
used by elements AmountStructureCurrencyCode HeaderStructureDefaultCurrencyCode
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for the Euros or USD for American Dollars
simpleType SAFcodeType type restriction of xsstring
used by elements HeaderStructureAuditFileRegion HeaderStructureAuditFileVersion TaxIDStructureTaxType PersonNameStructureTitle
facets maxLength 9
annotation documentationText of max 9 characters
simpleType SAFexchangerateType type restriction of xsdecimal
used by element AmountStructureExchangeRate
facets totalDigits 18fractionDigits 8
annotation documentation18 digits max of which 8 can be fractional digits
simpleType SAFlongtextType type restriction of xsstring
used by elements AuditFilePayrollTransactionFilesEmploymentBranchID AuditFilePayrollTransactionFilesEmploymentDepartment SelectionCriteriaStructureDocumentType AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeWorkReferenceNumber HeaderStructureHeaderComment AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType AuditFilePayrollTransactionFilesEmploymentJobTitle SelectionCriteriaStructureOtherCriteria AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementDescription HeaderStructureSoftwareID AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
facets maxLength 256
annotation documentation256 character text
simpleType SAFmiddle1textType type restriction of xsstring
4445
used by elements BankAccountStructureBankAccountNumber AddressStructureBuilding AddressStructureCity PersonNameStructureFirstName BankAccountStructureIBANNumber IdentificationStructureIdentificationNumber AuditFilePayrollHeaderPayrollBureauName IdentificationStructurePlaceOfIssue AddressStructureRegion CompanyHeaderStructureRegistrationNumber CompanyStructureRegistrationNumber TaxIDStructureTaxAuthority TaxIDStructureTaxNumber TaxIDStructureTaxRegistrationNumber SelectionCriteriaStructureTaxReportingJurisdiction
facets maxLength 35
annotation documentation35 character text
simpleType SAFmiddle2textType type restriction of xsstring
used by elements AddressStructureAdditionalAddressDetail BankAccountStructureBankAccountName PersonNameStructureBirthName SelectionCriteriaStructureCompanyEntity ContactHeaderStructureEmail ContactInformationStructureEmail PersonNameStructureLastName CompanyHeaderStructureName CompanyStructureName HeaderStructureSoftwareCompanyName AddressStructureStreetName
facets maxLength 70
annotation documentation70 character text
simpleType SAFmonetaryType type restriction of xsdecimal
used by elements AmountStructureAmount AmountStructureCurrencyAmount
facets totalDigits 18fractionDigits 2
annotation documentationMonetary amount18 digits max of which 2 can be fractional digits
simpleType SAFquantityType type restriction of xsdecimal
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits
facets totalDigits 22fractionDigits 6
annotation documentationUsed to describe a quantity Monetary amount 22 digits max of which 6 can be fractional digits
simpleType SAFshorttextType type restriction of xsstring
used by elements AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchID ContactHeaderStructureFax ContactInformationStructureFax IdentificationStructureIdentificationType PersonNameStructureInitials PersonNameStructureLastNamePrefix AddressStructureNumber PersonNameStructureOtherTitles AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayFrequency AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementID AddressStructurePostalCode PersonNameStructureSalutation HeaderStructureSoftwareVersion BankAccountStructureSortCode ContactHeaderStructureTelephone ContactInformationStructureTelephone
facets maxLength 18
annotation documentation18 character text
simpleType SAFweightType type restriction of xsdecimal
facets totalDigits 14fractionDigits 3
annotation documentationDescribes a weight Monetary amount14 digits max of which 3 can be fractional digits
XML Schema documentation generated by XMLSpy Schema Editor httpwwwaltovacomxmlspy
4545
- Footer Guidance for the Standard Audit File ndash Payroll Version 10 Appendix B Schema
- Header Page
element AuditFilePayrollMasterFilesEmployeesEmployeeIdentification diagram
type IdentificationStructure
properties isRef 0minOcc 0maxOcc 1content complex
children IdentificationType IdentificationNumber DateValidUntil PlaceOfIssue DateOfIssue
annotation documentationFor use when employers need to demonstrate that they have seen proof of an employees identity
element AuditFilePayrollTransactionFiles diagram
properties isRef 0content complex
children Employment
annotation documentationDetailed analysis of payroll transactions
element AuditFilePayrollTransactionFilesEmployment diagram
1145
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children EmployeeID EmployeeWorkReferenceNumber DateStartEmployment DateEndEmployment JobTitle BranchID Department PeriodicalPayments
annotation documentationNormally there should be one Employment record for each employee Where an employee holds more than one job with the same employer (whether consecutively or concurrently) there may be more than one Employment record per employee
element AuditFilePayrollTransactionFilesEmploymentEmployeeID diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationA unique reference for the employee This reference should correspond to an entry in the Employee masterfile
element AuditFilePayrollTransactionFilesEmploymentEmployeeWorkReferenceNumber diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationHR personnel number for the employee (if different to the employee ID)
element AuditFilePayrollTransactionFilesEmploymentDateStartEmployment diagram
type xsdate
properties isRef 0content simple
annotation documentationThe date the employee started the Employment referred to by the PeriodicalPayments shown below
element AuditFilePayrollTransactionFilesEmploymentDateEndEmployment diagram
1245
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date the employee started the Employment referred to by the PeriodicalPayments shown below - if applicable
element AuditFilePayrollTransactionFilesEmploymentJobTitle diagram
type SAFlongtextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 256
annotation documentationTitle or description of the employees job
element AuditFilePayrollTransactionFilesEmploymentBranchID diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationUnique identifier for which the employee performs the main duties of the employment This identifier should correspond to an entry in the EmployerBranches masterfile
element AuditFilePayrollTransactionFilesEmploymentDepartment diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationName of the department for which the employee performs the main duties of the employment
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPayments diagram
properties isRef 0minOcc 0maxOcc 1content complex
children PeriodicalPayment
annotation documentationDetail of payroll transactions For each employee there will normally be one PeriodicalPayments entry each time the payroll is run This structure may also be used for other types of payroll transaction such as adjustments
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPayment
1345
diagram
properties isRef 0minOcc 1
maxOcc unboundedcontent complex
children PayrollPeriod PayrollPeriodYear PayFrequency DatePeriodStart DatePeriodEnd DatePaymentMade Element Hours
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayrollPeriod diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationNumber of tax period as recorded in payroll system
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayrollPeriodYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
1445
annotation documentationThe year in which the payroll transaction took place Revenue Bodies will wish to specify how this is to be shown if the fiscal year is not a calendar year
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayFrequency diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationThe time interval which forms the basis of periodic tax calculations for the employment for example Week or Month
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentDatePeriodStart diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
annotation documentationStart date of period for which payment has been made
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentDatePeriodEnd diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
annotation documentationEnd date of period for which payment has been made
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentDatePaymentMade diagram
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date on which payment was actually made Used to identify instances where payments are made in advance or in arrears
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElement diagram
1545
properties isRef 0minOcc 0
maxOcc unboundedcontent complex
children PayrollElementID Amount BankAccount PaymentDetails
annotation documentationAnalysis of the total amount paid
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPayrollElementID diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationReference to master files payroll element definition
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementAmount diagram
type AmountStructure
properties isRef 0content complex
children Amount CurrencyCode CurrencyAmount ExchangeRate
annotation documentationBasic amount is shown in default currency as defined in the header Option provided to show amount in local currency also
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementBankAccount diagram
type BankAccountStructure
1645
properties isRef 0minOcc 0maxOcc 1content complex
children IBANNumber BankAccountNumber BankAccountName SortCode
annotation documentationCross reference to bank account details in master files
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetails diagram
properties isRef 0minOcc 0
maxOcc unboundedcontent complex
children NumberOfUnits AmountPaidPerUnit UnitDescription
annotation documentationPayment details
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits diagram
type SAFquantityType
properties isRef 0content simple
facets totalDigits 22fractionDigits 6
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsAmountPaidPerUnit diagram
type AmountStructure
properties isRef 0content complex
children Amount CurrencyCode CurrencyAmount ExchangeRate
annotation documentationBasic amount shown in default currency as defined in the header Option to show amount in local currency also
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
1745
diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationDescription of units per which payment is made eg hours days
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHours diagram
properties isRef 0minOcc 0
maxOcc unboundedcontent complex
children HourType NumberOfHours AmountPaidPerUnit
annotation documentationTo allow SAF-P to report payroll amounts attributable to specific types of employee activity
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationThe type of activity being reported on Revenue Bodies may wish to prescribe a list of activity codes
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours diagram
type SAFquantityType
properties isRef 0content simple
facets totalDigits 22fractionDigits 6
annotation documentationThe umber of hours being reported under the activity type
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursAmountPaidPerUnit
1845
diagram
type AmountStructure
properties isRef 0minOcc 0maxOcc 1content complex
children Amount CurrencyCode CurrencyAmount ExchangeRate
annotation documentationThe hourly rate for the activity being reported upon
complexType AddressStructure diagram
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
used by elements AuditFilePayrollHeaderPayrollBureauAddress AuditFilePayrollMasterFilesEmployeesEmployeeAddress CompanyHeaderStructureAddress CompanyStructureAddress
1945
annotation documentation[Common to all SAFs] A common structure used wherever an address is required
element AddressStructureStreetName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element AddressStructureNumber diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element AddressStructureAdditionalAddressDetail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element AddressStructureBuilding diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
element AddressStructureCity diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
element AddressStructurePostalCode diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
element AddressStructureRegion
2045
diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationCountry specific code to indicate regions provinces within the tax authority Preferably described according to ISO 3166-2 Example GB-KEN for Kent county in the United Kingdom
element AddressStructureCountry diagram
type ISOCountryCode
properties isRef 0minOcc 0maxOcc 1content simple
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
element AddressStructureAddressType diagram
type restriction of xsstring
properties isRef 0minOcc 0maxOcc 1content simple
facets enumeration StreetAddressenumeration PostalAddressenumeration enumeration enumeration
annotation documentationField to differentiate between multiple addresses To indicate the type of address Choose from the predefined enumeration (examples StreetAddress PostalAddress BillingAddress)
complexType AmountStructure diagram
children Amount CurrencyCode CurrencyAmount ExchangeRate
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementAmount AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsAmountPaidPerUnit AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursAmountPaidPerUnit
2145
annotation documentation[Common to all SAFs] A common structure used wherever an amount is required Monetary amount with optional foreign currency exchange rate information
element AmountStructureAmount diagram
type SAFmonetaryType
properties isRef 0content simple
facets totalDigits 18fractionDigits 2
annotation documentationIn the default currency as shown in the SAF-P header
element AmountStructureCurrencyCode diagram
type ISOCurrencyCode
properties isRef 0content simple
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for Euros or USD for American Dollars
element AmountStructureCurrencyAmount diagram
type SAFmonetaryType
properties isRef 0content simple
facets totalDigits 18fractionDigits 2
annotation documentationAmount in the currency referred to by the CurrencyCode above
element AmountStructureExchangeRate diagram
type SAFexchangerateType
properties isRef 0minOcc 0maxOcc 1content simple
facets totalDigits 18fractionDigits 8
annotation documentationThe exchange rate used It should be reported in accordance with the formula CurrencyAmount x ExchangeRate = Amount
complexType BankAccountStructure diagram
2245
children IBANNumber BankAccountNumber BankAccountName SortCode
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeBankAccount AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementBankAccount CompanyHeaderStructureBankAccount CompanyStructureBankAccount
annotation documentation[Common to all SAFs] Bank account number information IBAN number or account number with optional information
element BankAccountStructureIBANNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationInternational Bank Account Number ISO 13616
element BankAccountStructureBankAccountNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationThe number allocated to the account by the individuals or companys own bank
element BankAccountStructureBankAccountName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
annotation documentationThe name of the individual or company holding the bank account
element BankAccountStructureSortCode
2345
diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationIdentifier for the bank branch at which the account is held May be needed to uniquely identify the account
complexType CompanyHeaderStructure diagram
type restriction of CompanyStructure
properties base CompanyStructure
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
used by element HeaderStructureCompany
annotation documentation[Common to all SAFs] CompanyStructure with mandatory RegistrationNumber and Telephone (Contact)
element CompanyHeaderStructureRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number to identify the company in the accounting records issued by a government body or created by the company for internal purposes to identify different entities within their corporate group
element CompanyHeaderStructureName diagram
type SAFmiddle2textType
properties isRef 0content simple
2445
facets maxLength 70
element CompanyHeaderStructureAddress diagram
type AddressStructure
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
element CompanyHeaderStructureContact diagram
type ContactHeaderStructure
2545
properties isRef 0minOcc 1
maxOcc unboundedcontent complex
children ContactPerson Telephone Fax Email Website
element CompanyHeaderStructureTaxRegistration diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
element CompanyHeaderStructureBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
complexType CompanyStructure
2645
diagram
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
used by element AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchDetailscomplexType CompanyHeaderStructure
annotation documentation[Common to all SAFs] Name address contact and identification information of a company or employer
element CompanyStructureRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationUnique number to identify the company in the accounting records issued by a government authority or created by the company for internal purposes to identify different entities within their corporate group
element CompanyStructureName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element CompanyStructureAddress diagram
2745
type AddressStructure
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
element CompanyStructureContact diagram
type ContactInformationStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children ContactPerson Telephone Fax Email Website
2845
element CompanyStructureTaxRegistration diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
element CompanyStructureBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
complexType ContactHeaderStructure
2945
diagram
type restriction of ContactInformationStructure
properties base ContactInformationStructure
children ContactPerson Telephone Fax Email Website
used by element CompanyHeaderStructureContact
annotation documentation[Common to all SAFs] ContactInformationStructure with madatory TelephoneNumber
element ContactHeaderStructureContactPerson diagram
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactHeaderStructureTelephone diagram
type SAFshorttextType
3045
properties isRef 0content simple
facets maxLength 18
element ContactHeaderStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactHeaderStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element ContactHeaderStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType ContactInformationStructure diagram
children ContactPerson Telephone Fax Email Website
used by elements AuditFilePayrollHeaderPayrollBureauContact CompanyStructureContactcomplexType ContactHeaderStructure
annotation documentation[Common to all SAFs] Contact information of a company or employer
element ContactInformationStructureContactPerson diagram
3145
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactInformationStructureTelephone diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
3245
facets maxLength 70
element ContactInformationStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType HeaderStructure diagram
children AuditFileVersion AuditFileCountry AuditFileRegion AuditFileDateCreated SoftwareCompanyName SoftwareID SoftwareVersion Company DefaultCurrencyCode SelectionCriteria HeaderComment
used by element AuditFilePayrollHeader
annotation documentation[Common to all SAFs] Overall information about this Standard Auditfile
element HeaderStructureAuditFileVersion
3345
diagram
type SAFcodeType
properties isRef 0content simple
facets maxLength 9
annotation documentationIdentification of the Standard Audit File SAF-P version being used
element HeaderStructureAuditFileCountry diagram
type ISOCountryCode
properties isRef 0content simple
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
element HeaderStructureAuditFileRegion diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationCountry specific code to indicate regions provinces within the tax jurisdiction Preferably described according to ISO 3166-2 Example GB-KEN for Kent county in the United Kingdom
element HeaderStructureAuditFileDateCreated diagram
type xsdate
properties isRef 0content simple
annotation documentationDate of production of SAF-P
element HeaderStructureSoftwareCompanyName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
annotation documentationName of the software company whose product created the SAF-P
element HeaderStructureSoftwareID diagram
3445
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationName of the Software that generated the SAF-P
element HeaderStructureSoftwareVersion diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationVersion of the software that created the SAF-P
element HeaderStructureCompany diagram
type CompanyHeaderStructure
properties isRef 0content complex
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
annotation documentationEmployers name and address details
element HeaderStructureDefaultCurrencyCode diagram
type ISOCurrencyCode
properties isRef 0content simple
facets length 3
annotation documentationThree letter Currency Code (ISO 4217) of local currency which is the default for the SAF
element HeaderStructureSelectionCriteria
3545
diagram
type SelectionCriteriaStructure
properties isRef 0minOcc 0maxOcc 1content complex
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
annotation documentationCriteria set by the user to populate the SAF-P
element HeaderStructureHeaderComment diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
3645
facets maxLength 256
annotation documentationSpace for any further generic comments on the SAF-P Revenue Bodies should consider what information they would expect to see here
complexType IdentificationStructure diagram
children IdentificationType IdentificationNumber DateValidUntil PlaceOfIssue DateOfIssue
used by element AuditFilePayrollMasterFilesEmployeesEmployeeIdentification
annotation documentationIdentification Document data This section is used when employers need to demonstrate that they have seen proof of an employees identity
element IdentificationStructureIdentificationType diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationThe type of identity document supplied to the employer Revenue bodies may wish to prescribe a specific list of codes
element IdentificationStructureIdentificationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number on the identification document
element IdentificationStructureDateValidUntil diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
element IdentificationStructurePlaceOfIssue diagram
type SAFmiddle1textType
3745
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
element IdentificationStructureDateOfIssue diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
complexType PersonNameStructure diagram
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
used by elements ContactHeaderStructureContactPerson ContactInformationStructureContactPerson AuditFilePayrollMasterFilesEmployeesEmployeeName
annotation documentation[Common to all SAFs] All information about the name of a natural (non-corporate) person
element PersonNameStructureTitle diagram
type SAFcodeType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 9
element PersonNameStructureFirstName diagram
type SAFmiddle1textType
properties isRef 0content simple
3845
facets maxLength 35
element PersonNameStructureInitials diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element PersonNameStructureLastNamePrefix diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA textual expression of a prefix that precedes this persons family name such as Van Von
element PersonNameStructureLastName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element PersonNameStructureBirthName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element PersonNameStructureSalutation diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA formal sign or expression of greeting expressed as text that is appropriate for this person such as Sir or Madam
element PersonNameStructureOtherTitles diagram
type SAFshorttextType
3945
properties isRef 0minOcc 0
maxOcc unboundedcontent simple
facets maxLength 18
complexType SelectionCriteriaStructure diagram
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
used by element HeaderStructureSelectionCriteria
annotation documentation[Common to all SAFs] The selection criteria used to generate this Standard Auditfile
element SelectionCriteriaStructureTaxReportingJurisdiction diagram
type SAFmiddle1textType
4045
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationIdentifies the tax jurisdiction for whose purpose the SAF has been created Principally for use where a single Revenue body covers more than one territory
element SelectionCriteriaStructureCompanyEntity diagram
type SAFmiddle2textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 70
annotation documentationFor use where data has been extracted from the full data set by reference to a specific corporate entity
element SelectionCriteriaStructureSelectionStartDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe start date for the reporting period covered by the SAF
element SelectionCriteriaStructureSelectionEndDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe end date for the reporting period covered by the SAF
element SelectionCriteriaStructurePeriodStart diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe first Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodStartYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodStart falls
element SelectionCriteriaStructurePeriodEnd
4145
diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe last Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodEndYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodEnd falls
element SelectionCriteriaStructureDocumentType diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationType of documents selected For use where the data has been restricted by reference to particular transaction types
element SelectionCriteriaStructureOtherCriteria diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc unboundedcontent simple
facets maxLength 256
annotation documentationAny other criteria used in selecting data Individual Revenue Bodies may wish to draw up a list of other acceptable selection criteria for use within their jurisdiction
complexType TaxIDStructure diagram
4245
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeRegistrationNumbers CompanyHeaderStructureTaxRegistration CompanyStructureTaxRegistration
annotation documentation[Common to all SAFs] Tax information for a company or employer
element TaxIDStructureTaxRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number issued by Revenue Body for use by the employer
element TaxIDStructureTaxType diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationFor use where information reported in the SAF-P covers more than one type of tax regime to identify the type of tax regime to which this entry relates
element TaxIDStructureTaxNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
4345
annotation documentationThe tax registration number for the particular tax regime referred to by TaxType
element TaxIDStructureTaxAuthority diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
annotation documentationIdentification of the Revenue Body to which this TaxType refers
element TaxIDStructureTaxVerificationDate diagram
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date that the tax registration details referred to above were last checked
simpleType ISOCountryCode type restriction of xsstring
used by elements HeaderStructureAuditFileCountry AddressStructureCountry
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
simpleType ISOCurrencyCode type restriction of xsstring
used by elements AmountStructureCurrencyCode HeaderStructureDefaultCurrencyCode
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for the Euros or USD for American Dollars
simpleType SAFcodeType type restriction of xsstring
used by elements HeaderStructureAuditFileRegion HeaderStructureAuditFileVersion TaxIDStructureTaxType PersonNameStructureTitle
facets maxLength 9
annotation documentationText of max 9 characters
simpleType SAFexchangerateType type restriction of xsdecimal
used by element AmountStructureExchangeRate
facets totalDigits 18fractionDigits 8
annotation documentation18 digits max of which 8 can be fractional digits
simpleType SAFlongtextType type restriction of xsstring
used by elements AuditFilePayrollTransactionFilesEmploymentBranchID AuditFilePayrollTransactionFilesEmploymentDepartment SelectionCriteriaStructureDocumentType AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeWorkReferenceNumber HeaderStructureHeaderComment AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType AuditFilePayrollTransactionFilesEmploymentJobTitle SelectionCriteriaStructureOtherCriteria AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementDescription HeaderStructureSoftwareID AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
facets maxLength 256
annotation documentation256 character text
simpleType SAFmiddle1textType type restriction of xsstring
4445
used by elements BankAccountStructureBankAccountNumber AddressStructureBuilding AddressStructureCity PersonNameStructureFirstName BankAccountStructureIBANNumber IdentificationStructureIdentificationNumber AuditFilePayrollHeaderPayrollBureauName IdentificationStructurePlaceOfIssue AddressStructureRegion CompanyHeaderStructureRegistrationNumber CompanyStructureRegistrationNumber TaxIDStructureTaxAuthority TaxIDStructureTaxNumber TaxIDStructureTaxRegistrationNumber SelectionCriteriaStructureTaxReportingJurisdiction
facets maxLength 35
annotation documentation35 character text
simpleType SAFmiddle2textType type restriction of xsstring
used by elements AddressStructureAdditionalAddressDetail BankAccountStructureBankAccountName PersonNameStructureBirthName SelectionCriteriaStructureCompanyEntity ContactHeaderStructureEmail ContactInformationStructureEmail PersonNameStructureLastName CompanyHeaderStructureName CompanyStructureName HeaderStructureSoftwareCompanyName AddressStructureStreetName
facets maxLength 70
annotation documentation70 character text
simpleType SAFmonetaryType type restriction of xsdecimal
used by elements AmountStructureAmount AmountStructureCurrencyAmount
facets totalDigits 18fractionDigits 2
annotation documentationMonetary amount18 digits max of which 2 can be fractional digits
simpleType SAFquantityType type restriction of xsdecimal
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits
facets totalDigits 22fractionDigits 6
annotation documentationUsed to describe a quantity Monetary amount 22 digits max of which 6 can be fractional digits
simpleType SAFshorttextType type restriction of xsstring
used by elements AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchID ContactHeaderStructureFax ContactInformationStructureFax IdentificationStructureIdentificationType PersonNameStructureInitials PersonNameStructureLastNamePrefix AddressStructureNumber PersonNameStructureOtherTitles AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayFrequency AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementID AddressStructurePostalCode PersonNameStructureSalutation HeaderStructureSoftwareVersion BankAccountStructureSortCode ContactHeaderStructureTelephone ContactInformationStructureTelephone
facets maxLength 18
annotation documentation18 character text
simpleType SAFweightType type restriction of xsdecimal
facets totalDigits 14fractionDigits 3
annotation documentationDescribes a weight Monetary amount14 digits max of which 3 can be fractional digits
XML Schema documentation generated by XMLSpy Schema Editor httpwwwaltovacomxmlspy
4545
- Footer Guidance for the Standard Audit File ndash Payroll Version 10 Appendix B Schema
- Header Page
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children EmployeeID EmployeeWorkReferenceNumber DateStartEmployment DateEndEmployment JobTitle BranchID Department PeriodicalPayments
annotation documentationNormally there should be one Employment record for each employee Where an employee holds more than one job with the same employer (whether consecutively or concurrently) there may be more than one Employment record per employee
element AuditFilePayrollTransactionFilesEmploymentEmployeeID diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationA unique reference for the employee This reference should correspond to an entry in the Employee masterfile
element AuditFilePayrollTransactionFilesEmploymentEmployeeWorkReferenceNumber diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationHR personnel number for the employee (if different to the employee ID)
element AuditFilePayrollTransactionFilesEmploymentDateStartEmployment diagram
type xsdate
properties isRef 0content simple
annotation documentationThe date the employee started the Employment referred to by the PeriodicalPayments shown below
element AuditFilePayrollTransactionFilesEmploymentDateEndEmployment diagram
1245
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date the employee started the Employment referred to by the PeriodicalPayments shown below - if applicable
element AuditFilePayrollTransactionFilesEmploymentJobTitle diagram
type SAFlongtextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 256
annotation documentationTitle or description of the employees job
element AuditFilePayrollTransactionFilesEmploymentBranchID diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationUnique identifier for which the employee performs the main duties of the employment This identifier should correspond to an entry in the EmployerBranches masterfile
element AuditFilePayrollTransactionFilesEmploymentDepartment diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationName of the department for which the employee performs the main duties of the employment
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPayments diagram
properties isRef 0minOcc 0maxOcc 1content complex
children PeriodicalPayment
annotation documentationDetail of payroll transactions For each employee there will normally be one PeriodicalPayments entry each time the payroll is run This structure may also be used for other types of payroll transaction such as adjustments
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPayment
1345
diagram
properties isRef 0minOcc 1
maxOcc unboundedcontent complex
children PayrollPeriod PayrollPeriodYear PayFrequency DatePeriodStart DatePeriodEnd DatePaymentMade Element Hours
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayrollPeriod diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationNumber of tax period as recorded in payroll system
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayrollPeriodYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
1445
annotation documentationThe year in which the payroll transaction took place Revenue Bodies will wish to specify how this is to be shown if the fiscal year is not a calendar year
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayFrequency diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationThe time interval which forms the basis of periodic tax calculations for the employment for example Week or Month
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentDatePeriodStart diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
annotation documentationStart date of period for which payment has been made
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentDatePeriodEnd diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
annotation documentationEnd date of period for which payment has been made
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentDatePaymentMade diagram
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date on which payment was actually made Used to identify instances where payments are made in advance or in arrears
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElement diagram
1545
properties isRef 0minOcc 0
maxOcc unboundedcontent complex
children PayrollElementID Amount BankAccount PaymentDetails
annotation documentationAnalysis of the total amount paid
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPayrollElementID diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationReference to master files payroll element definition
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementAmount diagram
type AmountStructure
properties isRef 0content complex
children Amount CurrencyCode CurrencyAmount ExchangeRate
annotation documentationBasic amount is shown in default currency as defined in the header Option provided to show amount in local currency also
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementBankAccount diagram
type BankAccountStructure
1645
properties isRef 0minOcc 0maxOcc 1content complex
children IBANNumber BankAccountNumber BankAccountName SortCode
annotation documentationCross reference to bank account details in master files
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetails diagram
properties isRef 0minOcc 0
maxOcc unboundedcontent complex
children NumberOfUnits AmountPaidPerUnit UnitDescription
annotation documentationPayment details
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits diagram
type SAFquantityType
properties isRef 0content simple
facets totalDigits 22fractionDigits 6
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsAmountPaidPerUnit diagram
type AmountStructure
properties isRef 0content complex
children Amount CurrencyCode CurrencyAmount ExchangeRate
annotation documentationBasic amount shown in default currency as defined in the header Option to show amount in local currency also
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
1745
diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationDescription of units per which payment is made eg hours days
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHours diagram
properties isRef 0minOcc 0
maxOcc unboundedcontent complex
children HourType NumberOfHours AmountPaidPerUnit
annotation documentationTo allow SAF-P to report payroll amounts attributable to specific types of employee activity
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationThe type of activity being reported on Revenue Bodies may wish to prescribe a list of activity codes
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours diagram
type SAFquantityType
properties isRef 0content simple
facets totalDigits 22fractionDigits 6
annotation documentationThe umber of hours being reported under the activity type
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursAmountPaidPerUnit
1845
diagram
type AmountStructure
properties isRef 0minOcc 0maxOcc 1content complex
children Amount CurrencyCode CurrencyAmount ExchangeRate
annotation documentationThe hourly rate for the activity being reported upon
complexType AddressStructure diagram
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
used by elements AuditFilePayrollHeaderPayrollBureauAddress AuditFilePayrollMasterFilesEmployeesEmployeeAddress CompanyHeaderStructureAddress CompanyStructureAddress
1945
annotation documentation[Common to all SAFs] A common structure used wherever an address is required
element AddressStructureStreetName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element AddressStructureNumber diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element AddressStructureAdditionalAddressDetail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element AddressStructureBuilding diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
element AddressStructureCity diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
element AddressStructurePostalCode diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
element AddressStructureRegion
2045
diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationCountry specific code to indicate regions provinces within the tax authority Preferably described according to ISO 3166-2 Example GB-KEN for Kent county in the United Kingdom
element AddressStructureCountry diagram
type ISOCountryCode
properties isRef 0minOcc 0maxOcc 1content simple
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
element AddressStructureAddressType diagram
type restriction of xsstring
properties isRef 0minOcc 0maxOcc 1content simple
facets enumeration StreetAddressenumeration PostalAddressenumeration enumeration enumeration
annotation documentationField to differentiate between multiple addresses To indicate the type of address Choose from the predefined enumeration (examples StreetAddress PostalAddress BillingAddress)
complexType AmountStructure diagram
children Amount CurrencyCode CurrencyAmount ExchangeRate
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementAmount AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsAmountPaidPerUnit AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursAmountPaidPerUnit
2145
annotation documentation[Common to all SAFs] A common structure used wherever an amount is required Monetary amount with optional foreign currency exchange rate information
element AmountStructureAmount diagram
type SAFmonetaryType
properties isRef 0content simple
facets totalDigits 18fractionDigits 2
annotation documentationIn the default currency as shown in the SAF-P header
element AmountStructureCurrencyCode diagram
type ISOCurrencyCode
properties isRef 0content simple
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for Euros or USD for American Dollars
element AmountStructureCurrencyAmount diagram
type SAFmonetaryType
properties isRef 0content simple
facets totalDigits 18fractionDigits 2
annotation documentationAmount in the currency referred to by the CurrencyCode above
element AmountStructureExchangeRate diagram
type SAFexchangerateType
properties isRef 0minOcc 0maxOcc 1content simple
facets totalDigits 18fractionDigits 8
annotation documentationThe exchange rate used It should be reported in accordance with the formula CurrencyAmount x ExchangeRate = Amount
complexType BankAccountStructure diagram
2245
children IBANNumber BankAccountNumber BankAccountName SortCode
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeBankAccount AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementBankAccount CompanyHeaderStructureBankAccount CompanyStructureBankAccount
annotation documentation[Common to all SAFs] Bank account number information IBAN number or account number with optional information
element BankAccountStructureIBANNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationInternational Bank Account Number ISO 13616
element BankAccountStructureBankAccountNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationThe number allocated to the account by the individuals or companys own bank
element BankAccountStructureBankAccountName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
annotation documentationThe name of the individual or company holding the bank account
element BankAccountStructureSortCode
2345
diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationIdentifier for the bank branch at which the account is held May be needed to uniquely identify the account
complexType CompanyHeaderStructure diagram
type restriction of CompanyStructure
properties base CompanyStructure
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
used by element HeaderStructureCompany
annotation documentation[Common to all SAFs] CompanyStructure with mandatory RegistrationNumber and Telephone (Contact)
element CompanyHeaderStructureRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number to identify the company in the accounting records issued by a government body or created by the company for internal purposes to identify different entities within their corporate group
element CompanyHeaderStructureName diagram
type SAFmiddle2textType
properties isRef 0content simple
2445
facets maxLength 70
element CompanyHeaderStructureAddress diagram
type AddressStructure
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
element CompanyHeaderStructureContact diagram
type ContactHeaderStructure
2545
properties isRef 0minOcc 1
maxOcc unboundedcontent complex
children ContactPerson Telephone Fax Email Website
element CompanyHeaderStructureTaxRegistration diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
element CompanyHeaderStructureBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
complexType CompanyStructure
2645
diagram
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
used by element AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchDetailscomplexType CompanyHeaderStructure
annotation documentation[Common to all SAFs] Name address contact and identification information of a company or employer
element CompanyStructureRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationUnique number to identify the company in the accounting records issued by a government authority or created by the company for internal purposes to identify different entities within their corporate group
element CompanyStructureName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element CompanyStructureAddress diagram
2745
type AddressStructure
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
element CompanyStructureContact diagram
type ContactInformationStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children ContactPerson Telephone Fax Email Website
2845
element CompanyStructureTaxRegistration diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
element CompanyStructureBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
complexType ContactHeaderStructure
2945
diagram
type restriction of ContactInformationStructure
properties base ContactInformationStructure
children ContactPerson Telephone Fax Email Website
used by element CompanyHeaderStructureContact
annotation documentation[Common to all SAFs] ContactInformationStructure with madatory TelephoneNumber
element ContactHeaderStructureContactPerson diagram
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactHeaderStructureTelephone diagram
type SAFshorttextType
3045
properties isRef 0content simple
facets maxLength 18
element ContactHeaderStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactHeaderStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element ContactHeaderStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType ContactInformationStructure diagram
children ContactPerson Telephone Fax Email Website
used by elements AuditFilePayrollHeaderPayrollBureauContact CompanyStructureContactcomplexType ContactHeaderStructure
annotation documentation[Common to all SAFs] Contact information of a company or employer
element ContactInformationStructureContactPerson diagram
3145
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactInformationStructureTelephone diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
3245
facets maxLength 70
element ContactInformationStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType HeaderStructure diagram
children AuditFileVersion AuditFileCountry AuditFileRegion AuditFileDateCreated SoftwareCompanyName SoftwareID SoftwareVersion Company DefaultCurrencyCode SelectionCriteria HeaderComment
used by element AuditFilePayrollHeader
annotation documentation[Common to all SAFs] Overall information about this Standard Auditfile
element HeaderStructureAuditFileVersion
3345
diagram
type SAFcodeType
properties isRef 0content simple
facets maxLength 9
annotation documentationIdentification of the Standard Audit File SAF-P version being used
element HeaderStructureAuditFileCountry diagram
type ISOCountryCode
properties isRef 0content simple
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
element HeaderStructureAuditFileRegion diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationCountry specific code to indicate regions provinces within the tax jurisdiction Preferably described according to ISO 3166-2 Example GB-KEN for Kent county in the United Kingdom
element HeaderStructureAuditFileDateCreated diagram
type xsdate
properties isRef 0content simple
annotation documentationDate of production of SAF-P
element HeaderStructureSoftwareCompanyName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
annotation documentationName of the software company whose product created the SAF-P
element HeaderStructureSoftwareID diagram
3445
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationName of the Software that generated the SAF-P
element HeaderStructureSoftwareVersion diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationVersion of the software that created the SAF-P
element HeaderStructureCompany diagram
type CompanyHeaderStructure
properties isRef 0content complex
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
annotation documentationEmployers name and address details
element HeaderStructureDefaultCurrencyCode diagram
type ISOCurrencyCode
properties isRef 0content simple
facets length 3
annotation documentationThree letter Currency Code (ISO 4217) of local currency which is the default for the SAF
element HeaderStructureSelectionCriteria
3545
diagram
type SelectionCriteriaStructure
properties isRef 0minOcc 0maxOcc 1content complex
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
annotation documentationCriteria set by the user to populate the SAF-P
element HeaderStructureHeaderComment diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
3645
facets maxLength 256
annotation documentationSpace for any further generic comments on the SAF-P Revenue Bodies should consider what information they would expect to see here
complexType IdentificationStructure diagram
children IdentificationType IdentificationNumber DateValidUntil PlaceOfIssue DateOfIssue
used by element AuditFilePayrollMasterFilesEmployeesEmployeeIdentification
annotation documentationIdentification Document data This section is used when employers need to demonstrate that they have seen proof of an employees identity
element IdentificationStructureIdentificationType diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationThe type of identity document supplied to the employer Revenue bodies may wish to prescribe a specific list of codes
element IdentificationStructureIdentificationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number on the identification document
element IdentificationStructureDateValidUntil diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
element IdentificationStructurePlaceOfIssue diagram
type SAFmiddle1textType
3745
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
element IdentificationStructureDateOfIssue diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
complexType PersonNameStructure diagram
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
used by elements ContactHeaderStructureContactPerson ContactInformationStructureContactPerson AuditFilePayrollMasterFilesEmployeesEmployeeName
annotation documentation[Common to all SAFs] All information about the name of a natural (non-corporate) person
element PersonNameStructureTitle diagram
type SAFcodeType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 9
element PersonNameStructureFirstName diagram
type SAFmiddle1textType
properties isRef 0content simple
3845
facets maxLength 35
element PersonNameStructureInitials diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element PersonNameStructureLastNamePrefix diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA textual expression of a prefix that precedes this persons family name such as Van Von
element PersonNameStructureLastName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element PersonNameStructureBirthName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element PersonNameStructureSalutation diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA formal sign or expression of greeting expressed as text that is appropriate for this person such as Sir or Madam
element PersonNameStructureOtherTitles diagram
type SAFshorttextType
3945
properties isRef 0minOcc 0
maxOcc unboundedcontent simple
facets maxLength 18
complexType SelectionCriteriaStructure diagram
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
used by element HeaderStructureSelectionCriteria
annotation documentation[Common to all SAFs] The selection criteria used to generate this Standard Auditfile
element SelectionCriteriaStructureTaxReportingJurisdiction diagram
type SAFmiddle1textType
4045
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationIdentifies the tax jurisdiction for whose purpose the SAF has been created Principally for use where a single Revenue body covers more than one territory
element SelectionCriteriaStructureCompanyEntity diagram
type SAFmiddle2textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 70
annotation documentationFor use where data has been extracted from the full data set by reference to a specific corporate entity
element SelectionCriteriaStructureSelectionStartDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe start date for the reporting period covered by the SAF
element SelectionCriteriaStructureSelectionEndDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe end date for the reporting period covered by the SAF
element SelectionCriteriaStructurePeriodStart diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe first Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodStartYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodStart falls
element SelectionCriteriaStructurePeriodEnd
4145
diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe last Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodEndYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodEnd falls
element SelectionCriteriaStructureDocumentType diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationType of documents selected For use where the data has been restricted by reference to particular transaction types
element SelectionCriteriaStructureOtherCriteria diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc unboundedcontent simple
facets maxLength 256
annotation documentationAny other criteria used in selecting data Individual Revenue Bodies may wish to draw up a list of other acceptable selection criteria for use within their jurisdiction
complexType TaxIDStructure diagram
4245
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeRegistrationNumbers CompanyHeaderStructureTaxRegistration CompanyStructureTaxRegistration
annotation documentation[Common to all SAFs] Tax information for a company or employer
element TaxIDStructureTaxRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number issued by Revenue Body for use by the employer
element TaxIDStructureTaxType diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationFor use where information reported in the SAF-P covers more than one type of tax regime to identify the type of tax regime to which this entry relates
element TaxIDStructureTaxNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
4345
annotation documentationThe tax registration number for the particular tax regime referred to by TaxType
element TaxIDStructureTaxAuthority diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
annotation documentationIdentification of the Revenue Body to which this TaxType refers
element TaxIDStructureTaxVerificationDate diagram
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date that the tax registration details referred to above were last checked
simpleType ISOCountryCode type restriction of xsstring
used by elements HeaderStructureAuditFileCountry AddressStructureCountry
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
simpleType ISOCurrencyCode type restriction of xsstring
used by elements AmountStructureCurrencyCode HeaderStructureDefaultCurrencyCode
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for the Euros or USD for American Dollars
simpleType SAFcodeType type restriction of xsstring
used by elements HeaderStructureAuditFileRegion HeaderStructureAuditFileVersion TaxIDStructureTaxType PersonNameStructureTitle
facets maxLength 9
annotation documentationText of max 9 characters
simpleType SAFexchangerateType type restriction of xsdecimal
used by element AmountStructureExchangeRate
facets totalDigits 18fractionDigits 8
annotation documentation18 digits max of which 8 can be fractional digits
simpleType SAFlongtextType type restriction of xsstring
used by elements AuditFilePayrollTransactionFilesEmploymentBranchID AuditFilePayrollTransactionFilesEmploymentDepartment SelectionCriteriaStructureDocumentType AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeWorkReferenceNumber HeaderStructureHeaderComment AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType AuditFilePayrollTransactionFilesEmploymentJobTitle SelectionCriteriaStructureOtherCriteria AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementDescription HeaderStructureSoftwareID AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
facets maxLength 256
annotation documentation256 character text
simpleType SAFmiddle1textType type restriction of xsstring
4445
used by elements BankAccountStructureBankAccountNumber AddressStructureBuilding AddressStructureCity PersonNameStructureFirstName BankAccountStructureIBANNumber IdentificationStructureIdentificationNumber AuditFilePayrollHeaderPayrollBureauName IdentificationStructurePlaceOfIssue AddressStructureRegion CompanyHeaderStructureRegistrationNumber CompanyStructureRegistrationNumber TaxIDStructureTaxAuthority TaxIDStructureTaxNumber TaxIDStructureTaxRegistrationNumber SelectionCriteriaStructureTaxReportingJurisdiction
facets maxLength 35
annotation documentation35 character text
simpleType SAFmiddle2textType type restriction of xsstring
used by elements AddressStructureAdditionalAddressDetail BankAccountStructureBankAccountName PersonNameStructureBirthName SelectionCriteriaStructureCompanyEntity ContactHeaderStructureEmail ContactInformationStructureEmail PersonNameStructureLastName CompanyHeaderStructureName CompanyStructureName HeaderStructureSoftwareCompanyName AddressStructureStreetName
facets maxLength 70
annotation documentation70 character text
simpleType SAFmonetaryType type restriction of xsdecimal
used by elements AmountStructureAmount AmountStructureCurrencyAmount
facets totalDigits 18fractionDigits 2
annotation documentationMonetary amount18 digits max of which 2 can be fractional digits
simpleType SAFquantityType type restriction of xsdecimal
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits
facets totalDigits 22fractionDigits 6
annotation documentationUsed to describe a quantity Monetary amount 22 digits max of which 6 can be fractional digits
simpleType SAFshorttextType type restriction of xsstring
used by elements AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchID ContactHeaderStructureFax ContactInformationStructureFax IdentificationStructureIdentificationType PersonNameStructureInitials PersonNameStructureLastNamePrefix AddressStructureNumber PersonNameStructureOtherTitles AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayFrequency AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementID AddressStructurePostalCode PersonNameStructureSalutation HeaderStructureSoftwareVersion BankAccountStructureSortCode ContactHeaderStructureTelephone ContactInformationStructureTelephone
facets maxLength 18
annotation documentation18 character text
simpleType SAFweightType type restriction of xsdecimal
facets totalDigits 14fractionDigits 3
annotation documentationDescribes a weight Monetary amount14 digits max of which 3 can be fractional digits
XML Schema documentation generated by XMLSpy Schema Editor httpwwwaltovacomxmlspy
4545
- Footer Guidance for the Standard Audit File ndash Payroll Version 10 Appendix B Schema
- Header Page
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date the employee started the Employment referred to by the PeriodicalPayments shown below - if applicable
element AuditFilePayrollTransactionFilesEmploymentJobTitle diagram
type SAFlongtextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 256
annotation documentationTitle or description of the employees job
element AuditFilePayrollTransactionFilesEmploymentBranchID diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationUnique identifier for which the employee performs the main duties of the employment This identifier should correspond to an entry in the EmployerBranches masterfile
element AuditFilePayrollTransactionFilesEmploymentDepartment diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationName of the department for which the employee performs the main duties of the employment
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPayments diagram
properties isRef 0minOcc 0maxOcc 1content complex
children PeriodicalPayment
annotation documentationDetail of payroll transactions For each employee there will normally be one PeriodicalPayments entry each time the payroll is run This structure may also be used for other types of payroll transaction such as adjustments
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPayment
1345
diagram
properties isRef 0minOcc 1
maxOcc unboundedcontent complex
children PayrollPeriod PayrollPeriodYear PayFrequency DatePeriodStart DatePeriodEnd DatePaymentMade Element Hours
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayrollPeriod diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationNumber of tax period as recorded in payroll system
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayrollPeriodYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
1445
annotation documentationThe year in which the payroll transaction took place Revenue Bodies will wish to specify how this is to be shown if the fiscal year is not a calendar year
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayFrequency diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationThe time interval which forms the basis of periodic tax calculations for the employment for example Week or Month
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentDatePeriodStart diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
annotation documentationStart date of period for which payment has been made
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentDatePeriodEnd diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
annotation documentationEnd date of period for which payment has been made
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentDatePaymentMade diagram
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date on which payment was actually made Used to identify instances where payments are made in advance or in arrears
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElement diagram
1545
properties isRef 0minOcc 0
maxOcc unboundedcontent complex
children PayrollElementID Amount BankAccount PaymentDetails
annotation documentationAnalysis of the total amount paid
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPayrollElementID diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationReference to master files payroll element definition
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementAmount diagram
type AmountStructure
properties isRef 0content complex
children Amount CurrencyCode CurrencyAmount ExchangeRate
annotation documentationBasic amount is shown in default currency as defined in the header Option provided to show amount in local currency also
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementBankAccount diagram
type BankAccountStructure
1645
properties isRef 0minOcc 0maxOcc 1content complex
children IBANNumber BankAccountNumber BankAccountName SortCode
annotation documentationCross reference to bank account details in master files
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetails diagram
properties isRef 0minOcc 0
maxOcc unboundedcontent complex
children NumberOfUnits AmountPaidPerUnit UnitDescription
annotation documentationPayment details
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits diagram
type SAFquantityType
properties isRef 0content simple
facets totalDigits 22fractionDigits 6
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsAmountPaidPerUnit diagram
type AmountStructure
properties isRef 0content complex
children Amount CurrencyCode CurrencyAmount ExchangeRate
annotation documentationBasic amount shown in default currency as defined in the header Option to show amount in local currency also
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
1745
diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationDescription of units per which payment is made eg hours days
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHours diagram
properties isRef 0minOcc 0
maxOcc unboundedcontent complex
children HourType NumberOfHours AmountPaidPerUnit
annotation documentationTo allow SAF-P to report payroll amounts attributable to specific types of employee activity
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationThe type of activity being reported on Revenue Bodies may wish to prescribe a list of activity codes
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours diagram
type SAFquantityType
properties isRef 0content simple
facets totalDigits 22fractionDigits 6
annotation documentationThe umber of hours being reported under the activity type
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursAmountPaidPerUnit
1845
diagram
type AmountStructure
properties isRef 0minOcc 0maxOcc 1content complex
children Amount CurrencyCode CurrencyAmount ExchangeRate
annotation documentationThe hourly rate for the activity being reported upon
complexType AddressStructure diagram
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
used by elements AuditFilePayrollHeaderPayrollBureauAddress AuditFilePayrollMasterFilesEmployeesEmployeeAddress CompanyHeaderStructureAddress CompanyStructureAddress
1945
annotation documentation[Common to all SAFs] A common structure used wherever an address is required
element AddressStructureStreetName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element AddressStructureNumber diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element AddressStructureAdditionalAddressDetail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element AddressStructureBuilding diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
element AddressStructureCity diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
element AddressStructurePostalCode diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
element AddressStructureRegion
2045
diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationCountry specific code to indicate regions provinces within the tax authority Preferably described according to ISO 3166-2 Example GB-KEN for Kent county in the United Kingdom
element AddressStructureCountry diagram
type ISOCountryCode
properties isRef 0minOcc 0maxOcc 1content simple
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
element AddressStructureAddressType diagram
type restriction of xsstring
properties isRef 0minOcc 0maxOcc 1content simple
facets enumeration StreetAddressenumeration PostalAddressenumeration enumeration enumeration
annotation documentationField to differentiate between multiple addresses To indicate the type of address Choose from the predefined enumeration (examples StreetAddress PostalAddress BillingAddress)
complexType AmountStructure diagram
children Amount CurrencyCode CurrencyAmount ExchangeRate
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementAmount AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsAmountPaidPerUnit AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursAmountPaidPerUnit
2145
annotation documentation[Common to all SAFs] A common structure used wherever an amount is required Monetary amount with optional foreign currency exchange rate information
element AmountStructureAmount diagram
type SAFmonetaryType
properties isRef 0content simple
facets totalDigits 18fractionDigits 2
annotation documentationIn the default currency as shown in the SAF-P header
element AmountStructureCurrencyCode diagram
type ISOCurrencyCode
properties isRef 0content simple
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for Euros or USD for American Dollars
element AmountStructureCurrencyAmount diagram
type SAFmonetaryType
properties isRef 0content simple
facets totalDigits 18fractionDigits 2
annotation documentationAmount in the currency referred to by the CurrencyCode above
element AmountStructureExchangeRate diagram
type SAFexchangerateType
properties isRef 0minOcc 0maxOcc 1content simple
facets totalDigits 18fractionDigits 8
annotation documentationThe exchange rate used It should be reported in accordance with the formula CurrencyAmount x ExchangeRate = Amount
complexType BankAccountStructure diagram
2245
children IBANNumber BankAccountNumber BankAccountName SortCode
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeBankAccount AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementBankAccount CompanyHeaderStructureBankAccount CompanyStructureBankAccount
annotation documentation[Common to all SAFs] Bank account number information IBAN number or account number with optional information
element BankAccountStructureIBANNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationInternational Bank Account Number ISO 13616
element BankAccountStructureBankAccountNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationThe number allocated to the account by the individuals or companys own bank
element BankAccountStructureBankAccountName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
annotation documentationThe name of the individual or company holding the bank account
element BankAccountStructureSortCode
2345
diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationIdentifier for the bank branch at which the account is held May be needed to uniquely identify the account
complexType CompanyHeaderStructure diagram
type restriction of CompanyStructure
properties base CompanyStructure
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
used by element HeaderStructureCompany
annotation documentation[Common to all SAFs] CompanyStructure with mandatory RegistrationNumber and Telephone (Contact)
element CompanyHeaderStructureRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number to identify the company in the accounting records issued by a government body or created by the company for internal purposes to identify different entities within their corporate group
element CompanyHeaderStructureName diagram
type SAFmiddle2textType
properties isRef 0content simple
2445
facets maxLength 70
element CompanyHeaderStructureAddress diagram
type AddressStructure
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
element CompanyHeaderStructureContact diagram
type ContactHeaderStructure
2545
properties isRef 0minOcc 1
maxOcc unboundedcontent complex
children ContactPerson Telephone Fax Email Website
element CompanyHeaderStructureTaxRegistration diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
element CompanyHeaderStructureBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
complexType CompanyStructure
2645
diagram
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
used by element AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchDetailscomplexType CompanyHeaderStructure
annotation documentation[Common to all SAFs] Name address contact and identification information of a company or employer
element CompanyStructureRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationUnique number to identify the company in the accounting records issued by a government authority or created by the company for internal purposes to identify different entities within their corporate group
element CompanyStructureName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element CompanyStructureAddress diagram
2745
type AddressStructure
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
element CompanyStructureContact diagram
type ContactInformationStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children ContactPerson Telephone Fax Email Website
2845
element CompanyStructureTaxRegistration diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
element CompanyStructureBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
complexType ContactHeaderStructure
2945
diagram
type restriction of ContactInformationStructure
properties base ContactInformationStructure
children ContactPerson Telephone Fax Email Website
used by element CompanyHeaderStructureContact
annotation documentation[Common to all SAFs] ContactInformationStructure with madatory TelephoneNumber
element ContactHeaderStructureContactPerson diagram
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactHeaderStructureTelephone diagram
type SAFshorttextType
3045
properties isRef 0content simple
facets maxLength 18
element ContactHeaderStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactHeaderStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element ContactHeaderStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType ContactInformationStructure diagram
children ContactPerson Telephone Fax Email Website
used by elements AuditFilePayrollHeaderPayrollBureauContact CompanyStructureContactcomplexType ContactHeaderStructure
annotation documentation[Common to all SAFs] Contact information of a company or employer
element ContactInformationStructureContactPerson diagram
3145
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactInformationStructureTelephone diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
3245
facets maxLength 70
element ContactInformationStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType HeaderStructure diagram
children AuditFileVersion AuditFileCountry AuditFileRegion AuditFileDateCreated SoftwareCompanyName SoftwareID SoftwareVersion Company DefaultCurrencyCode SelectionCriteria HeaderComment
used by element AuditFilePayrollHeader
annotation documentation[Common to all SAFs] Overall information about this Standard Auditfile
element HeaderStructureAuditFileVersion
3345
diagram
type SAFcodeType
properties isRef 0content simple
facets maxLength 9
annotation documentationIdentification of the Standard Audit File SAF-P version being used
element HeaderStructureAuditFileCountry diagram
type ISOCountryCode
properties isRef 0content simple
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
element HeaderStructureAuditFileRegion diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationCountry specific code to indicate regions provinces within the tax jurisdiction Preferably described according to ISO 3166-2 Example GB-KEN for Kent county in the United Kingdom
element HeaderStructureAuditFileDateCreated diagram
type xsdate
properties isRef 0content simple
annotation documentationDate of production of SAF-P
element HeaderStructureSoftwareCompanyName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
annotation documentationName of the software company whose product created the SAF-P
element HeaderStructureSoftwareID diagram
3445
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationName of the Software that generated the SAF-P
element HeaderStructureSoftwareVersion diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationVersion of the software that created the SAF-P
element HeaderStructureCompany diagram
type CompanyHeaderStructure
properties isRef 0content complex
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
annotation documentationEmployers name and address details
element HeaderStructureDefaultCurrencyCode diagram
type ISOCurrencyCode
properties isRef 0content simple
facets length 3
annotation documentationThree letter Currency Code (ISO 4217) of local currency which is the default for the SAF
element HeaderStructureSelectionCriteria
3545
diagram
type SelectionCriteriaStructure
properties isRef 0minOcc 0maxOcc 1content complex
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
annotation documentationCriteria set by the user to populate the SAF-P
element HeaderStructureHeaderComment diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
3645
facets maxLength 256
annotation documentationSpace for any further generic comments on the SAF-P Revenue Bodies should consider what information they would expect to see here
complexType IdentificationStructure diagram
children IdentificationType IdentificationNumber DateValidUntil PlaceOfIssue DateOfIssue
used by element AuditFilePayrollMasterFilesEmployeesEmployeeIdentification
annotation documentationIdentification Document data This section is used when employers need to demonstrate that they have seen proof of an employees identity
element IdentificationStructureIdentificationType diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationThe type of identity document supplied to the employer Revenue bodies may wish to prescribe a specific list of codes
element IdentificationStructureIdentificationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number on the identification document
element IdentificationStructureDateValidUntil diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
element IdentificationStructurePlaceOfIssue diagram
type SAFmiddle1textType
3745
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
element IdentificationStructureDateOfIssue diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
complexType PersonNameStructure diagram
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
used by elements ContactHeaderStructureContactPerson ContactInformationStructureContactPerson AuditFilePayrollMasterFilesEmployeesEmployeeName
annotation documentation[Common to all SAFs] All information about the name of a natural (non-corporate) person
element PersonNameStructureTitle diagram
type SAFcodeType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 9
element PersonNameStructureFirstName diagram
type SAFmiddle1textType
properties isRef 0content simple
3845
facets maxLength 35
element PersonNameStructureInitials diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element PersonNameStructureLastNamePrefix diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA textual expression of a prefix that precedes this persons family name such as Van Von
element PersonNameStructureLastName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element PersonNameStructureBirthName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element PersonNameStructureSalutation diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA formal sign or expression of greeting expressed as text that is appropriate for this person such as Sir or Madam
element PersonNameStructureOtherTitles diagram
type SAFshorttextType
3945
properties isRef 0minOcc 0
maxOcc unboundedcontent simple
facets maxLength 18
complexType SelectionCriteriaStructure diagram
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
used by element HeaderStructureSelectionCriteria
annotation documentation[Common to all SAFs] The selection criteria used to generate this Standard Auditfile
element SelectionCriteriaStructureTaxReportingJurisdiction diagram
type SAFmiddle1textType
4045
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationIdentifies the tax jurisdiction for whose purpose the SAF has been created Principally for use where a single Revenue body covers more than one territory
element SelectionCriteriaStructureCompanyEntity diagram
type SAFmiddle2textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 70
annotation documentationFor use where data has been extracted from the full data set by reference to a specific corporate entity
element SelectionCriteriaStructureSelectionStartDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe start date for the reporting period covered by the SAF
element SelectionCriteriaStructureSelectionEndDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe end date for the reporting period covered by the SAF
element SelectionCriteriaStructurePeriodStart diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe first Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodStartYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodStart falls
element SelectionCriteriaStructurePeriodEnd
4145
diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe last Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodEndYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodEnd falls
element SelectionCriteriaStructureDocumentType diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationType of documents selected For use where the data has been restricted by reference to particular transaction types
element SelectionCriteriaStructureOtherCriteria diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc unboundedcontent simple
facets maxLength 256
annotation documentationAny other criteria used in selecting data Individual Revenue Bodies may wish to draw up a list of other acceptable selection criteria for use within their jurisdiction
complexType TaxIDStructure diagram
4245
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeRegistrationNumbers CompanyHeaderStructureTaxRegistration CompanyStructureTaxRegistration
annotation documentation[Common to all SAFs] Tax information for a company or employer
element TaxIDStructureTaxRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number issued by Revenue Body for use by the employer
element TaxIDStructureTaxType diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationFor use where information reported in the SAF-P covers more than one type of tax regime to identify the type of tax regime to which this entry relates
element TaxIDStructureTaxNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
4345
annotation documentationThe tax registration number for the particular tax regime referred to by TaxType
element TaxIDStructureTaxAuthority diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
annotation documentationIdentification of the Revenue Body to which this TaxType refers
element TaxIDStructureTaxVerificationDate diagram
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date that the tax registration details referred to above were last checked
simpleType ISOCountryCode type restriction of xsstring
used by elements HeaderStructureAuditFileCountry AddressStructureCountry
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
simpleType ISOCurrencyCode type restriction of xsstring
used by elements AmountStructureCurrencyCode HeaderStructureDefaultCurrencyCode
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for the Euros or USD for American Dollars
simpleType SAFcodeType type restriction of xsstring
used by elements HeaderStructureAuditFileRegion HeaderStructureAuditFileVersion TaxIDStructureTaxType PersonNameStructureTitle
facets maxLength 9
annotation documentationText of max 9 characters
simpleType SAFexchangerateType type restriction of xsdecimal
used by element AmountStructureExchangeRate
facets totalDigits 18fractionDigits 8
annotation documentation18 digits max of which 8 can be fractional digits
simpleType SAFlongtextType type restriction of xsstring
used by elements AuditFilePayrollTransactionFilesEmploymentBranchID AuditFilePayrollTransactionFilesEmploymentDepartment SelectionCriteriaStructureDocumentType AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeWorkReferenceNumber HeaderStructureHeaderComment AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType AuditFilePayrollTransactionFilesEmploymentJobTitle SelectionCriteriaStructureOtherCriteria AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementDescription HeaderStructureSoftwareID AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
facets maxLength 256
annotation documentation256 character text
simpleType SAFmiddle1textType type restriction of xsstring
4445
used by elements BankAccountStructureBankAccountNumber AddressStructureBuilding AddressStructureCity PersonNameStructureFirstName BankAccountStructureIBANNumber IdentificationStructureIdentificationNumber AuditFilePayrollHeaderPayrollBureauName IdentificationStructurePlaceOfIssue AddressStructureRegion CompanyHeaderStructureRegistrationNumber CompanyStructureRegistrationNumber TaxIDStructureTaxAuthority TaxIDStructureTaxNumber TaxIDStructureTaxRegistrationNumber SelectionCriteriaStructureTaxReportingJurisdiction
facets maxLength 35
annotation documentation35 character text
simpleType SAFmiddle2textType type restriction of xsstring
used by elements AddressStructureAdditionalAddressDetail BankAccountStructureBankAccountName PersonNameStructureBirthName SelectionCriteriaStructureCompanyEntity ContactHeaderStructureEmail ContactInformationStructureEmail PersonNameStructureLastName CompanyHeaderStructureName CompanyStructureName HeaderStructureSoftwareCompanyName AddressStructureStreetName
facets maxLength 70
annotation documentation70 character text
simpleType SAFmonetaryType type restriction of xsdecimal
used by elements AmountStructureAmount AmountStructureCurrencyAmount
facets totalDigits 18fractionDigits 2
annotation documentationMonetary amount18 digits max of which 2 can be fractional digits
simpleType SAFquantityType type restriction of xsdecimal
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits
facets totalDigits 22fractionDigits 6
annotation documentationUsed to describe a quantity Monetary amount 22 digits max of which 6 can be fractional digits
simpleType SAFshorttextType type restriction of xsstring
used by elements AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchID ContactHeaderStructureFax ContactInformationStructureFax IdentificationStructureIdentificationType PersonNameStructureInitials PersonNameStructureLastNamePrefix AddressStructureNumber PersonNameStructureOtherTitles AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayFrequency AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementID AddressStructurePostalCode PersonNameStructureSalutation HeaderStructureSoftwareVersion BankAccountStructureSortCode ContactHeaderStructureTelephone ContactInformationStructureTelephone
facets maxLength 18
annotation documentation18 character text
simpleType SAFweightType type restriction of xsdecimal
facets totalDigits 14fractionDigits 3
annotation documentationDescribes a weight Monetary amount14 digits max of which 3 can be fractional digits
XML Schema documentation generated by XMLSpy Schema Editor httpwwwaltovacomxmlspy
4545
- Footer Guidance for the Standard Audit File ndash Payroll Version 10 Appendix B Schema
- Header Page
diagram
properties isRef 0minOcc 1
maxOcc unboundedcontent complex
children PayrollPeriod PayrollPeriodYear PayFrequency DatePeriodStart DatePeriodEnd DatePaymentMade Element Hours
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayrollPeriod diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationNumber of tax period as recorded in payroll system
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayrollPeriodYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
1445
annotation documentationThe year in which the payroll transaction took place Revenue Bodies will wish to specify how this is to be shown if the fiscal year is not a calendar year
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayFrequency diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationThe time interval which forms the basis of periodic tax calculations for the employment for example Week or Month
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentDatePeriodStart diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
annotation documentationStart date of period for which payment has been made
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentDatePeriodEnd diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
annotation documentationEnd date of period for which payment has been made
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentDatePaymentMade diagram
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date on which payment was actually made Used to identify instances where payments are made in advance or in arrears
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElement diagram
1545
properties isRef 0minOcc 0
maxOcc unboundedcontent complex
children PayrollElementID Amount BankAccount PaymentDetails
annotation documentationAnalysis of the total amount paid
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPayrollElementID diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationReference to master files payroll element definition
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementAmount diagram
type AmountStructure
properties isRef 0content complex
children Amount CurrencyCode CurrencyAmount ExchangeRate
annotation documentationBasic amount is shown in default currency as defined in the header Option provided to show amount in local currency also
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementBankAccount diagram
type BankAccountStructure
1645
properties isRef 0minOcc 0maxOcc 1content complex
children IBANNumber BankAccountNumber BankAccountName SortCode
annotation documentationCross reference to bank account details in master files
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetails diagram
properties isRef 0minOcc 0
maxOcc unboundedcontent complex
children NumberOfUnits AmountPaidPerUnit UnitDescription
annotation documentationPayment details
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits diagram
type SAFquantityType
properties isRef 0content simple
facets totalDigits 22fractionDigits 6
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsAmountPaidPerUnit diagram
type AmountStructure
properties isRef 0content complex
children Amount CurrencyCode CurrencyAmount ExchangeRate
annotation documentationBasic amount shown in default currency as defined in the header Option to show amount in local currency also
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
1745
diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationDescription of units per which payment is made eg hours days
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHours diagram
properties isRef 0minOcc 0
maxOcc unboundedcontent complex
children HourType NumberOfHours AmountPaidPerUnit
annotation documentationTo allow SAF-P to report payroll amounts attributable to specific types of employee activity
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationThe type of activity being reported on Revenue Bodies may wish to prescribe a list of activity codes
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours diagram
type SAFquantityType
properties isRef 0content simple
facets totalDigits 22fractionDigits 6
annotation documentationThe umber of hours being reported under the activity type
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursAmountPaidPerUnit
1845
diagram
type AmountStructure
properties isRef 0minOcc 0maxOcc 1content complex
children Amount CurrencyCode CurrencyAmount ExchangeRate
annotation documentationThe hourly rate for the activity being reported upon
complexType AddressStructure diagram
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
used by elements AuditFilePayrollHeaderPayrollBureauAddress AuditFilePayrollMasterFilesEmployeesEmployeeAddress CompanyHeaderStructureAddress CompanyStructureAddress
1945
annotation documentation[Common to all SAFs] A common structure used wherever an address is required
element AddressStructureStreetName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element AddressStructureNumber diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element AddressStructureAdditionalAddressDetail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element AddressStructureBuilding diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
element AddressStructureCity diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
element AddressStructurePostalCode diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
element AddressStructureRegion
2045
diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationCountry specific code to indicate regions provinces within the tax authority Preferably described according to ISO 3166-2 Example GB-KEN for Kent county in the United Kingdom
element AddressStructureCountry diagram
type ISOCountryCode
properties isRef 0minOcc 0maxOcc 1content simple
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
element AddressStructureAddressType diagram
type restriction of xsstring
properties isRef 0minOcc 0maxOcc 1content simple
facets enumeration StreetAddressenumeration PostalAddressenumeration enumeration enumeration
annotation documentationField to differentiate between multiple addresses To indicate the type of address Choose from the predefined enumeration (examples StreetAddress PostalAddress BillingAddress)
complexType AmountStructure diagram
children Amount CurrencyCode CurrencyAmount ExchangeRate
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementAmount AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsAmountPaidPerUnit AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursAmountPaidPerUnit
2145
annotation documentation[Common to all SAFs] A common structure used wherever an amount is required Monetary amount with optional foreign currency exchange rate information
element AmountStructureAmount diagram
type SAFmonetaryType
properties isRef 0content simple
facets totalDigits 18fractionDigits 2
annotation documentationIn the default currency as shown in the SAF-P header
element AmountStructureCurrencyCode diagram
type ISOCurrencyCode
properties isRef 0content simple
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for Euros or USD for American Dollars
element AmountStructureCurrencyAmount diagram
type SAFmonetaryType
properties isRef 0content simple
facets totalDigits 18fractionDigits 2
annotation documentationAmount in the currency referred to by the CurrencyCode above
element AmountStructureExchangeRate diagram
type SAFexchangerateType
properties isRef 0minOcc 0maxOcc 1content simple
facets totalDigits 18fractionDigits 8
annotation documentationThe exchange rate used It should be reported in accordance with the formula CurrencyAmount x ExchangeRate = Amount
complexType BankAccountStructure diagram
2245
children IBANNumber BankAccountNumber BankAccountName SortCode
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeBankAccount AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementBankAccount CompanyHeaderStructureBankAccount CompanyStructureBankAccount
annotation documentation[Common to all SAFs] Bank account number information IBAN number or account number with optional information
element BankAccountStructureIBANNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationInternational Bank Account Number ISO 13616
element BankAccountStructureBankAccountNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationThe number allocated to the account by the individuals or companys own bank
element BankAccountStructureBankAccountName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
annotation documentationThe name of the individual or company holding the bank account
element BankAccountStructureSortCode
2345
diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationIdentifier for the bank branch at which the account is held May be needed to uniquely identify the account
complexType CompanyHeaderStructure diagram
type restriction of CompanyStructure
properties base CompanyStructure
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
used by element HeaderStructureCompany
annotation documentation[Common to all SAFs] CompanyStructure with mandatory RegistrationNumber and Telephone (Contact)
element CompanyHeaderStructureRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number to identify the company in the accounting records issued by a government body or created by the company for internal purposes to identify different entities within their corporate group
element CompanyHeaderStructureName diagram
type SAFmiddle2textType
properties isRef 0content simple
2445
facets maxLength 70
element CompanyHeaderStructureAddress diagram
type AddressStructure
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
element CompanyHeaderStructureContact diagram
type ContactHeaderStructure
2545
properties isRef 0minOcc 1
maxOcc unboundedcontent complex
children ContactPerson Telephone Fax Email Website
element CompanyHeaderStructureTaxRegistration diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
element CompanyHeaderStructureBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
complexType CompanyStructure
2645
diagram
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
used by element AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchDetailscomplexType CompanyHeaderStructure
annotation documentation[Common to all SAFs] Name address contact and identification information of a company or employer
element CompanyStructureRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationUnique number to identify the company in the accounting records issued by a government authority or created by the company for internal purposes to identify different entities within their corporate group
element CompanyStructureName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element CompanyStructureAddress diagram
2745
type AddressStructure
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
element CompanyStructureContact diagram
type ContactInformationStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children ContactPerson Telephone Fax Email Website
2845
element CompanyStructureTaxRegistration diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
element CompanyStructureBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
complexType ContactHeaderStructure
2945
diagram
type restriction of ContactInformationStructure
properties base ContactInformationStructure
children ContactPerson Telephone Fax Email Website
used by element CompanyHeaderStructureContact
annotation documentation[Common to all SAFs] ContactInformationStructure with madatory TelephoneNumber
element ContactHeaderStructureContactPerson diagram
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactHeaderStructureTelephone diagram
type SAFshorttextType
3045
properties isRef 0content simple
facets maxLength 18
element ContactHeaderStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactHeaderStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element ContactHeaderStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType ContactInformationStructure diagram
children ContactPerson Telephone Fax Email Website
used by elements AuditFilePayrollHeaderPayrollBureauContact CompanyStructureContactcomplexType ContactHeaderStructure
annotation documentation[Common to all SAFs] Contact information of a company or employer
element ContactInformationStructureContactPerson diagram
3145
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactInformationStructureTelephone diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
3245
facets maxLength 70
element ContactInformationStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType HeaderStructure diagram
children AuditFileVersion AuditFileCountry AuditFileRegion AuditFileDateCreated SoftwareCompanyName SoftwareID SoftwareVersion Company DefaultCurrencyCode SelectionCriteria HeaderComment
used by element AuditFilePayrollHeader
annotation documentation[Common to all SAFs] Overall information about this Standard Auditfile
element HeaderStructureAuditFileVersion
3345
diagram
type SAFcodeType
properties isRef 0content simple
facets maxLength 9
annotation documentationIdentification of the Standard Audit File SAF-P version being used
element HeaderStructureAuditFileCountry diagram
type ISOCountryCode
properties isRef 0content simple
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
element HeaderStructureAuditFileRegion diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationCountry specific code to indicate regions provinces within the tax jurisdiction Preferably described according to ISO 3166-2 Example GB-KEN for Kent county in the United Kingdom
element HeaderStructureAuditFileDateCreated diagram
type xsdate
properties isRef 0content simple
annotation documentationDate of production of SAF-P
element HeaderStructureSoftwareCompanyName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
annotation documentationName of the software company whose product created the SAF-P
element HeaderStructureSoftwareID diagram
3445
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationName of the Software that generated the SAF-P
element HeaderStructureSoftwareVersion diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationVersion of the software that created the SAF-P
element HeaderStructureCompany diagram
type CompanyHeaderStructure
properties isRef 0content complex
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
annotation documentationEmployers name and address details
element HeaderStructureDefaultCurrencyCode diagram
type ISOCurrencyCode
properties isRef 0content simple
facets length 3
annotation documentationThree letter Currency Code (ISO 4217) of local currency which is the default for the SAF
element HeaderStructureSelectionCriteria
3545
diagram
type SelectionCriteriaStructure
properties isRef 0minOcc 0maxOcc 1content complex
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
annotation documentationCriteria set by the user to populate the SAF-P
element HeaderStructureHeaderComment diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
3645
facets maxLength 256
annotation documentationSpace for any further generic comments on the SAF-P Revenue Bodies should consider what information they would expect to see here
complexType IdentificationStructure diagram
children IdentificationType IdentificationNumber DateValidUntil PlaceOfIssue DateOfIssue
used by element AuditFilePayrollMasterFilesEmployeesEmployeeIdentification
annotation documentationIdentification Document data This section is used when employers need to demonstrate that they have seen proof of an employees identity
element IdentificationStructureIdentificationType diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationThe type of identity document supplied to the employer Revenue bodies may wish to prescribe a specific list of codes
element IdentificationStructureIdentificationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number on the identification document
element IdentificationStructureDateValidUntil diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
element IdentificationStructurePlaceOfIssue diagram
type SAFmiddle1textType
3745
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
element IdentificationStructureDateOfIssue diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
complexType PersonNameStructure diagram
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
used by elements ContactHeaderStructureContactPerson ContactInformationStructureContactPerson AuditFilePayrollMasterFilesEmployeesEmployeeName
annotation documentation[Common to all SAFs] All information about the name of a natural (non-corporate) person
element PersonNameStructureTitle diagram
type SAFcodeType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 9
element PersonNameStructureFirstName diagram
type SAFmiddle1textType
properties isRef 0content simple
3845
facets maxLength 35
element PersonNameStructureInitials diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element PersonNameStructureLastNamePrefix diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA textual expression of a prefix that precedes this persons family name such as Van Von
element PersonNameStructureLastName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element PersonNameStructureBirthName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element PersonNameStructureSalutation diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA formal sign or expression of greeting expressed as text that is appropriate for this person such as Sir or Madam
element PersonNameStructureOtherTitles diagram
type SAFshorttextType
3945
properties isRef 0minOcc 0
maxOcc unboundedcontent simple
facets maxLength 18
complexType SelectionCriteriaStructure diagram
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
used by element HeaderStructureSelectionCriteria
annotation documentation[Common to all SAFs] The selection criteria used to generate this Standard Auditfile
element SelectionCriteriaStructureTaxReportingJurisdiction diagram
type SAFmiddle1textType
4045
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationIdentifies the tax jurisdiction for whose purpose the SAF has been created Principally for use where a single Revenue body covers more than one territory
element SelectionCriteriaStructureCompanyEntity diagram
type SAFmiddle2textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 70
annotation documentationFor use where data has been extracted from the full data set by reference to a specific corporate entity
element SelectionCriteriaStructureSelectionStartDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe start date for the reporting period covered by the SAF
element SelectionCriteriaStructureSelectionEndDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe end date for the reporting period covered by the SAF
element SelectionCriteriaStructurePeriodStart diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe first Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodStartYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodStart falls
element SelectionCriteriaStructurePeriodEnd
4145
diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe last Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodEndYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodEnd falls
element SelectionCriteriaStructureDocumentType diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationType of documents selected For use where the data has been restricted by reference to particular transaction types
element SelectionCriteriaStructureOtherCriteria diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc unboundedcontent simple
facets maxLength 256
annotation documentationAny other criteria used in selecting data Individual Revenue Bodies may wish to draw up a list of other acceptable selection criteria for use within their jurisdiction
complexType TaxIDStructure diagram
4245
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeRegistrationNumbers CompanyHeaderStructureTaxRegistration CompanyStructureTaxRegistration
annotation documentation[Common to all SAFs] Tax information for a company or employer
element TaxIDStructureTaxRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number issued by Revenue Body for use by the employer
element TaxIDStructureTaxType diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationFor use where information reported in the SAF-P covers more than one type of tax regime to identify the type of tax regime to which this entry relates
element TaxIDStructureTaxNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
4345
annotation documentationThe tax registration number for the particular tax regime referred to by TaxType
element TaxIDStructureTaxAuthority diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
annotation documentationIdentification of the Revenue Body to which this TaxType refers
element TaxIDStructureTaxVerificationDate diagram
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date that the tax registration details referred to above were last checked
simpleType ISOCountryCode type restriction of xsstring
used by elements HeaderStructureAuditFileCountry AddressStructureCountry
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
simpleType ISOCurrencyCode type restriction of xsstring
used by elements AmountStructureCurrencyCode HeaderStructureDefaultCurrencyCode
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for the Euros or USD for American Dollars
simpleType SAFcodeType type restriction of xsstring
used by elements HeaderStructureAuditFileRegion HeaderStructureAuditFileVersion TaxIDStructureTaxType PersonNameStructureTitle
facets maxLength 9
annotation documentationText of max 9 characters
simpleType SAFexchangerateType type restriction of xsdecimal
used by element AmountStructureExchangeRate
facets totalDigits 18fractionDigits 8
annotation documentation18 digits max of which 8 can be fractional digits
simpleType SAFlongtextType type restriction of xsstring
used by elements AuditFilePayrollTransactionFilesEmploymentBranchID AuditFilePayrollTransactionFilesEmploymentDepartment SelectionCriteriaStructureDocumentType AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeWorkReferenceNumber HeaderStructureHeaderComment AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType AuditFilePayrollTransactionFilesEmploymentJobTitle SelectionCriteriaStructureOtherCriteria AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementDescription HeaderStructureSoftwareID AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
facets maxLength 256
annotation documentation256 character text
simpleType SAFmiddle1textType type restriction of xsstring
4445
used by elements BankAccountStructureBankAccountNumber AddressStructureBuilding AddressStructureCity PersonNameStructureFirstName BankAccountStructureIBANNumber IdentificationStructureIdentificationNumber AuditFilePayrollHeaderPayrollBureauName IdentificationStructurePlaceOfIssue AddressStructureRegion CompanyHeaderStructureRegistrationNumber CompanyStructureRegistrationNumber TaxIDStructureTaxAuthority TaxIDStructureTaxNumber TaxIDStructureTaxRegistrationNumber SelectionCriteriaStructureTaxReportingJurisdiction
facets maxLength 35
annotation documentation35 character text
simpleType SAFmiddle2textType type restriction of xsstring
used by elements AddressStructureAdditionalAddressDetail BankAccountStructureBankAccountName PersonNameStructureBirthName SelectionCriteriaStructureCompanyEntity ContactHeaderStructureEmail ContactInformationStructureEmail PersonNameStructureLastName CompanyHeaderStructureName CompanyStructureName HeaderStructureSoftwareCompanyName AddressStructureStreetName
facets maxLength 70
annotation documentation70 character text
simpleType SAFmonetaryType type restriction of xsdecimal
used by elements AmountStructureAmount AmountStructureCurrencyAmount
facets totalDigits 18fractionDigits 2
annotation documentationMonetary amount18 digits max of which 2 can be fractional digits
simpleType SAFquantityType type restriction of xsdecimal
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits
facets totalDigits 22fractionDigits 6
annotation documentationUsed to describe a quantity Monetary amount 22 digits max of which 6 can be fractional digits
simpleType SAFshorttextType type restriction of xsstring
used by elements AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchID ContactHeaderStructureFax ContactInformationStructureFax IdentificationStructureIdentificationType PersonNameStructureInitials PersonNameStructureLastNamePrefix AddressStructureNumber PersonNameStructureOtherTitles AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayFrequency AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementID AddressStructurePostalCode PersonNameStructureSalutation HeaderStructureSoftwareVersion BankAccountStructureSortCode ContactHeaderStructureTelephone ContactInformationStructureTelephone
facets maxLength 18
annotation documentation18 character text
simpleType SAFweightType type restriction of xsdecimal
facets totalDigits 14fractionDigits 3
annotation documentationDescribes a weight Monetary amount14 digits max of which 3 can be fractional digits
XML Schema documentation generated by XMLSpy Schema Editor httpwwwaltovacomxmlspy
4545
- Footer Guidance for the Standard Audit File ndash Payroll Version 10 Appendix B Schema
- Header Page
annotation documentationThe year in which the payroll transaction took place Revenue Bodies will wish to specify how this is to be shown if the fiscal year is not a calendar year
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayFrequency diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationThe time interval which forms the basis of periodic tax calculations for the employment for example Week or Month
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentDatePeriodStart diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
annotation documentationStart date of period for which payment has been made
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentDatePeriodEnd diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
annotation documentationEnd date of period for which payment has been made
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentDatePaymentMade diagram
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date on which payment was actually made Used to identify instances where payments are made in advance or in arrears
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElement diagram
1545
properties isRef 0minOcc 0
maxOcc unboundedcontent complex
children PayrollElementID Amount BankAccount PaymentDetails
annotation documentationAnalysis of the total amount paid
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPayrollElementID diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationReference to master files payroll element definition
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementAmount diagram
type AmountStructure
properties isRef 0content complex
children Amount CurrencyCode CurrencyAmount ExchangeRate
annotation documentationBasic amount is shown in default currency as defined in the header Option provided to show amount in local currency also
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementBankAccount diagram
type BankAccountStructure
1645
properties isRef 0minOcc 0maxOcc 1content complex
children IBANNumber BankAccountNumber BankAccountName SortCode
annotation documentationCross reference to bank account details in master files
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetails diagram
properties isRef 0minOcc 0
maxOcc unboundedcontent complex
children NumberOfUnits AmountPaidPerUnit UnitDescription
annotation documentationPayment details
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits diagram
type SAFquantityType
properties isRef 0content simple
facets totalDigits 22fractionDigits 6
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsAmountPaidPerUnit diagram
type AmountStructure
properties isRef 0content complex
children Amount CurrencyCode CurrencyAmount ExchangeRate
annotation documentationBasic amount shown in default currency as defined in the header Option to show amount in local currency also
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
1745
diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationDescription of units per which payment is made eg hours days
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHours diagram
properties isRef 0minOcc 0
maxOcc unboundedcontent complex
children HourType NumberOfHours AmountPaidPerUnit
annotation documentationTo allow SAF-P to report payroll amounts attributable to specific types of employee activity
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationThe type of activity being reported on Revenue Bodies may wish to prescribe a list of activity codes
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours diagram
type SAFquantityType
properties isRef 0content simple
facets totalDigits 22fractionDigits 6
annotation documentationThe umber of hours being reported under the activity type
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursAmountPaidPerUnit
1845
diagram
type AmountStructure
properties isRef 0minOcc 0maxOcc 1content complex
children Amount CurrencyCode CurrencyAmount ExchangeRate
annotation documentationThe hourly rate for the activity being reported upon
complexType AddressStructure diagram
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
used by elements AuditFilePayrollHeaderPayrollBureauAddress AuditFilePayrollMasterFilesEmployeesEmployeeAddress CompanyHeaderStructureAddress CompanyStructureAddress
1945
annotation documentation[Common to all SAFs] A common structure used wherever an address is required
element AddressStructureStreetName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element AddressStructureNumber diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element AddressStructureAdditionalAddressDetail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element AddressStructureBuilding diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
element AddressStructureCity diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
element AddressStructurePostalCode diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
element AddressStructureRegion
2045
diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationCountry specific code to indicate regions provinces within the tax authority Preferably described according to ISO 3166-2 Example GB-KEN for Kent county in the United Kingdom
element AddressStructureCountry diagram
type ISOCountryCode
properties isRef 0minOcc 0maxOcc 1content simple
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
element AddressStructureAddressType diagram
type restriction of xsstring
properties isRef 0minOcc 0maxOcc 1content simple
facets enumeration StreetAddressenumeration PostalAddressenumeration enumeration enumeration
annotation documentationField to differentiate between multiple addresses To indicate the type of address Choose from the predefined enumeration (examples StreetAddress PostalAddress BillingAddress)
complexType AmountStructure diagram
children Amount CurrencyCode CurrencyAmount ExchangeRate
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementAmount AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsAmountPaidPerUnit AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursAmountPaidPerUnit
2145
annotation documentation[Common to all SAFs] A common structure used wherever an amount is required Monetary amount with optional foreign currency exchange rate information
element AmountStructureAmount diagram
type SAFmonetaryType
properties isRef 0content simple
facets totalDigits 18fractionDigits 2
annotation documentationIn the default currency as shown in the SAF-P header
element AmountStructureCurrencyCode diagram
type ISOCurrencyCode
properties isRef 0content simple
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for Euros or USD for American Dollars
element AmountStructureCurrencyAmount diagram
type SAFmonetaryType
properties isRef 0content simple
facets totalDigits 18fractionDigits 2
annotation documentationAmount in the currency referred to by the CurrencyCode above
element AmountStructureExchangeRate diagram
type SAFexchangerateType
properties isRef 0minOcc 0maxOcc 1content simple
facets totalDigits 18fractionDigits 8
annotation documentationThe exchange rate used It should be reported in accordance with the formula CurrencyAmount x ExchangeRate = Amount
complexType BankAccountStructure diagram
2245
children IBANNumber BankAccountNumber BankAccountName SortCode
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeBankAccount AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementBankAccount CompanyHeaderStructureBankAccount CompanyStructureBankAccount
annotation documentation[Common to all SAFs] Bank account number information IBAN number or account number with optional information
element BankAccountStructureIBANNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationInternational Bank Account Number ISO 13616
element BankAccountStructureBankAccountNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationThe number allocated to the account by the individuals or companys own bank
element BankAccountStructureBankAccountName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
annotation documentationThe name of the individual or company holding the bank account
element BankAccountStructureSortCode
2345
diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationIdentifier for the bank branch at which the account is held May be needed to uniquely identify the account
complexType CompanyHeaderStructure diagram
type restriction of CompanyStructure
properties base CompanyStructure
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
used by element HeaderStructureCompany
annotation documentation[Common to all SAFs] CompanyStructure with mandatory RegistrationNumber and Telephone (Contact)
element CompanyHeaderStructureRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number to identify the company in the accounting records issued by a government body or created by the company for internal purposes to identify different entities within their corporate group
element CompanyHeaderStructureName diagram
type SAFmiddle2textType
properties isRef 0content simple
2445
facets maxLength 70
element CompanyHeaderStructureAddress diagram
type AddressStructure
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
element CompanyHeaderStructureContact diagram
type ContactHeaderStructure
2545
properties isRef 0minOcc 1
maxOcc unboundedcontent complex
children ContactPerson Telephone Fax Email Website
element CompanyHeaderStructureTaxRegistration diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
element CompanyHeaderStructureBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
complexType CompanyStructure
2645
diagram
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
used by element AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchDetailscomplexType CompanyHeaderStructure
annotation documentation[Common to all SAFs] Name address contact and identification information of a company or employer
element CompanyStructureRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationUnique number to identify the company in the accounting records issued by a government authority or created by the company for internal purposes to identify different entities within their corporate group
element CompanyStructureName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element CompanyStructureAddress diagram
2745
type AddressStructure
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
element CompanyStructureContact diagram
type ContactInformationStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children ContactPerson Telephone Fax Email Website
2845
element CompanyStructureTaxRegistration diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
element CompanyStructureBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
complexType ContactHeaderStructure
2945
diagram
type restriction of ContactInformationStructure
properties base ContactInformationStructure
children ContactPerson Telephone Fax Email Website
used by element CompanyHeaderStructureContact
annotation documentation[Common to all SAFs] ContactInformationStructure with madatory TelephoneNumber
element ContactHeaderStructureContactPerson diagram
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactHeaderStructureTelephone diagram
type SAFshorttextType
3045
properties isRef 0content simple
facets maxLength 18
element ContactHeaderStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactHeaderStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element ContactHeaderStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType ContactInformationStructure diagram
children ContactPerson Telephone Fax Email Website
used by elements AuditFilePayrollHeaderPayrollBureauContact CompanyStructureContactcomplexType ContactHeaderStructure
annotation documentation[Common to all SAFs] Contact information of a company or employer
element ContactInformationStructureContactPerson diagram
3145
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactInformationStructureTelephone diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
3245
facets maxLength 70
element ContactInformationStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType HeaderStructure diagram
children AuditFileVersion AuditFileCountry AuditFileRegion AuditFileDateCreated SoftwareCompanyName SoftwareID SoftwareVersion Company DefaultCurrencyCode SelectionCriteria HeaderComment
used by element AuditFilePayrollHeader
annotation documentation[Common to all SAFs] Overall information about this Standard Auditfile
element HeaderStructureAuditFileVersion
3345
diagram
type SAFcodeType
properties isRef 0content simple
facets maxLength 9
annotation documentationIdentification of the Standard Audit File SAF-P version being used
element HeaderStructureAuditFileCountry diagram
type ISOCountryCode
properties isRef 0content simple
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
element HeaderStructureAuditFileRegion diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationCountry specific code to indicate regions provinces within the tax jurisdiction Preferably described according to ISO 3166-2 Example GB-KEN for Kent county in the United Kingdom
element HeaderStructureAuditFileDateCreated diagram
type xsdate
properties isRef 0content simple
annotation documentationDate of production of SAF-P
element HeaderStructureSoftwareCompanyName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
annotation documentationName of the software company whose product created the SAF-P
element HeaderStructureSoftwareID diagram
3445
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationName of the Software that generated the SAF-P
element HeaderStructureSoftwareVersion diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationVersion of the software that created the SAF-P
element HeaderStructureCompany diagram
type CompanyHeaderStructure
properties isRef 0content complex
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
annotation documentationEmployers name and address details
element HeaderStructureDefaultCurrencyCode diagram
type ISOCurrencyCode
properties isRef 0content simple
facets length 3
annotation documentationThree letter Currency Code (ISO 4217) of local currency which is the default for the SAF
element HeaderStructureSelectionCriteria
3545
diagram
type SelectionCriteriaStructure
properties isRef 0minOcc 0maxOcc 1content complex
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
annotation documentationCriteria set by the user to populate the SAF-P
element HeaderStructureHeaderComment diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
3645
facets maxLength 256
annotation documentationSpace for any further generic comments on the SAF-P Revenue Bodies should consider what information they would expect to see here
complexType IdentificationStructure diagram
children IdentificationType IdentificationNumber DateValidUntil PlaceOfIssue DateOfIssue
used by element AuditFilePayrollMasterFilesEmployeesEmployeeIdentification
annotation documentationIdentification Document data This section is used when employers need to demonstrate that they have seen proof of an employees identity
element IdentificationStructureIdentificationType diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationThe type of identity document supplied to the employer Revenue bodies may wish to prescribe a specific list of codes
element IdentificationStructureIdentificationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number on the identification document
element IdentificationStructureDateValidUntil diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
element IdentificationStructurePlaceOfIssue diagram
type SAFmiddle1textType
3745
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
element IdentificationStructureDateOfIssue diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
complexType PersonNameStructure diagram
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
used by elements ContactHeaderStructureContactPerson ContactInformationStructureContactPerson AuditFilePayrollMasterFilesEmployeesEmployeeName
annotation documentation[Common to all SAFs] All information about the name of a natural (non-corporate) person
element PersonNameStructureTitle diagram
type SAFcodeType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 9
element PersonNameStructureFirstName diagram
type SAFmiddle1textType
properties isRef 0content simple
3845
facets maxLength 35
element PersonNameStructureInitials diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element PersonNameStructureLastNamePrefix diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA textual expression of a prefix that precedes this persons family name such as Van Von
element PersonNameStructureLastName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element PersonNameStructureBirthName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element PersonNameStructureSalutation diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA formal sign or expression of greeting expressed as text that is appropriate for this person such as Sir or Madam
element PersonNameStructureOtherTitles diagram
type SAFshorttextType
3945
properties isRef 0minOcc 0
maxOcc unboundedcontent simple
facets maxLength 18
complexType SelectionCriteriaStructure diagram
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
used by element HeaderStructureSelectionCriteria
annotation documentation[Common to all SAFs] The selection criteria used to generate this Standard Auditfile
element SelectionCriteriaStructureTaxReportingJurisdiction diagram
type SAFmiddle1textType
4045
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationIdentifies the tax jurisdiction for whose purpose the SAF has been created Principally for use where a single Revenue body covers more than one territory
element SelectionCriteriaStructureCompanyEntity diagram
type SAFmiddle2textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 70
annotation documentationFor use where data has been extracted from the full data set by reference to a specific corporate entity
element SelectionCriteriaStructureSelectionStartDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe start date for the reporting period covered by the SAF
element SelectionCriteriaStructureSelectionEndDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe end date for the reporting period covered by the SAF
element SelectionCriteriaStructurePeriodStart diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe first Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodStartYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodStart falls
element SelectionCriteriaStructurePeriodEnd
4145
diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe last Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodEndYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodEnd falls
element SelectionCriteriaStructureDocumentType diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationType of documents selected For use where the data has been restricted by reference to particular transaction types
element SelectionCriteriaStructureOtherCriteria diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc unboundedcontent simple
facets maxLength 256
annotation documentationAny other criteria used in selecting data Individual Revenue Bodies may wish to draw up a list of other acceptable selection criteria for use within their jurisdiction
complexType TaxIDStructure diagram
4245
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeRegistrationNumbers CompanyHeaderStructureTaxRegistration CompanyStructureTaxRegistration
annotation documentation[Common to all SAFs] Tax information for a company or employer
element TaxIDStructureTaxRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number issued by Revenue Body for use by the employer
element TaxIDStructureTaxType diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationFor use where information reported in the SAF-P covers more than one type of tax regime to identify the type of tax regime to which this entry relates
element TaxIDStructureTaxNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
4345
annotation documentationThe tax registration number for the particular tax regime referred to by TaxType
element TaxIDStructureTaxAuthority diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
annotation documentationIdentification of the Revenue Body to which this TaxType refers
element TaxIDStructureTaxVerificationDate diagram
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date that the tax registration details referred to above were last checked
simpleType ISOCountryCode type restriction of xsstring
used by elements HeaderStructureAuditFileCountry AddressStructureCountry
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
simpleType ISOCurrencyCode type restriction of xsstring
used by elements AmountStructureCurrencyCode HeaderStructureDefaultCurrencyCode
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for the Euros or USD for American Dollars
simpleType SAFcodeType type restriction of xsstring
used by elements HeaderStructureAuditFileRegion HeaderStructureAuditFileVersion TaxIDStructureTaxType PersonNameStructureTitle
facets maxLength 9
annotation documentationText of max 9 characters
simpleType SAFexchangerateType type restriction of xsdecimal
used by element AmountStructureExchangeRate
facets totalDigits 18fractionDigits 8
annotation documentation18 digits max of which 8 can be fractional digits
simpleType SAFlongtextType type restriction of xsstring
used by elements AuditFilePayrollTransactionFilesEmploymentBranchID AuditFilePayrollTransactionFilesEmploymentDepartment SelectionCriteriaStructureDocumentType AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeWorkReferenceNumber HeaderStructureHeaderComment AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType AuditFilePayrollTransactionFilesEmploymentJobTitle SelectionCriteriaStructureOtherCriteria AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementDescription HeaderStructureSoftwareID AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
facets maxLength 256
annotation documentation256 character text
simpleType SAFmiddle1textType type restriction of xsstring
4445
used by elements BankAccountStructureBankAccountNumber AddressStructureBuilding AddressStructureCity PersonNameStructureFirstName BankAccountStructureIBANNumber IdentificationStructureIdentificationNumber AuditFilePayrollHeaderPayrollBureauName IdentificationStructurePlaceOfIssue AddressStructureRegion CompanyHeaderStructureRegistrationNumber CompanyStructureRegistrationNumber TaxIDStructureTaxAuthority TaxIDStructureTaxNumber TaxIDStructureTaxRegistrationNumber SelectionCriteriaStructureTaxReportingJurisdiction
facets maxLength 35
annotation documentation35 character text
simpleType SAFmiddle2textType type restriction of xsstring
used by elements AddressStructureAdditionalAddressDetail BankAccountStructureBankAccountName PersonNameStructureBirthName SelectionCriteriaStructureCompanyEntity ContactHeaderStructureEmail ContactInformationStructureEmail PersonNameStructureLastName CompanyHeaderStructureName CompanyStructureName HeaderStructureSoftwareCompanyName AddressStructureStreetName
facets maxLength 70
annotation documentation70 character text
simpleType SAFmonetaryType type restriction of xsdecimal
used by elements AmountStructureAmount AmountStructureCurrencyAmount
facets totalDigits 18fractionDigits 2
annotation documentationMonetary amount18 digits max of which 2 can be fractional digits
simpleType SAFquantityType type restriction of xsdecimal
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits
facets totalDigits 22fractionDigits 6
annotation documentationUsed to describe a quantity Monetary amount 22 digits max of which 6 can be fractional digits
simpleType SAFshorttextType type restriction of xsstring
used by elements AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchID ContactHeaderStructureFax ContactInformationStructureFax IdentificationStructureIdentificationType PersonNameStructureInitials PersonNameStructureLastNamePrefix AddressStructureNumber PersonNameStructureOtherTitles AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayFrequency AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementID AddressStructurePostalCode PersonNameStructureSalutation HeaderStructureSoftwareVersion BankAccountStructureSortCode ContactHeaderStructureTelephone ContactInformationStructureTelephone
facets maxLength 18
annotation documentation18 character text
simpleType SAFweightType type restriction of xsdecimal
facets totalDigits 14fractionDigits 3
annotation documentationDescribes a weight Monetary amount14 digits max of which 3 can be fractional digits
XML Schema documentation generated by XMLSpy Schema Editor httpwwwaltovacomxmlspy
4545
- Footer Guidance for the Standard Audit File ndash Payroll Version 10 Appendix B Schema
- Header Page
properties isRef 0minOcc 0
maxOcc unboundedcontent complex
children PayrollElementID Amount BankAccount PaymentDetails
annotation documentationAnalysis of the total amount paid
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPayrollElementID diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationReference to master files payroll element definition
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementAmount diagram
type AmountStructure
properties isRef 0content complex
children Amount CurrencyCode CurrencyAmount ExchangeRate
annotation documentationBasic amount is shown in default currency as defined in the header Option provided to show amount in local currency also
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementBankAccount diagram
type BankAccountStructure
1645
properties isRef 0minOcc 0maxOcc 1content complex
children IBANNumber BankAccountNumber BankAccountName SortCode
annotation documentationCross reference to bank account details in master files
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetails diagram
properties isRef 0minOcc 0
maxOcc unboundedcontent complex
children NumberOfUnits AmountPaidPerUnit UnitDescription
annotation documentationPayment details
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits diagram
type SAFquantityType
properties isRef 0content simple
facets totalDigits 22fractionDigits 6
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsAmountPaidPerUnit diagram
type AmountStructure
properties isRef 0content complex
children Amount CurrencyCode CurrencyAmount ExchangeRate
annotation documentationBasic amount shown in default currency as defined in the header Option to show amount in local currency also
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
1745
diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationDescription of units per which payment is made eg hours days
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHours diagram
properties isRef 0minOcc 0
maxOcc unboundedcontent complex
children HourType NumberOfHours AmountPaidPerUnit
annotation documentationTo allow SAF-P to report payroll amounts attributable to specific types of employee activity
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationThe type of activity being reported on Revenue Bodies may wish to prescribe a list of activity codes
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours diagram
type SAFquantityType
properties isRef 0content simple
facets totalDigits 22fractionDigits 6
annotation documentationThe umber of hours being reported under the activity type
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursAmountPaidPerUnit
1845
diagram
type AmountStructure
properties isRef 0minOcc 0maxOcc 1content complex
children Amount CurrencyCode CurrencyAmount ExchangeRate
annotation documentationThe hourly rate for the activity being reported upon
complexType AddressStructure diagram
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
used by elements AuditFilePayrollHeaderPayrollBureauAddress AuditFilePayrollMasterFilesEmployeesEmployeeAddress CompanyHeaderStructureAddress CompanyStructureAddress
1945
annotation documentation[Common to all SAFs] A common structure used wherever an address is required
element AddressStructureStreetName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element AddressStructureNumber diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element AddressStructureAdditionalAddressDetail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element AddressStructureBuilding diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
element AddressStructureCity diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
element AddressStructurePostalCode diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
element AddressStructureRegion
2045
diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationCountry specific code to indicate regions provinces within the tax authority Preferably described according to ISO 3166-2 Example GB-KEN for Kent county in the United Kingdom
element AddressStructureCountry diagram
type ISOCountryCode
properties isRef 0minOcc 0maxOcc 1content simple
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
element AddressStructureAddressType diagram
type restriction of xsstring
properties isRef 0minOcc 0maxOcc 1content simple
facets enumeration StreetAddressenumeration PostalAddressenumeration enumeration enumeration
annotation documentationField to differentiate between multiple addresses To indicate the type of address Choose from the predefined enumeration (examples StreetAddress PostalAddress BillingAddress)
complexType AmountStructure diagram
children Amount CurrencyCode CurrencyAmount ExchangeRate
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementAmount AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsAmountPaidPerUnit AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursAmountPaidPerUnit
2145
annotation documentation[Common to all SAFs] A common structure used wherever an amount is required Monetary amount with optional foreign currency exchange rate information
element AmountStructureAmount diagram
type SAFmonetaryType
properties isRef 0content simple
facets totalDigits 18fractionDigits 2
annotation documentationIn the default currency as shown in the SAF-P header
element AmountStructureCurrencyCode diagram
type ISOCurrencyCode
properties isRef 0content simple
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for Euros or USD for American Dollars
element AmountStructureCurrencyAmount diagram
type SAFmonetaryType
properties isRef 0content simple
facets totalDigits 18fractionDigits 2
annotation documentationAmount in the currency referred to by the CurrencyCode above
element AmountStructureExchangeRate diagram
type SAFexchangerateType
properties isRef 0minOcc 0maxOcc 1content simple
facets totalDigits 18fractionDigits 8
annotation documentationThe exchange rate used It should be reported in accordance with the formula CurrencyAmount x ExchangeRate = Amount
complexType BankAccountStructure diagram
2245
children IBANNumber BankAccountNumber BankAccountName SortCode
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeBankAccount AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementBankAccount CompanyHeaderStructureBankAccount CompanyStructureBankAccount
annotation documentation[Common to all SAFs] Bank account number information IBAN number or account number with optional information
element BankAccountStructureIBANNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationInternational Bank Account Number ISO 13616
element BankAccountStructureBankAccountNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationThe number allocated to the account by the individuals or companys own bank
element BankAccountStructureBankAccountName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
annotation documentationThe name of the individual or company holding the bank account
element BankAccountStructureSortCode
2345
diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationIdentifier for the bank branch at which the account is held May be needed to uniquely identify the account
complexType CompanyHeaderStructure diagram
type restriction of CompanyStructure
properties base CompanyStructure
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
used by element HeaderStructureCompany
annotation documentation[Common to all SAFs] CompanyStructure with mandatory RegistrationNumber and Telephone (Contact)
element CompanyHeaderStructureRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number to identify the company in the accounting records issued by a government body or created by the company for internal purposes to identify different entities within their corporate group
element CompanyHeaderStructureName diagram
type SAFmiddle2textType
properties isRef 0content simple
2445
facets maxLength 70
element CompanyHeaderStructureAddress diagram
type AddressStructure
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
element CompanyHeaderStructureContact diagram
type ContactHeaderStructure
2545
properties isRef 0minOcc 1
maxOcc unboundedcontent complex
children ContactPerson Telephone Fax Email Website
element CompanyHeaderStructureTaxRegistration diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
element CompanyHeaderStructureBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
complexType CompanyStructure
2645
diagram
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
used by element AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchDetailscomplexType CompanyHeaderStructure
annotation documentation[Common to all SAFs] Name address contact and identification information of a company or employer
element CompanyStructureRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationUnique number to identify the company in the accounting records issued by a government authority or created by the company for internal purposes to identify different entities within their corporate group
element CompanyStructureName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element CompanyStructureAddress diagram
2745
type AddressStructure
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
element CompanyStructureContact diagram
type ContactInformationStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children ContactPerson Telephone Fax Email Website
2845
element CompanyStructureTaxRegistration diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
element CompanyStructureBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
complexType ContactHeaderStructure
2945
diagram
type restriction of ContactInformationStructure
properties base ContactInformationStructure
children ContactPerson Telephone Fax Email Website
used by element CompanyHeaderStructureContact
annotation documentation[Common to all SAFs] ContactInformationStructure with madatory TelephoneNumber
element ContactHeaderStructureContactPerson diagram
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactHeaderStructureTelephone diagram
type SAFshorttextType
3045
properties isRef 0content simple
facets maxLength 18
element ContactHeaderStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactHeaderStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element ContactHeaderStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType ContactInformationStructure diagram
children ContactPerson Telephone Fax Email Website
used by elements AuditFilePayrollHeaderPayrollBureauContact CompanyStructureContactcomplexType ContactHeaderStructure
annotation documentation[Common to all SAFs] Contact information of a company or employer
element ContactInformationStructureContactPerson diagram
3145
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactInformationStructureTelephone diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
3245
facets maxLength 70
element ContactInformationStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType HeaderStructure diagram
children AuditFileVersion AuditFileCountry AuditFileRegion AuditFileDateCreated SoftwareCompanyName SoftwareID SoftwareVersion Company DefaultCurrencyCode SelectionCriteria HeaderComment
used by element AuditFilePayrollHeader
annotation documentation[Common to all SAFs] Overall information about this Standard Auditfile
element HeaderStructureAuditFileVersion
3345
diagram
type SAFcodeType
properties isRef 0content simple
facets maxLength 9
annotation documentationIdentification of the Standard Audit File SAF-P version being used
element HeaderStructureAuditFileCountry diagram
type ISOCountryCode
properties isRef 0content simple
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
element HeaderStructureAuditFileRegion diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationCountry specific code to indicate regions provinces within the tax jurisdiction Preferably described according to ISO 3166-2 Example GB-KEN for Kent county in the United Kingdom
element HeaderStructureAuditFileDateCreated diagram
type xsdate
properties isRef 0content simple
annotation documentationDate of production of SAF-P
element HeaderStructureSoftwareCompanyName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
annotation documentationName of the software company whose product created the SAF-P
element HeaderStructureSoftwareID diagram
3445
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationName of the Software that generated the SAF-P
element HeaderStructureSoftwareVersion diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationVersion of the software that created the SAF-P
element HeaderStructureCompany diagram
type CompanyHeaderStructure
properties isRef 0content complex
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
annotation documentationEmployers name and address details
element HeaderStructureDefaultCurrencyCode diagram
type ISOCurrencyCode
properties isRef 0content simple
facets length 3
annotation documentationThree letter Currency Code (ISO 4217) of local currency which is the default for the SAF
element HeaderStructureSelectionCriteria
3545
diagram
type SelectionCriteriaStructure
properties isRef 0minOcc 0maxOcc 1content complex
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
annotation documentationCriteria set by the user to populate the SAF-P
element HeaderStructureHeaderComment diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
3645
facets maxLength 256
annotation documentationSpace for any further generic comments on the SAF-P Revenue Bodies should consider what information they would expect to see here
complexType IdentificationStructure diagram
children IdentificationType IdentificationNumber DateValidUntil PlaceOfIssue DateOfIssue
used by element AuditFilePayrollMasterFilesEmployeesEmployeeIdentification
annotation documentationIdentification Document data This section is used when employers need to demonstrate that they have seen proof of an employees identity
element IdentificationStructureIdentificationType diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationThe type of identity document supplied to the employer Revenue bodies may wish to prescribe a specific list of codes
element IdentificationStructureIdentificationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number on the identification document
element IdentificationStructureDateValidUntil diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
element IdentificationStructurePlaceOfIssue diagram
type SAFmiddle1textType
3745
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
element IdentificationStructureDateOfIssue diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
complexType PersonNameStructure diagram
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
used by elements ContactHeaderStructureContactPerson ContactInformationStructureContactPerson AuditFilePayrollMasterFilesEmployeesEmployeeName
annotation documentation[Common to all SAFs] All information about the name of a natural (non-corporate) person
element PersonNameStructureTitle diagram
type SAFcodeType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 9
element PersonNameStructureFirstName diagram
type SAFmiddle1textType
properties isRef 0content simple
3845
facets maxLength 35
element PersonNameStructureInitials diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element PersonNameStructureLastNamePrefix diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA textual expression of a prefix that precedes this persons family name such as Van Von
element PersonNameStructureLastName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element PersonNameStructureBirthName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element PersonNameStructureSalutation diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA formal sign or expression of greeting expressed as text that is appropriate for this person such as Sir or Madam
element PersonNameStructureOtherTitles diagram
type SAFshorttextType
3945
properties isRef 0minOcc 0
maxOcc unboundedcontent simple
facets maxLength 18
complexType SelectionCriteriaStructure diagram
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
used by element HeaderStructureSelectionCriteria
annotation documentation[Common to all SAFs] The selection criteria used to generate this Standard Auditfile
element SelectionCriteriaStructureTaxReportingJurisdiction diagram
type SAFmiddle1textType
4045
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationIdentifies the tax jurisdiction for whose purpose the SAF has been created Principally for use where a single Revenue body covers more than one territory
element SelectionCriteriaStructureCompanyEntity diagram
type SAFmiddle2textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 70
annotation documentationFor use where data has been extracted from the full data set by reference to a specific corporate entity
element SelectionCriteriaStructureSelectionStartDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe start date for the reporting period covered by the SAF
element SelectionCriteriaStructureSelectionEndDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe end date for the reporting period covered by the SAF
element SelectionCriteriaStructurePeriodStart diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe first Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodStartYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodStart falls
element SelectionCriteriaStructurePeriodEnd
4145
diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe last Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodEndYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodEnd falls
element SelectionCriteriaStructureDocumentType diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationType of documents selected For use where the data has been restricted by reference to particular transaction types
element SelectionCriteriaStructureOtherCriteria diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc unboundedcontent simple
facets maxLength 256
annotation documentationAny other criteria used in selecting data Individual Revenue Bodies may wish to draw up a list of other acceptable selection criteria for use within their jurisdiction
complexType TaxIDStructure diagram
4245
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeRegistrationNumbers CompanyHeaderStructureTaxRegistration CompanyStructureTaxRegistration
annotation documentation[Common to all SAFs] Tax information for a company or employer
element TaxIDStructureTaxRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number issued by Revenue Body for use by the employer
element TaxIDStructureTaxType diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationFor use where information reported in the SAF-P covers more than one type of tax regime to identify the type of tax regime to which this entry relates
element TaxIDStructureTaxNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
4345
annotation documentationThe tax registration number for the particular tax regime referred to by TaxType
element TaxIDStructureTaxAuthority diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
annotation documentationIdentification of the Revenue Body to which this TaxType refers
element TaxIDStructureTaxVerificationDate diagram
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date that the tax registration details referred to above were last checked
simpleType ISOCountryCode type restriction of xsstring
used by elements HeaderStructureAuditFileCountry AddressStructureCountry
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
simpleType ISOCurrencyCode type restriction of xsstring
used by elements AmountStructureCurrencyCode HeaderStructureDefaultCurrencyCode
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for the Euros or USD for American Dollars
simpleType SAFcodeType type restriction of xsstring
used by elements HeaderStructureAuditFileRegion HeaderStructureAuditFileVersion TaxIDStructureTaxType PersonNameStructureTitle
facets maxLength 9
annotation documentationText of max 9 characters
simpleType SAFexchangerateType type restriction of xsdecimal
used by element AmountStructureExchangeRate
facets totalDigits 18fractionDigits 8
annotation documentation18 digits max of which 8 can be fractional digits
simpleType SAFlongtextType type restriction of xsstring
used by elements AuditFilePayrollTransactionFilesEmploymentBranchID AuditFilePayrollTransactionFilesEmploymentDepartment SelectionCriteriaStructureDocumentType AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeWorkReferenceNumber HeaderStructureHeaderComment AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType AuditFilePayrollTransactionFilesEmploymentJobTitle SelectionCriteriaStructureOtherCriteria AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementDescription HeaderStructureSoftwareID AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
facets maxLength 256
annotation documentation256 character text
simpleType SAFmiddle1textType type restriction of xsstring
4445
used by elements BankAccountStructureBankAccountNumber AddressStructureBuilding AddressStructureCity PersonNameStructureFirstName BankAccountStructureIBANNumber IdentificationStructureIdentificationNumber AuditFilePayrollHeaderPayrollBureauName IdentificationStructurePlaceOfIssue AddressStructureRegion CompanyHeaderStructureRegistrationNumber CompanyStructureRegistrationNumber TaxIDStructureTaxAuthority TaxIDStructureTaxNumber TaxIDStructureTaxRegistrationNumber SelectionCriteriaStructureTaxReportingJurisdiction
facets maxLength 35
annotation documentation35 character text
simpleType SAFmiddle2textType type restriction of xsstring
used by elements AddressStructureAdditionalAddressDetail BankAccountStructureBankAccountName PersonNameStructureBirthName SelectionCriteriaStructureCompanyEntity ContactHeaderStructureEmail ContactInformationStructureEmail PersonNameStructureLastName CompanyHeaderStructureName CompanyStructureName HeaderStructureSoftwareCompanyName AddressStructureStreetName
facets maxLength 70
annotation documentation70 character text
simpleType SAFmonetaryType type restriction of xsdecimal
used by elements AmountStructureAmount AmountStructureCurrencyAmount
facets totalDigits 18fractionDigits 2
annotation documentationMonetary amount18 digits max of which 2 can be fractional digits
simpleType SAFquantityType type restriction of xsdecimal
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits
facets totalDigits 22fractionDigits 6
annotation documentationUsed to describe a quantity Monetary amount 22 digits max of which 6 can be fractional digits
simpleType SAFshorttextType type restriction of xsstring
used by elements AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchID ContactHeaderStructureFax ContactInformationStructureFax IdentificationStructureIdentificationType PersonNameStructureInitials PersonNameStructureLastNamePrefix AddressStructureNumber PersonNameStructureOtherTitles AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayFrequency AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementID AddressStructurePostalCode PersonNameStructureSalutation HeaderStructureSoftwareVersion BankAccountStructureSortCode ContactHeaderStructureTelephone ContactInformationStructureTelephone
facets maxLength 18
annotation documentation18 character text
simpleType SAFweightType type restriction of xsdecimal
facets totalDigits 14fractionDigits 3
annotation documentationDescribes a weight Monetary amount14 digits max of which 3 can be fractional digits
XML Schema documentation generated by XMLSpy Schema Editor httpwwwaltovacomxmlspy
4545
- Footer Guidance for the Standard Audit File ndash Payroll Version 10 Appendix B Schema
- Header Page
properties isRef 0minOcc 0maxOcc 1content complex
children IBANNumber BankAccountNumber BankAccountName SortCode
annotation documentationCross reference to bank account details in master files
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetails diagram
properties isRef 0minOcc 0
maxOcc unboundedcontent complex
children NumberOfUnits AmountPaidPerUnit UnitDescription
annotation documentationPayment details
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits diagram
type SAFquantityType
properties isRef 0content simple
facets totalDigits 22fractionDigits 6
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsAmountPaidPerUnit diagram
type AmountStructure
properties isRef 0content complex
children Amount CurrencyCode CurrencyAmount ExchangeRate
annotation documentationBasic amount shown in default currency as defined in the header Option to show amount in local currency also
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
1745
diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationDescription of units per which payment is made eg hours days
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHours diagram
properties isRef 0minOcc 0
maxOcc unboundedcontent complex
children HourType NumberOfHours AmountPaidPerUnit
annotation documentationTo allow SAF-P to report payroll amounts attributable to specific types of employee activity
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationThe type of activity being reported on Revenue Bodies may wish to prescribe a list of activity codes
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours diagram
type SAFquantityType
properties isRef 0content simple
facets totalDigits 22fractionDigits 6
annotation documentationThe umber of hours being reported under the activity type
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursAmountPaidPerUnit
1845
diagram
type AmountStructure
properties isRef 0minOcc 0maxOcc 1content complex
children Amount CurrencyCode CurrencyAmount ExchangeRate
annotation documentationThe hourly rate for the activity being reported upon
complexType AddressStructure diagram
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
used by elements AuditFilePayrollHeaderPayrollBureauAddress AuditFilePayrollMasterFilesEmployeesEmployeeAddress CompanyHeaderStructureAddress CompanyStructureAddress
1945
annotation documentation[Common to all SAFs] A common structure used wherever an address is required
element AddressStructureStreetName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element AddressStructureNumber diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element AddressStructureAdditionalAddressDetail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element AddressStructureBuilding diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
element AddressStructureCity diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
element AddressStructurePostalCode diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
element AddressStructureRegion
2045
diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationCountry specific code to indicate regions provinces within the tax authority Preferably described according to ISO 3166-2 Example GB-KEN for Kent county in the United Kingdom
element AddressStructureCountry diagram
type ISOCountryCode
properties isRef 0minOcc 0maxOcc 1content simple
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
element AddressStructureAddressType diagram
type restriction of xsstring
properties isRef 0minOcc 0maxOcc 1content simple
facets enumeration StreetAddressenumeration PostalAddressenumeration enumeration enumeration
annotation documentationField to differentiate between multiple addresses To indicate the type of address Choose from the predefined enumeration (examples StreetAddress PostalAddress BillingAddress)
complexType AmountStructure diagram
children Amount CurrencyCode CurrencyAmount ExchangeRate
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementAmount AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsAmountPaidPerUnit AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursAmountPaidPerUnit
2145
annotation documentation[Common to all SAFs] A common structure used wherever an amount is required Monetary amount with optional foreign currency exchange rate information
element AmountStructureAmount diagram
type SAFmonetaryType
properties isRef 0content simple
facets totalDigits 18fractionDigits 2
annotation documentationIn the default currency as shown in the SAF-P header
element AmountStructureCurrencyCode diagram
type ISOCurrencyCode
properties isRef 0content simple
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for Euros or USD for American Dollars
element AmountStructureCurrencyAmount diagram
type SAFmonetaryType
properties isRef 0content simple
facets totalDigits 18fractionDigits 2
annotation documentationAmount in the currency referred to by the CurrencyCode above
element AmountStructureExchangeRate diagram
type SAFexchangerateType
properties isRef 0minOcc 0maxOcc 1content simple
facets totalDigits 18fractionDigits 8
annotation documentationThe exchange rate used It should be reported in accordance with the formula CurrencyAmount x ExchangeRate = Amount
complexType BankAccountStructure diagram
2245
children IBANNumber BankAccountNumber BankAccountName SortCode
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeBankAccount AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementBankAccount CompanyHeaderStructureBankAccount CompanyStructureBankAccount
annotation documentation[Common to all SAFs] Bank account number information IBAN number or account number with optional information
element BankAccountStructureIBANNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationInternational Bank Account Number ISO 13616
element BankAccountStructureBankAccountNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationThe number allocated to the account by the individuals or companys own bank
element BankAccountStructureBankAccountName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
annotation documentationThe name of the individual or company holding the bank account
element BankAccountStructureSortCode
2345
diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationIdentifier for the bank branch at which the account is held May be needed to uniquely identify the account
complexType CompanyHeaderStructure diagram
type restriction of CompanyStructure
properties base CompanyStructure
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
used by element HeaderStructureCompany
annotation documentation[Common to all SAFs] CompanyStructure with mandatory RegistrationNumber and Telephone (Contact)
element CompanyHeaderStructureRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number to identify the company in the accounting records issued by a government body or created by the company for internal purposes to identify different entities within their corporate group
element CompanyHeaderStructureName diagram
type SAFmiddle2textType
properties isRef 0content simple
2445
facets maxLength 70
element CompanyHeaderStructureAddress diagram
type AddressStructure
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
element CompanyHeaderStructureContact diagram
type ContactHeaderStructure
2545
properties isRef 0minOcc 1
maxOcc unboundedcontent complex
children ContactPerson Telephone Fax Email Website
element CompanyHeaderStructureTaxRegistration diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
element CompanyHeaderStructureBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
complexType CompanyStructure
2645
diagram
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
used by element AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchDetailscomplexType CompanyHeaderStructure
annotation documentation[Common to all SAFs] Name address contact and identification information of a company or employer
element CompanyStructureRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationUnique number to identify the company in the accounting records issued by a government authority or created by the company for internal purposes to identify different entities within their corporate group
element CompanyStructureName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element CompanyStructureAddress diagram
2745
type AddressStructure
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
element CompanyStructureContact diagram
type ContactInformationStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children ContactPerson Telephone Fax Email Website
2845
element CompanyStructureTaxRegistration diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
element CompanyStructureBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
complexType ContactHeaderStructure
2945
diagram
type restriction of ContactInformationStructure
properties base ContactInformationStructure
children ContactPerson Telephone Fax Email Website
used by element CompanyHeaderStructureContact
annotation documentation[Common to all SAFs] ContactInformationStructure with madatory TelephoneNumber
element ContactHeaderStructureContactPerson diagram
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactHeaderStructureTelephone diagram
type SAFshorttextType
3045
properties isRef 0content simple
facets maxLength 18
element ContactHeaderStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactHeaderStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element ContactHeaderStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType ContactInformationStructure diagram
children ContactPerson Telephone Fax Email Website
used by elements AuditFilePayrollHeaderPayrollBureauContact CompanyStructureContactcomplexType ContactHeaderStructure
annotation documentation[Common to all SAFs] Contact information of a company or employer
element ContactInformationStructureContactPerson diagram
3145
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactInformationStructureTelephone diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
3245
facets maxLength 70
element ContactInformationStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType HeaderStructure diagram
children AuditFileVersion AuditFileCountry AuditFileRegion AuditFileDateCreated SoftwareCompanyName SoftwareID SoftwareVersion Company DefaultCurrencyCode SelectionCriteria HeaderComment
used by element AuditFilePayrollHeader
annotation documentation[Common to all SAFs] Overall information about this Standard Auditfile
element HeaderStructureAuditFileVersion
3345
diagram
type SAFcodeType
properties isRef 0content simple
facets maxLength 9
annotation documentationIdentification of the Standard Audit File SAF-P version being used
element HeaderStructureAuditFileCountry diagram
type ISOCountryCode
properties isRef 0content simple
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
element HeaderStructureAuditFileRegion diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationCountry specific code to indicate regions provinces within the tax jurisdiction Preferably described according to ISO 3166-2 Example GB-KEN for Kent county in the United Kingdom
element HeaderStructureAuditFileDateCreated diagram
type xsdate
properties isRef 0content simple
annotation documentationDate of production of SAF-P
element HeaderStructureSoftwareCompanyName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
annotation documentationName of the software company whose product created the SAF-P
element HeaderStructureSoftwareID diagram
3445
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationName of the Software that generated the SAF-P
element HeaderStructureSoftwareVersion diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationVersion of the software that created the SAF-P
element HeaderStructureCompany diagram
type CompanyHeaderStructure
properties isRef 0content complex
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
annotation documentationEmployers name and address details
element HeaderStructureDefaultCurrencyCode diagram
type ISOCurrencyCode
properties isRef 0content simple
facets length 3
annotation documentationThree letter Currency Code (ISO 4217) of local currency which is the default for the SAF
element HeaderStructureSelectionCriteria
3545
diagram
type SelectionCriteriaStructure
properties isRef 0minOcc 0maxOcc 1content complex
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
annotation documentationCriteria set by the user to populate the SAF-P
element HeaderStructureHeaderComment diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
3645
facets maxLength 256
annotation documentationSpace for any further generic comments on the SAF-P Revenue Bodies should consider what information they would expect to see here
complexType IdentificationStructure diagram
children IdentificationType IdentificationNumber DateValidUntil PlaceOfIssue DateOfIssue
used by element AuditFilePayrollMasterFilesEmployeesEmployeeIdentification
annotation documentationIdentification Document data This section is used when employers need to demonstrate that they have seen proof of an employees identity
element IdentificationStructureIdentificationType diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationThe type of identity document supplied to the employer Revenue bodies may wish to prescribe a specific list of codes
element IdentificationStructureIdentificationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number on the identification document
element IdentificationStructureDateValidUntil diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
element IdentificationStructurePlaceOfIssue diagram
type SAFmiddle1textType
3745
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
element IdentificationStructureDateOfIssue diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
complexType PersonNameStructure diagram
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
used by elements ContactHeaderStructureContactPerson ContactInformationStructureContactPerson AuditFilePayrollMasterFilesEmployeesEmployeeName
annotation documentation[Common to all SAFs] All information about the name of a natural (non-corporate) person
element PersonNameStructureTitle diagram
type SAFcodeType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 9
element PersonNameStructureFirstName diagram
type SAFmiddle1textType
properties isRef 0content simple
3845
facets maxLength 35
element PersonNameStructureInitials diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element PersonNameStructureLastNamePrefix diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA textual expression of a prefix that precedes this persons family name such as Van Von
element PersonNameStructureLastName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element PersonNameStructureBirthName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element PersonNameStructureSalutation diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA formal sign or expression of greeting expressed as text that is appropriate for this person such as Sir or Madam
element PersonNameStructureOtherTitles diagram
type SAFshorttextType
3945
properties isRef 0minOcc 0
maxOcc unboundedcontent simple
facets maxLength 18
complexType SelectionCriteriaStructure diagram
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
used by element HeaderStructureSelectionCriteria
annotation documentation[Common to all SAFs] The selection criteria used to generate this Standard Auditfile
element SelectionCriteriaStructureTaxReportingJurisdiction diagram
type SAFmiddle1textType
4045
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationIdentifies the tax jurisdiction for whose purpose the SAF has been created Principally for use where a single Revenue body covers more than one territory
element SelectionCriteriaStructureCompanyEntity diagram
type SAFmiddle2textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 70
annotation documentationFor use where data has been extracted from the full data set by reference to a specific corporate entity
element SelectionCriteriaStructureSelectionStartDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe start date for the reporting period covered by the SAF
element SelectionCriteriaStructureSelectionEndDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe end date for the reporting period covered by the SAF
element SelectionCriteriaStructurePeriodStart diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe first Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodStartYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodStart falls
element SelectionCriteriaStructurePeriodEnd
4145
diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe last Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodEndYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodEnd falls
element SelectionCriteriaStructureDocumentType diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationType of documents selected For use where the data has been restricted by reference to particular transaction types
element SelectionCriteriaStructureOtherCriteria diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc unboundedcontent simple
facets maxLength 256
annotation documentationAny other criteria used in selecting data Individual Revenue Bodies may wish to draw up a list of other acceptable selection criteria for use within their jurisdiction
complexType TaxIDStructure diagram
4245
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeRegistrationNumbers CompanyHeaderStructureTaxRegistration CompanyStructureTaxRegistration
annotation documentation[Common to all SAFs] Tax information for a company or employer
element TaxIDStructureTaxRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number issued by Revenue Body for use by the employer
element TaxIDStructureTaxType diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationFor use where information reported in the SAF-P covers more than one type of tax regime to identify the type of tax regime to which this entry relates
element TaxIDStructureTaxNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
4345
annotation documentationThe tax registration number for the particular tax regime referred to by TaxType
element TaxIDStructureTaxAuthority diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
annotation documentationIdentification of the Revenue Body to which this TaxType refers
element TaxIDStructureTaxVerificationDate diagram
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date that the tax registration details referred to above were last checked
simpleType ISOCountryCode type restriction of xsstring
used by elements HeaderStructureAuditFileCountry AddressStructureCountry
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
simpleType ISOCurrencyCode type restriction of xsstring
used by elements AmountStructureCurrencyCode HeaderStructureDefaultCurrencyCode
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for the Euros or USD for American Dollars
simpleType SAFcodeType type restriction of xsstring
used by elements HeaderStructureAuditFileRegion HeaderStructureAuditFileVersion TaxIDStructureTaxType PersonNameStructureTitle
facets maxLength 9
annotation documentationText of max 9 characters
simpleType SAFexchangerateType type restriction of xsdecimal
used by element AmountStructureExchangeRate
facets totalDigits 18fractionDigits 8
annotation documentation18 digits max of which 8 can be fractional digits
simpleType SAFlongtextType type restriction of xsstring
used by elements AuditFilePayrollTransactionFilesEmploymentBranchID AuditFilePayrollTransactionFilesEmploymentDepartment SelectionCriteriaStructureDocumentType AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeWorkReferenceNumber HeaderStructureHeaderComment AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType AuditFilePayrollTransactionFilesEmploymentJobTitle SelectionCriteriaStructureOtherCriteria AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementDescription HeaderStructureSoftwareID AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
facets maxLength 256
annotation documentation256 character text
simpleType SAFmiddle1textType type restriction of xsstring
4445
used by elements BankAccountStructureBankAccountNumber AddressStructureBuilding AddressStructureCity PersonNameStructureFirstName BankAccountStructureIBANNumber IdentificationStructureIdentificationNumber AuditFilePayrollHeaderPayrollBureauName IdentificationStructurePlaceOfIssue AddressStructureRegion CompanyHeaderStructureRegistrationNumber CompanyStructureRegistrationNumber TaxIDStructureTaxAuthority TaxIDStructureTaxNumber TaxIDStructureTaxRegistrationNumber SelectionCriteriaStructureTaxReportingJurisdiction
facets maxLength 35
annotation documentation35 character text
simpleType SAFmiddle2textType type restriction of xsstring
used by elements AddressStructureAdditionalAddressDetail BankAccountStructureBankAccountName PersonNameStructureBirthName SelectionCriteriaStructureCompanyEntity ContactHeaderStructureEmail ContactInformationStructureEmail PersonNameStructureLastName CompanyHeaderStructureName CompanyStructureName HeaderStructureSoftwareCompanyName AddressStructureStreetName
facets maxLength 70
annotation documentation70 character text
simpleType SAFmonetaryType type restriction of xsdecimal
used by elements AmountStructureAmount AmountStructureCurrencyAmount
facets totalDigits 18fractionDigits 2
annotation documentationMonetary amount18 digits max of which 2 can be fractional digits
simpleType SAFquantityType type restriction of xsdecimal
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits
facets totalDigits 22fractionDigits 6
annotation documentationUsed to describe a quantity Monetary amount 22 digits max of which 6 can be fractional digits
simpleType SAFshorttextType type restriction of xsstring
used by elements AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchID ContactHeaderStructureFax ContactInformationStructureFax IdentificationStructureIdentificationType PersonNameStructureInitials PersonNameStructureLastNamePrefix AddressStructureNumber PersonNameStructureOtherTitles AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayFrequency AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementID AddressStructurePostalCode PersonNameStructureSalutation HeaderStructureSoftwareVersion BankAccountStructureSortCode ContactHeaderStructureTelephone ContactInformationStructureTelephone
facets maxLength 18
annotation documentation18 character text
simpleType SAFweightType type restriction of xsdecimal
facets totalDigits 14fractionDigits 3
annotation documentationDescribes a weight Monetary amount14 digits max of which 3 can be fractional digits
XML Schema documentation generated by XMLSpy Schema Editor httpwwwaltovacomxmlspy
4545
- Footer Guidance for the Standard Audit File ndash Payroll Version 10 Appendix B Schema
- Header Page
diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationDescription of units per which payment is made eg hours days
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHours diagram
properties isRef 0minOcc 0
maxOcc unboundedcontent complex
children HourType NumberOfHours AmountPaidPerUnit
annotation documentationTo allow SAF-P to report payroll amounts attributable to specific types of employee activity
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType diagram
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationThe type of activity being reported on Revenue Bodies may wish to prescribe a list of activity codes
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours diagram
type SAFquantityType
properties isRef 0content simple
facets totalDigits 22fractionDigits 6
annotation documentationThe umber of hours being reported under the activity type
element AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursAmountPaidPerUnit
1845
diagram
type AmountStructure
properties isRef 0minOcc 0maxOcc 1content complex
children Amount CurrencyCode CurrencyAmount ExchangeRate
annotation documentationThe hourly rate for the activity being reported upon
complexType AddressStructure diagram
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
used by elements AuditFilePayrollHeaderPayrollBureauAddress AuditFilePayrollMasterFilesEmployeesEmployeeAddress CompanyHeaderStructureAddress CompanyStructureAddress
1945
annotation documentation[Common to all SAFs] A common structure used wherever an address is required
element AddressStructureStreetName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element AddressStructureNumber diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element AddressStructureAdditionalAddressDetail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element AddressStructureBuilding diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
element AddressStructureCity diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
element AddressStructurePostalCode diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
element AddressStructureRegion
2045
diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationCountry specific code to indicate regions provinces within the tax authority Preferably described according to ISO 3166-2 Example GB-KEN for Kent county in the United Kingdom
element AddressStructureCountry diagram
type ISOCountryCode
properties isRef 0minOcc 0maxOcc 1content simple
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
element AddressStructureAddressType diagram
type restriction of xsstring
properties isRef 0minOcc 0maxOcc 1content simple
facets enumeration StreetAddressenumeration PostalAddressenumeration enumeration enumeration
annotation documentationField to differentiate between multiple addresses To indicate the type of address Choose from the predefined enumeration (examples StreetAddress PostalAddress BillingAddress)
complexType AmountStructure diagram
children Amount CurrencyCode CurrencyAmount ExchangeRate
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementAmount AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsAmountPaidPerUnit AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursAmountPaidPerUnit
2145
annotation documentation[Common to all SAFs] A common structure used wherever an amount is required Monetary amount with optional foreign currency exchange rate information
element AmountStructureAmount diagram
type SAFmonetaryType
properties isRef 0content simple
facets totalDigits 18fractionDigits 2
annotation documentationIn the default currency as shown in the SAF-P header
element AmountStructureCurrencyCode diagram
type ISOCurrencyCode
properties isRef 0content simple
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for Euros or USD for American Dollars
element AmountStructureCurrencyAmount diagram
type SAFmonetaryType
properties isRef 0content simple
facets totalDigits 18fractionDigits 2
annotation documentationAmount in the currency referred to by the CurrencyCode above
element AmountStructureExchangeRate diagram
type SAFexchangerateType
properties isRef 0minOcc 0maxOcc 1content simple
facets totalDigits 18fractionDigits 8
annotation documentationThe exchange rate used It should be reported in accordance with the formula CurrencyAmount x ExchangeRate = Amount
complexType BankAccountStructure diagram
2245
children IBANNumber BankAccountNumber BankAccountName SortCode
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeBankAccount AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementBankAccount CompanyHeaderStructureBankAccount CompanyStructureBankAccount
annotation documentation[Common to all SAFs] Bank account number information IBAN number or account number with optional information
element BankAccountStructureIBANNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationInternational Bank Account Number ISO 13616
element BankAccountStructureBankAccountNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationThe number allocated to the account by the individuals or companys own bank
element BankAccountStructureBankAccountName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
annotation documentationThe name of the individual or company holding the bank account
element BankAccountStructureSortCode
2345
diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationIdentifier for the bank branch at which the account is held May be needed to uniquely identify the account
complexType CompanyHeaderStructure diagram
type restriction of CompanyStructure
properties base CompanyStructure
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
used by element HeaderStructureCompany
annotation documentation[Common to all SAFs] CompanyStructure with mandatory RegistrationNumber and Telephone (Contact)
element CompanyHeaderStructureRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number to identify the company in the accounting records issued by a government body or created by the company for internal purposes to identify different entities within their corporate group
element CompanyHeaderStructureName diagram
type SAFmiddle2textType
properties isRef 0content simple
2445
facets maxLength 70
element CompanyHeaderStructureAddress diagram
type AddressStructure
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
element CompanyHeaderStructureContact diagram
type ContactHeaderStructure
2545
properties isRef 0minOcc 1
maxOcc unboundedcontent complex
children ContactPerson Telephone Fax Email Website
element CompanyHeaderStructureTaxRegistration diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
element CompanyHeaderStructureBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
complexType CompanyStructure
2645
diagram
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
used by element AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchDetailscomplexType CompanyHeaderStructure
annotation documentation[Common to all SAFs] Name address contact and identification information of a company or employer
element CompanyStructureRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationUnique number to identify the company in the accounting records issued by a government authority or created by the company for internal purposes to identify different entities within their corporate group
element CompanyStructureName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element CompanyStructureAddress diagram
2745
type AddressStructure
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
element CompanyStructureContact diagram
type ContactInformationStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children ContactPerson Telephone Fax Email Website
2845
element CompanyStructureTaxRegistration diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
element CompanyStructureBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
complexType ContactHeaderStructure
2945
diagram
type restriction of ContactInformationStructure
properties base ContactInformationStructure
children ContactPerson Telephone Fax Email Website
used by element CompanyHeaderStructureContact
annotation documentation[Common to all SAFs] ContactInformationStructure with madatory TelephoneNumber
element ContactHeaderStructureContactPerson diagram
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactHeaderStructureTelephone diagram
type SAFshorttextType
3045
properties isRef 0content simple
facets maxLength 18
element ContactHeaderStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactHeaderStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element ContactHeaderStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType ContactInformationStructure diagram
children ContactPerson Telephone Fax Email Website
used by elements AuditFilePayrollHeaderPayrollBureauContact CompanyStructureContactcomplexType ContactHeaderStructure
annotation documentation[Common to all SAFs] Contact information of a company or employer
element ContactInformationStructureContactPerson diagram
3145
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactInformationStructureTelephone diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
3245
facets maxLength 70
element ContactInformationStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType HeaderStructure diagram
children AuditFileVersion AuditFileCountry AuditFileRegion AuditFileDateCreated SoftwareCompanyName SoftwareID SoftwareVersion Company DefaultCurrencyCode SelectionCriteria HeaderComment
used by element AuditFilePayrollHeader
annotation documentation[Common to all SAFs] Overall information about this Standard Auditfile
element HeaderStructureAuditFileVersion
3345
diagram
type SAFcodeType
properties isRef 0content simple
facets maxLength 9
annotation documentationIdentification of the Standard Audit File SAF-P version being used
element HeaderStructureAuditFileCountry diagram
type ISOCountryCode
properties isRef 0content simple
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
element HeaderStructureAuditFileRegion diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationCountry specific code to indicate regions provinces within the tax jurisdiction Preferably described according to ISO 3166-2 Example GB-KEN for Kent county in the United Kingdom
element HeaderStructureAuditFileDateCreated diagram
type xsdate
properties isRef 0content simple
annotation documentationDate of production of SAF-P
element HeaderStructureSoftwareCompanyName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
annotation documentationName of the software company whose product created the SAF-P
element HeaderStructureSoftwareID diagram
3445
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationName of the Software that generated the SAF-P
element HeaderStructureSoftwareVersion diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationVersion of the software that created the SAF-P
element HeaderStructureCompany diagram
type CompanyHeaderStructure
properties isRef 0content complex
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
annotation documentationEmployers name and address details
element HeaderStructureDefaultCurrencyCode diagram
type ISOCurrencyCode
properties isRef 0content simple
facets length 3
annotation documentationThree letter Currency Code (ISO 4217) of local currency which is the default for the SAF
element HeaderStructureSelectionCriteria
3545
diagram
type SelectionCriteriaStructure
properties isRef 0minOcc 0maxOcc 1content complex
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
annotation documentationCriteria set by the user to populate the SAF-P
element HeaderStructureHeaderComment diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
3645
facets maxLength 256
annotation documentationSpace for any further generic comments on the SAF-P Revenue Bodies should consider what information they would expect to see here
complexType IdentificationStructure diagram
children IdentificationType IdentificationNumber DateValidUntil PlaceOfIssue DateOfIssue
used by element AuditFilePayrollMasterFilesEmployeesEmployeeIdentification
annotation documentationIdentification Document data This section is used when employers need to demonstrate that they have seen proof of an employees identity
element IdentificationStructureIdentificationType diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationThe type of identity document supplied to the employer Revenue bodies may wish to prescribe a specific list of codes
element IdentificationStructureIdentificationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number on the identification document
element IdentificationStructureDateValidUntil diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
element IdentificationStructurePlaceOfIssue diagram
type SAFmiddle1textType
3745
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
element IdentificationStructureDateOfIssue diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
complexType PersonNameStructure diagram
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
used by elements ContactHeaderStructureContactPerson ContactInformationStructureContactPerson AuditFilePayrollMasterFilesEmployeesEmployeeName
annotation documentation[Common to all SAFs] All information about the name of a natural (non-corporate) person
element PersonNameStructureTitle diagram
type SAFcodeType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 9
element PersonNameStructureFirstName diagram
type SAFmiddle1textType
properties isRef 0content simple
3845
facets maxLength 35
element PersonNameStructureInitials diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element PersonNameStructureLastNamePrefix diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA textual expression of a prefix that precedes this persons family name such as Van Von
element PersonNameStructureLastName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element PersonNameStructureBirthName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element PersonNameStructureSalutation diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA formal sign or expression of greeting expressed as text that is appropriate for this person such as Sir or Madam
element PersonNameStructureOtherTitles diagram
type SAFshorttextType
3945
properties isRef 0minOcc 0
maxOcc unboundedcontent simple
facets maxLength 18
complexType SelectionCriteriaStructure diagram
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
used by element HeaderStructureSelectionCriteria
annotation documentation[Common to all SAFs] The selection criteria used to generate this Standard Auditfile
element SelectionCriteriaStructureTaxReportingJurisdiction diagram
type SAFmiddle1textType
4045
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationIdentifies the tax jurisdiction for whose purpose the SAF has been created Principally for use where a single Revenue body covers more than one territory
element SelectionCriteriaStructureCompanyEntity diagram
type SAFmiddle2textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 70
annotation documentationFor use where data has been extracted from the full data set by reference to a specific corporate entity
element SelectionCriteriaStructureSelectionStartDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe start date for the reporting period covered by the SAF
element SelectionCriteriaStructureSelectionEndDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe end date for the reporting period covered by the SAF
element SelectionCriteriaStructurePeriodStart diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe first Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodStartYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodStart falls
element SelectionCriteriaStructurePeriodEnd
4145
diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe last Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodEndYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodEnd falls
element SelectionCriteriaStructureDocumentType diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationType of documents selected For use where the data has been restricted by reference to particular transaction types
element SelectionCriteriaStructureOtherCriteria diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc unboundedcontent simple
facets maxLength 256
annotation documentationAny other criteria used in selecting data Individual Revenue Bodies may wish to draw up a list of other acceptable selection criteria for use within their jurisdiction
complexType TaxIDStructure diagram
4245
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeRegistrationNumbers CompanyHeaderStructureTaxRegistration CompanyStructureTaxRegistration
annotation documentation[Common to all SAFs] Tax information for a company or employer
element TaxIDStructureTaxRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number issued by Revenue Body for use by the employer
element TaxIDStructureTaxType diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationFor use where information reported in the SAF-P covers more than one type of tax regime to identify the type of tax regime to which this entry relates
element TaxIDStructureTaxNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
4345
annotation documentationThe tax registration number for the particular tax regime referred to by TaxType
element TaxIDStructureTaxAuthority diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
annotation documentationIdentification of the Revenue Body to which this TaxType refers
element TaxIDStructureTaxVerificationDate diagram
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date that the tax registration details referred to above were last checked
simpleType ISOCountryCode type restriction of xsstring
used by elements HeaderStructureAuditFileCountry AddressStructureCountry
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
simpleType ISOCurrencyCode type restriction of xsstring
used by elements AmountStructureCurrencyCode HeaderStructureDefaultCurrencyCode
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for the Euros or USD for American Dollars
simpleType SAFcodeType type restriction of xsstring
used by elements HeaderStructureAuditFileRegion HeaderStructureAuditFileVersion TaxIDStructureTaxType PersonNameStructureTitle
facets maxLength 9
annotation documentationText of max 9 characters
simpleType SAFexchangerateType type restriction of xsdecimal
used by element AmountStructureExchangeRate
facets totalDigits 18fractionDigits 8
annotation documentation18 digits max of which 8 can be fractional digits
simpleType SAFlongtextType type restriction of xsstring
used by elements AuditFilePayrollTransactionFilesEmploymentBranchID AuditFilePayrollTransactionFilesEmploymentDepartment SelectionCriteriaStructureDocumentType AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeWorkReferenceNumber HeaderStructureHeaderComment AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType AuditFilePayrollTransactionFilesEmploymentJobTitle SelectionCriteriaStructureOtherCriteria AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementDescription HeaderStructureSoftwareID AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
facets maxLength 256
annotation documentation256 character text
simpleType SAFmiddle1textType type restriction of xsstring
4445
used by elements BankAccountStructureBankAccountNumber AddressStructureBuilding AddressStructureCity PersonNameStructureFirstName BankAccountStructureIBANNumber IdentificationStructureIdentificationNumber AuditFilePayrollHeaderPayrollBureauName IdentificationStructurePlaceOfIssue AddressStructureRegion CompanyHeaderStructureRegistrationNumber CompanyStructureRegistrationNumber TaxIDStructureTaxAuthority TaxIDStructureTaxNumber TaxIDStructureTaxRegistrationNumber SelectionCriteriaStructureTaxReportingJurisdiction
facets maxLength 35
annotation documentation35 character text
simpleType SAFmiddle2textType type restriction of xsstring
used by elements AddressStructureAdditionalAddressDetail BankAccountStructureBankAccountName PersonNameStructureBirthName SelectionCriteriaStructureCompanyEntity ContactHeaderStructureEmail ContactInformationStructureEmail PersonNameStructureLastName CompanyHeaderStructureName CompanyStructureName HeaderStructureSoftwareCompanyName AddressStructureStreetName
facets maxLength 70
annotation documentation70 character text
simpleType SAFmonetaryType type restriction of xsdecimal
used by elements AmountStructureAmount AmountStructureCurrencyAmount
facets totalDigits 18fractionDigits 2
annotation documentationMonetary amount18 digits max of which 2 can be fractional digits
simpleType SAFquantityType type restriction of xsdecimal
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits
facets totalDigits 22fractionDigits 6
annotation documentationUsed to describe a quantity Monetary amount 22 digits max of which 6 can be fractional digits
simpleType SAFshorttextType type restriction of xsstring
used by elements AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchID ContactHeaderStructureFax ContactInformationStructureFax IdentificationStructureIdentificationType PersonNameStructureInitials PersonNameStructureLastNamePrefix AddressStructureNumber PersonNameStructureOtherTitles AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayFrequency AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementID AddressStructurePostalCode PersonNameStructureSalutation HeaderStructureSoftwareVersion BankAccountStructureSortCode ContactHeaderStructureTelephone ContactInformationStructureTelephone
facets maxLength 18
annotation documentation18 character text
simpleType SAFweightType type restriction of xsdecimal
facets totalDigits 14fractionDigits 3
annotation documentationDescribes a weight Monetary amount14 digits max of which 3 can be fractional digits
XML Schema documentation generated by XMLSpy Schema Editor httpwwwaltovacomxmlspy
4545
- Footer Guidance for the Standard Audit File ndash Payroll Version 10 Appendix B Schema
- Header Page
diagram
type AmountStructure
properties isRef 0minOcc 0maxOcc 1content complex
children Amount CurrencyCode CurrencyAmount ExchangeRate
annotation documentationThe hourly rate for the activity being reported upon
complexType AddressStructure diagram
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
used by elements AuditFilePayrollHeaderPayrollBureauAddress AuditFilePayrollMasterFilesEmployeesEmployeeAddress CompanyHeaderStructureAddress CompanyStructureAddress
1945
annotation documentation[Common to all SAFs] A common structure used wherever an address is required
element AddressStructureStreetName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element AddressStructureNumber diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element AddressStructureAdditionalAddressDetail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element AddressStructureBuilding diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
element AddressStructureCity diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
element AddressStructurePostalCode diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
element AddressStructureRegion
2045
diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationCountry specific code to indicate regions provinces within the tax authority Preferably described according to ISO 3166-2 Example GB-KEN for Kent county in the United Kingdom
element AddressStructureCountry diagram
type ISOCountryCode
properties isRef 0minOcc 0maxOcc 1content simple
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
element AddressStructureAddressType diagram
type restriction of xsstring
properties isRef 0minOcc 0maxOcc 1content simple
facets enumeration StreetAddressenumeration PostalAddressenumeration enumeration enumeration
annotation documentationField to differentiate between multiple addresses To indicate the type of address Choose from the predefined enumeration (examples StreetAddress PostalAddress BillingAddress)
complexType AmountStructure diagram
children Amount CurrencyCode CurrencyAmount ExchangeRate
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementAmount AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsAmountPaidPerUnit AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursAmountPaidPerUnit
2145
annotation documentation[Common to all SAFs] A common structure used wherever an amount is required Monetary amount with optional foreign currency exchange rate information
element AmountStructureAmount diagram
type SAFmonetaryType
properties isRef 0content simple
facets totalDigits 18fractionDigits 2
annotation documentationIn the default currency as shown in the SAF-P header
element AmountStructureCurrencyCode diagram
type ISOCurrencyCode
properties isRef 0content simple
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for Euros or USD for American Dollars
element AmountStructureCurrencyAmount diagram
type SAFmonetaryType
properties isRef 0content simple
facets totalDigits 18fractionDigits 2
annotation documentationAmount in the currency referred to by the CurrencyCode above
element AmountStructureExchangeRate diagram
type SAFexchangerateType
properties isRef 0minOcc 0maxOcc 1content simple
facets totalDigits 18fractionDigits 8
annotation documentationThe exchange rate used It should be reported in accordance with the formula CurrencyAmount x ExchangeRate = Amount
complexType BankAccountStructure diagram
2245
children IBANNumber BankAccountNumber BankAccountName SortCode
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeBankAccount AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementBankAccount CompanyHeaderStructureBankAccount CompanyStructureBankAccount
annotation documentation[Common to all SAFs] Bank account number information IBAN number or account number with optional information
element BankAccountStructureIBANNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationInternational Bank Account Number ISO 13616
element BankAccountStructureBankAccountNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationThe number allocated to the account by the individuals or companys own bank
element BankAccountStructureBankAccountName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
annotation documentationThe name of the individual or company holding the bank account
element BankAccountStructureSortCode
2345
diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationIdentifier for the bank branch at which the account is held May be needed to uniquely identify the account
complexType CompanyHeaderStructure diagram
type restriction of CompanyStructure
properties base CompanyStructure
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
used by element HeaderStructureCompany
annotation documentation[Common to all SAFs] CompanyStructure with mandatory RegistrationNumber and Telephone (Contact)
element CompanyHeaderStructureRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number to identify the company in the accounting records issued by a government body or created by the company for internal purposes to identify different entities within their corporate group
element CompanyHeaderStructureName diagram
type SAFmiddle2textType
properties isRef 0content simple
2445
facets maxLength 70
element CompanyHeaderStructureAddress diagram
type AddressStructure
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
element CompanyHeaderStructureContact diagram
type ContactHeaderStructure
2545
properties isRef 0minOcc 1
maxOcc unboundedcontent complex
children ContactPerson Telephone Fax Email Website
element CompanyHeaderStructureTaxRegistration diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
element CompanyHeaderStructureBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
complexType CompanyStructure
2645
diagram
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
used by element AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchDetailscomplexType CompanyHeaderStructure
annotation documentation[Common to all SAFs] Name address contact and identification information of a company or employer
element CompanyStructureRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationUnique number to identify the company in the accounting records issued by a government authority or created by the company for internal purposes to identify different entities within their corporate group
element CompanyStructureName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element CompanyStructureAddress diagram
2745
type AddressStructure
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
element CompanyStructureContact diagram
type ContactInformationStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children ContactPerson Telephone Fax Email Website
2845
element CompanyStructureTaxRegistration diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
element CompanyStructureBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
complexType ContactHeaderStructure
2945
diagram
type restriction of ContactInformationStructure
properties base ContactInformationStructure
children ContactPerson Telephone Fax Email Website
used by element CompanyHeaderStructureContact
annotation documentation[Common to all SAFs] ContactInformationStructure with madatory TelephoneNumber
element ContactHeaderStructureContactPerson diagram
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactHeaderStructureTelephone diagram
type SAFshorttextType
3045
properties isRef 0content simple
facets maxLength 18
element ContactHeaderStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactHeaderStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element ContactHeaderStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType ContactInformationStructure diagram
children ContactPerson Telephone Fax Email Website
used by elements AuditFilePayrollHeaderPayrollBureauContact CompanyStructureContactcomplexType ContactHeaderStructure
annotation documentation[Common to all SAFs] Contact information of a company or employer
element ContactInformationStructureContactPerson diagram
3145
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactInformationStructureTelephone diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
3245
facets maxLength 70
element ContactInformationStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType HeaderStructure diagram
children AuditFileVersion AuditFileCountry AuditFileRegion AuditFileDateCreated SoftwareCompanyName SoftwareID SoftwareVersion Company DefaultCurrencyCode SelectionCriteria HeaderComment
used by element AuditFilePayrollHeader
annotation documentation[Common to all SAFs] Overall information about this Standard Auditfile
element HeaderStructureAuditFileVersion
3345
diagram
type SAFcodeType
properties isRef 0content simple
facets maxLength 9
annotation documentationIdentification of the Standard Audit File SAF-P version being used
element HeaderStructureAuditFileCountry diagram
type ISOCountryCode
properties isRef 0content simple
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
element HeaderStructureAuditFileRegion diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationCountry specific code to indicate regions provinces within the tax jurisdiction Preferably described according to ISO 3166-2 Example GB-KEN for Kent county in the United Kingdom
element HeaderStructureAuditFileDateCreated diagram
type xsdate
properties isRef 0content simple
annotation documentationDate of production of SAF-P
element HeaderStructureSoftwareCompanyName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
annotation documentationName of the software company whose product created the SAF-P
element HeaderStructureSoftwareID diagram
3445
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationName of the Software that generated the SAF-P
element HeaderStructureSoftwareVersion diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationVersion of the software that created the SAF-P
element HeaderStructureCompany diagram
type CompanyHeaderStructure
properties isRef 0content complex
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
annotation documentationEmployers name and address details
element HeaderStructureDefaultCurrencyCode diagram
type ISOCurrencyCode
properties isRef 0content simple
facets length 3
annotation documentationThree letter Currency Code (ISO 4217) of local currency which is the default for the SAF
element HeaderStructureSelectionCriteria
3545
diagram
type SelectionCriteriaStructure
properties isRef 0minOcc 0maxOcc 1content complex
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
annotation documentationCriteria set by the user to populate the SAF-P
element HeaderStructureHeaderComment diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
3645
facets maxLength 256
annotation documentationSpace for any further generic comments on the SAF-P Revenue Bodies should consider what information they would expect to see here
complexType IdentificationStructure diagram
children IdentificationType IdentificationNumber DateValidUntil PlaceOfIssue DateOfIssue
used by element AuditFilePayrollMasterFilesEmployeesEmployeeIdentification
annotation documentationIdentification Document data This section is used when employers need to demonstrate that they have seen proof of an employees identity
element IdentificationStructureIdentificationType diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationThe type of identity document supplied to the employer Revenue bodies may wish to prescribe a specific list of codes
element IdentificationStructureIdentificationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number on the identification document
element IdentificationStructureDateValidUntil diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
element IdentificationStructurePlaceOfIssue diagram
type SAFmiddle1textType
3745
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
element IdentificationStructureDateOfIssue diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
complexType PersonNameStructure diagram
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
used by elements ContactHeaderStructureContactPerson ContactInformationStructureContactPerson AuditFilePayrollMasterFilesEmployeesEmployeeName
annotation documentation[Common to all SAFs] All information about the name of a natural (non-corporate) person
element PersonNameStructureTitle diagram
type SAFcodeType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 9
element PersonNameStructureFirstName diagram
type SAFmiddle1textType
properties isRef 0content simple
3845
facets maxLength 35
element PersonNameStructureInitials diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element PersonNameStructureLastNamePrefix diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA textual expression of a prefix that precedes this persons family name such as Van Von
element PersonNameStructureLastName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element PersonNameStructureBirthName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element PersonNameStructureSalutation diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA formal sign or expression of greeting expressed as text that is appropriate for this person such as Sir or Madam
element PersonNameStructureOtherTitles diagram
type SAFshorttextType
3945
properties isRef 0minOcc 0
maxOcc unboundedcontent simple
facets maxLength 18
complexType SelectionCriteriaStructure diagram
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
used by element HeaderStructureSelectionCriteria
annotation documentation[Common to all SAFs] The selection criteria used to generate this Standard Auditfile
element SelectionCriteriaStructureTaxReportingJurisdiction diagram
type SAFmiddle1textType
4045
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationIdentifies the tax jurisdiction for whose purpose the SAF has been created Principally for use where a single Revenue body covers more than one territory
element SelectionCriteriaStructureCompanyEntity diagram
type SAFmiddle2textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 70
annotation documentationFor use where data has been extracted from the full data set by reference to a specific corporate entity
element SelectionCriteriaStructureSelectionStartDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe start date for the reporting period covered by the SAF
element SelectionCriteriaStructureSelectionEndDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe end date for the reporting period covered by the SAF
element SelectionCriteriaStructurePeriodStart diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe first Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodStartYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodStart falls
element SelectionCriteriaStructurePeriodEnd
4145
diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe last Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodEndYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodEnd falls
element SelectionCriteriaStructureDocumentType diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationType of documents selected For use where the data has been restricted by reference to particular transaction types
element SelectionCriteriaStructureOtherCriteria diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc unboundedcontent simple
facets maxLength 256
annotation documentationAny other criteria used in selecting data Individual Revenue Bodies may wish to draw up a list of other acceptable selection criteria for use within their jurisdiction
complexType TaxIDStructure diagram
4245
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeRegistrationNumbers CompanyHeaderStructureTaxRegistration CompanyStructureTaxRegistration
annotation documentation[Common to all SAFs] Tax information for a company or employer
element TaxIDStructureTaxRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number issued by Revenue Body for use by the employer
element TaxIDStructureTaxType diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationFor use where information reported in the SAF-P covers more than one type of tax regime to identify the type of tax regime to which this entry relates
element TaxIDStructureTaxNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
4345
annotation documentationThe tax registration number for the particular tax regime referred to by TaxType
element TaxIDStructureTaxAuthority diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
annotation documentationIdentification of the Revenue Body to which this TaxType refers
element TaxIDStructureTaxVerificationDate diagram
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date that the tax registration details referred to above were last checked
simpleType ISOCountryCode type restriction of xsstring
used by elements HeaderStructureAuditFileCountry AddressStructureCountry
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
simpleType ISOCurrencyCode type restriction of xsstring
used by elements AmountStructureCurrencyCode HeaderStructureDefaultCurrencyCode
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for the Euros or USD for American Dollars
simpleType SAFcodeType type restriction of xsstring
used by elements HeaderStructureAuditFileRegion HeaderStructureAuditFileVersion TaxIDStructureTaxType PersonNameStructureTitle
facets maxLength 9
annotation documentationText of max 9 characters
simpleType SAFexchangerateType type restriction of xsdecimal
used by element AmountStructureExchangeRate
facets totalDigits 18fractionDigits 8
annotation documentation18 digits max of which 8 can be fractional digits
simpleType SAFlongtextType type restriction of xsstring
used by elements AuditFilePayrollTransactionFilesEmploymentBranchID AuditFilePayrollTransactionFilesEmploymentDepartment SelectionCriteriaStructureDocumentType AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeWorkReferenceNumber HeaderStructureHeaderComment AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType AuditFilePayrollTransactionFilesEmploymentJobTitle SelectionCriteriaStructureOtherCriteria AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementDescription HeaderStructureSoftwareID AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
facets maxLength 256
annotation documentation256 character text
simpleType SAFmiddle1textType type restriction of xsstring
4445
used by elements BankAccountStructureBankAccountNumber AddressStructureBuilding AddressStructureCity PersonNameStructureFirstName BankAccountStructureIBANNumber IdentificationStructureIdentificationNumber AuditFilePayrollHeaderPayrollBureauName IdentificationStructurePlaceOfIssue AddressStructureRegion CompanyHeaderStructureRegistrationNumber CompanyStructureRegistrationNumber TaxIDStructureTaxAuthority TaxIDStructureTaxNumber TaxIDStructureTaxRegistrationNumber SelectionCriteriaStructureTaxReportingJurisdiction
facets maxLength 35
annotation documentation35 character text
simpleType SAFmiddle2textType type restriction of xsstring
used by elements AddressStructureAdditionalAddressDetail BankAccountStructureBankAccountName PersonNameStructureBirthName SelectionCriteriaStructureCompanyEntity ContactHeaderStructureEmail ContactInformationStructureEmail PersonNameStructureLastName CompanyHeaderStructureName CompanyStructureName HeaderStructureSoftwareCompanyName AddressStructureStreetName
facets maxLength 70
annotation documentation70 character text
simpleType SAFmonetaryType type restriction of xsdecimal
used by elements AmountStructureAmount AmountStructureCurrencyAmount
facets totalDigits 18fractionDigits 2
annotation documentationMonetary amount18 digits max of which 2 can be fractional digits
simpleType SAFquantityType type restriction of xsdecimal
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits
facets totalDigits 22fractionDigits 6
annotation documentationUsed to describe a quantity Monetary amount 22 digits max of which 6 can be fractional digits
simpleType SAFshorttextType type restriction of xsstring
used by elements AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchID ContactHeaderStructureFax ContactInformationStructureFax IdentificationStructureIdentificationType PersonNameStructureInitials PersonNameStructureLastNamePrefix AddressStructureNumber PersonNameStructureOtherTitles AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayFrequency AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementID AddressStructurePostalCode PersonNameStructureSalutation HeaderStructureSoftwareVersion BankAccountStructureSortCode ContactHeaderStructureTelephone ContactInformationStructureTelephone
facets maxLength 18
annotation documentation18 character text
simpleType SAFweightType type restriction of xsdecimal
facets totalDigits 14fractionDigits 3
annotation documentationDescribes a weight Monetary amount14 digits max of which 3 can be fractional digits
XML Schema documentation generated by XMLSpy Schema Editor httpwwwaltovacomxmlspy
4545
- Footer Guidance for the Standard Audit File ndash Payroll Version 10 Appendix B Schema
- Header Page
annotation documentation[Common to all SAFs] A common structure used wherever an address is required
element AddressStructureStreetName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element AddressStructureNumber diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element AddressStructureAdditionalAddressDetail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element AddressStructureBuilding diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
element AddressStructureCity diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
element AddressStructurePostalCode diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
element AddressStructureRegion
2045
diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationCountry specific code to indicate regions provinces within the tax authority Preferably described according to ISO 3166-2 Example GB-KEN for Kent county in the United Kingdom
element AddressStructureCountry diagram
type ISOCountryCode
properties isRef 0minOcc 0maxOcc 1content simple
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
element AddressStructureAddressType diagram
type restriction of xsstring
properties isRef 0minOcc 0maxOcc 1content simple
facets enumeration StreetAddressenumeration PostalAddressenumeration enumeration enumeration
annotation documentationField to differentiate between multiple addresses To indicate the type of address Choose from the predefined enumeration (examples StreetAddress PostalAddress BillingAddress)
complexType AmountStructure diagram
children Amount CurrencyCode CurrencyAmount ExchangeRate
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementAmount AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsAmountPaidPerUnit AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursAmountPaidPerUnit
2145
annotation documentation[Common to all SAFs] A common structure used wherever an amount is required Monetary amount with optional foreign currency exchange rate information
element AmountStructureAmount diagram
type SAFmonetaryType
properties isRef 0content simple
facets totalDigits 18fractionDigits 2
annotation documentationIn the default currency as shown in the SAF-P header
element AmountStructureCurrencyCode diagram
type ISOCurrencyCode
properties isRef 0content simple
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for Euros or USD for American Dollars
element AmountStructureCurrencyAmount diagram
type SAFmonetaryType
properties isRef 0content simple
facets totalDigits 18fractionDigits 2
annotation documentationAmount in the currency referred to by the CurrencyCode above
element AmountStructureExchangeRate diagram
type SAFexchangerateType
properties isRef 0minOcc 0maxOcc 1content simple
facets totalDigits 18fractionDigits 8
annotation documentationThe exchange rate used It should be reported in accordance with the formula CurrencyAmount x ExchangeRate = Amount
complexType BankAccountStructure diagram
2245
children IBANNumber BankAccountNumber BankAccountName SortCode
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeBankAccount AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementBankAccount CompanyHeaderStructureBankAccount CompanyStructureBankAccount
annotation documentation[Common to all SAFs] Bank account number information IBAN number or account number with optional information
element BankAccountStructureIBANNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationInternational Bank Account Number ISO 13616
element BankAccountStructureBankAccountNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationThe number allocated to the account by the individuals or companys own bank
element BankAccountStructureBankAccountName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
annotation documentationThe name of the individual or company holding the bank account
element BankAccountStructureSortCode
2345
diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationIdentifier for the bank branch at which the account is held May be needed to uniquely identify the account
complexType CompanyHeaderStructure diagram
type restriction of CompanyStructure
properties base CompanyStructure
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
used by element HeaderStructureCompany
annotation documentation[Common to all SAFs] CompanyStructure with mandatory RegistrationNumber and Telephone (Contact)
element CompanyHeaderStructureRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number to identify the company in the accounting records issued by a government body or created by the company for internal purposes to identify different entities within their corporate group
element CompanyHeaderStructureName diagram
type SAFmiddle2textType
properties isRef 0content simple
2445
facets maxLength 70
element CompanyHeaderStructureAddress diagram
type AddressStructure
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
element CompanyHeaderStructureContact diagram
type ContactHeaderStructure
2545
properties isRef 0minOcc 1
maxOcc unboundedcontent complex
children ContactPerson Telephone Fax Email Website
element CompanyHeaderStructureTaxRegistration diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
element CompanyHeaderStructureBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
complexType CompanyStructure
2645
diagram
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
used by element AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchDetailscomplexType CompanyHeaderStructure
annotation documentation[Common to all SAFs] Name address contact and identification information of a company or employer
element CompanyStructureRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationUnique number to identify the company in the accounting records issued by a government authority or created by the company for internal purposes to identify different entities within their corporate group
element CompanyStructureName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element CompanyStructureAddress diagram
2745
type AddressStructure
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
element CompanyStructureContact diagram
type ContactInformationStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children ContactPerson Telephone Fax Email Website
2845
element CompanyStructureTaxRegistration diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
element CompanyStructureBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
complexType ContactHeaderStructure
2945
diagram
type restriction of ContactInformationStructure
properties base ContactInformationStructure
children ContactPerson Telephone Fax Email Website
used by element CompanyHeaderStructureContact
annotation documentation[Common to all SAFs] ContactInformationStructure with madatory TelephoneNumber
element ContactHeaderStructureContactPerson diagram
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactHeaderStructureTelephone diagram
type SAFshorttextType
3045
properties isRef 0content simple
facets maxLength 18
element ContactHeaderStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactHeaderStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element ContactHeaderStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType ContactInformationStructure diagram
children ContactPerson Telephone Fax Email Website
used by elements AuditFilePayrollHeaderPayrollBureauContact CompanyStructureContactcomplexType ContactHeaderStructure
annotation documentation[Common to all SAFs] Contact information of a company or employer
element ContactInformationStructureContactPerson diagram
3145
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactInformationStructureTelephone diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
3245
facets maxLength 70
element ContactInformationStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType HeaderStructure diagram
children AuditFileVersion AuditFileCountry AuditFileRegion AuditFileDateCreated SoftwareCompanyName SoftwareID SoftwareVersion Company DefaultCurrencyCode SelectionCriteria HeaderComment
used by element AuditFilePayrollHeader
annotation documentation[Common to all SAFs] Overall information about this Standard Auditfile
element HeaderStructureAuditFileVersion
3345
diagram
type SAFcodeType
properties isRef 0content simple
facets maxLength 9
annotation documentationIdentification of the Standard Audit File SAF-P version being used
element HeaderStructureAuditFileCountry diagram
type ISOCountryCode
properties isRef 0content simple
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
element HeaderStructureAuditFileRegion diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationCountry specific code to indicate regions provinces within the tax jurisdiction Preferably described according to ISO 3166-2 Example GB-KEN for Kent county in the United Kingdom
element HeaderStructureAuditFileDateCreated diagram
type xsdate
properties isRef 0content simple
annotation documentationDate of production of SAF-P
element HeaderStructureSoftwareCompanyName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
annotation documentationName of the software company whose product created the SAF-P
element HeaderStructureSoftwareID diagram
3445
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationName of the Software that generated the SAF-P
element HeaderStructureSoftwareVersion diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationVersion of the software that created the SAF-P
element HeaderStructureCompany diagram
type CompanyHeaderStructure
properties isRef 0content complex
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
annotation documentationEmployers name and address details
element HeaderStructureDefaultCurrencyCode diagram
type ISOCurrencyCode
properties isRef 0content simple
facets length 3
annotation documentationThree letter Currency Code (ISO 4217) of local currency which is the default for the SAF
element HeaderStructureSelectionCriteria
3545
diagram
type SelectionCriteriaStructure
properties isRef 0minOcc 0maxOcc 1content complex
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
annotation documentationCriteria set by the user to populate the SAF-P
element HeaderStructureHeaderComment diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
3645
facets maxLength 256
annotation documentationSpace for any further generic comments on the SAF-P Revenue Bodies should consider what information they would expect to see here
complexType IdentificationStructure diagram
children IdentificationType IdentificationNumber DateValidUntil PlaceOfIssue DateOfIssue
used by element AuditFilePayrollMasterFilesEmployeesEmployeeIdentification
annotation documentationIdentification Document data This section is used when employers need to demonstrate that they have seen proof of an employees identity
element IdentificationStructureIdentificationType diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationThe type of identity document supplied to the employer Revenue bodies may wish to prescribe a specific list of codes
element IdentificationStructureIdentificationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number on the identification document
element IdentificationStructureDateValidUntil diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
element IdentificationStructurePlaceOfIssue diagram
type SAFmiddle1textType
3745
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
element IdentificationStructureDateOfIssue diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
complexType PersonNameStructure diagram
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
used by elements ContactHeaderStructureContactPerson ContactInformationStructureContactPerson AuditFilePayrollMasterFilesEmployeesEmployeeName
annotation documentation[Common to all SAFs] All information about the name of a natural (non-corporate) person
element PersonNameStructureTitle diagram
type SAFcodeType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 9
element PersonNameStructureFirstName diagram
type SAFmiddle1textType
properties isRef 0content simple
3845
facets maxLength 35
element PersonNameStructureInitials diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element PersonNameStructureLastNamePrefix diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA textual expression of a prefix that precedes this persons family name such as Van Von
element PersonNameStructureLastName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element PersonNameStructureBirthName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element PersonNameStructureSalutation diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA formal sign or expression of greeting expressed as text that is appropriate for this person such as Sir or Madam
element PersonNameStructureOtherTitles diagram
type SAFshorttextType
3945
properties isRef 0minOcc 0
maxOcc unboundedcontent simple
facets maxLength 18
complexType SelectionCriteriaStructure diagram
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
used by element HeaderStructureSelectionCriteria
annotation documentation[Common to all SAFs] The selection criteria used to generate this Standard Auditfile
element SelectionCriteriaStructureTaxReportingJurisdiction diagram
type SAFmiddle1textType
4045
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationIdentifies the tax jurisdiction for whose purpose the SAF has been created Principally for use where a single Revenue body covers more than one territory
element SelectionCriteriaStructureCompanyEntity diagram
type SAFmiddle2textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 70
annotation documentationFor use where data has been extracted from the full data set by reference to a specific corporate entity
element SelectionCriteriaStructureSelectionStartDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe start date for the reporting period covered by the SAF
element SelectionCriteriaStructureSelectionEndDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe end date for the reporting period covered by the SAF
element SelectionCriteriaStructurePeriodStart diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe first Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodStartYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodStart falls
element SelectionCriteriaStructurePeriodEnd
4145
diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe last Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodEndYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodEnd falls
element SelectionCriteriaStructureDocumentType diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationType of documents selected For use where the data has been restricted by reference to particular transaction types
element SelectionCriteriaStructureOtherCriteria diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc unboundedcontent simple
facets maxLength 256
annotation documentationAny other criteria used in selecting data Individual Revenue Bodies may wish to draw up a list of other acceptable selection criteria for use within their jurisdiction
complexType TaxIDStructure diagram
4245
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeRegistrationNumbers CompanyHeaderStructureTaxRegistration CompanyStructureTaxRegistration
annotation documentation[Common to all SAFs] Tax information for a company or employer
element TaxIDStructureTaxRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number issued by Revenue Body for use by the employer
element TaxIDStructureTaxType diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationFor use where information reported in the SAF-P covers more than one type of tax regime to identify the type of tax regime to which this entry relates
element TaxIDStructureTaxNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
4345
annotation documentationThe tax registration number for the particular tax regime referred to by TaxType
element TaxIDStructureTaxAuthority diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
annotation documentationIdentification of the Revenue Body to which this TaxType refers
element TaxIDStructureTaxVerificationDate diagram
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date that the tax registration details referred to above were last checked
simpleType ISOCountryCode type restriction of xsstring
used by elements HeaderStructureAuditFileCountry AddressStructureCountry
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
simpleType ISOCurrencyCode type restriction of xsstring
used by elements AmountStructureCurrencyCode HeaderStructureDefaultCurrencyCode
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for the Euros or USD for American Dollars
simpleType SAFcodeType type restriction of xsstring
used by elements HeaderStructureAuditFileRegion HeaderStructureAuditFileVersion TaxIDStructureTaxType PersonNameStructureTitle
facets maxLength 9
annotation documentationText of max 9 characters
simpleType SAFexchangerateType type restriction of xsdecimal
used by element AmountStructureExchangeRate
facets totalDigits 18fractionDigits 8
annotation documentation18 digits max of which 8 can be fractional digits
simpleType SAFlongtextType type restriction of xsstring
used by elements AuditFilePayrollTransactionFilesEmploymentBranchID AuditFilePayrollTransactionFilesEmploymentDepartment SelectionCriteriaStructureDocumentType AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeWorkReferenceNumber HeaderStructureHeaderComment AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType AuditFilePayrollTransactionFilesEmploymentJobTitle SelectionCriteriaStructureOtherCriteria AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementDescription HeaderStructureSoftwareID AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
facets maxLength 256
annotation documentation256 character text
simpleType SAFmiddle1textType type restriction of xsstring
4445
used by elements BankAccountStructureBankAccountNumber AddressStructureBuilding AddressStructureCity PersonNameStructureFirstName BankAccountStructureIBANNumber IdentificationStructureIdentificationNumber AuditFilePayrollHeaderPayrollBureauName IdentificationStructurePlaceOfIssue AddressStructureRegion CompanyHeaderStructureRegistrationNumber CompanyStructureRegistrationNumber TaxIDStructureTaxAuthority TaxIDStructureTaxNumber TaxIDStructureTaxRegistrationNumber SelectionCriteriaStructureTaxReportingJurisdiction
facets maxLength 35
annotation documentation35 character text
simpleType SAFmiddle2textType type restriction of xsstring
used by elements AddressStructureAdditionalAddressDetail BankAccountStructureBankAccountName PersonNameStructureBirthName SelectionCriteriaStructureCompanyEntity ContactHeaderStructureEmail ContactInformationStructureEmail PersonNameStructureLastName CompanyHeaderStructureName CompanyStructureName HeaderStructureSoftwareCompanyName AddressStructureStreetName
facets maxLength 70
annotation documentation70 character text
simpleType SAFmonetaryType type restriction of xsdecimal
used by elements AmountStructureAmount AmountStructureCurrencyAmount
facets totalDigits 18fractionDigits 2
annotation documentationMonetary amount18 digits max of which 2 can be fractional digits
simpleType SAFquantityType type restriction of xsdecimal
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits
facets totalDigits 22fractionDigits 6
annotation documentationUsed to describe a quantity Monetary amount 22 digits max of which 6 can be fractional digits
simpleType SAFshorttextType type restriction of xsstring
used by elements AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchID ContactHeaderStructureFax ContactInformationStructureFax IdentificationStructureIdentificationType PersonNameStructureInitials PersonNameStructureLastNamePrefix AddressStructureNumber PersonNameStructureOtherTitles AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayFrequency AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementID AddressStructurePostalCode PersonNameStructureSalutation HeaderStructureSoftwareVersion BankAccountStructureSortCode ContactHeaderStructureTelephone ContactInformationStructureTelephone
facets maxLength 18
annotation documentation18 character text
simpleType SAFweightType type restriction of xsdecimal
facets totalDigits 14fractionDigits 3
annotation documentationDescribes a weight Monetary amount14 digits max of which 3 can be fractional digits
XML Schema documentation generated by XMLSpy Schema Editor httpwwwaltovacomxmlspy
4545
- Footer Guidance for the Standard Audit File ndash Payroll Version 10 Appendix B Schema
- Header Page
diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationCountry specific code to indicate regions provinces within the tax authority Preferably described according to ISO 3166-2 Example GB-KEN for Kent county in the United Kingdom
element AddressStructureCountry diagram
type ISOCountryCode
properties isRef 0minOcc 0maxOcc 1content simple
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
element AddressStructureAddressType diagram
type restriction of xsstring
properties isRef 0minOcc 0maxOcc 1content simple
facets enumeration StreetAddressenumeration PostalAddressenumeration enumeration enumeration
annotation documentationField to differentiate between multiple addresses To indicate the type of address Choose from the predefined enumeration (examples StreetAddress PostalAddress BillingAddress)
complexType AmountStructure diagram
children Amount CurrencyCode CurrencyAmount ExchangeRate
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementAmount AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsAmountPaidPerUnit AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursAmountPaidPerUnit
2145
annotation documentation[Common to all SAFs] A common structure used wherever an amount is required Monetary amount with optional foreign currency exchange rate information
element AmountStructureAmount diagram
type SAFmonetaryType
properties isRef 0content simple
facets totalDigits 18fractionDigits 2
annotation documentationIn the default currency as shown in the SAF-P header
element AmountStructureCurrencyCode diagram
type ISOCurrencyCode
properties isRef 0content simple
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for Euros or USD for American Dollars
element AmountStructureCurrencyAmount diagram
type SAFmonetaryType
properties isRef 0content simple
facets totalDigits 18fractionDigits 2
annotation documentationAmount in the currency referred to by the CurrencyCode above
element AmountStructureExchangeRate diagram
type SAFexchangerateType
properties isRef 0minOcc 0maxOcc 1content simple
facets totalDigits 18fractionDigits 8
annotation documentationThe exchange rate used It should be reported in accordance with the formula CurrencyAmount x ExchangeRate = Amount
complexType BankAccountStructure diagram
2245
children IBANNumber BankAccountNumber BankAccountName SortCode
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeBankAccount AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementBankAccount CompanyHeaderStructureBankAccount CompanyStructureBankAccount
annotation documentation[Common to all SAFs] Bank account number information IBAN number or account number with optional information
element BankAccountStructureIBANNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationInternational Bank Account Number ISO 13616
element BankAccountStructureBankAccountNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationThe number allocated to the account by the individuals or companys own bank
element BankAccountStructureBankAccountName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
annotation documentationThe name of the individual or company holding the bank account
element BankAccountStructureSortCode
2345
diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationIdentifier for the bank branch at which the account is held May be needed to uniquely identify the account
complexType CompanyHeaderStructure diagram
type restriction of CompanyStructure
properties base CompanyStructure
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
used by element HeaderStructureCompany
annotation documentation[Common to all SAFs] CompanyStructure with mandatory RegistrationNumber and Telephone (Contact)
element CompanyHeaderStructureRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number to identify the company in the accounting records issued by a government body or created by the company for internal purposes to identify different entities within their corporate group
element CompanyHeaderStructureName diagram
type SAFmiddle2textType
properties isRef 0content simple
2445
facets maxLength 70
element CompanyHeaderStructureAddress diagram
type AddressStructure
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
element CompanyHeaderStructureContact diagram
type ContactHeaderStructure
2545
properties isRef 0minOcc 1
maxOcc unboundedcontent complex
children ContactPerson Telephone Fax Email Website
element CompanyHeaderStructureTaxRegistration diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
element CompanyHeaderStructureBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
complexType CompanyStructure
2645
diagram
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
used by element AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchDetailscomplexType CompanyHeaderStructure
annotation documentation[Common to all SAFs] Name address contact and identification information of a company or employer
element CompanyStructureRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationUnique number to identify the company in the accounting records issued by a government authority or created by the company for internal purposes to identify different entities within their corporate group
element CompanyStructureName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element CompanyStructureAddress diagram
2745
type AddressStructure
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
element CompanyStructureContact diagram
type ContactInformationStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children ContactPerson Telephone Fax Email Website
2845
element CompanyStructureTaxRegistration diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
element CompanyStructureBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
complexType ContactHeaderStructure
2945
diagram
type restriction of ContactInformationStructure
properties base ContactInformationStructure
children ContactPerson Telephone Fax Email Website
used by element CompanyHeaderStructureContact
annotation documentation[Common to all SAFs] ContactInformationStructure with madatory TelephoneNumber
element ContactHeaderStructureContactPerson diagram
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactHeaderStructureTelephone diagram
type SAFshorttextType
3045
properties isRef 0content simple
facets maxLength 18
element ContactHeaderStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactHeaderStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element ContactHeaderStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType ContactInformationStructure diagram
children ContactPerson Telephone Fax Email Website
used by elements AuditFilePayrollHeaderPayrollBureauContact CompanyStructureContactcomplexType ContactHeaderStructure
annotation documentation[Common to all SAFs] Contact information of a company or employer
element ContactInformationStructureContactPerson diagram
3145
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactInformationStructureTelephone diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
3245
facets maxLength 70
element ContactInformationStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType HeaderStructure diagram
children AuditFileVersion AuditFileCountry AuditFileRegion AuditFileDateCreated SoftwareCompanyName SoftwareID SoftwareVersion Company DefaultCurrencyCode SelectionCriteria HeaderComment
used by element AuditFilePayrollHeader
annotation documentation[Common to all SAFs] Overall information about this Standard Auditfile
element HeaderStructureAuditFileVersion
3345
diagram
type SAFcodeType
properties isRef 0content simple
facets maxLength 9
annotation documentationIdentification of the Standard Audit File SAF-P version being used
element HeaderStructureAuditFileCountry diagram
type ISOCountryCode
properties isRef 0content simple
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
element HeaderStructureAuditFileRegion diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationCountry specific code to indicate regions provinces within the tax jurisdiction Preferably described according to ISO 3166-2 Example GB-KEN for Kent county in the United Kingdom
element HeaderStructureAuditFileDateCreated diagram
type xsdate
properties isRef 0content simple
annotation documentationDate of production of SAF-P
element HeaderStructureSoftwareCompanyName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
annotation documentationName of the software company whose product created the SAF-P
element HeaderStructureSoftwareID diagram
3445
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationName of the Software that generated the SAF-P
element HeaderStructureSoftwareVersion diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationVersion of the software that created the SAF-P
element HeaderStructureCompany diagram
type CompanyHeaderStructure
properties isRef 0content complex
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
annotation documentationEmployers name and address details
element HeaderStructureDefaultCurrencyCode diagram
type ISOCurrencyCode
properties isRef 0content simple
facets length 3
annotation documentationThree letter Currency Code (ISO 4217) of local currency which is the default for the SAF
element HeaderStructureSelectionCriteria
3545
diagram
type SelectionCriteriaStructure
properties isRef 0minOcc 0maxOcc 1content complex
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
annotation documentationCriteria set by the user to populate the SAF-P
element HeaderStructureHeaderComment diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
3645
facets maxLength 256
annotation documentationSpace for any further generic comments on the SAF-P Revenue Bodies should consider what information they would expect to see here
complexType IdentificationStructure diagram
children IdentificationType IdentificationNumber DateValidUntil PlaceOfIssue DateOfIssue
used by element AuditFilePayrollMasterFilesEmployeesEmployeeIdentification
annotation documentationIdentification Document data This section is used when employers need to demonstrate that they have seen proof of an employees identity
element IdentificationStructureIdentificationType diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationThe type of identity document supplied to the employer Revenue bodies may wish to prescribe a specific list of codes
element IdentificationStructureIdentificationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number on the identification document
element IdentificationStructureDateValidUntil diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
element IdentificationStructurePlaceOfIssue diagram
type SAFmiddle1textType
3745
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
element IdentificationStructureDateOfIssue diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
complexType PersonNameStructure diagram
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
used by elements ContactHeaderStructureContactPerson ContactInformationStructureContactPerson AuditFilePayrollMasterFilesEmployeesEmployeeName
annotation documentation[Common to all SAFs] All information about the name of a natural (non-corporate) person
element PersonNameStructureTitle diagram
type SAFcodeType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 9
element PersonNameStructureFirstName diagram
type SAFmiddle1textType
properties isRef 0content simple
3845
facets maxLength 35
element PersonNameStructureInitials diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element PersonNameStructureLastNamePrefix diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA textual expression of a prefix that precedes this persons family name such as Van Von
element PersonNameStructureLastName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element PersonNameStructureBirthName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element PersonNameStructureSalutation diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA formal sign or expression of greeting expressed as text that is appropriate for this person such as Sir or Madam
element PersonNameStructureOtherTitles diagram
type SAFshorttextType
3945
properties isRef 0minOcc 0
maxOcc unboundedcontent simple
facets maxLength 18
complexType SelectionCriteriaStructure diagram
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
used by element HeaderStructureSelectionCriteria
annotation documentation[Common to all SAFs] The selection criteria used to generate this Standard Auditfile
element SelectionCriteriaStructureTaxReportingJurisdiction diagram
type SAFmiddle1textType
4045
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationIdentifies the tax jurisdiction for whose purpose the SAF has been created Principally for use where a single Revenue body covers more than one territory
element SelectionCriteriaStructureCompanyEntity diagram
type SAFmiddle2textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 70
annotation documentationFor use where data has been extracted from the full data set by reference to a specific corporate entity
element SelectionCriteriaStructureSelectionStartDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe start date for the reporting period covered by the SAF
element SelectionCriteriaStructureSelectionEndDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe end date for the reporting period covered by the SAF
element SelectionCriteriaStructurePeriodStart diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe first Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodStartYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodStart falls
element SelectionCriteriaStructurePeriodEnd
4145
diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe last Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodEndYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodEnd falls
element SelectionCriteriaStructureDocumentType diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationType of documents selected For use where the data has been restricted by reference to particular transaction types
element SelectionCriteriaStructureOtherCriteria diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc unboundedcontent simple
facets maxLength 256
annotation documentationAny other criteria used in selecting data Individual Revenue Bodies may wish to draw up a list of other acceptable selection criteria for use within their jurisdiction
complexType TaxIDStructure diagram
4245
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeRegistrationNumbers CompanyHeaderStructureTaxRegistration CompanyStructureTaxRegistration
annotation documentation[Common to all SAFs] Tax information for a company or employer
element TaxIDStructureTaxRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number issued by Revenue Body for use by the employer
element TaxIDStructureTaxType diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationFor use where information reported in the SAF-P covers more than one type of tax regime to identify the type of tax regime to which this entry relates
element TaxIDStructureTaxNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
4345
annotation documentationThe tax registration number for the particular tax regime referred to by TaxType
element TaxIDStructureTaxAuthority diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
annotation documentationIdentification of the Revenue Body to which this TaxType refers
element TaxIDStructureTaxVerificationDate diagram
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date that the tax registration details referred to above were last checked
simpleType ISOCountryCode type restriction of xsstring
used by elements HeaderStructureAuditFileCountry AddressStructureCountry
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
simpleType ISOCurrencyCode type restriction of xsstring
used by elements AmountStructureCurrencyCode HeaderStructureDefaultCurrencyCode
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for the Euros or USD for American Dollars
simpleType SAFcodeType type restriction of xsstring
used by elements HeaderStructureAuditFileRegion HeaderStructureAuditFileVersion TaxIDStructureTaxType PersonNameStructureTitle
facets maxLength 9
annotation documentationText of max 9 characters
simpleType SAFexchangerateType type restriction of xsdecimal
used by element AmountStructureExchangeRate
facets totalDigits 18fractionDigits 8
annotation documentation18 digits max of which 8 can be fractional digits
simpleType SAFlongtextType type restriction of xsstring
used by elements AuditFilePayrollTransactionFilesEmploymentBranchID AuditFilePayrollTransactionFilesEmploymentDepartment SelectionCriteriaStructureDocumentType AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeWorkReferenceNumber HeaderStructureHeaderComment AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType AuditFilePayrollTransactionFilesEmploymentJobTitle SelectionCriteriaStructureOtherCriteria AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementDescription HeaderStructureSoftwareID AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
facets maxLength 256
annotation documentation256 character text
simpleType SAFmiddle1textType type restriction of xsstring
4445
used by elements BankAccountStructureBankAccountNumber AddressStructureBuilding AddressStructureCity PersonNameStructureFirstName BankAccountStructureIBANNumber IdentificationStructureIdentificationNumber AuditFilePayrollHeaderPayrollBureauName IdentificationStructurePlaceOfIssue AddressStructureRegion CompanyHeaderStructureRegistrationNumber CompanyStructureRegistrationNumber TaxIDStructureTaxAuthority TaxIDStructureTaxNumber TaxIDStructureTaxRegistrationNumber SelectionCriteriaStructureTaxReportingJurisdiction
facets maxLength 35
annotation documentation35 character text
simpleType SAFmiddle2textType type restriction of xsstring
used by elements AddressStructureAdditionalAddressDetail BankAccountStructureBankAccountName PersonNameStructureBirthName SelectionCriteriaStructureCompanyEntity ContactHeaderStructureEmail ContactInformationStructureEmail PersonNameStructureLastName CompanyHeaderStructureName CompanyStructureName HeaderStructureSoftwareCompanyName AddressStructureStreetName
facets maxLength 70
annotation documentation70 character text
simpleType SAFmonetaryType type restriction of xsdecimal
used by elements AmountStructureAmount AmountStructureCurrencyAmount
facets totalDigits 18fractionDigits 2
annotation documentationMonetary amount18 digits max of which 2 can be fractional digits
simpleType SAFquantityType type restriction of xsdecimal
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits
facets totalDigits 22fractionDigits 6
annotation documentationUsed to describe a quantity Monetary amount 22 digits max of which 6 can be fractional digits
simpleType SAFshorttextType type restriction of xsstring
used by elements AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchID ContactHeaderStructureFax ContactInformationStructureFax IdentificationStructureIdentificationType PersonNameStructureInitials PersonNameStructureLastNamePrefix AddressStructureNumber PersonNameStructureOtherTitles AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayFrequency AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementID AddressStructurePostalCode PersonNameStructureSalutation HeaderStructureSoftwareVersion BankAccountStructureSortCode ContactHeaderStructureTelephone ContactInformationStructureTelephone
facets maxLength 18
annotation documentation18 character text
simpleType SAFweightType type restriction of xsdecimal
facets totalDigits 14fractionDigits 3
annotation documentationDescribes a weight Monetary amount14 digits max of which 3 can be fractional digits
XML Schema documentation generated by XMLSpy Schema Editor httpwwwaltovacomxmlspy
4545
- Footer Guidance for the Standard Audit File ndash Payroll Version 10 Appendix B Schema
- Header Page
annotation documentation[Common to all SAFs] A common structure used wherever an amount is required Monetary amount with optional foreign currency exchange rate information
element AmountStructureAmount diagram
type SAFmonetaryType
properties isRef 0content simple
facets totalDigits 18fractionDigits 2
annotation documentationIn the default currency as shown in the SAF-P header
element AmountStructureCurrencyCode diagram
type ISOCurrencyCode
properties isRef 0content simple
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for Euros or USD for American Dollars
element AmountStructureCurrencyAmount diagram
type SAFmonetaryType
properties isRef 0content simple
facets totalDigits 18fractionDigits 2
annotation documentationAmount in the currency referred to by the CurrencyCode above
element AmountStructureExchangeRate diagram
type SAFexchangerateType
properties isRef 0minOcc 0maxOcc 1content simple
facets totalDigits 18fractionDigits 8
annotation documentationThe exchange rate used It should be reported in accordance with the formula CurrencyAmount x ExchangeRate = Amount
complexType BankAccountStructure diagram
2245
children IBANNumber BankAccountNumber BankAccountName SortCode
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeBankAccount AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementBankAccount CompanyHeaderStructureBankAccount CompanyStructureBankAccount
annotation documentation[Common to all SAFs] Bank account number information IBAN number or account number with optional information
element BankAccountStructureIBANNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationInternational Bank Account Number ISO 13616
element BankAccountStructureBankAccountNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationThe number allocated to the account by the individuals or companys own bank
element BankAccountStructureBankAccountName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
annotation documentationThe name of the individual or company holding the bank account
element BankAccountStructureSortCode
2345
diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationIdentifier for the bank branch at which the account is held May be needed to uniquely identify the account
complexType CompanyHeaderStructure diagram
type restriction of CompanyStructure
properties base CompanyStructure
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
used by element HeaderStructureCompany
annotation documentation[Common to all SAFs] CompanyStructure with mandatory RegistrationNumber and Telephone (Contact)
element CompanyHeaderStructureRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number to identify the company in the accounting records issued by a government body or created by the company for internal purposes to identify different entities within their corporate group
element CompanyHeaderStructureName diagram
type SAFmiddle2textType
properties isRef 0content simple
2445
facets maxLength 70
element CompanyHeaderStructureAddress diagram
type AddressStructure
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
element CompanyHeaderStructureContact diagram
type ContactHeaderStructure
2545
properties isRef 0minOcc 1
maxOcc unboundedcontent complex
children ContactPerson Telephone Fax Email Website
element CompanyHeaderStructureTaxRegistration diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
element CompanyHeaderStructureBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
complexType CompanyStructure
2645
diagram
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
used by element AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchDetailscomplexType CompanyHeaderStructure
annotation documentation[Common to all SAFs] Name address contact and identification information of a company or employer
element CompanyStructureRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationUnique number to identify the company in the accounting records issued by a government authority or created by the company for internal purposes to identify different entities within their corporate group
element CompanyStructureName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element CompanyStructureAddress diagram
2745
type AddressStructure
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
element CompanyStructureContact diagram
type ContactInformationStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children ContactPerson Telephone Fax Email Website
2845
element CompanyStructureTaxRegistration diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
element CompanyStructureBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
complexType ContactHeaderStructure
2945
diagram
type restriction of ContactInformationStructure
properties base ContactInformationStructure
children ContactPerson Telephone Fax Email Website
used by element CompanyHeaderStructureContact
annotation documentation[Common to all SAFs] ContactInformationStructure with madatory TelephoneNumber
element ContactHeaderStructureContactPerson diagram
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactHeaderStructureTelephone diagram
type SAFshorttextType
3045
properties isRef 0content simple
facets maxLength 18
element ContactHeaderStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactHeaderStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element ContactHeaderStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType ContactInformationStructure diagram
children ContactPerson Telephone Fax Email Website
used by elements AuditFilePayrollHeaderPayrollBureauContact CompanyStructureContactcomplexType ContactHeaderStructure
annotation documentation[Common to all SAFs] Contact information of a company or employer
element ContactInformationStructureContactPerson diagram
3145
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactInformationStructureTelephone diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
3245
facets maxLength 70
element ContactInformationStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType HeaderStructure diagram
children AuditFileVersion AuditFileCountry AuditFileRegion AuditFileDateCreated SoftwareCompanyName SoftwareID SoftwareVersion Company DefaultCurrencyCode SelectionCriteria HeaderComment
used by element AuditFilePayrollHeader
annotation documentation[Common to all SAFs] Overall information about this Standard Auditfile
element HeaderStructureAuditFileVersion
3345
diagram
type SAFcodeType
properties isRef 0content simple
facets maxLength 9
annotation documentationIdentification of the Standard Audit File SAF-P version being used
element HeaderStructureAuditFileCountry diagram
type ISOCountryCode
properties isRef 0content simple
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
element HeaderStructureAuditFileRegion diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationCountry specific code to indicate regions provinces within the tax jurisdiction Preferably described according to ISO 3166-2 Example GB-KEN for Kent county in the United Kingdom
element HeaderStructureAuditFileDateCreated diagram
type xsdate
properties isRef 0content simple
annotation documentationDate of production of SAF-P
element HeaderStructureSoftwareCompanyName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
annotation documentationName of the software company whose product created the SAF-P
element HeaderStructureSoftwareID diagram
3445
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationName of the Software that generated the SAF-P
element HeaderStructureSoftwareVersion diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationVersion of the software that created the SAF-P
element HeaderStructureCompany diagram
type CompanyHeaderStructure
properties isRef 0content complex
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
annotation documentationEmployers name and address details
element HeaderStructureDefaultCurrencyCode diagram
type ISOCurrencyCode
properties isRef 0content simple
facets length 3
annotation documentationThree letter Currency Code (ISO 4217) of local currency which is the default for the SAF
element HeaderStructureSelectionCriteria
3545
diagram
type SelectionCriteriaStructure
properties isRef 0minOcc 0maxOcc 1content complex
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
annotation documentationCriteria set by the user to populate the SAF-P
element HeaderStructureHeaderComment diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
3645
facets maxLength 256
annotation documentationSpace for any further generic comments on the SAF-P Revenue Bodies should consider what information they would expect to see here
complexType IdentificationStructure diagram
children IdentificationType IdentificationNumber DateValidUntil PlaceOfIssue DateOfIssue
used by element AuditFilePayrollMasterFilesEmployeesEmployeeIdentification
annotation documentationIdentification Document data This section is used when employers need to demonstrate that they have seen proof of an employees identity
element IdentificationStructureIdentificationType diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationThe type of identity document supplied to the employer Revenue bodies may wish to prescribe a specific list of codes
element IdentificationStructureIdentificationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number on the identification document
element IdentificationStructureDateValidUntil diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
element IdentificationStructurePlaceOfIssue diagram
type SAFmiddle1textType
3745
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
element IdentificationStructureDateOfIssue diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
complexType PersonNameStructure diagram
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
used by elements ContactHeaderStructureContactPerson ContactInformationStructureContactPerson AuditFilePayrollMasterFilesEmployeesEmployeeName
annotation documentation[Common to all SAFs] All information about the name of a natural (non-corporate) person
element PersonNameStructureTitle diagram
type SAFcodeType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 9
element PersonNameStructureFirstName diagram
type SAFmiddle1textType
properties isRef 0content simple
3845
facets maxLength 35
element PersonNameStructureInitials diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element PersonNameStructureLastNamePrefix diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA textual expression of a prefix that precedes this persons family name such as Van Von
element PersonNameStructureLastName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element PersonNameStructureBirthName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element PersonNameStructureSalutation diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA formal sign or expression of greeting expressed as text that is appropriate for this person such as Sir or Madam
element PersonNameStructureOtherTitles diagram
type SAFshorttextType
3945
properties isRef 0minOcc 0
maxOcc unboundedcontent simple
facets maxLength 18
complexType SelectionCriteriaStructure diagram
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
used by element HeaderStructureSelectionCriteria
annotation documentation[Common to all SAFs] The selection criteria used to generate this Standard Auditfile
element SelectionCriteriaStructureTaxReportingJurisdiction diagram
type SAFmiddle1textType
4045
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationIdentifies the tax jurisdiction for whose purpose the SAF has been created Principally for use where a single Revenue body covers more than one territory
element SelectionCriteriaStructureCompanyEntity diagram
type SAFmiddle2textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 70
annotation documentationFor use where data has been extracted from the full data set by reference to a specific corporate entity
element SelectionCriteriaStructureSelectionStartDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe start date for the reporting period covered by the SAF
element SelectionCriteriaStructureSelectionEndDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe end date for the reporting period covered by the SAF
element SelectionCriteriaStructurePeriodStart diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe first Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodStartYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodStart falls
element SelectionCriteriaStructurePeriodEnd
4145
diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe last Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodEndYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodEnd falls
element SelectionCriteriaStructureDocumentType diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationType of documents selected For use where the data has been restricted by reference to particular transaction types
element SelectionCriteriaStructureOtherCriteria diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc unboundedcontent simple
facets maxLength 256
annotation documentationAny other criteria used in selecting data Individual Revenue Bodies may wish to draw up a list of other acceptable selection criteria for use within their jurisdiction
complexType TaxIDStructure diagram
4245
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeRegistrationNumbers CompanyHeaderStructureTaxRegistration CompanyStructureTaxRegistration
annotation documentation[Common to all SAFs] Tax information for a company or employer
element TaxIDStructureTaxRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number issued by Revenue Body for use by the employer
element TaxIDStructureTaxType diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationFor use where information reported in the SAF-P covers more than one type of tax regime to identify the type of tax regime to which this entry relates
element TaxIDStructureTaxNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
4345
annotation documentationThe tax registration number for the particular tax regime referred to by TaxType
element TaxIDStructureTaxAuthority diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
annotation documentationIdentification of the Revenue Body to which this TaxType refers
element TaxIDStructureTaxVerificationDate diagram
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date that the tax registration details referred to above were last checked
simpleType ISOCountryCode type restriction of xsstring
used by elements HeaderStructureAuditFileCountry AddressStructureCountry
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
simpleType ISOCurrencyCode type restriction of xsstring
used by elements AmountStructureCurrencyCode HeaderStructureDefaultCurrencyCode
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for the Euros or USD for American Dollars
simpleType SAFcodeType type restriction of xsstring
used by elements HeaderStructureAuditFileRegion HeaderStructureAuditFileVersion TaxIDStructureTaxType PersonNameStructureTitle
facets maxLength 9
annotation documentationText of max 9 characters
simpleType SAFexchangerateType type restriction of xsdecimal
used by element AmountStructureExchangeRate
facets totalDigits 18fractionDigits 8
annotation documentation18 digits max of which 8 can be fractional digits
simpleType SAFlongtextType type restriction of xsstring
used by elements AuditFilePayrollTransactionFilesEmploymentBranchID AuditFilePayrollTransactionFilesEmploymentDepartment SelectionCriteriaStructureDocumentType AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeWorkReferenceNumber HeaderStructureHeaderComment AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType AuditFilePayrollTransactionFilesEmploymentJobTitle SelectionCriteriaStructureOtherCriteria AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementDescription HeaderStructureSoftwareID AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
facets maxLength 256
annotation documentation256 character text
simpleType SAFmiddle1textType type restriction of xsstring
4445
used by elements BankAccountStructureBankAccountNumber AddressStructureBuilding AddressStructureCity PersonNameStructureFirstName BankAccountStructureIBANNumber IdentificationStructureIdentificationNumber AuditFilePayrollHeaderPayrollBureauName IdentificationStructurePlaceOfIssue AddressStructureRegion CompanyHeaderStructureRegistrationNumber CompanyStructureRegistrationNumber TaxIDStructureTaxAuthority TaxIDStructureTaxNumber TaxIDStructureTaxRegistrationNumber SelectionCriteriaStructureTaxReportingJurisdiction
facets maxLength 35
annotation documentation35 character text
simpleType SAFmiddle2textType type restriction of xsstring
used by elements AddressStructureAdditionalAddressDetail BankAccountStructureBankAccountName PersonNameStructureBirthName SelectionCriteriaStructureCompanyEntity ContactHeaderStructureEmail ContactInformationStructureEmail PersonNameStructureLastName CompanyHeaderStructureName CompanyStructureName HeaderStructureSoftwareCompanyName AddressStructureStreetName
facets maxLength 70
annotation documentation70 character text
simpleType SAFmonetaryType type restriction of xsdecimal
used by elements AmountStructureAmount AmountStructureCurrencyAmount
facets totalDigits 18fractionDigits 2
annotation documentationMonetary amount18 digits max of which 2 can be fractional digits
simpleType SAFquantityType type restriction of xsdecimal
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits
facets totalDigits 22fractionDigits 6
annotation documentationUsed to describe a quantity Monetary amount 22 digits max of which 6 can be fractional digits
simpleType SAFshorttextType type restriction of xsstring
used by elements AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchID ContactHeaderStructureFax ContactInformationStructureFax IdentificationStructureIdentificationType PersonNameStructureInitials PersonNameStructureLastNamePrefix AddressStructureNumber PersonNameStructureOtherTitles AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayFrequency AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementID AddressStructurePostalCode PersonNameStructureSalutation HeaderStructureSoftwareVersion BankAccountStructureSortCode ContactHeaderStructureTelephone ContactInformationStructureTelephone
facets maxLength 18
annotation documentation18 character text
simpleType SAFweightType type restriction of xsdecimal
facets totalDigits 14fractionDigits 3
annotation documentationDescribes a weight Monetary amount14 digits max of which 3 can be fractional digits
XML Schema documentation generated by XMLSpy Schema Editor httpwwwaltovacomxmlspy
4545
- Footer Guidance for the Standard Audit File ndash Payroll Version 10 Appendix B Schema
- Header Page
children IBANNumber BankAccountNumber BankAccountName SortCode
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeBankAccount AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementBankAccount CompanyHeaderStructureBankAccount CompanyStructureBankAccount
annotation documentation[Common to all SAFs] Bank account number information IBAN number or account number with optional information
element BankAccountStructureIBANNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationInternational Bank Account Number ISO 13616
element BankAccountStructureBankAccountNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationThe number allocated to the account by the individuals or companys own bank
element BankAccountStructureBankAccountName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
annotation documentationThe name of the individual or company holding the bank account
element BankAccountStructureSortCode
2345
diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationIdentifier for the bank branch at which the account is held May be needed to uniquely identify the account
complexType CompanyHeaderStructure diagram
type restriction of CompanyStructure
properties base CompanyStructure
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
used by element HeaderStructureCompany
annotation documentation[Common to all SAFs] CompanyStructure with mandatory RegistrationNumber and Telephone (Contact)
element CompanyHeaderStructureRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number to identify the company in the accounting records issued by a government body or created by the company for internal purposes to identify different entities within their corporate group
element CompanyHeaderStructureName diagram
type SAFmiddle2textType
properties isRef 0content simple
2445
facets maxLength 70
element CompanyHeaderStructureAddress diagram
type AddressStructure
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
element CompanyHeaderStructureContact diagram
type ContactHeaderStructure
2545
properties isRef 0minOcc 1
maxOcc unboundedcontent complex
children ContactPerson Telephone Fax Email Website
element CompanyHeaderStructureTaxRegistration diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
element CompanyHeaderStructureBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
complexType CompanyStructure
2645
diagram
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
used by element AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchDetailscomplexType CompanyHeaderStructure
annotation documentation[Common to all SAFs] Name address contact and identification information of a company or employer
element CompanyStructureRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationUnique number to identify the company in the accounting records issued by a government authority or created by the company for internal purposes to identify different entities within their corporate group
element CompanyStructureName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element CompanyStructureAddress diagram
2745
type AddressStructure
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
element CompanyStructureContact diagram
type ContactInformationStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children ContactPerson Telephone Fax Email Website
2845
element CompanyStructureTaxRegistration diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
element CompanyStructureBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
complexType ContactHeaderStructure
2945
diagram
type restriction of ContactInformationStructure
properties base ContactInformationStructure
children ContactPerson Telephone Fax Email Website
used by element CompanyHeaderStructureContact
annotation documentation[Common to all SAFs] ContactInformationStructure with madatory TelephoneNumber
element ContactHeaderStructureContactPerson diagram
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactHeaderStructureTelephone diagram
type SAFshorttextType
3045
properties isRef 0content simple
facets maxLength 18
element ContactHeaderStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactHeaderStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element ContactHeaderStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType ContactInformationStructure diagram
children ContactPerson Telephone Fax Email Website
used by elements AuditFilePayrollHeaderPayrollBureauContact CompanyStructureContactcomplexType ContactHeaderStructure
annotation documentation[Common to all SAFs] Contact information of a company or employer
element ContactInformationStructureContactPerson diagram
3145
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactInformationStructureTelephone diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
3245
facets maxLength 70
element ContactInformationStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType HeaderStructure diagram
children AuditFileVersion AuditFileCountry AuditFileRegion AuditFileDateCreated SoftwareCompanyName SoftwareID SoftwareVersion Company DefaultCurrencyCode SelectionCriteria HeaderComment
used by element AuditFilePayrollHeader
annotation documentation[Common to all SAFs] Overall information about this Standard Auditfile
element HeaderStructureAuditFileVersion
3345
diagram
type SAFcodeType
properties isRef 0content simple
facets maxLength 9
annotation documentationIdentification of the Standard Audit File SAF-P version being used
element HeaderStructureAuditFileCountry diagram
type ISOCountryCode
properties isRef 0content simple
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
element HeaderStructureAuditFileRegion diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationCountry specific code to indicate regions provinces within the tax jurisdiction Preferably described according to ISO 3166-2 Example GB-KEN for Kent county in the United Kingdom
element HeaderStructureAuditFileDateCreated diagram
type xsdate
properties isRef 0content simple
annotation documentationDate of production of SAF-P
element HeaderStructureSoftwareCompanyName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
annotation documentationName of the software company whose product created the SAF-P
element HeaderStructureSoftwareID diagram
3445
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationName of the Software that generated the SAF-P
element HeaderStructureSoftwareVersion diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationVersion of the software that created the SAF-P
element HeaderStructureCompany diagram
type CompanyHeaderStructure
properties isRef 0content complex
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
annotation documentationEmployers name and address details
element HeaderStructureDefaultCurrencyCode diagram
type ISOCurrencyCode
properties isRef 0content simple
facets length 3
annotation documentationThree letter Currency Code (ISO 4217) of local currency which is the default for the SAF
element HeaderStructureSelectionCriteria
3545
diagram
type SelectionCriteriaStructure
properties isRef 0minOcc 0maxOcc 1content complex
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
annotation documentationCriteria set by the user to populate the SAF-P
element HeaderStructureHeaderComment diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
3645
facets maxLength 256
annotation documentationSpace for any further generic comments on the SAF-P Revenue Bodies should consider what information they would expect to see here
complexType IdentificationStructure diagram
children IdentificationType IdentificationNumber DateValidUntil PlaceOfIssue DateOfIssue
used by element AuditFilePayrollMasterFilesEmployeesEmployeeIdentification
annotation documentationIdentification Document data This section is used when employers need to demonstrate that they have seen proof of an employees identity
element IdentificationStructureIdentificationType diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationThe type of identity document supplied to the employer Revenue bodies may wish to prescribe a specific list of codes
element IdentificationStructureIdentificationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number on the identification document
element IdentificationStructureDateValidUntil diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
element IdentificationStructurePlaceOfIssue diagram
type SAFmiddle1textType
3745
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
element IdentificationStructureDateOfIssue diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
complexType PersonNameStructure diagram
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
used by elements ContactHeaderStructureContactPerson ContactInformationStructureContactPerson AuditFilePayrollMasterFilesEmployeesEmployeeName
annotation documentation[Common to all SAFs] All information about the name of a natural (non-corporate) person
element PersonNameStructureTitle diagram
type SAFcodeType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 9
element PersonNameStructureFirstName diagram
type SAFmiddle1textType
properties isRef 0content simple
3845
facets maxLength 35
element PersonNameStructureInitials diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element PersonNameStructureLastNamePrefix diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA textual expression of a prefix that precedes this persons family name such as Van Von
element PersonNameStructureLastName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element PersonNameStructureBirthName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element PersonNameStructureSalutation diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA formal sign or expression of greeting expressed as text that is appropriate for this person such as Sir or Madam
element PersonNameStructureOtherTitles diagram
type SAFshorttextType
3945
properties isRef 0minOcc 0
maxOcc unboundedcontent simple
facets maxLength 18
complexType SelectionCriteriaStructure diagram
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
used by element HeaderStructureSelectionCriteria
annotation documentation[Common to all SAFs] The selection criteria used to generate this Standard Auditfile
element SelectionCriteriaStructureTaxReportingJurisdiction diagram
type SAFmiddle1textType
4045
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationIdentifies the tax jurisdiction for whose purpose the SAF has been created Principally for use where a single Revenue body covers more than one territory
element SelectionCriteriaStructureCompanyEntity diagram
type SAFmiddle2textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 70
annotation documentationFor use where data has been extracted from the full data set by reference to a specific corporate entity
element SelectionCriteriaStructureSelectionStartDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe start date for the reporting period covered by the SAF
element SelectionCriteriaStructureSelectionEndDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe end date for the reporting period covered by the SAF
element SelectionCriteriaStructurePeriodStart diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe first Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodStartYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodStart falls
element SelectionCriteriaStructurePeriodEnd
4145
diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe last Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodEndYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodEnd falls
element SelectionCriteriaStructureDocumentType diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationType of documents selected For use where the data has been restricted by reference to particular transaction types
element SelectionCriteriaStructureOtherCriteria diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc unboundedcontent simple
facets maxLength 256
annotation documentationAny other criteria used in selecting data Individual Revenue Bodies may wish to draw up a list of other acceptable selection criteria for use within their jurisdiction
complexType TaxIDStructure diagram
4245
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeRegistrationNumbers CompanyHeaderStructureTaxRegistration CompanyStructureTaxRegistration
annotation documentation[Common to all SAFs] Tax information for a company or employer
element TaxIDStructureTaxRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number issued by Revenue Body for use by the employer
element TaxIDStructureTaxType diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationFor use where information reported in the SAF-P covers more than one type of tax regime to identify the type of tax regime to which this entry relates
element TaxIDStructureTaxNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
4345
annotation documentationThe tax registration number for the particular tax regime referred to by TaxType
element TaxIDStructureTaxAuthority diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
annotation documentationIdentification of the Revenue Body to which this TaxType refers
element TaxIDStructureTaxVerificationDate diagram
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date that the tax registration details referred to above were last checked
simpleType ISOCountryCode type restriction of xsstring
used by elements HeaderStructureAuditFileCountry AddressStructureCountry
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
simpleType ISOCurrencyCode type restriction of xsstring
used by elements AmountStructureCurrencyCode HeaderStructureDefaultCurrencyCode
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for the Euros or USD for American Dollars
simpleType SAFcodeType type restriction of xsstring
used by elements HeaderStructureAuditFileRegion HeaderStructureAuditFileVersion TaxIDStructureTaxType PersonNameStructureTitle
facets maxLength 9
annotation documentationText of max 9 characters
simpleType SAFexchangerateType type restriction of xsdecimal
used by element AmountStructureExchangeRate
facets totalDigits 18fractionDigits 8
annotation documentation18 digits max of which 8 can be fractional digits
simpleType SAFlongtextType type restriction of xsstring
used by elements AuditFilePayrollTransactionFilesEmploymentBranchID AuditFilePayrollTransactionFilesEmploymentDepartment SelectionCriteriaStructureDocumentType AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeWorkReferenceNumber HeaderStructureHeaderComment AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType AuditFilePayrollTransactionFilesEmploymentJobTitle SelectionCriteriaStructureOtherCriteria AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementDescription HeaderStructureSoftwareID AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
facets maxLength 256
annotation documentation256 character text
simpleType SAFmiddle1textType type restriction of xsstring
4445
used by elements BankAccountStructureBankAccountNumber AddressStructureBuilding AddressStructureCity PersonNameStructureFirstName BankAccountStructureIBANNumber IdentificationStructureIdentificationNumber AuditFilePayrollHeaderPayrollBureauName IdentificationStructurePlaceOfIssue AddressStructureRegion CompanyHeaderStructureRegistrationNumber CompanyStructureRegistrationNumber TaxIDStructureTaxAuthority TaxIDStructureTaxNumber TaxIDStructureTaxRegistrationNumber SelectionCriteriaStructureTaxReportingJurisdiction
facets maxLength 35
annotation documentation35 character text
simpleType SAFmiddle2textType type restriction of xsstring
used by elements AddressStructureAdditionalAddressDetail BankAccountStructureBankAccountName PersonNameStructureBirthName SelectionCriteriaStructureCompanyEntity ContactHeaderStructureEmail ContactInformationStructureEmail PersonNameStructureLastName CompanyHeaderStructureName CompanyStructureName HeaderStructureSoftwareCompanyName AddressStructureStreetName
facets maxLength 70
annotation documentation70 character text
simpleType SAFmonetaryType type restriction of xsdecimal
used by elements AmountStructureAmount AmountStructureCurrencyAmount
facets totalDigits 18fractionDigits 2
annotation documentationMonetary amount18 digits max of which 2 can be fractional digits
simpleType SAFquantityType type restriction of xsdecimal
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits
facets totalDigits 22fractionDigits 6
annotation documentationUsed to describe a quantity Monetary amount 22 digits max of which 6 can be fractional digits
simpleType SAFshorttextType type restriction of xsstring
used by elements AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchID ContactHeaderStructureFax ContactInformationStructureFax IdentificationStructureIdentificationType PersonNameStructureInitials PersonNameStructureLastNamePrefix AddressStructureNumber PersonNameStructureOtherTitles AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayFrequency AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementID AddressStructurePostalCode PersonNameStructureSalutation HeaderStructureSoftwareVersion BankAccountStructureSortCode ContactHeaderStructureTelephone ContactInformationStructureTelephone
facets maxLength 18
annotation documentation18 character text
simpleType SAFweightType type restriction of xsdecimal
facets totalDigits 14fractionDigits 3
annotation documentationDescribes a weight Monetary amount14 digits max of which 3 can be fractional digits
XML Schema documentation generated by XMLSpy Schema Editor httpwwwaltovacomxmlspy
4545
- Footer Guidance for the Standard Audit File ndash Payroll Version 10 Appendix B Schema
- Header Page
diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationIdentifier for the bank branch at which the account is held May be needed to uniquely identify the account
complexType CompanyHeaderStructure diagram
type restriction of CompanyStructure
properties base CompanyStructure
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
used by element HeaderStructureCompany
annotation documentation[Common to all SAFs] CompanyStructure with mandatory RegistrationNumber and Telephone (Contact)
element CompanyHeaderStructureRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number to identify the company in the accounting records issued by a government body or created by the company for internal purposes to identify different entities within their corporate group
element CompanyHeaderStructureName diagram
type SAFmiddle2textType
properties isRef 0content simple
2445
facets maxLength 70
element CompanyHeaderStructureAddress diagram
type AddressStructure
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
element CompanyHeaderStructureContact diagram
type ContactHeaderStructure
2545
properties isRef 0minOcc 1
maxOcc unboundedcontent complex
children ContactPerson Telephone Fax Email Website
element CompanyHeaderStructureTaxRegistration diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
element CompanyHeaderStructureBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
complexType CompanyStructure
2645
diagram
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
used by element AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchDetailscomplexType CompanyHeaderStructure
annotation documentation[Common to all SAFs] Name address contact and identification information of a company or employer
element CompanyStructureRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationUnique number to identify the company in the accounting records issued by a government authority or created by the company for internal purposes to identify different entities within their corporate group
element CompanyStructureName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element CompanyStructureAddress diagram
2745
type AddressStructure
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
element CompanyStructureContact diagram
type ContactInformationStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children ContactPerson Telephone Fax Email Website
2845
element CompanyStructureTaxRegistration diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
element CompanyStructureBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
complexType ContactHeaderStructure
2945
diagram
type restriction of ContactInformationStructure
properties base ContactInformationStructure
children ContactPerson Telephone Fax Email Website
used by element CompanyHeaderStructureContact
annotation documentation[Common to all SAFs] ContactInformationStructure with madatory TelephoneNumber
element ContactHeaderStructureContactPerson diagram
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactHeaderStructureTelephone diagram
type SAFshorttextType
3045
properties isRef 0content simple
facets maxLength 18
element ContactHeaderStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactHeaderStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element ContactHeaderStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType ContactInformationStructure diagram
children ContactPerson Telephone Fax Email Website
used by elements AuditFilePayrollHeaderPayrollBureauContact CompanyStructureContactcomplexType ContactHeaderStructure
annotation documentation[Common to all SAFs] Contact information of a company or employer
element ContactInformationStructureContactPerson diagram
3145
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactInformationStructureTelephone diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
3245
facets maxLength 70
element ContactInformationStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType HeaderStructure diagram
children AuditFileVersion AuditFileCountry AuditFileRegion AuditFileDateCreated SoftwareCompanyName SoftwareID SoftwareVersion Company DefaultCurrencyCode SelectionCriteria HeaderComment
used by element AuditFilePayrollHeader
annotation documentation[Common to all SAFs] Overall information about this Standard Auditfile
element HeaderStructureAuditFileVersion
3345
diagram
type SAFcodeType
properties isRef 0content simple
facets maxLength 9
annotation documentationIdentification of the Standard Audit File SAF-P version being used
element HeaderStructureAuditFileCountry diagram
type ISOCountryCode
properties isRef 0content simple
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
element HeaderStructureAuditFileRegion diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationCountry specific code to indicate regions provinces within the tax jurisdiction Preferably described according to ISO 3166-2 Example GB-KEN for Kent county in the United Kingdom
element HeaderStructureAuditFileDateCreated diagram
type xsdate
properties isRef 0content simple
annotation documentationDate of production of SAF-P
element HeaderStructureSoftwareCompanyName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
annotation documentationName of the software company whose product created the SAF-P
element HeaderStructureSoftwareID diagram
3445
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationName of the Software that generated the SAF-P
element HeaderStructureSoftwareVersion diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationVersion of the software that created the SAF-P
element HeaderStructureCompany diagram
type CompanyHeaderStructure
properties isRef 0content complex
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
annotation documentationEmployers name and address details
element HeaderStructureDefaultCurrencyCode diagram
type ISOCurrencyCode
properties isRef 0content simple
facets length 3
annotation documentationThree letter Currency Code (ISO 4217) of local currency which is the default for the SAF
element HeaderStructureSelectionCriteria
3545
diagram
type SelectionCriteriaStructure
properties isRef 0minOcc 0maxOcc 1content complex
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
annotation documentationCriteria set by the user to populate the SAF-P
element HeaderStructureHeaderComment diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
3645
facets maxLength 256
annotation documentationSpace for any further generic comments on the SAF-P Revenue Bodies should consider what information they would expect to see here
complexType IdentificationStructure diagram
children IdentificationType IdentificationNumber DateValidUntil PlaceOfIssue DateOfIssue
used by element AuditFilePayrollMasterFilesEmployeesEmployeeIdentification
annotation documentationIdentification Document data This section is used when employers need to demonstrate that they have seen proof of an employees identity
element IdentificationStructureIdentificationType diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationThe type of identity document supplied to the employer Revenue bodies may wish to prescribe a specific list of codes
element IdentificationStructureIdentificationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number on the identification document
element IdentificationStructureDateValidUntil diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
element IdentificationStructurePlaceOfIssue diagram
type SAFmiddle1textType
3745
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
element IdentificationStructureDateOfIssue diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
complexType PersonNameStructure diagram
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
used by elements ContactHeaderStructureContactPerson ContactInformationStructureContactPerson AuditFilePayrollMasterFilesEmployeesEmployeeName
annotation documentation[Common to all SAFs] All information about the name of a natural (non-corporate) person
element PersonNameStructureTitle diagram
type SAFcodeType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 9
element PersonNameStructureFirstName diagram
type SAFmiddle1textType
properties isRef 0content simple
3845
facets maxLength 35
element PersonNameStructureInitials diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element PersonNameStructureLastNamePrefix diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA textual expression of a prefix that precedes this persons family name such as Van Von
element PersonNameStructureLastName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element PersonNameStructureBirthName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element PersonNameStructureSalutation diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA formal sign or expression of greeting expressed as text that is appropriate for this person such as Sir or Madam
element PersonNameStructureOtherTitles diagram
type SAFshorttextType
3945
properties isRef 0minOcc 0
maxOcc unboundedcontent simple
facets maxLength 18
complexType SelectionCriteriaStructure diagram
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
used by element HeaderStructureSelectionCriteria
annotation documentation[Common to all SAFs] The selection criteria used to generate this Standard Auditfile
element SelectionCriteriaStructureTaxReportingJurisdiction diagram
type SAFmiddle1textType
4045
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationIdentifies the tax jurisdiction for whose purpose the SAF has been created Principally for use where a single Revenue body covers more than one territory
element SelectionCriteriaStructureCompanyEntity diagram
type SAFmiddle2textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 70
annotation documentationFor use where data has been extracted from the full data set by reference to a specific corporate entity
element SelectionCriteriaStructureSelectionStartDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe start date for the reporting period covered by the SAF
element SelectionCriteriaStructureSelectionEndDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe end date for the reporting period covered by the SAF
element SelectionCriteriaStructurePeriodStart diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe first Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodStartYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodStart falls
element SelectionCriteriaStructurePeriodEnd
4145
diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe last Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodEndYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodEnd falls
element SelectionCriteriaStructureDocumentType diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationType of documents selected For use where the data has been restricted by reference to particular transaction types
element SelectionCriteriaStructureOtherCriteria diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc unboundedcontent simple
facets maxLength 256
annotation documentationAny other criteria used in selecting data Individual Revenue Bodies may wish to draw up a list of other acceptable selection criteria for use within their jurisdiction
complexType TaxIDStructure diagram
4245
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeRegistrationNumbers CompanyHeaderStructureTaxRegistration CompanyStructureTaxRegistration
annotation documentation[Common to all SAFs] Tax information for a company or employer
element TaxIDStructureTaxRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number issued by Revenue Body for use by the employer
element TaxIDStructureTaxType diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationFor use where information reported in the SAF-P covers more than one type of tax regime to identify the type of tax regime to which this entry relates
element TaxIDStructureTaxNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
4345
annotation documentationThe tax registration number for the particular tax regime referred to by TaxType
element TaxIDStructureTaxAuthority diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
annotation documentationIdentification of the Revenue Body to which this TaxType refers
element TaxIDStructureTaxVerificationDate diagram
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date that the tax registration details referred to above were last checked
simpleType ISOCountryCode type restriction of xsstring
used by elements HeaderStructureAuditFileCountry AddressStructureCountry
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
simpleType ISOCurrencyCode type restriction of xsstring
used by elements AmountStructureCurrencyCode HeaderStructureDefaultCurrencyCode
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for the Euros or USD for American Dollars
simpleType SAFcodeType type restriction of xsstring
used by elements HeaderStructureAuditFileRegion HeaderStructureAuditFileVersion TaxIDStructureTaxType PersonNameStructureTitle
facets maxLength 9
annotation documentationText of max 9 characters
simpleType SAFexchangerateType type restriction of xsdecimal
used by element AmountStructureExchangeRate
facets totalDigits 18fractionDigits 8
annotation documentation18 digits max of which 8 can be fractional digits
simpleType SAFlongtextType type restriction of xsstring
used by elements AuditFilePayrollTransactionFilesEmploymentBranchID AuditFilePayrollTransactionFilesEmploymentDepartment SelectionCriteriaStructureDocumentType AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeWorkReferenceNumber HeaderStructureHeaderComment AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType AuditFilePayrollTransactionFilesEmploymentJobTitle SelectionCriteriaStructureOtherCriteria AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementDescription HeaderStructureSoftwareID AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
facets maxLength 256
annotation documentation256 character text
simpleType SAFmiddle1textType type restriction of xsstring
4445
used by elements BankAccountStructureBankAccountNumber AddressStructureBuilding AddressStructureCity PersonNameStructureFirstName BankAccountStructureIBANNumber IdentificationStructureIdentificationNumber AuditFilePayrollHeaderPayrollBureauName IdentificationStructurePlaceOfIssue AddressStructureRegion CompanyHeaderStructureRegistrationNumber CompanyStructureRegistrationNumber TaxIDStructureTaxAuthority TaxIDStructureTaxNumber TaxIDStructureTaxRegistrationNumber SelectionCriteriaStructureTaxReportingJurisdiction
facets maxLength 35
annotation documentation35 character text
simpleType SAFmiddle2textType type restriction of xsstring
used by elements AddressStructureAdditionalAddressDetail BankAccountStructureBankAccountName PersonNameStructureBirthName SelectionCriteriaStructureCompanyEntity ContactHeaderStructureEmail ContactInformationStructureEmail PersonNameStructureLastName CompanyHeaderStructureName CompanyStructureName HeaderStructureSoftwareCompanyName AddressStructureStreetName
facets maxLength 70
annotation documentation70 character text
simpleType SAFmonetaryType type restriction of xsdecimal
used by elements AmountStructureAmount AmountStructureCurrencyAmount
facets totalDigits 18fractionDigits 2
annotation documentationMonetary amount18 digits max of which 2 can be fractional digits
simpleType SAFquantityType type restriction of xsdecimal
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits
facets totalDigits 22fractionDigits 6
annotation documentationUsed to describe a quantity Monetary amount 22 digits max of which 6 can be fractional digits
simpleType SAFshorttextType type restriction of xsstring
used by elements AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchID ContactHeaderStructureFax ContactInformationStructureFax IdentificationStructureIdentificationType PersonNameStructureInitials PersonNameStructureLastNamePrefix AddressStructureNumber PersonNameStructureOtherTitles AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayFrequency AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementID AddressStructurePostalCode PersonNameStructureSalutation HeaderStructureSoftwareVersion BankAccountStructureSortCode ContactHeaderStructureTelephone ContactInformationStructureTelephone
facets maxLength 18
annotation documentation18 character text
simpleType SAFweightType type restriction of xsdecimal
facets totalDigits 14fractionDigits 3
annotation documentationDescribes a weight Monetary amount14 digits max of which 3 can be fractional digits
XML Schema documentation generated by XMLSpy Schema Editor httpwwwaltovacomxmlspy
4545
- Footer Guidance for the Standard Audit File ndash Payroll Version 10 Appendix B Schema
- Header Page
facets maxLength 70
element CompanyHeaderStructureAddress diagram
type AddressStructure
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
element CompanyHeaderStructureContact diagram
type ContactHeaderStructure
2545
properties isRef 0minOcc 1
maxOcc unboundedcontent complex
children ContactPerson Telephone Fax Email Website
element CompanyHeaderStructureTaxRegistration diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
element CompanyHeaderStructureBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
complexType CompanyStructure
2645
diagram
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
used by element AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchDetailscomplexType CompanyHeaderStructure
annotation documentation[Common to all SAFs] Name address contact and identification information of a company or employer
element CompanyStructureRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationUnique number to identify the company in the accounting records issued by a government authority or created by the company for internal purposes to identify different entities within their corporate group
element CompanyStructureName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element CompanyStructureAddress diagram
2745
type AddressStructure
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
element CompanyStructureContact diagram
type ContactInformationStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children ContactPerson Telephone Fax Email Website
2845
element CompanyStructureTaxRegistration diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
element CompanyStructureBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
complexType ContactHeaderStructure
2945
diagram
type restriction of ContactInformationStructure
properties base ContactInformationStructure
children ContactPerson Telephone Fax Email Website
used by element CompanyHeaderStructureContact
annotation documentation[Common to all SAFs] ContactInformationStructure with madatory TelephoneNumber
element ContactHeaderStructureContactPerson diagram
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactHeaderStructureTelephone diagram
type SAFshorttextType
3045
properties isRef 0content simple
facets maxLength 18
element ContactHeaderStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactHeaderStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element ContactHeaderStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType ContactInformationStructure diagram
children ContactPerson Telephone Fax Email Website
used by elements AuditFilePayrollHeaderPayrollBureauContact CompanyStructureContactcomplexType ContactHeaderStructure
annotation documentation[Common to all SAFs] Contact information of a company or employer
element ContactInformationStructureContactPerson diagram
3145
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactInformationStructureTelephone diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
3245
facets maxLength 70
element ContactInformationStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType HeaderStructure diagram
children AuditFileVersion AuditFileCountry AuditFileRegion AuditFileDateCreated SoftwareCompanyName SoftwareID SoftwareVersion Company DefaultCurrencyCode SelectionCriteria HeaderComment
used by element AuditFilePayrollHeader
annotation documentation[Common to all SAFs] Overall information about this Standard Auditfile
element HeaderStructureAuditFileVersion
3345
diagram
type SAFcodeType
properties isRef 0content simple
facets maxLength 9
annotation documentationIdentification of the Standard Audit File SAF-P version being used
element HeaderStructureAuditFileCountry diagram
type ISOCountryCode
properties isRef 0content simple
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
element HeaderStructureAuditFileRegion diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationCountry specific code to indicate regions provinces within the tax jurisdiction Preferably described according to ISO 3166-2 Example GB-KEN for Kent county in the United Kingdom
element HeaderStructureAuditFileDateCreated diagram
type xsdate
properties isRef 0content simple
annotation documentationDate of production of SAF-P
element HeaderStructureSoftwareCompanyName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
annotation documentationName of the software company whose product created the SAF-P
element HeaderStructureSoftwareID diagram
3445
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationName of the Software that generated the SAF-P
element HeaderStructureSoftwareVersion diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationVersion of the software that created the SAF-P
element HeaderStructureCompany diagram
type CompanyHeaderStructure
properties isRef 0content complex
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
annotation documentationEmployers name and address details
element HeaderStructureDefaultCurrencyCode diagram
type ISOCurrencyCode
properties isRef 0content simple
facets length 3
annotation documentationThree letter Currency Code (ISO 4217) of local currency which is the default for the SAF
element HeaderStructureSelectionCriteria
3545
diagram
type SelectionCriteriaStructure
properties isRef 0minOcc 0maxOcc 1content complex
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
annotation documentationCriteria set by the user to populate the SAF-P
element HeaderStructureHeaderComment diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
3645
facets maxLength 256
annotation documentationSpace for any further generic comments on the SAF-P Revenue Bodies should consider what information they would expect to see here
complexType IdentificationStructure diagram
children IdentificationType IdentificationNumber DateValidUntil PlaceOfIssue DateOfIssue
used by element AuditFilePayrollMasterFilesEmployeesEmployeeIdentification
annotation documentationIdentification Document data This section is used when employers need to demonstrate that they have seen proof of an employees identity
element IdentificationStructureIdentificationType diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationThe type of identity document supplied to the employer Revenue bodies may wish to prescribe a specific list of codes
element IdentificationStructureIdentificationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number on the identification document
element IdentificationStructureDateValidUntil diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
element IdentificationStructurePlaceOfIssue diagram
type SAFmiddle1textType
3745
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
element IdentificationStructureDateOfIssue diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
complexType PersonNameStructure diagram
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
used by elements ContactHeaderStructureContactPerson ContactInformationStructureContactPerson AuditFilePayrollMasterFilesEmployeesEmployeeName
annotation documentation[Common to all SAFs] All information about the name of a natural (non-corporate) person
element PersonNameStructureTitle diagram
type SAFcodeType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 9
element PersonNameStructureFirstName diagram
type SAFmiddle1textType
properties isRef 0content simple
3845
facets maxLength 35
element PersonNameStructureInitials diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element PersonNameStructureLastNamePrefix diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA textual expression of a prefix that precedes this persons family name such as Van Von
element PersonNameStructureLastName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element PersonNameStructureBirthName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element PersonNameStructureSalutation diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA formal sign or expression of greeting expressed as text that is appropriate for this person such as Sir or Madam
element PersonNameStructureOtherTitles diagram
type SAFshorttextType
3945
properties isRef 0minOcc 0
maxOcc unboundedcontent simple
facets maxLength 18
complexType SelectionCriteriaStructure diagram
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
used by element HeaderStructureSelectionCriteria
annotation documentation[Common to all SAFs] The selection criteria used to generate this Standard Auditfile
element SelectionCriteriaStructureTaxReportingJurisdiction diagram
type SAFmiddle1textType
4045
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationIdentifies the tax jurisdiction for whose purpose the SAF has been created Principally for use where a single Revenue body covers more than one territory
element SelectionCriteriaStructureCompanyEntity diagram
type SAFmiddle2textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 70
annotation documentationFor use where data has been extracted from the full data set by reference to a specific corporate entity
element SelectionCriteriaStructureSelectionStartDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe start date for the reporting period covered by the SAF
element SelectionCriteriaStructureSelectionEndDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe end date for the reporting period covered by the SAF
element SelectionCriteriaStructurePeriodStart diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe first Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodStartYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodStart falls
element SelectionCriteriaStructurePeriodEnd
4145
diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe last Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodEndYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodEnd falls
element SelectionCriteriaStructureDocumentType diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationType of documents selected For use where the data has been restricted by reference to particular transaction types
element SelectionCriteriaStructureOtherCriteria diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc unboundedcontent simple
facets maxLength 256
annotation documentationAny other criteria used in selecting data Individual Revenue Bodies may wish to draw up a list of other acceptable selection criteria for use within their jurisdiction
complexType TaxIDStructure diagram
4245
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeRegistrationNumbers CompanyHeaderStructureTaxRegistration CompanyStructureTaxRegistration
annotation documentation[Common to all SAFs] Tax information for a company or employer
element TaxIDStructureTaxRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number issued by Revenue Body for use by the employer
element TaxIDStructureTaxType diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationFor use where information reported in the SAF-P covers more than one type of tax regime to identify the type of tax regime to which this entry relates
element TaxIDStructureTaxNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
4345
annotation documentationThe tax registration number for the particular tax regime referred to by TaxType
element TaxIDStructureTaxAuthority diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
annotation documentationIdentification of the Revenue Body to which this TaxType refers
element TaxIDStructureTaxVerificationDate diagram
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date that the tax registration details referred to above were last checked
simpleType ISOCountryCode type restriction of xsstring
used by elements HeaderStructureAuditFileCountry AddressStructureCountry
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
simpleType ISOCurrencyCode type restriction of xsstring
used by elements AmountStructureCurrencyCode HeaderStructureDefaultCurrencyCode
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for the Euros or USD for American Dollars
simpleType SAFcodeType type restriction of xsstring
used by elements HeaderStructureAuditFileRegion HeaderStructureAuditFileVersion TaxIDStructureTaxType PersonNameStructureTitle
facets maxLength 9
annotation documentationText of max 9 characters
simpleType SAFexchangerateType type restriction of xsdecimal
used by element AmountStructureExchangeRate
facets totalDigits 18fractionDigits 8
annotation documentation18 digits max of which 8 can be fractional digits
simpleType SAFlongtextType type restriction of xsstring
used by elements AuditFilePayrollTransactionFilesEmploymentBranchID AuditFilePayrollTransactionFilesEmploymentDepartment SelectionCriteriaStructureDocumentType AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeWorkReferenceNumber HeaderStructureHeaderComment AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType AuditFilePayrollTransactionFilesEmploymentJobTitle SelectionCriteriaStructureOtherCriteria AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementDescription HeaderStructureSoftwareID AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
facets maxLength 256
annotation documentation256 character text
simpleType SAFmiddle1textType type restriction of xsstring
4445
used by elements BankAccountStructureBankAccountNumber AddressStructureBuilding AddressStructureCity PersonNameStructureFirstName BankAccountStructureIBANNumber IdentificationStructureIdentificationNumber AuditFilePayrollHeaderPayrollBureauName IdentificationStructurePlaceOfIssue AddressStructureRegion CompanyHeaderStructureRegistrationNumber CompanyStructureRegistrationNumber TaxIDStructureTaxAuthority TaxIDStructureTaxNumber TaxIDStructureTaxRegistrationNumber SelectionCriteriaStructureTaxReportingJurisdiction
facets maxLength 35
annotation documentation35 character text
simpleType SAFmiddle2textType type restriction of xsstring
used by elements AddressStructureAdditionalAddressDetail BankAccountStructureBankAccountName PersonNameStructureBirthName SelectionCriteriaStructureCompanyEntity ContactHeaderStructureEmail ContactInformationStructureEmail PersonNameStructureLastName CompanyHeaderStructureName CompanyStructureName HeaderStructureSoftwareCompanyName AddressStructureStreetName
facets maxLength 70
annotation documentation70 character text
simpleType SAFmonetaryType type restriction of xsdecimal
used by elements AmountStructureAmount AmountStructureCurrencyAmount
facets totalDigits 18fractionDigits 2
annotation documentationMonetary amount18 digits max of which 2 can be fractional digits
simpleType SAFquantityType type restriction of xsdecimal
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits
facets totalDigits 22fractionDigits 6
annotation documentationUsed to describe a quantity Monetary amount 22 digits max of which 6 can be fractional digits
simpleType SAFshorttextType type restriction of xsstring
used by elements AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchID ContactHeaderStructureFax ContactInformationStructureFax IdentificationStructureIdentificationType PersonNameStructureInitials PersonNameStructureLastNamePrefix AddressStructureNumber PersonNameStructureOtherTitles AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayFrequency AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementID AddressStructurePostalCode PersonNameStructureSalutation HeaderStructureSoftwareVersion BankAccountStructureSortCode ContactHeaderStructureTelephone ContactInformationStructureTelephone
facets maxLength 18
annotation documentation18 character text
simpleType SAFweightType type restriction of xsdecimal
facets totalDigits 14fractionDigits 3
annotation documentationDescribes a weight Monetary amount14 digits max of which 3 can be fractional digits
XML Schema documentation generated by XMLSpy Schema Editor httpwwwaltovacomxmlspy
4545
- Footer Guidance for the Standard Audit File ndash Payroll Version 10 Appendix B Schema
- Header Page
properties isRef 0minOcc 1
maxOcc unboundedcontent complex
children ContactPerson Telephone Fax Email Website
element CompanyHeaderStructureTaxRegistration diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
element CompanyHeaderStructureBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
complexType CompanyStructure
2645
diagram
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
used by element AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchDetailscomplexType CompanyHeaderStructure
annotation documentation[Common to all SAFs] Name address contact and identification information of a company or employer
element CompanyStructureRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationUnique number to identify the company in the accounting records issued by a government authority or created by the company for internal purposes to identify different entities within their corporate group
element CompanyStructureName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element CompanyStructureAddress diagram
2745
type AddressStructure
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
element CompanyStructureContact diagram
type ContactInformationStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children ContactPerson Telephone Fax Email Website
2845
element CompanyStructureTaxRegistration diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
element CompanyStructureBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
complexType ContactHeaderStructure
2945
diagram
type restriction of ContactInformationStructure
properties base ContactInformationStructure
children ContactPerson Telephone Fax Email Website
used by element CompanyHeaderStructureContact
annotation documentation[Common to all SAFs] ContactInformationStructure with madatory TelephoneNumber
element ContactHeaderStructureContactPerson diagram
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactHeaderStructureTelephone diagram
type SAFshorttextType
3045
properties isRef 0content simple
facets maxLength 18
element ContactHeaderStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactHeaderStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element ContactHeaderStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType ContactInformationStructure diagram
children ContactPerson Telephone Fax Email Website
used by elements AuditFilePayrollHeaderPayrollBureauContact CompanyStructureContactcomplexType ContactHeaderStructure
annotation documentation[Common to all SAFs] Contact information of a company or employer
element ContactInformationStructureContactPerson diagram
3145
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactInformationStructureTelephone diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
3245
facets maxLength 70
element ContactInformationStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType HeaderStructure diagram
children AuditFileVersion AuditFileCountry AuditFileRegion AuditFileDateCreated SoftwareCompanyName SoftwareID SoftwareVersion Company DefaultCurrencyCode SelectionCriteria HeaderComment
used by element AuditFilePayrollHeader
annotation documentation[Common to all SAFs] Overall information about this Standard Auditfile
element HeaderStructureAuditFileVersion
3345
diagram
type SAFcodeType
properties isRef 0content simple
facets maxLength 9
annotation documentationIdentification of the Standard Audit File SAF-P version being used
element HeaderStructureAuditFileCountry diagram
type ISOCountryCode
properties isRef 0content simple
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
element HeaderStructureAuditFileRegion diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationCountry specific code to indicate regions provinces within the tax jurisdiction Preferably described according to ISO 3166-2 Example GB-KEN for Kent county in the United Kingdom
element HeaderStructureAuditFileDateCreated diagram
type xsdate
properties isRef 0content simple
annotation documentationDate of production of SAF-P
element HeaderStructureSoftwareCompanyName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
annotation documentationName of the software company whose product created the SAF-P
element HeaderStructureSoftwareID diagram
3445
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationName of the Software that generated the SAF-P
element HeaderStructureSoftwareVersion diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationVersion of the software that created the SAF-P
element HeaderStructureCompany diagram
type CompanyHeaderStructure
properties isRef 0content complex
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
annotation documentationEmployers name and address details
element HeaderStructureDefaultCurrencyCode diagram
type ISOCurrencyCode
properties isRef 0content simple
facets length 3
annotation documentationThree letter Currency Code (ISO 4217) of local currency which is the default for the SAF
element HeaderStructureSelectionCriteria
3545
diagram
type SelectionCriteriaStructure
properties isRef 0minOcc 0maxOcc 1content complex
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
annotation documentationCriteria set by the user to populate the SAF-P
element HeaderStructureHeaderComment diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
3645
facets maxLength 256
annotation documentationSpace for any further generic comments on the SAF-P Revenue Bodies should consider what information they would expect to see here
complexType IdentificationStructure diagram
children IdentificationType IdentificationNumber DateValidUntil PlaceOfIssue DateOfIssue
used by element AuditFilePayrollMasterFilesEmployeesEmployeeIdentification
annotation documentationIdentification Document data This section is used when employers need to demonstrate that they have seen proof of an employees identity
element IdentificationStructureIdentificationType diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationThe type of identity document supplied to the employer Revenue bodies may wish to prescribe a specific list of codes
element IdentificationStructureIdentificationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number on the identification document
element IdentificationStructureDateValidUntil diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
element IdentificationStructurePlaceOfIssue diagram
type SAFmiddle1textType
3745
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
element IdentificationStructureDateOfIssue diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
complexType PersonNameStructure diagram
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
used by elements ContactHeaderStructureContactPerson ContactInformationStructureContactPerson AuditFilePayrollMasterFilesEmployeesEmployeeName
annotation documentation[Common to all SAFs] All information about the name of a natural (non-corporate) person
element PersonNameStructureTitle diagram
type SAFcodeType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 9
element PersonNameStructureFirstName diagram
type SAFmiddle1textType
properties isRef 0content simple
3845
facets maxLength 35
element PersonNameStructureInitials diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element PersonNameStructureLastNamePrefix diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA textual expression of a prefix that precedes this persons family name such as Van Von
element PersonNameStructureLastName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element PersonNameStructureBirthName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element PersonNameStructureSalutation diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA formal sign or expression of greeting expressed as text that is appropriate for this person such as Sir or Madam
element PersonNameStructureOtherTitles diagram
type SAFshorttextType
3945
properties isRef 0minOcc 0
maxOcc unboundedcontent simple
facets maxLength 18
complexType SelectionCriteriaStructure diagram
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
used by element HeaderStructureSelectionCriteria
annotation documentation[Common to all SAFs] The selection criteria used to generate this Standard Auditfile
element SelectionCriteriaStructureTaxReportingJurisdiction diagram
type SAFmiddle1textType
4045
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationIdentifies the tax jurisdiction for whose purpose the SAF has been created Principally for use where a single Revenue body covers more than one territory
element SelectionCriteriaStructureCompanyEntity diagram
type SAFmiddle2textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 70
annotation documentationFor use where data has been extracted from the full data set by reference to a specific corporate entity
element SelectionCriteriaStructureSelectionStartDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe start date for the reporting period covered by the SAF
element SelectionCriteriaStructureSelectionEndDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe end date for the reporting period covered by the SAF
element SelectionCriteriaStructurePeriodStart diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe first Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodStartYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodStart falls
element SelectionCriteriaStructurePeriodEnd
4145
diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe last Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodEndYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodEnd falls
element SelectionCriteriaStructureDocumentType diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationType of documents selected For use where the data has been restricted by reference to particular transaction types
element SelectionCriteriaStructureOtherCriteria diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc unboundedcontent simple
facets maxLength 256
annotation documentationAny other criteria used in selecting data Individual Revenue Bodies may wish to draw up a list of other acceptable selection criteria for use within their jurisdiction
complexType TaxIDStructure diagram
4245
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeRegistrationNumbers CompanyHeaderStructureTaxRegistration CompanyStructureTaxRegistration
annotation documentation[Common to all SAFs] Tax information for a company or employer
element TaxIDStructureTaxRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number issued by Revenue Body for use by the employer
element TaxIDStructureTaxType diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationFor use where information reported in the SAF-P covers more than one type of tax regime to identify the type of tax regime to which this entry relates
element TaxIDStructureTaxNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
4345
annotation documentationThe tax registration number for the particular tax regime referred to by TaxType
element TaxIDStructureTaxAuthority diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
annotation documentationIdentification of the Revenue Body to which this TaxType refers
element TaxIDStructureTaxVerificationDate diagram
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date that the tax registration details referred to above were last checked
simpleType ISOCountryCode type restriction of xsstring
used by elements HeaderStructureAuditFileCountry AddressStructureCountry
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
simpleType ISOCurrencyCode type restriction of xsstring
used by elements AmountStructureCurrencyCode HeaderStructureDefaultCurrencyCode
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for the Euros or USD for American Dollars
simpleType SAFcodeType type restriction of xsstring
used by elements HeaderStructureAuditFileRegion HeaderStructureAuditFileVersion TaxIDStructureTaxType PersonNameStructureTitle
facets maxLength 9
annotation documentationText of max 9 characters
simpleType SAFexchangerateType type restriction of xsdecimal
used by element AmountStructureExchangeRate
facets totalDigits 18fractionDigits 8
annotation documentation18 digits max of which 8 can be fractional digits
simpleType SAFlongtextType type restriction of xsstring
used by elements AuditFilePayrollTransactionFilesEmploymentBranchID AuditFilePayrollTransactionFilesEmploymentDepartment SelectionCriteriaStructureDocumentType AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeWorkReferenceNumber HeaderStructureHeaderComment AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType AuditFilePayrollTransactionFilesEmploymentJobTitle SelectionCriteriaStructureOtherCriteria AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementDescription HeaderStructureSoftwareID AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
facets maxLength 256
annotation documentation256 character text
simpleType SAFmiddle1textType type restriction of xsstring
4445
used by elements BankAccountStructureBankAccountNumber AddressStructureBuilding AddressStructureCity PersonNameStructureFirstName BankAccountStructureIBANNumber IdentificationStructureIdentificationNumber AuditFilePayrollHeaderPayrollBureauName IdentificationStructurePlaceOfIssue AddressStructureRegion CompanyHeaderStructureRegistrationNumber CompanyStructureRegistrationNumber TaxIDStructureTaxAuthority TaxIDStructureTaxNumber TaxIDStructureTaxRegistrationNumber SelectionCriteriaStructureTaxReportingJurisdiction
facets maxLength 35
annotation documentation35 character text
simpleType SAFmiddle2textType type restriction of xsstring
used by elements AddressStructureAdditionalAddressDetail BankAccountStructureBankAccountName PersonNameStructureBirthName SelectionCriteriaStructureCompanyEntity ContactHeaderStructureEmail ContactInformationStructureEmail PersonNameStructureLastName CompanyHeaderStructureName CompanyStructureName HeaderStructureSoftwareCompanyName AddressStructureStreetName
facets maxLength 70
annotation documentation70 character text
simpleType SAFmonetaryType type restriction of xsdecimal
used by elements AmountStructureAmount AmountStructureCurrencyAmount
facets totalDigits 18fractionDigits 2
annotation documentationMonetary amount18 digits max of which 2 can be fractional digits
simpleType SAFquantityType type restriction of xsdecimal
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits
facets totalDigits 22fractionDigits 6
annotation documentationUsed to describe a quantity Monetary amount 22 digits max of which 6 can be fractional digits
simpleType SAFshorttextType type restriction of xsstring
used by elements AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchID ContactHeaderStructureFax ContactInformationStructureFax IdentificationStructureIdentificationType PersonNameStructureInitials PersonNameStructureLastNamePrefix AddressStructureNumber PersonNameStructureOtherTitles AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayFrequency AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementID AddressStructurePostalCode PersonNameStructureSalutation HeaderStructureSoftwareVersion BankAccountStructureSortCode ContactHeaderStructureTelephone ContactInformationStructureTelephone
facets maxLength 18
annotation documentation18 character text
simpleType SAFweightType type restriction of xsdecimal
facets totalDigits 14fractionDigits 3
annotation documentationDescribes a weight Monetary amount14 digits max of which 3 can be fractional digits
XML Schema documentation generated by XMLSpy Schema Editor httpwwwaltovacomxmlspy
4545
- Footer Guidance for the Standard Audit File ndash Payroll Version 10 Appendix B Schema
- Header Page
diagram
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
used by element AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchDetailscomplexType CompanyHeaderStructure
annotation documentation[Common to all SAFs] Name address contact and identification information of a company or employer
element CompanyStructureRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationUnique number to identify the company in the accounting records issued by a government authority or created by the company for internal purposes to identify different entities within their corporate group
element CompanyStructureName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element CompanyStructureAddress diagram
2745
type AddressStructure
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
element CompanyStructureContact diagram
type ContactInformationStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children ContactPerson Telephone Fax Email Website
2845
element CompanyStructureTaxRegistration diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
element CompanyStructureBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
complexType ContactHeaderStructure
2945
diagram
type restriction of ContactInformationStructure
properties base ContactInformationStructure
children ContactPerson Telephone Fax Email Website
used by element CompanyHeaderStructureContact
annotation documentation[Common to all SAFs] ContactInformationStructure with madatory TelephoneNumber
element ContactHeaderStructureContactPerson diagram
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactHeaderStructureTelephone diagram
type SAFshorttextType
3045
properties isRef 0content simple
facets maxLength 18
element ContactHeaderStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactHeaderStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element ContactHeaderStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType ContactInformationStructure diagram
children ContactPerson Telephone Fax Email Website
used by elements AuditFilePayrollHeaderPayrollBureauContact CompanyStructureContactcomplexType ContactHeaderStructure
annotation documentation[Common to all SAFs] Contact information of a company or employer
element ContactInformationStructureContactPerson diagram
3145
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactInformationStructureTelephone diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
3245
facets maxLength 70
element ContactInformationStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType HeaderStructure diagram
children AuditFileVersion AuditFileCountry AuditFileRegion AuditFileDateCreated SoftwareCompanyName SoftwareID SoftwareVersion Company DefaultCurrencyCode SelectionCriteria HeaderComment
used by element AuditFilePayrollHeader
annotation documentation[Common to all SAFs] Overall information about this Standard Auditfile
element HeaderStructureAuditFileVersion
3345
diagram
type SAFcodeType
properties isRef 0content simple
facets maxLength 9
annotation documentationIdentification of the Standard Audit File SAF-P version being used
element HeaderStructureAuditFileCountry diagram
type ISOCountryCode
properties isRef 0content simple
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
element HeaderStructureAuditFileRegion diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationCountry specific code to indicate regions provinces within the tax jurisdiction Preferably described according to ISO 3166-2 Example GB-KEN for Kent county in the United Kingdom
element HeaderStructureAuditFileDateCreated diagram
type xsdate
properties isRef 0content simple
annotation documentationDate of production of SAF-P
element HeaderStructureSoftwareCompanyName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
annotation documentationName of the software company whose product created the SAF-P
element HeaderStructureSoftwareID diagram
3445
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationName of the Software that generated the SAF-P
element HeaderStructureSoftwareVersion diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationVersion of the software that created the SAF-P
element HeaderStructureCompany diagram
type CompanyHeaderStructure
properties isRef 0content complex
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
annotation documentationEmployers name and address details
element HeaderStructureDefaultCurrencyCode diagram
type ISOCurrencyCode
properties isRef 0content simple
facets length 3
annotation documentationThree letter Currency Code (ISO 4217) of local currency which is the default for the SAF
element HeaderStructureSelectionCriteria
3545
diagram
type SelectionCriteriaStructure
properties isRef 0minOcc 0maxOcc 1content complex
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
annotation documentationCriteria set by the user to populate the SAF-P
element HeaderStructureHeaderComment diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
3645
facets maxLength 256
annotation documentationSpace for any further generic comments on the SAF-P Revenue Bodies should consider what information they would expect to see here
complexType IdentificationStructure diagram
children IdentificationType IdentificationNumber DateValidUntil PlaceOfIssue DateOfIssue
used by element AuditFilePayrollMasterFilesEmployeesEmployeeIdentification
annotation documentationIdentification Document data This section is used when employers need to demonstrate that they have seen proof of an employees identity
element IdentificationStructureIdentificationType diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationThe type of identity document supplied to the employer Revenue bodies may wish to prescribe a specific list of codes
element IdentificationStructureIdentificationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number on the identification document
element IdentificationStructureDateValidUntil diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
element IdentificationStructurePlaceOfIssue diagram
type SAFmiddle1textType
3745
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
element IdentificationStructureDateOfIssue diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
complexType PersonNameStructure diagram
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
used by elements ContactHeaderStructureContactPerson ContactInformationStructureContactPerson AuditFilePayrollMasterFilesEmployeesEmployeeName
annotation documentation[Common to all SAFs] All information about the name of a natural (non-corporate) person
element PersonNameStructureTitle diagram
type SAFcodeType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 9
element PersonNameStructureFirstName diagram
type SAFmiddle1textType
properties isRef 0content simple
3845
facets maxLength 35
element PersonNameStructureInitials diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element PersonNameStructureLastNamePrefix diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA textual expression of a prefix that precedes this persons family name such as Van Von
element PersonNameStructureLastName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element PersonNameStructureBirthName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element PersonNameStructureSalutation diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA formal sign or expression of greeting expressed as text that is appropriate for this person such as Sir or Madam
element PersonNameStructureOtherTitles diagram
type SAFshorttextType
3945
properties isRef 0minOcc 0
maxOcc unboundedcontent simple
facets maxLength 18
complexType SelectionCriteriaStructure diagram
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
used by element HeaderStructureSelectionCriteria
annotation documentation[Common to all SAFs] The selection criteria used to generate this Standard Auditfile
element SelectionCriteriaStructureTaxReportingJurisdiction diagram
type SAFmiddle1textType
4045
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationIdentifies the tax jurisdiction for whose purpose the SAF has been created Principally for use where a single Revenue body covers more than one territory
element SelectionCriteriaStructureCompanyEntity diagram
type SAFmiddle2textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 70
annotation documentationFor use where data has been extracted from the full data set by reference to a specific corporate entity
element SelectionCriteriaStructureSelectionStartDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe start date for the reporting period covered by the SAF
element SelectionCriteriaStructureSelectionEndDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe end date for the reporting period covered by the SAF
element SelectionCriteriaStructurePeriodStart diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe first Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodStartYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodStart falls
element SelectionCriteriaStructurePeriodEnd
4145
diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe last Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodEndYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodEnd falls
element SelectionCriteriaStructureDocumentType diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationType of documents selected For use where the data has been restricted by reference to particular transaction types
element SelectionCriteriaStructureOtherCriteria diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc unboundedcontent simple
facets maxLength 256
annotation documentationAny other criteria used in selecting data Individual Revenue Bodies may wish to draw up a list of other acceptable selection criteria for use within their jurisdiction
complexType TaxIDStructure diagram
4245
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeRegistrationNumbers CompanyHeaderStructureTaxRegistration CompanyStructureTaxRegistration
annotation documentation[Common to all SAFs] Tax information for a company or employer
element TaxIDStructureTaxRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number issued by Revenue Body for use by the employer
element TaxIDStructureTaxType diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationFor use where information reported in the SAF-P covers more than one type of tax regime to identify the type of tax regime to which this entry relates
element TaxIDStructureTaxNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
4345
annotation documentationThe tax registration number for the particular tax regime referred to by TaxType
element TaxIDStructureTaxAuthority diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
annotation documentationIdentification of the Revenue Body to which this TaxType refers
element TaxIDStructureTaxVerificationDate diagram
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date that the tax registration details referred to above were last checked
simpleType ISOCountryCode type restriction of xsstring
used by elements HeaderStructureAuditFileCountry AddressStructureCountry
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
simpleType ISOCurrencyCode type restriction of xsstring
used by elements AmountStructureCurrencyCode HeaderStructureDefaultCurrencyCode
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for the Euros or USD for American Dollars
simpleType SAFcodeType type restriction of xsstring
used by elements HeaderStructureAuditFileRegion HeaderStructureAuditFileVersion TaxIDStructureTaxType PersonNameStructureTitle
facets maxLength 9
annotation documentationText of max 9 characters
simpleType SAFexchangerateType type restriction of xsdecimal
used by element AmountStructureExchangeRate
facets totalDigits 18fractionDigits 8
annotation documentation18 digits max of which 8 can be fractional digits
simpleType SAFlongtextType type restriction of xsstring
used by elements AuditFilePayrollTransactionFilesEmploymentBranchID AuditFilePayrollTransactionFilesEmploymentDepartment SelectionCriteriaStructureDocumentType AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeWorkReferenceNumber HeaderStructureHeaderComment AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType AuditFilePayrollTransactionFilesEmploymentJobTitle SelectionCriteriaStructureOtherCriteria AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementDescription HeaderStructureSoftwareID AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
facets maxLength 256
annotation documentation256 character text
simpleType SAFmiddle1textType type restriction of xsstring
4445
used by elements BankAccountStructureBankAccountNumber AddressStructureBuilding AddressStructureCity PersonNameStructureFirstName BankAccountStructureIBANNumber IdentificationStructureIdentificationNumber AuditFilePayrollHeaderPayrollBureauName IdentificationStructurePlaceOfIssue AddressStructureRegion CompanyHeaderStructureRegistrationNumber CompanyStructureRegistrationNumber TaxIDStructureTaxAuthority TaxIDStructureTaxNumber TaxIDStructureTaxRegistrationNumber SelectionCriteriaStructureTaxReportingJurisdiction
facets maxLength 35
annotation documentation35 character text
simpleType SAFmiddle2textType type restriction of xsstring
used by elements AddressStructureAdditionalAddressDetail BankAccountStructureBankAccountName PersonNameStructureBirthName SelectionCriteriaStructureCompanyEntity ContactHeaderStructureEmail ContactInformationStructureEmail PersonNameStructureLastName CompanyHeaderStructureName CompanyStructureName HeaderStructureSoftwareCompanyName AddressStructureStreetName
facets maxLength 70
annotation documentation70 character text
simpleType SAFmonetaryType type restriction of xsdecimal
used by elements AmountStructureAmount AmountStructureCurrencyAmount
facets totalDigits 18fractionDigits 2
annotation documentationMonetary amount18 digits max of which 2 can be fractional digits
simpleType SAFquantityType type restriction of xsdecimal
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits
facets totalDigits 22fractionDigits 6
annotation documentationUsed to describe a quantity Monetary amount 22 digits max of which 6 can be fractional digits
simpleType SAFshorttextType type restriction of xsstring
used by elements AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchID ContactHeaderStructureFax ContactInformationStructureFax IdentificationStructureIdentificationType PersonNameStructureInitials PersonNameStructureLastNamePrefix AddressStructureNumber PersonNameStructureOtherTitles AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayFrequency AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementID AddressStructurePostalCode PersonNameStructureSalutation HeaderStructureSoftwareVersion BankAccountStructureSortCode ContactHeaderStructureTelephone ContactInformationStructureTelephone
facets maxLength 18
annotation documentation18 character text
simpleType SAFweightType type restriction of xsdecimal
facets totalDigits 14fractionDigits 3
annotation documentationDescribes a weight Monetary amount14 digits max of which 3 can be fractional digits
XML Schema documentation generated by XMLSpy Schema Editor httpwwwaltovacomxmlspy
4545
- Footer Guidance for the Standard Audit File ndash Payroll Version 10 Appendix B Schema
- Header Page
type AddressStructure
properties isRef 0minOcc 1maxOcc unboundedcontent complex
children StreetName Number AdditionalAddressDetail Building City PostalCode Region Country AddressType
element CompanyStructureContact diagram
type ContactInformationStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children ContactPerson Telephone Fax Email Website
2845
element CompanyStructureTaxRegistration diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
element CompanyStructureBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
complexType ContactHeaderStructure
2945
diagram
type restriction of ContactInformationStructure
properties base ContactInformationStructure
children ContactPerson Telephone Fax Email Website
used by element CompanyHeaderStructureContact
annotation documentation[Common to all SAFs] ContactInformationStructure with madatory TelephoneNumber
element ContactHeaderStructureContactPerson diagram
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactHeaderStructureTelephone diagram
type SAFshorttextType
3045
properties isRef 0content simple
facets maxLength 18
element ContactHeaderStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactHeaderStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element ContactHeaderStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType ContactInformationStructure diagram
children ContactPerson Telephone Fax Email Website
used by elements AuditFilePayrollHeaderPayrollBureauContact CompanyStructureContactcomplexType ContactHeaderStructure
annotation documentation[Common to all SAFs] Contact information of a company or employer
element ContactInformationStructureContactPerson diagram
3145
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactInformationStructureTelephone diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
3245
facets maxLength 70
element ContactInformationStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType HeaderStructure diagram
children AuditFileVersion AuditFileCountry AuditFileRegion AuditFileDateCreated SoftwareCompanyName SoftwareID SoftwareVersion Company DefaultCurrencyCode SelectionCriteria HeaderComment
used by element AuditFilePayrollHeader
annotation documentation[Common to all SAFs] Overall information about this Standard Auditfile
element HeaderStructureAuditFileVersion
3345
diagram
type SAFcodeType
properties isRef 0content simple
facets maxLength 9
annotation documentationIdentification of the Standard Audit File SAF-P version being used
element HeaderStructureAuditFileCountry diagram
type ISOCountryCode
properties isRef 0content simple
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
element HeaderStructureAuditFileRegion diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationCountry specific code to indicate regions provinces within the tax jurisdiction Preferably described according to ISO 3166-2 Example GB-KEN for Kent county in the United Kingdom
element HeaderStructureAuditFileDateCreated diagram
type xsdate
properties isRef 0content simple
annotation documentationDate of production of SAF-P
element HeaderStructureSoftwareCompanyName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
annotation documentationName of the software company whose product created the SAF-P
element HeaderStructureSoftwareID diagram
3445
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationName of the Software that generated the SAF-P
element HeaderStructureSoftwareVersion diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationVersion of the software that created the SAF-P
element HeaderStructureCompany diagram
type CompanyHeaderStructure
properties isRef 0content complex
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
annotation documentationEmployers name and address details
element HeaderStructureDefaultCurrencyCode diagram
type ISOCurrencyCode
properties isRef 0content simple
facets length 3
annotation documentationThree letter Currency Code (ISO 4217) of local currency which is the default for the SAF
element HeaderStructureSelectionCriteria
3545
diagram
type SelectionCriteriaStructure
properties isRef 0minOcc 0maxOcc 1content complex
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
annotation documentationCriteria set by the user to populate the SAF-P
element HeaderStructureHeaderComment diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
3645
facets maxLength 256
annotation documentationSpace for any further generic comments on the SAF-P Revenue Bodies should consider what information they would expect to see here
complexType IdentificationStructure diagram
children IdentificationType IdentificationNumber DateValidUntil PlaceOfIssue DateOfIssue
used by element AuditFilePayrollMasterFilesEmployeesEmployeeIdentification
annotation documentationIdentification Document data This section is used when employers need to demonstrate that they have seen proof of an employees identity
element IdentificationStructureIdentificationType diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationThe type of identity document supplied to the employer Revenue bodies may wish to prescribe a specific list of codes
element IdentificationStructureIdentificationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number on the identification document
element IdentificationStructureDateValidUntil diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
element IdentificationStructurePlaceOfIssue diagram
type SAFmiddle1textType
3745
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
element IdentificationStructureDateOfIssue diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
complexType PersonNameStructure diagram
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
used by elements ContactHeaderStructureContactPerson ContactInformationStructureContactPerson AuditFilePayrollMasterFilesEmployeesEmployeeName
annotation documentation[Common to all SAFs] All information about the name of a natural (non-corporate) person
element PersonNameStructureTitle diagram
type SAFcodeType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 9
element PersonNameStructureFirstName diagram
type SAFmiddle1textType
properties isRef 0content simple
3845
facets maxLength 35
element PersonNameStructureInitials diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element PersonNameStructureLastNamePrefix diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA textual expression of a prefix that precedes this persons family name such as Van Von
element PersonNameStructureLastName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element PersonNameStructureBirthName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element PersonNameStructureSalutation diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA formal sign or expression of greeting expressed as text that is appropriate for this person such as Sir or Madam
element PersonNameStructureOtherTitles diagram
type SAFshorttextType
3945
properties isRef 0minOcc 0
maxOcc unboundedcontent simple
facets maxLength 18
complexType SelectionCriteriaStructure diagram
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
used by element HeaderStructureSelectionCriteria
annotation documentation[Common to all SAFs] The selection criteria used to generate this Standard Auditfile
element SelectionCriteriaStructureTaxReportingJurisdiction diagram
type SAFmiddle1textType
4045
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationIdentifies the tax jurisdiction for whose purpose the SAF has been created Principally for use where a single Revenue body covers more than one territory
element SelectionCriteriaStructureCompanyEntity diagram
type SAFmiddle2textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 70
annotation documentationFor use where data has been extracted from the full data set by reference to a specific corporate entity
element SelectionCriteriaStructureSelectionStartDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe start date for the reporting period covered by the SAF
element SelectionCriteriaStructureSelectionEndDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe end date for the reporting period covered by the SAF
element SelectionCriteriaStructurePeriodStart diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe first Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodStartYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodStart falls
element SelectionCriteriaStructurePeriodEnd
4145
diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe last Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodEndYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodEnd falls
element SelectionCriteriaStructureDocumentType diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationType of documents selected For use where the data has been restricted by reference to particular transaction types
element SelectionCriteriaStructureOtherCriteria diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc unboundedcontent simple
facets maxLength 256
annotation documentationAny other criteria used in selecting data Individual Revenue Bodies may wish to draw up a list of other acceptable selection criteria for use within their jurisdiction
complexType TaxIDStructure diagram
4245
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeRegistrationNumbers CompanyHeaderStructureTaxRegistration CompanyStructureTaxRegistration
annotation documentation[Common to all SAFs] Tax information for a company or employer
element TaxIDStructureTaxRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number issued by Revenue Body for use by the employer
element TaxIDStructureTaxType diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationFor use where information reported in the SAF-P covers more than one type of tax regime to identify the type of tax regime to which this entry relates
element TaxIDStructureTaxNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
4345
annotation documentationThe tax registration number for the particular tax regime referred to by TaxType
element TaxIDStructureTaxAuthority diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
annotation documentationIdentification of the Revenue Body to which this TaxType refers
element TaxIDStructureTaxVerificationDate diagram
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date that the tax registration details referred to above were last checked
simpleType ISOCountryCode type restriction of xsstring
used by elements HeaderStructureAuditFileCountry AddressStructureCountry
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
simpleType ISOCurrencyCode type restriction of xsstring
used by elements AmountStructureCurrencyCode HeaderStructureDefaultCurrencyCode
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for the Euros or USD for American Dollars
simpleType SAFcodeType type restriction of xsstring
used by elements HeaderStructureAuditFileRegion HeaderStructureAuditFileVersion TaxIDStructureTaxType PersonNameStructureTitle
facets maxLength 9
annotation documentationText of max 9 characters
simpleType SAFexchangerateType type restriction of xsdecimal
used by element AmountStructureExchangeRate
facets totalDigits 18fractionDigits 8
annotation documentation18 digits max of which 8 can be fractional digits
simpleType SAFlongtextType type restriction of xsstring
used by elements AuditFilePayrollTransactionFilesEmploymentBranchID AuditFilePayrollTransactionFilesEmploymentDepartment SelectionCriteriaStructureDocumentType AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeWorkReferenceNumber HeaderStructureHeaderComment AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType AuditFilePayrollTransactionFilesEmploymentJobTitle SelectionCriteriaStructureOtherCriteria AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementDescription HeaderStructureSoftwareID AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
facets maxLength 256
annotation documentation256 character text
simpleType SAFmiddle1textType type restriction of xsstring
4445
used by elements BankAccountStructureBankAccountNumber AddressStructureBuilding AddressStructureCity PersonNameStructureFirstName BankAccountStructureIBANNumber IdentificationStructureIdentificationNumber AuditFilePayrollHeaderPayrollBureauName IdentificationStructurePlaceOfIssue AddressStructureRegion CompanyHeaderStructureRegistrationNumber CompanyStructureRegistrationNumber TaxIDStructureTaxAuthority TaxIDStructureTaxNumber TaxIDStructureTaxRegistrationNumber SelectionCriteriaStructureTaxReportingJurisdiction
facets maxLength 35
annotation documentation35 character text
simpleType SAFmiddle2textType type restriction of xsstring
used by elements AddressStructureAdditionalAddressDetail BankAccountStructureBankAccountName PersonNameStructureBirthName SelectionCriteriaStructureCompanyEntity ContactHeaderStructureEmail ContactInformationStructureEmail PersonNameStructureLastName CompanyHeaderStructureName CompanyStructureName HeaderStructureSoftwareCompanyName AddressStructureStreetName
facets maxLength 70
annotation documentation70 character text
simpleType SAFmonetaryType type restriction of xsdecimal
used by elements AmountStructureAmount AmountStructureCurrencyAmount
facets totalDigits 18fractionDigits 2
annotation documentationMonetary amount18 digits max of which 2 can be fractional digits
simpleType SAFquantityType type restriction of xsdecimal
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits
facets totalDigits 22fractionDigits 6
annotation documentationUsed to describe a quantity Monetary amount 22 digits max of which 6 can be fractional digits
simpleType SAFshorttextType type restriction of xsstring
used by elements AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchID ContactHeaderStructureFax ContactInformationStructureFax IdentificationStructureIdentificationType PersonNameStructureInitials PersonNameStructureLastNamePrefix AddressStructureNumber PersonNameStructureOtherTitles AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayFrequency AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementID AddressStructurePostalCode PersonNameStructureSalutation HeaderStructureSoftwareVersion BankAccountStructureSortCode ContactHeaderStructureTelephone ContactInformationStructureTelephone
facets maxLength 18
annotation documentation18 character text
simpleType SAFweightType type restriction of xsdecimal
facets totalDigits 14fractionDigits 3
annotation documentationDescribes a weight Monetary amount14 digits max of which 3 can be fractional digits
XML Schema documentation generated by XMLSpy Schema Editor httpwwwaltovacomxmlspy
4545
- Footer Guidance for the Standard Audit File ndash Payroll Version 10 Appendix B Schema
- Header Page
element CompanyStructureTaxRegistration diagram
type TaxIDStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
element CompanyStructureBankAccount diagram
type BankAccountStructure
properties isRef 0minOcc 0maxOcc unboundedcontent complex
children IBANNumber BankAccountNumber BankAccountName SortCode
complexType ContactHeaderStructure
2945
diagram
type restriction of ContactInformationStructure
properties base ContactInformationStructure
children ContactPerson Telephone Fax Email Website
used by element CompanyHeaderStructureContact
annotation documentation[Common to all SAFs] ContactInformationStructure with madatory TelephoneNumber
element ContactHeaderStructureContactPerson diagram
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactHeaderStructureTelephone diagram
type SAFshorttextType
3045
properties isRef 0content simple
facets maxLength 18
element ContactHeaderStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactHeaderStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element ContactHeaderStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType ContactInformationStructure diagram
children ContactPerson Telephone Fax Email Website
used by elements AuditFilePayrollHeaderPayrollBureauContact CompanyStructureContactcomplexType ContactHeaderStructure
annotation documentation[Common to all SAFs] Contact information of a company or employer
element ContactInformationStructureContactPerson diagram
3145
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactInformationStructureTelephone diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
3245
facets maxLength 70
element ContactInformationStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType HeaderStructure diagram
children AuditFileVersion AuditFileCountry AuditFileRegion AuditFileDateCreated SoftwareCompanyName SoftwareID SoftwareVersion Company DefaultCurrencyCode SelectionCriteria HeaderComment
used by element AuditFilePayrollHeader
annotation documentation[Common to all SAFs] Overall information about this Standard Auditfile
element HeaderStructureAuditFileVersion
3345
diagram
type SAFcodeType
properties isRef 0content simple
facets maxLength 9
annotation documentationIdentification of the Standard Audit File SAF-P version being used
element HeaderStructureAuditFileCountry diagram
type ISOCountryCode
properties isRef 0content simple
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
element HeaderStructureAuditFileRegion diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationCountry specific code to indicate regions provinces within the tax jurisdiction Preferably described according to ISO 3166-2 Example GB-KEN for Kent county in the United Kingdom
element HeaderStructureAuditFileDateCreated diagram
type xsdate
properties isRef 0content simple
annotation documentationDate of production of SAF-P
element HeaderStructureSoftwareCompanyName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
annotation documentationName of the software company whose product created the SAF-P
element HeaderStructureSoftwareID diagram
3445
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationName of the Software that generated the SAF-P
element HeaderStructureSoftwareVersion diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationVersion of the software that created the SAF-P
element HeaderStructureCompany diagram
type CompanyHeaderStructure
properties isRef 0content complex
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
annotation documentationEmployers name and address details
element HeaderStructureDefaultCurrencyCode diagram
type ISOCurrencyCode
properties isRef 0content simple
facets length 3
annotation documentationThree letter Currency Code (ISO 4217) of local currency which is the default for the SAF
element HeaderStructureSelectionCriteria
3545
diagram
type SelectionCriteriaStructure
properties isRef 0minOcc 0maxOcc 1content complex
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
annotation documentationCriteria set by the user to populate the SAF-P
element HeaderStructureHeaderComment diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
3645
facets maxLength 256
annotation documentationSpace for any further generic comments on the SAF-P Revenue Bodies should consider what information they would expect to see here
complexType IdentificationStructure diagram
children IdentificationType IdentificationNumber DateValidUntil PlaceOfIssue DateOfIssue
used by element AuditFilePayrollMasterFilesEmployeesEmployeeIdentification
annotation documentationIdentification Document data This section is used when employers need to demonstrate that they have seen proof of an employees identity
element IdentificationStructureIdentificationType diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationThe type of identity document supplied to the employer Revenue bodies may wish to prescribe a specific list of codes
element IdentificationStructureIdentificationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number on the identification document
element IdentificationStructureDateValidUntil diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
element IdentificationStructurePlaceOfIssue diagram
type SAFmiddle1textType
3745
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
element IdentificationStructureDateOfIssue diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
complexType PersonNameStructure diagram
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
used by elements ContactHeaderStructureContactPerson ContactInformationStructureContactPerson AuditFilePayrollMasterFilesEmployeesEmployeeName
annotation documentation[Common to all SAFs] All information about the name of a natural (non-corporate) person
element PersonNameStructureTitle diagram
type SAFcodeType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 9
element PersonNameStructureFirstName diagram
type SAFmiddle1textType
properties isRef 0content simple
3845
facets maxLength 35
element PersonNameStructureInitials diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element PersonNameStructureLastNamePrefix diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA textual expression of a prefix that precedes this persons family name such as Van Von
element PersonNameStructureLastName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element PersonNameStructureBirthName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element PersonNameStructureSalutation diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA formal sign or expression of greeting expressed as text that is appropriate for this person such as Sir or Madam
element PersonNameStructureOtherTitles diagram
type SAFshorttextType
3945
properties isRef 0minOcc 0
maxOcc unboundedcontent simple
facets maxLength 18
complexType SelectionCriteriaStructure diagram
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
used by element HeaderStructureSelectionCriteria
annotation documentation[Common to all SAFs] The selection criteria used to generate this Standard Auditfile
element SelectionCriteriaStructureTaxReportingJurisdiction diagram
type SAFmiddle1textType
4045
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationIdentifies the tax jurisdiction for whose purpose the SAF has been created Principally for use where a single Revenue body covers more than one territory
element SelectionCriteriaStructureCompanyEntity diagram
type SAFmiddle2textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 70
annotation documentationFor use where data has been extracted from the full data set by reference to a specific corporate entity
element SelectionCriteriaStructureSelectionStartDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe start date for the reporting period covered by the SAF
element SelectionCriteriaStructureSelectionEndDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe end date for the reporting period covered by the SAF
element SelectionCriteriaStructurePeriodStart diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe first Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodStartYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodStart falls
element SelectionCriteriaStructurePeriodEnd
4145
diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe last Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodEndYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodEnd falls
element SelectionCriteriaStructureDocumentType diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationType of documents selected For use where the data has been restricted by reference to particular transaction types
element SelectionCriteriaStructureOtherCriteria diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc unboundedcontent simple
facets maxLength 256
annotation documentationAny other criteria used in selecting data Individual Revenue Bodies may wish to draw up a list of other acceptable selection criteria for use within their jurisdiction
complexType TaxIDStructure diagram
4245
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeRegistrationNumbers CompanyHeaderStructureTaxRegistration CompanyStructureTaxRegistration
annotation documentation[Common to all SAFs] Tax information for a company or employer
element TaxIDStructureTaxRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number issued by Revenue Body for use by the employer
element TaxIDStructureTaxType diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationFor use where information reported in the SAF-P covers more than one type of tax regime to identify the type of tax regime to which this entry relates
element TaxIDStructureTaxNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
4345
annotation documentationThe tax registration number for the particular tax regime referred to by TaxType
element TaxIDStructureTaxAuthority diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
annotation documentationIdentification of the Revenue Body to which this TaxType refers
element TaxIDStructureTaxVerificationDate diagram
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date that the tax registration details referred to above were last checked
simpleType ISOCountryCode type restriction of xsstring
used by elements HeaderStructureAuditFileCountry AddressStructureCountry
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
simpleType ISOCurrencyCode type restriction of xsstring
used by elements AmountStructureCurrencyCode HeaderStructureDefaultCurrencyCode
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for the Euros or USD for American Dollars
simpleType SAFcodeType type restriction of xsstring
used by elements HeaderStructureAuditFileRegion HeaderStructureAuditFileVersion TaxIDStructureTaxType PersonNameStructureTitle
facets maxLength 9
annotation documentationText of max 9 characters
simpleType SAFexchangerateType type restriction of xsdecimal
used by element AmountStructureExchangeRate
facets totalDigits 18fractionDigits 8
annotation documentation18 digits max of which 8 can be fractional digits
simpleType SAFlongtextType type restriction of xsstring
used by elements AuditFilePayrollTransactionFilesEmploymentBranchID AuditFilePayrollTransactionFilesEmploymentDepartment SelectionCriteriaStructureDocumentType AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeWorkReferenceNumber HeaderStructureHeaderComment AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType AuditFilePayrollTransactionFilesEmploymentJobTitle SelectionCriteriaStructureOtherCriteria AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementDescription HeaderStructureSoftwareID AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
facets maxLength 256
annotation documentation256 character text
simpleType SAFmiddle1textType type restriction of xsstring
4445
used by elements BankAccountStructureBankAccountNumber AddressStructureBuilding AddressStructureCity PersonNameStructureFirstName BankAccountStructureIBANNumber IdentificationStructureIdentificationNumber AuditFilePayrollHeaderPayrollBureauName IdentificationStructurePlaceOfIssue AddressStructureRegion CompanyHeaderStructureRegistrationNumber CompanyStructureRegistrationNumber TaxIDStructureTaxAuthority TaxIDStructureTaxNumber TaxIDStructureTaxRegistrationNumber SelectionCriteriaStructureTaxReportingJurisdiction
facets maxLength 35
annotation documentation35 character text
simpleType SAFmiddle2textType type restriction of xsstring
used by elements AddressStructureAdditionalAddressDetail BankAccountStructureBankAccountName PersonNameStructureBirthName SelectionCriteriaStructureCompanyEntity ContactHeaderStructureEmail ContactInformationStructureEmail PersonNameStructureLastName CompanyHeaderStructureName CompanyStructureName HeaderStructureSoftwareCompanyName AddressStructureStreetName
facets maxLength 70
annotation documentation70 character text
simpleType SAFmonetaryType type restriction of xsdecimal
used by elements AmountStructureAmount AmountStructureCurrencyAmount
facets totalDigits 18fractionDigits 2
annotation documentationMonetary amount18 digits max of which 2 can be fractional digits
simpleType SAFquantityType type restriction of xsdecimal
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits
facets totalDigits 22fractionDigits 6
annotation documentationUsed to describe a quantity Monetary amount 22 digits max of which 6 can be fractional digits
simpleType SAFshorttextType type restriction of xsstring
used by elements AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchID ContactHeaderStructureFax ContactInformationStructureFax IdentificationStructureIdentificationType PersonNameStructureInitials PersonNameStructureLastNamePrefix AddressStructureNumber PersonNameStructureOtherTitles AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayFrequency AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementID AddressStructurePostalCode PersonNameStructureSalutation HeaderStructureSoftwareVersion BankAccountStructureSortCode ContactHeaderStructureTelephone ContactInformationStructureTelephone
facets maxLength 18
annotation documentation18 character text
simpleType SAFweightType type restriction of xsdecimal
facets totalDigits 14fractionDigits 3
annotation documentationDescribes a weight Monetary amount14 digits max of which 3 can be fractional digits
XML Schema documentation generated by XMLSpy Schema Editor httpwwwaltovacomxmlspy
4545
- Footer Guidance for the Standard Audit File ndash Payroll Version 10 Appendix B Schema
- Header Page
diagram
type restriction of ContactInformationStructure
properties base ContactInformationStructure
children ContactPerson Telephone Fax Email Website
used by element CompanyHeaderStructureContact
annotation documentation[Common to all SAFs] ContactInformationStructure with madatory TelephoneNumber
element ContactHeaderStructureContactPerson diagram
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactHeaderStructureTelephone diagram
type SAFshorttextType
3045
properties isRef 0content simple
facets maxLength 18
element ContactHeaderStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactHeaderStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element ContactHeaderStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType ContactInformationStructure diagram
children ContactPerson Telephone Fax Email Website
used by elements AuditFilePayrollHeaderPayrollBureauContact CompanyStructureContactcomplexType ContactHeaderStructure
annotation documentation[Common to all SAFs] Contact information of a company or employer
element ContactInformationStructureContactPerson diagram
3145
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactInformationStructureTelephone diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
3245
facets maxLength 70
element ContactInformationStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType HeaderStructure diagram
children AuditFileVersion AuditFileCountry AuditFileRegion AuditFileDateCreated SoftwareCompanyName SoftwareID SoftwareVersion Company DefaultCurrencyCode SelectionCriteria HeaderComment
used by element AuditFilePayrollHeader
annotation documentation[Common to all SAFs] Overall information about this Standard Auditfile
element HeaderStructureAuditFileVersion
3345
diagram
type SAFcodeType
properties isRef 0content simple
facets maxLength 9
annotation documentationIdentification of the Standard Audit File SAF-P version being used
element HeaderStructureAuditFileCountry diagram
type ISOCountryCode
properties isRef 0content simple
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
element HeaderStructureAuditFileRegion diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationCountry specific code to indicate regions provinces within the tax jurisdiction Preferably described according to ISO 3166-2 Example GB-KEN for Kent county in the United Kingdom
element HeaderStructureAuditFileDateCreated diagram
type xsdate
properties isRef 0content simple
annotation documentationDate of production of SAF-P
element HeaderStructureSoftwareCompanyName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
annotation documentationName of the software company whose product created the SAF-P
element HeaderStructureSoftwareID diagram
3445
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationName of the Software that generated the SAF-P
element HeaderStructureSoftwareVersion diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationVersion of the software that created the SAF-P
element HeaderStructureCompany diagram
type CompanyHeaderStructure
properties isRef 0content complex
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
annotation documentationEmployers name and address details
element HeaderStructureDefaultCurrencyCode diagram
type ISOCurrencyCode
properties isRef 0content simple
facets length 3
annotation documentationThree letter Currency Code (ISO 4217) of local currency which is the default for the SAF
element HeaderStructureSelectionCriteria
3545
diagram
type SelectionCriteriaStructure
properties isRef 0minOcc 0maxOcc 1content complex
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
annotation documentationCriteria set by the user to populate the SAF-P
element HeaderStructureHeaderComment diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
3645
facets maxLength 256
annotation documentationSpace for any further generic comments on the SAF-P Revenue Bodies should consider what information they would expect to see here
complexType IdentificationStructure diagram
children IdentificationType IdentificationNumber DateValidUntil PlaceOfIssue DateOfIssue
used by element AuditFilePayrollMasterFilesEmployeesEmployeeIdentification
annotation documentationIdentification Document data This section is used when employers need to demonstrate that they have seen proof of an employees identity
element IdentificationStructureIdentificationType diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationThe type of identity document supplied to the employer Revenue bodies may wish to prescribe a specific list of codes
element IdentificationStructureIdentificationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number on the identification document
element IdentificationStructureDateValidUntil diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
element IdentificationStructurePlaceOfIssue diagram
type SAFmiddle1textType
3745
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
element IdentificationStructureDateOfIssue diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
complexType PersonNameStructure diagram
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
used by elements ContactHeaderStructureContactPerson ContactInformationStructureContactPerson AuditFilePayrollMasterFilesEmployeesEmployeeName
annotation documentation[Common to all SAFs] All information about the name of a natural (non-corporate) person
element PersonNameStructureTitle diagram
type SAFcodeType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 9
element PersonNameStructureFirstName diagram
type SAFmiddle1textType
properties isRef 0content simple
3845
facets maxLength 35
element PersonNameStructureInitials diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element PersonNameStructureLastNamePrefix diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA textual expression of a prefix that precedes this persons family name such as Van Von
element PersonNameStructureLastName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element PersonNameStructureBirthName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element PersonNameStructureSalutation diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA formal sign or expression of greeting expressed as text that is appropriate for this person such as Sir or Madam
element PersonNameStructureOtherTitles diagram
type SAFshorttextType
3945
properties isRef 0minOcc 0
maxOcc unboundedcontent simple
facets maxLength 18
complexType SelectionCriteriaStructure diagram
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
used by element HeaderStructureSelectionCriteria
annotation documentation[Common to all SAFs] The selection criteria used to generate this Standard Auditfile
element SelectionCriteriaStructureTaxReportingJurisdiction diagram
type SAFmiddle1textType
4045
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationIdentifies the tax jurisdiction for whose purpose the SAF has been created Principally for use where a single Revenue body covers more than one territory
element SelectionCriteriaStructureCompanyEntity diagram
type SAFmiddle2textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 70
annotation documentationFor use where data has been extracted from the full data set by reference to a specific corporate entity
element SelectionCriteriaStructureSelectionStartDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe start date for the reporting period covered by the SAF
element SelectionCriteriaStructureSelectionEndDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe end date for the reporting period covered by the SAF
element SelectionCriteriaStructurePeriodStart diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe first Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodStartYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodStart falls
element SelectionCriteriaStructurePeriodEnd
4145
diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe last Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodEndYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodEnd falls
element SelectionCriteriaStructureDocumentType diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationType of documents selected For use where the data has been restricted by reference to particular transaction types
element SelectionCriteriaStructureOtherCriteria diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc unboundedcontent simple
facets maxLength 256
annotation documentationAny other criteria used in selecting data Individual Revenue Bodies may wish to draw up a list of other acceptable selection criteria for use within their jurisdiction
complexType TaxIDStructure diagram
4245
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeRegistrationNumbers CompanyHeaderStructureTaxRegistration CompanyStructureTaxRegistration
annotation documentation[Common to all SAFs] Tax information for a company or employer
element TaxIDStructureTaxRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number issued by Revenue Body for use by the employer
element TaxIDStructureTaxType diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationFor use where information reported in the SAF-P covers more than one type of tax regime to identify the type of tax regime to which this entry relates
element TaxIDStructureTaxNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
4345
annotation documentationThe tax registration number for the particular tax regime referred to by TaxType
element TaxIDStructureTaxAuthority diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
annotation documentationIdentification of the Revenue Body to which this TaxType refers
element TaxIDStructureTaxVerificationDate diagram
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date that the tax registration details referred to above were last checked
simpleType ISOCountryCode type restriction of xsstring
used by elements HeaderStructureAuditFileCountry AddressStructureCountry
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
simpleType ISOCurrencyCode type restriction of xsstring
used by elements AmountStructureCurrencyCode HeaderStructureDefaultCurrencyCode
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for the Euros or USD for American Dollars
simpleType SAFcodeType type restriction of xsstring
used by elements HeaderStructureAuditFileRegion HeaderStructureAuditFileVersion TaxIDStructureTaxType PersonNameStructureTitle
facets maxLength 9
annotation documentationText of max 9 characters
simpleType SAFexchangerateType type restriction of xsdecimal
used by element AmountStructureExchangeRate
facets totalDigits 18fractionDigits 8
annotation documentation18 digits max of which 8 can be fractional digits
simpleType SAFlongtextType type restriction of xsstring
used by elements AuditFilePayrollTransactionFilesEmploymentBranchID AuditFilePayrollTransactionFilesEmploymentDepartment SelectionCriteriaStructureDocumentType AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeWorkReferenceNumber HeaderStructureHeaderComment AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType AuditFilePayrollTransactionFilesEmploymentJobTitle SelectionCriteriaStructureOtherCriteria AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementDescription HeaderStructureSoftwareID AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
facets maxLength 256
annotation documentation256 character text
simpleType SAFmiddle1textType type restriction of xsstring
4445
used by elements BankAccountStructureBankAccountNumber AddressStructureBuilding AddressStructureCity PersonNameStructureFirstName BankAccountStructureIBANNumber IdentificationStructureIdentificationNumber AuditFilePayrollHeaderPayrollBureauName IdentificationStructurePlaceOfIssue AddressStructureRegion CompanyHeaderStructureRegistrationNumber CompanyStructureRegistrationNumber TaxIDStructureTaxAuthority TaxIDStructureTaxNumber TaxIDStructureTaxRegistrationNumber SelectionCriteriaStructureTaxReportingJurisdiction
facets maxLength 35
annotation documentation35 character text
simpleType SAFmiddle2textType type restriction of xsstring
used by elements AddressStructureAdditionalAddressDetail BankAccountStructureBankAccountName PersonNameStructureBirthName SelectionCriteriaStructureCompanyEntity ContactHeaderStructureEmail ContactInformationStructureEmail PersonNameStructureLastName CompanyHeaderStructureName CompanyStructureName HeaderStructureSoftwareCompanyName AddressStructureStreetName
facets maxLength 70
annotation documentation70 character text
simpleType SAFmonetaryType type restriction of xsdecimal
used by elements AmountStructureAmount AmountStructureCurrencyAmount
facets totalDigits 18fractionDigits 2
annotation documentationMonetary amount18 digits max of which 2 can be fractional digits
simpleType SAFquantityType type restriction of xsdecimal
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits
facets totalDigits 22fractionDigits 6
annotation documentationUsed to describe a quantity Monetary amount 22 digits max of which 6 can be fractional digits
simpleType SAFshorttextType type restriction of xsstring
used by elements AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchID ContactHeaderStructureFax ContactInformationStructureFax IdentificationStructureIdentificationType PersonNameStructureInitials PersonNameStructureLastNamePrefix AddressStructureNumber PersonNameStructureOtherTitles AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayFrequency AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementID AddressStructurePostalCode PersonNameStructureSalutation HeaderStructureSoftwareVersion BankAccountStructureSortCode ContactHeaderStructureTelephone ContactInformationStructureTelephone
facets maxLength 18
annotation documentation18 character text
simpleType SAFweightType type restriction of xsdecimal
facets totalDigits 14fractionDigits 3
annotation documentationDescribes a weight Monetary amount14 digits max of which 3 can be fractional digits
XML Schema documentation generated by XMLSpy Schema Editor httpwwwaltovacomxmlspy
4545
- Footer Guidance for the Standard Audit File ndash Payroll Version 10 Appendix B Schema
- Header Page
properties isRef 0content simple
facets maxLength 18
element ContactHeaderStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactHeaderStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element ContactHeaderStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType ContactInformationStructure diagram
children ContactPerson Telephone Fax Email Website
used by elements AuditFilePayrollHeaderPayrollBureauContact CompanyStructureContactcomplexType ContactHeaderStructure
annotation documentation[Common to all SAFs] Contact information of a company or employer
element ContactInformationStructureContactPerson diagram
3145
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactInformationStructureTelephone diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
3245
facets maxLength 70
element ContactInformationStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType HeaderStructure diagram
children AuditFileVersion AuditFileCountry AuditFileRegion AuditFileDateCreated SoftwareCompanyName SoftwareID SoftwareVersion Company DefaultCurrencyCode SelectionCriteria HeaderComment
used by element AuditFilePayrollHeader
annotation documentation[Common to all SAFs] Overall information about this Standard Auditfile
element HeaderStructureAuditFileVersion
3345
diagram
type SAFcodeType
properties isRef 0content simple
facets maxLength 9
annotation documentationIdentification of the Standard Audit File SAF-P version being used
element HeaderStructureAuditFileCountry diagram
type ISOCountryCode
properties isRef 0content simple
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
element HeaderStructureAuditFileRegion diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationCountry specific code to indicate regions provinces within the tax jurisdiction Preferably described according to ISO 3166-2 Example GB-KEN for Kent county in the United Kingdom
element HeaderStructureAuditFileDateCreated diagram
type xsdate
properties isRef 0content simple
annotation documentationDate of production of SAF-P
element HeaderStructureSoftwareCompanyName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
annotation documentationName of the software company whose product created the SAF-P
element HeaderStructureSoftwareID diagram
3445
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationName of the Software that generated the SAF-P
element HeaderStructureSoftwareVersion diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationVersion of the software that created the SAF-P
element HeaderStructureCompany diagram
type CompanyHeaderStructure
properties isRef 0content complex
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
annotation documentationEmployers name and address details
element HeaderStructureDefaultCurrencyCode diagram
type ISOCurrencyCode
properties isRef 0content simple
facets length 3
annotation documentationThree letter Currency Code (ISO 4217) of local currency which is the default for the SAF
element HeaderStructureSelectionCriteria
3545
diagram
type SelectionCriteriaStructure
properties isRef 0minOcc 0maxOcc 1content complex
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
annotation documentationCriteria set by the user to populate the SAF-P
element HeaderStructureHeaderComment diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
3645
facets maxLength 256
annotation documentationSpace for any further generic comments on the SAF-P Revenue Bodies should consider what information they would expect to see here
complexType IdentificationStructure diagram
children IdentificationType IdentificationNumber DateValidUntil PlaceOfIssue DateOfIssue
used by element AuditFilePayrollMasterFilesEmployeesEmployeeIdentification
annotation documentationIdentification Document data This section is used when employers need to demonstrate that they have seen proof of an employees identity
element IdentificationStructureIdentificationType diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationThe type of identity document supplied to the employer Revenue bodies may wish to prescribe a specific list of codes
element IdentificationStructureIdentificationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number on the identification document
element IdentificationStructureDateValidUntil diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
element IdentificationStructurePlaceOfIssue diagram
type SAFmiddle1textType
3745
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
element IdentificationStructureDateOfIssue diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
complexType PersonNameStructure diagram
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
used by elements ContactHeaderStructureContactPerson ContactInformationStructureContactPerson AuditFilePayrollMasterFilesEmployeesEmployeeName
annotation documentation[Common to all SAFs] All information about the name of a natural (non-corporate) person
element PersonNameStructureTitle diagram
type SAFcodeType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 9
element PersonNameStructureFirstName diagram
type SAFmiddle1textType
properties isRef 0content simple
3845
facets maxLength 35
element PersonNameStructureInitials diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element PersonNameStructureLastNamePrefix diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA textual expression of a prefix that precedes this persons family name such as Van Von
element PersonNameStructureLastName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element PersonNameStructureBirthName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element PersonNameStructureSalutation diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA formal sign or expression of greeting expressed as text that is appropriate for this person such as Sir or Madam
element PersonNameStructureOtherTitles diagram
type SAFshorttextType
3945
properties isRef 0minOcc 0
maxOcc unboundedcontent simple
facets maxLength 18
complexType SelectionCriteriaStructure diagram
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
used by element HeaderStructureSelectionCriteria
annotation documentation[Common to all SAFs] The selection criteria used to generate this Standard Auditfile
element SelectionCriteriaStructureTaxReportingJurisdiction diagram
type SAFmiddle1textType
4045
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationIdentifies the tax jurisdiction for whose purpose the SAF has been created Principally for use where a single Revenue body covers more than one territory
element SelectionCriteriaStructureCompanyEntity diagram
type SAFmiddle2textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 70
annotation documentationFor use where data has been extracted from the full data set by reference to a specific corporate entity
element SelectionCriteriaStructureSelectionStartDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe start date for the reporting period covered by the SAF
element SelectionCriteriaStructureSelectionEndDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe end date for the reporting period covered by the SAF
element SelectionCriteriaStructurePeriodStart diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe first Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodStartYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodStart falls
element SelectionCriteriaStructurePeriodEnd
4145
diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe last Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodEndYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodEnd falls
element SelectionCriteriaStructureDocumentType diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationType of documents selected For use where the data has been restricted by reference to particular transaction types
element SelectionCriteriaStructureOtherCriteria diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc unboundedcontent simple
facets maxLength 256
annotation documentationAny other criteria used in selecting data Individual Revenue Bodies may wish to draw up a list of other acceptable selection criteria for use within their jurisdiction
complexType TaxIDStructure diagram
4245
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeRegistrationNumbers CompanyHeaderStructureTaxRegistration CompanyStructureTaxRegistration
annotation documentation[Common to all SAFs] Tax information for a company or employer
element TaxIDStructureTaxRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number issued by Revenue Body for use by the employer
element TaxIDStructureTaxType diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationFor use where information reported in the SAF-P covers more than one type of tax regime to identify the type of tax regime to which this entry relates
element TaxIDStructureTaxNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
4345
annotation documentationThe tax registration number for the particular tax regime referred to by TaxType
element TaxIDStructureTaxAuthority diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
annotation documentationIdentification of the Revenue Body to which this TaxType refers
element TaxIDStructureTaxVerificationDate diagram
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date that the tax registration details referred to above were last checked
simpleType ISOCountryCode type restriction of xsstring
used by elements HeaderStructureAuditFileCountry AddressStructureCountry
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
simpleType ISOCurrencyCode type restriction of xsstring
used by elements AmountStructureCurrencyCode HeaderStructureDefaultCurrencyCode
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for the Euros or USD for American Dollars
simpleType SAFcodeType type restriction of xsstring
used by elements HeaderStructureAuditFileRegion HeaderStructureAuditFileVersion TaxIDStructureTaxType PersonNameStructureTitle
facets maxLength 9
annotation documentationText of max 9 characters
simpleType SAFexchangerateType type restriction of xsdecimal
used by element AmountStructureExchangeRate
facets totalDigits 18fractionDigits 8
annotation documentation18 digits max of which 8 can be fractional digits
simpleType SAFlongtextType type restriction of xsstring
used by elements AuditFilePayrollTransactionFilesEmploymentBranchID AuditFilePayrollTransactionFilesEmploymentDepartment SelectionCriteriaStructureDocumentType AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeWorkReferenceNumber HeaderStructureHeaderComment AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType AuditFilePayrollTransactionFilesEmploymentJobTitle SelectionCriteriaStructureOtherCriteria AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementDescription HeaderStructureSoftwareID AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
facets maxLength 256
annotation documentation256 character text
simpleType SAFmiddle1textType type restriction of xsstring
4445
used by elements BankAccountStructureBankAccountNumber AddressStructureBuilding AddressStructureCity PersonNameStructureFirstName BankAccountStructureIBANNumber IdentificationStructureIdentificationNumber AuditFilePayrollHeaderPayrollBureauName IdentificationStructurePlaceOfIssue AddressStructureRegion CompanyHeaderStructureRegistrationNumber CompanyStructureRegistrationNumber TaxIDStructureTaxAuthority TaxIDStructureTaxNumber TaxIDStructureTaxRegistrationNumber SelectionCriteriaStructureTaxReportingJurisdiction
facets maxLength 35
annotation documentation35 character text
simpleType SAFmiddle2textType type restriction of xsstring
used by elements AddressStructureAdditionalAddressDetail BankAccountStructureBankAccountName PersonNameStructureBirthName SelectionCriteriaStructureCompanyEntity ContactHeaderStructureEmail ContactInformationStructureEmail PersonNameStructureLastName CompanyHeaderStructureName CompanyStructureName HeaderStructureSoftwareCompanyName AddressStructureStreetName
facets maxLength 70
annotation documentation70 character text
simpleType SAFmonetaryType type restriction of xsdecimal
used by elements AmountStructureAmount AmountStructureCurrencyAmount
facets totalDigits 18fractionDigits 2
annotation documentationMonetary amount18 digits max of which 2 can be fractional digits
simpleType SAFquantityType type restriction of xsdecimal
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits
facets totalDigits 22fractionDigits 6
annotation documentationUsed to describe a quantity Monetary amount 22 digits max of which 6 can be fractional digits
simpleType SAFshorttextType type restriction of xsstring
used by elements AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchID ContactHeaderStructureFax ContactInformationStructureFax IdentificationStructureIdentificationType PersonNameStructureInitials PersonNameStructureLastNamePrefix AddressStructureNumber PersonNameStructureOtherTitles AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayFrequency AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementID AddressStructurePostalCode PersonNameStructureSalutation HeaderStructureSoftwareVersion BankAccountStructureSortCode ContactHeaderStructureTelephone ContactInformationStructureTelephone
facets maxLength 18
annotation documentation18 character text
simpleType SAFweightType type restriction of xsdecimal
facets totalDigits 14fractionDigits 3
annotation documentationDescribes a weight Monetary amount14 digits max of which 3 can be fractional digits
XML Schema documentation generated by XMLSpy Schema Editor httpwwwaltovacomxmlspy
4545
- Footer Guidance for the Standard Audit File ndash Payroll Version 10 Appendix B Schema
- Header Page
type PersonNameStructure
properties isRef 0content complex
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
element ContactInformationStructureTelephone diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureFax diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element ContactInformationStructureEmail diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
3245
facets maxLength 70
element ContactInformationStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType HeaderStructure diagram
children AuditFileVersion AuditFileCountry AuditFileRegion AuditFileDateCreated SoftwareCompanyName SoftwareID SoftwareVersion Company DefaultCurrencyCode SelectionCriteria HeaderComment
used by element AuditFilePayrollHeader
annotation documentation[Common to all SAFs] Overall information about this Standard Auditfile
element HeaderStructureAuditFileVersion
3345
diagram
type SAFcodeType
properties isRef 0content simple
facets maxLength 9
annotation documentationIdentification of the Standard Audit File SAF-P version being used
element HeaderStructureAuditFileCountry diagram
type ISOCountryCode
properties isRef 0content simple
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
element HeaderStructureAuditFileRegion diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationCountry specific code to indicate regions provinces within the tax jurisdiction Preferably described according to ISO 3166-2 Example GB-KEN for Kent county in the United Kingdom
element HeaderStructureAuditFileDateCreated diagram
type xsdate
properties isRef 0content simple
annotation documentationDate of production of SAF-P
element HeaderStructureSoftwareCompanyName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
annotation documentationName of the software company whose product created the SAF-P
element HeaderStructureSoftwareID diagram
3445
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationName of the Software that generated the SAF-P
element HeaderStructureSoftwareVersion diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationVersion of the software that created the SAF-P
element HeaderStructureCompany diagram
type CompanyHeaderStructure
properties isRef 0content complex
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
annotation documentationEmployers name and address details
element HeaderStructureDefaultCurrencyCode diagram
type ISOCurrencyCode
properties isRef 0content simple
facets length 3
annotation documentationThree letter Currency Code (ISO 4217) of local currency which is the default for the SAF
element HeaderStructureSelectionCriteria
3545
diagram
type SelectionCriteriaStructure
properties isRef 0minOcc 0maxOcc 1content complex
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
annotation documentationCriteria set by the user to populate the SAF-P
element HeaderStructureHeaderComment diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
3645
facets maxLength 256
annotation documentationSpace for any further generic comments on the SAF-P Revenue Bodies should consider what information they would expect to see here
complexType IdentificationStructure diagram
children IdentificationType IdentificationNumber DateValidUntil PlaceOfIssue DateOfIssue
used by element AuditFilePayrollMasterFilesEmployeesEmployeeIdentification
annotation documentationIdentification Document data This section is used when employers need to demonstrate that they have seen proof of an employees identity
element IdentificationStructureIdentificationType diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationThe type of identity document supplied to the employer Revenue bodies may wish to prescribe a specific list of codes
element IdentificationStructureIdentificationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number on the identification document
element IdentificationStructureDateValidUntil diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
element IdentificationStructurePlaceOfIssue diagram
type SAFmiddle1textType
3745
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
element IdentificationStructureDateOfIssue diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
complexType PersonNameStructure diagram
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
used by elements ContactHeaderStructureContactPerson ContactInformationStructureContactPerson AuditFilePayrollMasterFilesEmployeesEmployeeName
annotation documentation[Common to all SAFs] All information about the name of a natural (non-corporate) person
element PersonNameStructureTitle diagram
type SAFcodeType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 9
element PersonNameStructureFirstName diagram
type SAFmiddle1textType
properties isRef 0content simple
3845
facets maxLength 35
element PersonNameStructureInitials diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element PersonNameStructureLastNamePrefix diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA textual expression of a prefix that precedes this persons family name such as Van Von
element PersonNameStructureLastName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element PersonNameStructureBirthName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element PersonNameStructureSalutation diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA formal sign or expression of greeting expressed as text that is appropriate for this person such as Sir or Madam
element PersonNameStructureOtherTitles diagram
type SAFshorttextType
3945
properties isRef 0minOcc 0
maxOcc unboundedcontent simple
facets maxLength 18
complexType SelectionCriteriaStructure diagram
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
used by element HeaderStructureSelectionCriteria
annotation documentation[Common to all SAFs] The selection criteria used to generate this Standard Auditfile
element SelectionCriteriaStructureTaxReportingJurisdiction diagram
type SAFmiddle1textType
4045
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationIdentifies the tax jurisdiction for whose purpose the SAF has been created Principally for use where a single Revenue body covers more than one territory
element SelectionCriteriaStructureCompanyEntity diagram
type SAFmiddle2textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 70
annotation documentationFor use where data has been extracted from the full data set by reference to a specific corporate entity
element SelectionCriteriaStructureSelectionStartDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe start date for the reporting period covered by the SAF
element SelectionCriteriaStructureSelectionEndDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe end date for the reporting period covered by the SAF
element SelectionCriteriaStructurePeriodStart diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe first Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodStartYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodStart falls
element SelectionCriteriaStructurePeriodEnd
4145
diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe last Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodEndYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodEnd falls
element SelectionCriteriaStructureDocumentType diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationType of documents selected For use where the data has been restricted by reference to particular transaction types
element SelectionCriteriaStructureOtherCriteria diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc unboundedcontent simple
facets maxLength 256
annotation documentationAny other criteria used in selecting data Individual Revenue Bodies may wish to draw up a list of other acceptable selection criteria for use within their jurisdiction
complexType TaxIDStructure diagram
4245
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeRegistrationNumbers CompanyHeaderStructureTaxRegistration CompanyStructureTaxRegistration
annotation documentation[Common to all SAFs] Tax information for a company or employer
element TaxIDStructureTaxRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number issued by Revenue Body for use by the employer
element TaxIDStructureTaxType diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationFor use where information reported in the SAF-P covers more than one type of tax regime to identify the type of tax regime to which this entry relates
element TaxIDStructureTaxNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
4345
annotation documentationThe tax registration number for the particular tax regime referred to by TaxType
element TaxIDStructureTaxAuthority diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
annotation documentationIdentification of the Revenue Body to which this TaxType refers
element TaxIDStructureTaxVerificationDate diagram
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date that the tax registration details referred to above were last checked
simpleType ISOCountryCode type restriction of xsstring
used by elements HeaderStructureAuditFileCountry AddressStructureCountry
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
simpleType ISOCurrencyCode type restriction of xsstring
used by elements AmountStructureCurrencyCode HeaderStructureDefaultCurrencyCode
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for the Euros or USD for American Dollars
simpleType SAFcodeType type restriction of xsstring
used by elements HeaderStructureAuditFileRegion HeaderStructureAuditFileVersion TaxIDStructureTaxType PersonNameStructureTitle
facets maxLength 9
annotation documentationText of max 9 characters
simpleType SAFexchangerateType type restriction of xsdecimal
used by element AmountStructureExchangeRate
facets totalDigits 18fractionDigits 8
annotation documentation18 digits max of which 8 can be fractional digits
simpleType SAFlongtextType type restriction of xsstring
used by elements AuditFilePayrollTransactionFilesEmploymentBranchID AuditFilePayrollTransactionFilesEmploymentDepartment SelectionCriteriaStructureDocumentType AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeWorkReferenceNumber HeaderStructureHeaderComment AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType AuditFilePayrollTransactionFilesEmploymentJobTitle SelectionCriteriaStructureOtherCriteria AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementDescription HeaderStructureSoftwareID AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
facets maxLength 256
annotation documentation256 character text
simpleType SAFmiddle1textType type restriction of xsstring
4445
used by elements BankAccountStructureBankAccountNumber AddressStructureBuilding AddressStructureCity PersonNameStructureFirstName BankAccountStructureIBANNumber IdentificationStructureIdentificationNumber AuditFilePayrollHeaderPayrollBureauName IdentificationStructurePlaceOfIssue AddressStructureRegion CompanyHeaderStructureRegistrationNumber CompanyStructureRegistrationNumber TaxIDStructureTaxAuthority TaxIDStructureTaxNumber TaxIDStructureTaxRegistrationNumber SelectionCriteriaStructureTaxReportingJurisdiction
facets maxLength 35
annotation documentation35 character text
simpleType SAFmiddle2textType type restriction of xsstring
used by elements AddressStructureAdditionalAddressDetail BankAccountStructureBankAccountName PersonNameStructureBirthName SelectionCriteriaStructureCompanyEntity ContactHeaderStructureEmail ContactInformationStructureEmail PersonNameStructureLastName CompanyHeaderStructureName CompanyStructureName HeaderStructureSoftwareCompanyName AddressStructureStreetName
facets maxLength 70
annotation documentation70 character text
simpleType SAFmonetaryType type restriction of xsdecimal
used by elements AmountStructureAmount AmountStructureCurrencyAmount
facets totalDigits 18fractionDigits 2
annotation documentationMonetary amount18 digits max of which 2 can be fractional digits
simpleType SAFquantityType type restriction of xsdecimal
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits
facets totalDigits 22fractionDigits 6
annotation documentationUsed to describe a quantity Monetary amount 22 digits max of which 6 can be fractional digits
simpleType SAFshorttextType type restriction of xsstring
used by elements AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchID ContactHeaderStructureFax ContactInformationStructureFax IdentificationStructureIdentificationType PersonNameStructureInitials PersonNameStructureLastNamePrefix AddressStructureNumber PersonNameStructureOtherTitles AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayFrequency AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementID AddressStructurePostalCode PersonNameStructureSalutation HeaderStructureSoftwareVersion BankAccountStructureSortCode ContactHeaderStructureTelephone ContactInformationStructureTelephone
facets maxLength 18
annotation documentation18 character text
simpleType SAFweightType type restriction of xsdecimal
facets totalDigits 14fractionDigits 3
annotation documentationDescribes a weight Monetary amount14 digits max of which 3 can be fractional digits
XML Schema documentation generated by XMLSpy Schema Editor httpwwwaltovacomxmlspy
4545
- Footer Guidance for the Standard Audit File ndash Payroll Version 10 Appendix B Schema
- Header Page
facets maxLength 70
element ContactInformationStructureWebsite diagram
type xsanyURI
properties isRef 0minOcc 0
maxOcc 1content simple
complexType HeaderStructure diagram
children AuditFileVersion AuditFileCountry AuditFileRegion AuditFileDateCreated SoftwareCompanyName SoftwareID SoftwareVersion Company DefaultCurrencyCode SelectionCriteria HeaderComment
used by element AuditFilePayrollHeader
annotation documentation[Common to all SAFs] Overall information about this Standard Auditfile
element HeaderStructureAuditFileVersion
3345
diagram
type SAFcodeType
properties isRef 0content simple
facets maxLength 9
annotation documentationIdentification of the Standard Audit File SAF-P version being used
element HeaderStructureAuditFileCountry diagram
type ISOCountryCode
properties isRef 0content simple
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
element HeaderStructureAuditFileRegion diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationCountry specific code to indicate regions provinces within the tax jurisdiction Preferably described according to ISO 3166-2 Example GB-KEN for Kent county in the United Kingdom
element HeaderStructureAuditFileDateCreated diagram
type xsdate
properties isRef 0content simple
annotation documentationDate of production of SAF-P
element HeaderStructureSoftwareCompanyName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
annotation documentationName of the software company whose product created the SAF-P
element HeaderStructureSoftwareID diagram
3445
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationName of the Software that generated the SAF-P
element HeaderStructureSoftwareVersion diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationVersion of the software that created the SAF-P
element HeaderStructureCompany diagram
type CompanyHeaderStructure
properties isRef 0content complex
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
annotation documentationEmployers name and address details
element HeaderStructureDefaultCurrencyCode diagram
type ISOCurrencyCode
properties isRef 0content simple
facets length 3
annotation documentationThree letter Currency Code (ISO 4217) of local currency which is the default for the SAF
element HeaderStructureSelectionCriteria
3545
diagram
type SelectionCriteriaStructure
properties isRef 0minOcc 0maxOcc 1content complex
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
annotation documentationCriteria set by the user to populate the SAF-P
element HeaderStructureHeaderComment diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
3645
facets maxLength 256
annotation documentationSpace for any further generic comments on the SAF-P Revenue Bodies should consider what information they would expect to see here
complexType IdentificationStructure diagram
children IdentificationType IdentificationNumber DateValidUntil PlaceOfIssue DateOfIssue
used by element AuditFilePayrollMasterFilesEmployeesEmployeeIdentification
annotation documentationIdentification Document data This section is used when employers need to demonstrate that they have seen proof of an employees identity
element IdentificationStructureIdentificationType diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationThe type of identity document supplied to the employer Revenue bodies may wish to prescribe a specific list of codes
element IdentificationStructureIdentificationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number on the identification document
element IdentificationStructureDateValidUntil diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
element IdentificationStructurePlaceOfIssue diagram
type SAFmiddle1textType
3745
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
element IdentificationStructureDateOfIssue diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
complexType PersonNameStructure diagram
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
used by elements ContactHeaderStructureContactPerson ContactInformationStructureContactPerson AuditFilePayrollMasterFilesEmployeesEmployeeName
annotation documentation[Common to all SAFs] All information about the name of a natural (non-corporate) person
element PersonNameStructureTitle diagram
type SAFcodeType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 9
element PersonNameStructureFirstName diagram
type SAFmiddle1textType
properties isRef 0content simple
3845
facets maxLength 35
element PersonNameStructureInitials diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element PersonNameStructureLastNamePrefix diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA textual expression of a prefix that precedes this persons family name such as Van Von
element PersonNameStructureLastName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element PersonNameStructureBirthName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element PersonNameStructureSalutation diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA formal sign or expression of greeting expressed as text that is appropriate for this person such as Sir or Madam
element PersonNameStructureOtherTitles diagram
type SAFshorttextType
3945
properties isRef 0minOcc 0
maxOcc unboundedcontent simple
facets maxLength 18
complexType SelectionCriteriaStructure diagram
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
used by element HeaderStructureSelectionCriteria
annotation documentation[Common to all SAFs] The selection criteria used to generate this Standard Auditfile
element SelectionCriteriaStructureTaxReportingJurisdiction diagram
type SAFmiddle1textType
4045
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationIdentifies the tax jurisdiction for whose purpose the SAF has been created Principally for use where a single Revenue body covers more than one territory
element SelectionCriteriaStructureCompanyEntity diagram
type SAFmiddle2textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 70
annotation documentationFor use where data has been extracted from the full data set by reference to a specific corporate entity
element SelectionCriteriaStructureSelectionStartDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe start date for the reporting period covered by the SAF
element SelectionCriteriaStructureSelectionEndDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe end date for the reporting period covered by the SAF
element SelectionCriteriaStructurePeriodStart diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe first Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodStartYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodStart falls
element SelectionCriteriaStructurePeriodEnd
4145
diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe last Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodEndYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodEnd falls
element SelectionCriteriaStructureDocumentType diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationType of documents selected For use where the data has been restricted by reference to particular transaction types
element SelectionCriteriaStructureOtherCriteria diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc unboundedcontent simple
facets maxLength 256
annotation documentationAny other criteria used in selecting data Individual Revenue Bodies may wish to draw up a list of other acceptable selection criteria for use within their jurisdiction
complexType TaxIDStructure diagram
4245
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeRegistrationNumbers CompanyHeaderStructureTaxRegistration CompanyStructureTaxRegistration
annotation documentation[Common to all SAFs] Tax information for a company or employer
element TaxIDStructureTaxRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number issued by Revenue Body for use by the employer
element TaxIDStructureTaxType diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationFor use where information reported in the SAF-P covers more than one type of tax regime to identify the type of tax regime to which this entry relates
element TaxIDStructureTaxNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
4345
annotation documentationThe tax registration number for the particular tax regime referred to by TaxType
element TaxIDStructureTaxAuthority diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
annotation documentationIdentification of the Revenue Body to which this TaxType refers
element TaxIDStructureTaxVerificationDate diagram
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date that the tax registration details referred to above were last checked
simpleType ISOCountryCode type restriction of xsstring
used by elements HeaderStructureAuditFileCountry AddressStructureCountry
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
simpleType ISOCurrencyCode type restriction of xsstring
used by elements AmountStructureCurrencyCode HeaderStructureDefaultCurrencyCode
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for the Euros or USD for American Dollars
simpleType SAFcodeType type restriction of xsstring
used by elements HeaderStructureAuditFileRegion HeaderStructureAuditFileVersion TaxIDStructureTaxType PersonNameStructureTitle
facets maxLength 9
annotation documentationText of max 9 characters
simpleType SAFexchangerateType type restriction of xsdecimal
used by element AmountStructureExchangeRate
facets totalDigits 18fractionDigits 8
annotation documentation18 digits max of which 8 can be fractional digits
simpleType SAFlongtextType type restriction of xsstring
used by elements AuditFilePayrollTransactionFilesEmploymentBranchID AuditFilePayrollTransactionFilesEmploymentDepartment SelectionCriteriaStructureDocumentType AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeWorkReferenceNumber HeaderStructureHeaderComment AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType AuditFilePayrollTransactionFilesEmploymentJobTitle SelectionCriteriaStructureOtherCriteria AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementDescription HeaderStructureSoftwareID AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
facets maxLength 256
annotation documentation256 character text
simpleType SAFmiddle1textType type restriction of xsstring
4445
used by elements BankAccountStructureBankAccountNumber AddressStructureBuilding AddressStructureCity PersonNameStructureFirstName BankAccountStructureIBANNumber IdentificationStructureIdentificationNumber AuditFilePayrollHeaderPayrollBureauName IdentificationStructurePlaceOfIssue AddressStructureRegion CompanyHeaderStructureRegistrationNumber CompanyStructureRegistrationNumber TaxIDStructureTaxAuthority TaxIDStructureTaxNumber TaxIDStructureTaxRegistrationNumber SelectionCriteriaStructureTaxReportingJurisdiction
facets maxLength 35
annotation documentation35 character text
simpleType SAFmiddle2textType type restriction of xsstring
used by elements AddressStructureAdditionalAddressDetail BankAccountStructureBankAccountName PersonNameStructureBirthName SelectionCriteriaStructureCompanyEntity ContactHeaderStructureEmail ContactInformationStructureEmail PersonNameStructureLastName CompanyHeaderStructureName CompanyStructureName HeaderStructureSoftwareCompanyName AddressStructureStreetName
facets maxLength 70
annotation documentation70 character text
simpleType SAFmonetaryType type restriction of xsdecimal
used by elements AmountStructureAmount AmountStructureCurrencyAmount
facets totalDigits 18fractionDigits 2
annotation documentationMonetary amount18 digits max of which 2 can be fractional digits
simpleType SAFquantityType type restriction of xsdecimal
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits
facets totalDigits 22fractionDigits 6
annotation documentationUsed to describe a quantity Monetary amount 22 digits max of which 6 can be fractional digits
simpleType SAFshorttextType type restriction of xsstring
used by elements AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchID ContactHeaderStructureFax ContactInformationStructureFax IdentificationStructureIdentificationType PersonNameStructureInitials PersonNameStructureLastNamePrefix AddressStructureNumber PersonNameStructureOtherTitles AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayFrequency AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementID AddressStructurePostalCode PersonNameStructureSalutation HeaderStructureSoftwareVersion BankAccountStructureSortCode ContactHeaderStructureTelephone ContactInformationStructureTelephone
facets maxLength 18
annotation documentation18 character text
simpleType SAFweightType type restriction of xsdecimal
facets totalDigits 14fractionDigits 3
annotation documentationDescribes a weight Monetary amount14 digits max of which 3 can be fractional digits
XML Schema documentation generated by XMLSpy Schema Editor httpwwwaltovacomxmlspy
4545
- Footer Guidance for the Standard Audit File ndash Payroll Version 10 Appendix B Schema
- Header Page
diagram
type SAFcodeType
properties isRef 0content simple
facets maxLength 9
annotation documentationIdentification of the Standard Audit File SAF-P version being used
element HeaderStructureAuditFileCountry diagram
type ISOCountryCode
properties isRef 0content simple
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
element HeaderStructureAuditFileRegion diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationCountry specific code to indicate regions provinces within the tax jurisdiction Preferably described according to ISO 3166-2 Example GB-KEN for Kent county in the United Kingdom
element HeaderStructureAuditFileDateCreated diagram
type xsdate
properties isRef 0content simple
annotation documentationDate of production of SAF-P
element HeaderStructureSoftwareCompanyName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
annotation documentationName of the software company whose product created the SAF-P
element HeaderStructureSoftwareID diagram
3445
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationName of the Software that generated the SAF-P
element HeaderStructureSoftwareVersion diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationVersion of the software that created the SAF-P
element HeaderStructureCompany diagram
type CompanyHeaderStructure
properties isRef 0content complex
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
annotation documentationEmployers name and address details
element HeaderStructureDefaultCurrencyCode diagram
type ISOCurrencyCode
properties isRef 0content simple
facets length 3
annotation documentationThree letter Currency Code (ISO 4217) of local currency which is the default for the SAF
element HeaderStructureSelectionCriteria
3545
diagram
type SelectionCriteriaStructure
properties isRef 0minOcc 0maxOcc 1content complex
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
annotation documentationCriteria set by the user to populate the SAF-P
element HeaderStructureHeaderComment diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
3645
facets maxLength 256
annotation documentationSpace for any further generic comments on the SAF-P Revenue Bodies should consider what information they would expect to see here
complexType IdentificationStructure diagram
children IdentificationType IdentificationNumber DateValidUntil PlaceOfIssue DateOfIssue
used by element AuditFilePayrollMasterFilesEmployeesEmployeeIdentification
annotation documentationIdentification Document data This section is used when employers need to demonstrate that they have seen proof of an employees identity
element IdentificationStructureIdentificationType diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationThe type of identity document supplied to the employer Revenue bodies may wish to prescribe a specific list of codes
element IdentificationStructureIdentificationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number on the identification document
element IdentificationStructureDateValidUntil diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
element IdentificationStructurePlaceOfIssue diagram
type SAFmiddle1textType
3745
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
element IdentificationStructureDateOfIssue diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
complexType PersonNameStructure diagram
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
used by elements ContactHeaderStructureContactPerson ContactInformationStructureContactPerson AuditFilePayrollMasterFilesEmployeesEmployeeName
annotation documentation[Common to all SAFs] All information about the name of a natural (non-corporate) person
element PersonNameStructureTitle diagram
type SAFcodeType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 9
element PersonNameStructureFirstName diagram
type SAFmiddle1textType
properties isRef 0content simple
3845
facets maxLength 35
element PersonNameStructureInitials diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element PersonNameStructureLastNamePrefix diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA textual expression of a prefix that precedes this persons family name such as Van Von
element PersonNameStructureLastName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element PersonNameStructureBirthName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element PersonNameStructureSalutation diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA formal sign or expression of greeting expressed as text that is appropriate for this person such as Sir or Madam
element PersonNameStructureOtherTitles diagram
type SAFshorttextType
3945
properties isRef 0minOcc 0
maxOcc unboundedcontent simple
facets maxLength 18
complexType SelectionCriteriaStructure diagram
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
used by element HeaderStructureSelectionCriteria
annotation documentation[Common to all SAFs] The selection criteria used to generate this Standard Auditfile
element SelectionCriteriaStructureTaxReportingJurisdiction diagram
type SAFmiddle1textType
4045
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationIdentifies the tax jurisdiction for whose purpose the SAF has been created Principally for use where a single Revenue body covers more than one territory
element SelectionCriteriaStructureCompanyEntity diagram
type SAFmiddle2textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 70
annotation documentationFor use where data has been extracted from the full data set by reference to a specific corporate entity
element SelectionCriteriaStructureSelectionStartDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe start date for the reporting period covered by the SAF
element SelectionCriteriaStructureSelectionEndDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe end date for the reporting period covered by the SAF
element SelectionCriteriaStructurePeriodStart diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe first Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodStartYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodStart falls
element SelectionCriteriaStructurePeriodEnd
4145
diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe last Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodEndYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodEnd falls
element SelectionCriteriaStructureDocumentType diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationType of documents selected For use where the data has been restricted by reference to particular transaction types
element SelectionCriteriaStructureOtherCriteria diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc unboundedcontent simple
facets maxLength 256
annotation documentationAny other criteria used in selecting data Individual Revenue Bodies may wish to draw up a list of other acceptable selection criteria for use within their jurisdiction
complexType TaxIDStructure diagram
4245
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeRegistrationNumbers CompanyHeaderStructureTaxRegistration CompanyStructureTaxRegistration
annotation documentation[Common to all SAFs] Tax information for a company or employer
element TaxIDStructureTaxRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number issued by Revenue Body for use by the employer
element TaxIDStructureTaxType diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationFor use where information reported in the SAF-P covers more than one type of tax regime to identify the type of tax regime to which this entry relates
element TaxIDStructureTaxNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
4345
annotation documentationThe tax registration number for the particular tax regime referred to by TaxType
element TaxIDStructureTaxAuthority diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
annotation documentationIdentification of the Revenue Body to which this TaxType refers
element TaxIDStructureTaxVerificationDate diagram
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date that the tax registration details referred to above were last checked
simpleType ISOCountryCode type restriction of xsstring
used by elements HeaderStructureAuditFileCountry AddressStructureCountry
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
simpleType ISOCurrencyCode type restriction of xsstring
used by elements AmountStructureCurrencyCode HeaderStructureDefaultCurrencyCode
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for the Euros or USD for American Dollars
simpleType SAFcodeType type restriction of xsstring
used by elements HeaderStructureAuditFileRegion HeaderStructureAuditFileVersion TaxIDStructureTaxType PersonNameStructureTitle
facets maxLength 9
annotation documentationText of max 9 characters
simpleType SAFexchangerateType type restriction of xsdecimal
used by element AmountStructureExchangeRate
facets totalDigits 18fractionDigits 8
annotation documentation18 digits max of which 8 can be fractional digits
simpleType SAFlongtextType type restriction of xsstring
used by elements AuditFilePayrollTransactionFilesEmploymentBranchID AuditFilePayrollTransactionFilesEmploymentDepartment SelectionCriteriaStructureDocumentType AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeWorkReferenceNumber HeaderStructureHeaderComment AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType AuditFilePayrollTransactionFilesEmploymentJobTitle SelectionCriteriaStructureOtherCriteria AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementDescription HeaderStructureSoftwareID AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
facets maxLength 256
annotation documentation256 character text
simpleType SAFmiddle1textType type restriction of xsstring
4445
used by elements BankAccountStructureBankAccountNumber AddressStructureBuilding AddressStructureCity PersonNameStructureFirstName BankAccountStructureIBANNumber IdentificationStructureIdentificationNumber AuditFilePayrollHeaderPayrollBureauName IdentificationStructurePlaceOfIssue AddressStructureRegion CompanyHeaderStructureRegistrationNumber CompanyStructureRegistrationNumber TaxIDStructureTaxAuthority TaxIDStructureTaxNumber TaxIDStructureTaxRegistrationNumber SelectionCriteriaStructureTaxReportingJurisdiction
facets maxLength 35
annotation documentation35 character text
simpleType SAFmiddle2textType type restriction of xsstring
used by elements AddressStructureAdditionalAddressDetail BankAccountStructureBankAccountName PersonNameStructureBirthName SelectionCriteriaStructureCompanyEntity ContactHeaderStructureEmail ContactInformationStructureEmail PersonNameStructureLastName CompanyHeaderStructureName CompanyStructureName HeaderStructureSoftwareCompanyName AddressStructureStreetName
facets maxLength 70
annotation documentation70 character text
simpleType SAFmonetaryType type restriction of xsdecimal
used by elements AmountStructureAmount AmountStructureCurrencyAmount
facets totalDigits 18fractionDigits 2
annotation documentationMonetary amount18 digits max of which 2 can be fractional digits
simpleType SAFquantityType type restriction of xsdecimal
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits
facets totalDigits 22fractionDigits 6
annotation documentationUsed to describe a quantity Monetary amount 22 digits max of which 6 can be fractional digits
simpleType SAFshorttextType type restriction of xsstring
used by elements AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchID ContactHeaderStructureFax ContactInformationStructureFax IdentificationStructureIdentificationType PersonNameStructureInitials PersonNameStructureLastNamePrefix AddressStructureNumber PersonNameStructureOtherTitles AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayFrequency AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementID AddressStructurePostalCode PersonNameStructureSalutation HeaderStructureSoftwareVersion BankAccountStructureSortCode ContactHeaderStructureTelephone ContactInformationStructureTelephone
facets maxLength 18
annotation documentation18 character text
simpleType SAFweightType type restriction of xsdecimal
facets totalDigits 14fractionDigits 3
annotation documentationDescribes a weight Monetary amount14 digits max of which 3 can be fractional digits
XML Schema documentation generated by XMLSpy Schema Editor httpwwwaltovacomxmlspy
4545
- Footer Guidance for the Standard Audit File ndash Payroll Version 10 Appendix B Schema
- Header Page
type SAFlongtextType
properties isRef 0content simple
facets maxLength 256
annotation documentationName of the Software that generated the SAF-P
element HeaderStructureSoftwareVersion diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationVersion of the software that created the SAF-P
element HeaderStructureCompany diagram
type CompanyHeaderStructure
properties isRef 0content complex
children RegistrationNumber Name Address Contact TaxRegistration BankAccount
annotation documentationEmployers name and address details
element HeaderStructureDefaultCurrencyCode diagram
type ISOCurrencyCode
properties isRef 0content simple
facets length 3
annotation documentationThree letter Currency Code (ISO 4217) of local currency which is the default for the SAF
element HeaderStructureSelectionCriteria
3545
diagram
type SelectionCriteriaStructure
properties isRef 0minOcc 0maxOcc 1content complex
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
annotation documentationCriteria set by the user to populate the SAF-P
element HeaderStructureHeaderComment diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
3645
facets maxLength 256
annotation documentationSpace for any further generic comments on the SAF-P Revenue Bodies should consider what information they would expect to see here
complexType IdentificationStructure diagram
children IdentificationType IdentificationNumber DateValidUntil PlaceOfIssue DateOfIssue
used by element AuditFilePayrollMasterFilesEmployeesEmployeeIdentification
annotation documentationIdentification Document data This section is used when employers need to demonstrate that they have seen proof of an employees identity
element IdentificationStructureIdentificationType diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationThe type of identity document supplied to the employer Revenue bodies may wish to prescribe a specific list of codes
element IdentificationStructureIdentificationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number on the identification document
element IdentificationStructureDateValidUntil diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
element IdentificationStructurePlaceOfIssue diagram
type SAFmiddle1textType
3745
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
element IdentificationStructureDateOfIssue diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
complexType PersonNameStructure diagram
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
used by elements ContactHeaderStructureContactPerson ContactInformationStructureContactPerson AuditFilePayrollMasterFilesEmployeesEmployeeName
annotation documentation[Common to all SAFs] All information about the name of a natural (non-corporate) person
element PersonNameStructureTitle diagram
type SAFcodeType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 9
element PersonNameStructureFirstName diagram
type SAFmiddle1textType
properties isRef 0content simple
3845
facets maxLength 35
element PersonNameStructureInitials diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element PersonNameStructureLastNamePrefix diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA textual expression of a prefix that precedes this persons family name such as Van Von
element PersonNameStructureLastName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element PersonNameStructureBirthName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element PersonNameStructureSalutation diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA formal sign or expression of greeting expressed as text that is appropriate for this person such as Sir or Madam
element PersonNameStructureOtherTitles diagram
type SAFshorttextType
3945
properties isRef 0minOcc 0
maxOcc unboundedcontent simple
facets maxLength 18
complexType SelectionCriteriaStructure diagram
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
used by element HeaderStructureSelectionCriteria
annotation documentation[Common to all SAFs] The selection criteria used to generate this Standard Auditfile
element SelectionCriteriaStructureTaxReportingJurisdiction diagram
type SAFmiddle1textType
4045
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationIdentifies the tax jurisdiction for whose purpose the SAF has been created Principally for use where a single Revenue body covers more than one territory
element SelectionCriteriaStructureCompanyEntity diagram
type SAFmiddle2textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 70
annotation documentationFor use where data has been extracted from the full data set by reference to a specific corporate entity
element SelectionCriteriaStructureSelectionStartDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe start date for the reporting period covered by the SAF
element SelectionCriteriaStructureSelectionEndDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe end date for the reporting period covered by the SAF
element SelectionCriteriaStructurePeriodStart diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe first Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodStartYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodStart falls
element SelectionCriteriaStructurePeriodEnd
4145
diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe last Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodEndYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodEnd falls
element SelectionCriteriaStructureDocumentType diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationType of documents selected For use where the data has been restricted by reference to particular transaction types
element SelectionCriteriaStructureOtherCriteria diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc unboundedcontent simple
facets maxLength 256
annotation documentationAny other criteria used in selecting data Individual Revenue Bodies may wish to draw up a list of other acceptable selection criteria for use within their jurisdiction
complexType TaxIDStructure diagram
4245
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeRegistrationNumbers CompanyHeaderStructureTaxRegistration CompanyStructureTaxRegistration
annotation documentation[Common to all SAFs] Tax information for a company or employer
element TaxIDStructureTaxRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number issued by Revenue Body for use by the employer
element TaxIDStructureTaxType diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationFor use where information reported in the SAF-P covers more than one type of tax regime to identify the type of tax regime to which this entry relates
element TaxIDStructureTaxNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
4345
annotation documentationThe tax registration number for the particular tax regime referred to by TaxType
element TaxIDStructureTaxAuthority diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
annotation documentationIdentification of the Revenue Body to which this TaxType refers
element TaxIDStructureTaxVerificationDate diagram
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date that the tax registration details referred to above were last checked
simpleType ISOCountryCode type restriction of xsstring
used by elements HeaderStructureAuditFileCountry AddressStructureCountry
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
simpleType ISOCurrencyCode type restriction of xsstring
used by elements AmountStructureCurrencyCode HeaderStructureDefaultCurrencyCode
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for the Euros or USD for American Dollars
simpleType SAFcodeType type restriction of xsstring
used by elements HeaderStructureAuditFileRegion HeaderStructureAuditFileVersion TaxIDStructureTaxType PersonNameStructureTitle
facets maxLength 9
annotation documentationText of max 9 characters
simpleType SAFexchangerateType type restriction of xsdecimal
used by element AmountStructureExchangeRate
facets totalDigits 18fractionDigits 8
annotation documentation18 digits max of which 8 can be fractional digits
simpleType SAFlongtextType type restriction of xsstring
used by elements AuditFilePayrollTransactionFilesEmploymentBranchID AuditFilePayrollTransactionFilesEmploymentDepartment SelectionCriteriaStructureDocumentType AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeWorkReferenceNumber HeaderStructureHeaderComment AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType AuditFilePayrollTransactionFilesEmploymentJobTitle SelectionCriteriaStructureOtherCriteria AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementDescription HeaderStructureSoftwareID AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
facets maxLength 256
annotation documentation256 character text
simpleType SAFmiddle1textType type restriction of xsstring
4445
used by elements BankAccountStructureBankAccountNumber AddressStructureBuilding AddressStructureCity PersonNameStructureFirstName BankAccountStructureIBANNumber IdentificationStructureIdentificationNumber AuditFilePayrollHeaderPayrollBureauName IdentificationStructurePlaceOfIssue AddressStructureRegion CompanyHeaderStructureRegistrationNumber CompanyStructureRegistrationNumber TaxIDStructureTaxAuthority TaxIDStructureTaxNumber TaxIDStructureTaxRegistrationNumber SelectionCriteriaStructureTaxReportingJurisdiction
facets maxLength 35
annotation documentation35 character text
simpleType SAFmiddle2textType type restriction of xsstring
used by elements AddressStructureAdditionalAddressDetail BankAccountStructureBankAccountName PersonNameStructureBirthName SelectionCriteriaStructureCompanyEntity ContactHeaderStructureEmail ContactInformationStructureEmail PersonNameStructureLastName CompanyHeaderStructureName CompanyStructureName HeaderStructureSoftwareCompanyName AddressStructureStreetName
facets maxLength 70
annotation documentation70 character text
simpleType SAFmonetaryType type restriction of xsdecimal
used by elements AmountStructureAmount AmountStructureCurrencyAmount
facets totalDigits 18fractionDigits 2
annotation documentationMonetary amount18 digits max of which 2 can be fractional digits
simpleType SAFquantityType type restriction of xsdecimal
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits
facets totalDigits 22fractionDigits 6
annotation documentationUsed to describe a quantity Monetary amount 22 digits max of which 6 can be fractional digits
simpleType SAFshorttextType type restriction of xsstring
used by elements AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchID ContactHeaderStructureFax ContactInformationStructureFax IdentificationStructureIdentificationType PersonNameStructureInitials PersonNameStructureLastNamePrefix AddressStructureNumber PersonNameStructureOtherTitles AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayFrequency AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementID AddressStructurePostalCode PersonNameStructureSalutation HeaderStructureSoftwareVersion BankAccountStructureSortCode ContactHeaderStructureTelephone ContactInformationStructureTelephone
facets maxLength 18
annotation documentation18 character text
simpleType SAFweightType type restriction of xsdecimal
facets totalDigits 14fractionDigits 3
annotation documentationDescribes a weight Monetary amount14 digits max of which 3 can be fractional digits
XML Schema documentation generated by XMLSpy Schema Editor httpwwwaltovacomxmlspy
4545
- Footer Guidance for the Standard Audit File ndash Payroll Version 10 Appendix B Schema
- Header Page
diagram
type SelectionCriteriaStructure
properties isRef 0minOcc 0maxOcc 1content complex
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
annotation documentationCriteria set by the user to populate the SAF-P
element HeaderStructureHeaderComment diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
3645
facets maxLength 256
annotation documentationSpace for any further generic comments on the SAF-P Revenue Bodies should consider what information they would expect to see here
complexType IdentificationStructure diagram
children IdentificationType IdentificationNumber DateValidUntil PlaceOfIssue DateOfIssue
used by element AuditFilePayrollMasterFilesEmployeesEmployeeIdentification
annotation documentationIdentification Document data This section is used when employers need to demonstrate that they have seen proof of an employees identity
element IdentificationStructureIdentificationType diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationThe type of identity document supplied to the employer Revenue bodies may wish to prescribe a specific list of codes
element IdentificationStructureIdentificationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number on the identification document
element IdentificationStructureDateValidUntil diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
element IdentificationStructurePlaceOfIssue diagram
type SAFmiddle1textType
3745
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
element IdentificationStructureDateOfIssue diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
complexType PersonNameStructure diagram
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
used by elements ContactHeaderStructureContactPerson ContactInformationStructureContactPerson AuditFilePayrollMasterFilesEmployeesEmployeeName
annotation documentation[Common to all SAFs] All information about the name of a natural (non-corporate) person
element PersonNameStructureTitle diagram
type SAFcodeType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 9
element PersonNameStructureFirstName diagram
type SAFmiddle1textType
properties isRef 0content simple
3845
facets maxLength 35
element PersonNameStructureInitials diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element PersonNameStructureLastNamePrefix diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA textual expression of a prefix that precedes this persons family name such as Van Von
element PersonNameStructureLastName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element PersonNameStructureBirthName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element PersonNameStructureSalutation diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA formal sign or expression of greeting expressed as text that is appropriate for this person such as Sir or Madam
element PersonNameStructureOtherTitles diagram
type SAFshorttextType
3945
properties isRef 0minOcc 0
maxOcc unboundedcontent simple
facets maxLength 18
complexType SelectionCriteriaStructure diagram
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
used by element HeaderStructureSelectionCriteria
annotation documentation[Common to all SAFs] The selection criteria used to generate this Standard Auditfile
element SelectionCriteriaStructureTaxReportingJurisdiction diagram
type SAFmiddle1textType
4045
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationIdentifies the tax jurisdiction for whose purpose the SAF has been created Principally for use where a single Revenue body covers more than one territory
element SelectionCriteriaStructureCompanyEntity diagram
type SAFmiddle2textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 70
annotation documentationFor use where data has been extracted from the full data set by reference to a specific corporate entity
element SelectionCriteriaStructureSelectionStartDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe start date for the reporting period covered by the SAF
element SelectionCriteriaStructureSelectionEndDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe end date for the reporting period covered by the SAF
element SelectionCriteriaStructurePeriodStart diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe first Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodStartYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodStart falls
element SelectionCriteriaStructurePeriodEnd
4145
diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe last Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodEndYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodEnd falls
element SelectionCriteriaStructureDocumentType diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationType of documents selected For use where the data has been restricted by reference to particular transaction types
element SelectionCriteriaStructureOtherCriteria diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc unboundedcontent simple
facets maxLength 256
annotation documentationAny other criteria used in selecting data Individual Revenue Bodies may wish to draw up a list of other acceptable selection criteria for use within their jurisdiction
complexType TaxIDStructure diagram
4245
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeRegistrationNumbers CompanyHeaderStructureTaxRegistration CompanyStructureTaxRegistration
annotation documentation[Common to all SAFs] Tax information for a company or employer
element TaxIDStructureTaxRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number issued by Revenue Body for use by the employer
element TaxIDStructureTaxType diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationFor use where information reported in the SAF-P covers more than one type of tax regime to identify the type of tax regime to which this entry relates
element TaxIDStructureTaxNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
4345
annotation documentationThe tax registration number for the particular tax regime referred to by TaxType
element TaxIDStructureTaxAuthority diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
annotation documentationIdentification of the Revenue Body to which this TaxType refers
element TaxIDStructureTaxVerificationDate diagram
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date that the tax registration details referred to above were last checked
simpleType ISOCountryCode type restriction of xsstring
used by elements HeaderStructureAuditFileCountry AddressStructureCountry
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
simpleType ISOCurrencyCode type restriction of xsstring
used by elements AmountStructureCurrencyCode HeaderStructureDefaultCurrencyCode
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for the Euros or USD for American Dollars
simpleType SAFcodeType type restriction of xsstring
used by elements HeaderStructureAuditFileRegion HeaderStructureAuditFileVersion TaxIDStructureTaxType PersonNameStructureTitle
facets maxLength 9
annotation documentationText of max 9 characters
simpleType SAFexchangerateType type restriction of xsdecimal
used by element AmountStructureExchangeRate
facets totalDigits 18fractionDigits 8
annotation documentation18 digits max of which 8 can be fractional digits
simpleType SAFlongtextType type restriction of xsstring
used by elements AuditFilePayrollTransactionFilesEmploymentBranchID AuditFilePayrollTransactionFilesEmploymentDepartment SelectionCriteriaStructureDocumentType AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeWorkReferenceNumber HeaderStructureHeaderComment AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType AuditFilePayrollTransactionFilesEmploymentJobTitle SelectionCriteriaStructureOtherCriteria AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementDescription HeaderStructureSoftwareID AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
facets maxLength 256
annotation documentation256 character text
simpleType SAFmiddle1textType type restriction of xsstring
4445
used by elements BankAccountStructureBankAccountNumber AddressStructureBuilding AddressStructureCity PersonNameStructureFirstName BankAccountStructureIBANNumber IdentificationStructureIdentificationNumber AuditFilePayrollHeaderPayrollBureauName IdentificationStructurePlaceOfIssue AddressStructureRegion CompanyHeaderStructureRegistrationNumber CompanyStructureRegistrationNumber TaxIDStructureTaxAuthority TaxIDStructureTaxNumber TaxIDStructureTaxRegistrationNumber SelectionCriteriaStructureTaxReportingJurisdiction
facets maxLength 35
annotation documentation35 character text
simpleType SAFmiddle2textType type restriction of xsstring
used by elements AddressStructureAdditionalAddressDetail BankAccountStructureBankAccountName PersonNameStructureBirthName SelectionCriteriaStructureCompanyEntity ContactHeaderStructureEmail ContactInformationStructureEmail PersonNameStructureLastName CompanyHeaderStructureName CompanyStructureName HeaderStructureSoftwareCompanyName AddressStructureStreetName
facets maxLength 70
annotation documentation70 character text
simpleType SAFmonetaryType type restriction of xsdecimal
used by elements AmountStructureAmount AmountStructureCurrencyAmount
facets totalDigits 18fractionDigits 2
annotation documentationMonetary amount18 digits max of which 2 can be fractional digits
simpleType SAFquantityType type restriction of xsdecimal
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits
facets totalDigits 22fractionDigits 6
annotation documentationUsed to describe a quantity Monetary amount 22 digits max of which 6 can be fractional digits
simpleType SAFshorttextType type restriction of xsstring
used by elements AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchID ContactHeaderStructureFax ContactInformationStructureFax IdentificationStructureIdentificationType PersonNameStructureInitials PersonNameStructureLastNamePrefix AddressStructureNumber PersonNameStructureOtherTitles AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayFrequency AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementID AddressStructurePostalCode PersonNameStructureSalutation HeaderStructureSoftwareVersion BankAccountStructureSortCode ContactHeaderStructureTelephone ContactInformationStructureTelephone
facets maxLength 18
annotation documentation18 character text
simpleType SAFweightType type restriction of xsdecimal
facets totalDigits 14fractionDigits 3
annotation documentationDescribes a weight Monetary amount14 digits max of which 3 can be fractional digits
XML Schema documentation generated by XMLSpy Schema Editor httpwwwaltovacomxmlspy
4545
- Footer Guidance for the Standard Audit File ndash Payroll Version 10 Appendix B Schema
- Header Page
facets maxLength 256
annotation documentationSpace for any further generic comments on the SAF-P Revenue Bodies should consider what information they would expect to see here
complexType IdentificationStructure diagram
children IdentificationType IdentificationNumber DateValidUntil PlaceOfIssue DateOfIssue
used by element AuditFilePayrollMasterFilesEmployeesEmployeeIdentification
annotation documentationIdentification Document data This section is used when employers need to demonstrate that they have seen proof of an employees identity
element IdentificationStructureIdentificationType diagram
type SAFshorttextType
properties isRef 0content simple
facets maxLength 18
annotation documentationThe type of identity document supplied to the employer Revenue bodies may wish to prescribe a specific list of codes
element IdentificationStructureIdentificationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number on the identification document
element IdentificationStructureDateValidUntil diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
element IdentificationStructurePlaceOfIssue diagram
type SAFmiddle1textType
3745
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
element IdentificationStructureDateOfIssue diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
complexType PersonNameStructure diagram
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
used by elements ContactHeaderStructureContactPerson ContactInformationStructureContactPerson AuditFilePayrollMasterFilesEmployeesEmployeeName
annotation documentation[Common to all SAFs] All information about the name of a natural (non-corporate) person
element PersonNameStructureTitle diagram
type SAFcodeType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 9
element PersonNameStructureFirstName diagram
type SAFmiddle1textType
properties isRef 0content simple
3845
facets maxLength 35
element PersonNameStructureInitials diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element PersonNameStructureLastNamePrefix diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA textual expression of a prefix that precedes this persons family name such as Van Von
element PersonNameStructureLastName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element PersonNameStructureBirthName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element PersonNameStructureSalutation diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA formal sign or expression of greeting expressed as text that is appropriate for this person such as Sir or Madam
element PersonNameStructureOtherTitles diagram
type SAFshorttextType
3945
properties isRef 0minOcc 0
maxOcc unboundedcontent simple
facets maxLength 18
complexType SelectionCriteriaStructure diagram
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
used by element HeaderStructureSelectionCriteria
annotation documentation[Common to all SAFs] The selection criteria used to generate this Standard Auditfile
element SelectionCriteriaStructureTaxReportingJurisdiction diagram
type SAFmiddle1textType
4045
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationIdentifies the tax jurisdiction for whose purpose the SAF has been created Principally for use where a single Revenue body covers more than one territory
element SelectionCriteriaStructureCompanyEntity diagram
type SAFmiddle2textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 70
annotation documentationFor use where data has been extracted from the full data set by reference to a specific corporate entity
element SelectionCriteriaStructureSelectionStartDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe start date for the reporting period covered by the SAF
element SelectionCriteriaStructureSelectionEndDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe end date for the reporting period covered by the SAF
element SelectionCriteriaStructurePeriodStart diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe first Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodStartYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodStart falls
element SelectionCriteriaStructurePeriodEnd
4145
diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe last Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodEndYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodEnd falls
element SelectionCriteriaStructureDocumentType diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationType of documents selected For use where the data has been restricted by reference to particular transaction types
element SelectionCriteriaStructureOtherCriteria diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc unboundedcontent simple
facets maxLength 256
annotation documentationAny other criteria used in selecting data Individual Revenue Bodies may wish to draw up a list of other acceptable selection criteria for use within their jurisdiction
complexType TaxIDStructure diagram
4245
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeRegistrationNumbers CompanyHeaderStructureTaxRegistration CompanyStructureTaxRegistration
annotation documentation[Common to all SAFs] Tax information for a company or employer
element TaxIDStructureTaxRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number issued by Revenue Body for use by the employer
element TaxIDStructureTaxType diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationFor use where information reported in the SAF-P covers more than one type of tax regime to identify the type of tax regime to which this entry relates
element TaxIDStructureTaxNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
4345
annotation documentationThe tax registration number for the particular tax regime referred to by TaxType
element TaxIDStructureTaxAuthority diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
annotation documentationIdentification of the Revenue Body to which this TaxType refers
element TaxIDStructureTaxVerificationDate diagram
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date that the tax registration details referred to above were last checked
simpleType ISOCountryCode type restriction of xsstring
used by elements HeaderStructureAuditFileCountry AddressStructureCountry
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
simpleType ISOCurrencyCode type restriction of xsstring
used by elements AmountStructureCurrencyCode HeaderStructureDefaultCurrencyCode
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for the Euros or USD for American Dollars
simpleType SAFcodeType type restriction of xsstring
used by elements HeaderStructureAuditFileRegion HeaderStructureAuditFileVersion TaxIDStructureTaxType PersonNameStructureTitle
facets maxLength 9
annotation documentationText of max 9 characters
simpleType SAFexchangerateType type restriction of xsdecimal
used by element AmountStructureExchangeRate
facets totalDigits 18fractionDigits 8
annotation documentation18 digits max of which 8 can be fractional digits
simpleType SAFlongtextType type restriction of xsstring
used by elements AuditFilePayrollTransactionFilesEmploymentBranchID AuditFilePayrollTransactionFilesEmploymentDepartment SelectionCriteriaStructureDocumentType AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeWorkReferenceNumber HeaderStructureHeaderComment AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType AuditFilePayrollTransactionFilesEmploymentJobTitle SelectionCriteriaStructureOtherCriteria AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementDescription HeaderStructureSoftwareID AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
facets maxLength 256
annotation documentation256 character text
simpleType SAFmiddle1textType type restriction of xsstring
4445
used by elements BankAccountStructureBankAccountNumber AddressStructureBuilding AddressStructureCity PersonNameStructureFirstName BankAccountStructureIBANNumber IdentificationStructureIdentificationNumber AuditFilePayrollHeaderPayrollBureauName IdentificationStructurePlaceOfIssue AddressStructureRegion CompanyHeaderStructureRegistrationNumber CompanyStructureRegistrationNumber TaxIDStructureTaxAuthority TaxIDStructureTaxNumber TaxIDStructureTaxRegistrationNumber SelectionCriteriaStructureTaxReportingJurisdiction
facets maxLength 35
annotation documentation35 character text
simpleType SAFmiddle2textType type restriction of xsstring
used by elements AddressStructureAdditionalAddressDetail BankAccountStructureBankAccountName PersonNameStructureBirthName SelectionCriteriaStructureCompanyEntity ContactHeaderStructureEmail ContactInformationStructureEmail PersonNameStructureLastName CompanyHeaderStructureName CompanyStructureName HeaderStructureSoftwareCompanyName AddressStructureStreetName
facets maxLength 70
annotation documentation70 character text
simpleType SAFmonetaryType type restriction of xsdecimal
used by elements AmountStructureAmount AmountStructureCurrencyAmount
facets totalDigits 18fractionDigits 2
annotation documentationMonetary amount18 digits max of which 2 can be fractional digits
simpleType SAFquantityType type restriction of xsdecimal
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits
facets totalDigits 22fractionDigits 6
annotation documentationUsed to describe a quantity Monetary amount 22 digits max of which 6 can be fractional digits
simpleType SAFshorttextType type restriction of xsstring
used by elements AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchID ContactHeaderStructureFax ContactInformationStructureFax IdentificationStructureIdentificationType PersonNameStructureInitials PersonNameStructureLastNamePrefix AddressStructureNumber PersonNameStructureOtherTitles AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayFrequency AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementID AddressStructurePostalCode PersonNameStructureSalutation HeaderStructureSoftwareVersion BankAccountStructureSortCode ContactHeaderStructureTelephone ContactInformationStructureTelephone
facets maxLength 18
annotation documentation18 character text
simpleType SAFweightType type restriction of xsdecimal
facets totalDigits 14fractionDigits 3
annotation documentationDescribes a weight Monetary amount14 digits max of which 3 can be fractional digits
XML Schema documentation generated by XMLSpy Schema Editor httpwwwaltovacomxmlspy
4545
- Footer Guidance for the Standard Audit File ndash Payroll Version 10 Appendix B Schema
- Header Page
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
element IdentificationStructureDateOfIssue diagram
type xsdate
properties isRef 0minOcc 0
maxOcc 1content simple
complexType PersonNameStructure diagram
children Title FirstName Initials LastNamePrefix LastName BirthName Salutation OtherTitles
used by elements ContactHeaderStructureContactPerson ContactInformationStructureContactPerson AuditFilePayrollMasterFilesEmployeesEmployeeName
annotation documentation[Common to all SAFs] All information about the name of a natural (non-corporate) person
element PersonNameStructureTitle diagram
type SAFcodeType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 9
element PersonNameStructureFirstName diagram
type SAFmiddle1textType
properties isRef 0content simple
3845
facets maxLength 35
element PersonNameStructureInitials diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element PersonNameStructureLastNamePrefix diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA textual expression of a prefix that precedes this persons family name such as Van Von
element PersonNameStructureLastName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element PersonNameStructureBirthName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element PersonNameStructureSalutation diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA formal sign or expression of greeting expressed as text that is appropriate for this person such as Sir or Madam
element PersonNameStructureOtherTitles diagram
type SAFshorttextType
3945
properties isRef 0minOcc 0
maxOcc unboundedcontent simple
facets maxLength 18
complexType SelectionCriteriaStructure diagram
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
used by element HeaderStructureSelectionCriteria
annotation documentation[Common to all SAFs] The selection criteria used to generate this Standard Auditfile
element SelectionCriteriaStructureTaxReportingJurisdiction diagram
type SAFmiddle1textType
4045
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationIdentifies the tax jurisdiction for whose purpose the SAF has been created Principally for use where a single Revenue body covers more than one territory
element SelectionCriteriaStructureCompanyEntity diagram
type SAFmiddle2textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 70
annotation documentationFor use where data has been extracted from the full data set by reference to a specific corporate entity
element SelectionCriteriaStructureSelectionStartDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe start date for the reporting period covered by the SAF
element SelectionCriteriaStructureSelectionEndDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe end date for the reporting period covered by the SAF
element SelectionCriteriaStructurePeriodStart diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe first Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodStartYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodStart falls
element SelectionCriteriaStructurePeriodEnd
4145
diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe last Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodEndYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodEnd falls
element SelectionCriteriaStructureDocumentType diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationType of documents selected For use where the data has been restricted by reference to particular transaction types
element SelectionCriteriaStructureOtherCriteria diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc unboundedcontent simple
facets maxLength 256
annotation documentationAny other criteria used in selecting data Individual Revenue Bodies may wish to draw up a list of other acceptable selection criteria for use within their jurisdiction
complexType TaxIDStructure diagram
4245
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeRegistrationNumbers CompanyHeaderStructureTaxRegistration CompanyStructureTaxRegistration
annotation documentation[Common to all SAFs] Tax information for a company or employer
element TaxIDStructureTaxRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number issued by Revenue Body for use by the employer
element TaxIDStructureTaxType diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationFor use where information reported in the SAF-P covers more than one type of tax regime to identify the type of tax regime to which this entry relates
element TaxIDStructureTaxNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
4345
annotation documentationThe tax registration number for the particular tax regime referred to by TaxType
element TaxIDStructureTaxAuthority diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
annotation documentationIdentification of the Revenue Body to which this TaxType refers
element TaxIDStructureTaxVerificationDate diagram
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date that the tax registration details referred to above were last checked
simpleType ISOCountryCode type restriction of xsstring
used by elements HeaderStructureAuditFileCountry AddressStructureCountry
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
simpleType ISOCurrencyCode type restriction of xsstring
used by elements AmountStructureCurrencyCode HeaderStructureDefaultCurrencyCode
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for the Euros or USD for American Dollars
simpleType SAFcodeType type restriction of xsstring
used by elements HeaderStructureAuditFileRegion HeaderStructureAuditFileVersion TaxIDStructureTaxType PersonNameStructureTitle
facets maxLength 9
annotation documentationText of max 9 characters
simpleType SAFexchangerateType type restriction of xsdecimal
used by element AmountStructureExchangeRate
facets totalDigits 18fractionDigits 8
annotation documentation18 digits max of which 8 can be fractional digits
simpleType SAFlongtextType type restriction of xsstring
used by elements AuditFilePayrollTransactionFilesEmploymentBranchID AuditFilePayrollTransactionFilesEmploymentDepartment SelectionCriteriaStructureDocumentType AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeWorkReferenceNumber HeaderStructureHeaderComment AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType AuditFilePayrollTransactionFilesEmploymentJobTitle SelectionCriteriaStructureOtherCriteria AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementDescription HeaderStructureSoftwareID AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
facets maxLength 256
annotation documentation256 character text
simpleType SAFmiddle1textType type restriction of xsstring
4445
used by elements BankAccountStructureBankAccountNumber AddressStructureBuilding AddressStructureCity PersonNameStructureFirstName BankAccountStructureIBANNumber IdentificationStructureIdentificationNumber AuditFilePayrollHeaderPayrollBureauName IdentificationStructurePlaceOfIssue AddressStructureRegion CompanyHeaderStructureRegistrationNumber CompanyStructureRegistrationNumber TaxIDStructureTaxAuthority TaxIDStructureTaxNumber TaxIDStructureTaxRegistrationNumber SelectionCriteriaStructureTaxReportingJurisdiction
facets maxLength 35
annotation documentation35 character text
simpleType SAFmiddle2textType type restriction of xsstring
used by elements AddressStructureAdditionalAddressDetail BankAccountStructureBankAccountName PersonNameStructureBirthName SelectionCriteriaStructureCompanyEntity ContactHeaderStructureEmail ContactInformationStructureEmail PersonNameStructureLastName CompanyHeaderStructureName CompanyStructureName HeaderStructureSoftwareCompanyName AddressStructureStreetName
facets maxLength 70
annotation documentation70 character text
simpleType SAFmonetaryType type restriction of xsdecimal
used by elements AmountStructureAmount AmountStructureCurrencyAmount
facets totalDigits 18fractionDigits 2
annotation documentationMonetary amount18 digits max of which 2 can be fractional digits
simpleType SAFquantityType type restriction of xsdecimal
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits
facets totalDigits 22fractionDigits 6
annotation documentationUsed to describe a quantity Monetary amount 22 digits max of which 6 can be fractional digits
simpleType SAFshorttextType type restriction of xsstring
used by elements AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchID ContactHeaderStructureFax ContactInformationStructureFax IdentificationStructureIdentificationType PersonNameStructureInitials PersonNameStructureLastNamePrefix AddressStructureNumber PersonNameStructureOtherTitles AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayFrequency AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementID AddressStructurePostalCode PersonNameStructureSalutation HeaderStructureSoftwareVersion BankAccountStructureSortCode ContactHeaderStructureTelephone ContactInformationStructureTelephone
facets maxLength 18
annotation documentation18 character text
simpleType SAFweightType type restriction of xsdecimal
facets totalDigits 14fractionDigits 3
annotation documentationDescribes a weight Monetary amount14 digits max of which 3 can be fractional digits
XML Schema documentation generated by XMLSpy Schema Editor httpwwwaltovacomxmlspy
4545
- Footer Guidance for the Standard Audit File ndash Payroll Version 10 Appendix B Schema
- Header Page
facets maxLength 35
element PersonNameStructureInitials diagram
type SAFshorttextType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 18
element PersonNameStructureLastNamePrefix diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA textual expression of a prefix that precedes this persons family name such as Van Von
element PersonNameStructureLastName diagram
type SAFmiddle2textType
properties isRef 0content simple
facets maxLength 70
element PersonNameStructureBirthName diagram
type SAFmiddle2textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 70
element PersonNameStructureSalutation diagram
type SAFshorttextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 18
annotation documentationA formal sign or expression of greeting expressed as text that is appropriate for this person such as Sir or Madam
element PersonNameStructureOtherTitles diagram
type SAFshorttextType
3945
properties isRef 0minOcc 0
maxOcc unboundedcontent simple
facets maxLength 18
complexType SelectionCriteriaStructure diagram
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
used by element HeaderStructureSelectionCriteria
annotation documentation[Common to all SAFs] The selection criteria used to generate this Standard Auditfile
element SelectionCriteriaStructureTaxReportingJurisdiction diagram
type SAFmiddle1textType
4045
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationIdentifies the tax jurisdiction for whose purpose the SAF has been created Principally for use where a single Revenue body covers more than one territory
element SelectionCriteriaStructureCompanyEntity diagram
type SAFmiddle2textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 70
annotation documentationFor use where data has been extracted from the full data set by reference to a specific corporate entity
element SelectionCriteriaStructureSelectionStartDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe start date for the reporting period covered by the SAF
element SelectionCriteriaStructureSelectionEndDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe end date for the reporting period covered by the SAF
element SelectionCriteriaStructurePeriodStart diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe first Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodStartYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodStart falls
element SelectionCriteriaStructurePeriodEnd
4145
diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe last Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodEndYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodEnd falls
element SelectionCriteriaStructureDocumentType diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationType of documents selected For use where the data has been restricted by reference to particular transaction types
element SelectionCriteriaStructureOtherCriteria diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc unboundedcontent simple
facets maxLength 256
annotation documentationAny other criteria used in selecting data Individual Revenue Bodies may wish to draw up a list of other acceptable selection criteria for use within their jurisdiction
complexType TaxIDStructure diagram
4245
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeRegistrationNumbers CompanyHeaderStructureTaxRegistration CompanyStructureTaxRegistration
annotation documentation[Common to all SAFs] Tax information for a company or employer
element TaxIDStructureTaxRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number issued by Revenue Body for use by the employer
element TaxIDStructureTaxType diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationFor use where information reported in the SAF-P covers more than one type of tax regime to identify the type of tax regime to which this entry relates
element TaxIDStructureTaxNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
4345
annotation documentationThe tax registration number for the particular tax regime referred to by TaxType
element TaxIDStructureTaxAuthority diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
annotation documentationIdentification of the Revenue Body to which this TaxType refers
element TaxIDStructureTaxVerificationDate diagram
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date that the tax registration details referred to above were last checked
simpleType ISOCountryCode type restriction of xsstring
used by elements HeaderStructureAuditFileCountry AddressStructureCountry
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
simpleType ISOCurrencyCode type restriction of xsstring
used by elements AmountStructureCurrencyCode HeaderStructureDefaultCurrencyCode
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for the Euros or USD for American Dollars
simpleType SAFcodeType type restriction of xsstring
used by elements HeaderStructureAuditFileRegion HeaderStructureAuditFileVersion TaxIDStructureTaxType PersonNameStructureTitle
facets maxLength 9
annotation documentationText of max 9 characters
simpleType SAFexchangerateType type restriction of xsdecimal
used by element AmountStructureExchangeRate
facets totalDigits 18fractionDigits 8
annotation documentation18 digits max of which 8 can be fractional digits
simpleType SAFlongtextType type restriction of xsstring
used by elements AuditFilePayrollTransactionFilesEmploymentBranchID AuditFilePayrollTransactionFilesEmploymentDepartment SelectionCriteriaStructureDocumentType AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeWorkReferenceNumber HeaderStructureHeaderComment AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType AuditFilePayrollTransactionFilesEmploymentJobTitle SelectionCriteriaStructureOtherCriteria AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementDescription HeaderStructureSoftwareID AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
facets maxLength 256
annotation documentation256 character text
simpleType SAFmiddle1textType type restriction of xsstring
4445
used by elements BankAccountStructureBankAccountNumber AddressStructureBuilding AddressStructureCity PersonNameStructureFirstName BankAccountStructureIBANNumber IdentificationStructureIdentificationNumber AuditFilePayrollHeaderPayrollBureauName IdentificationStructurePlaceOfIssue AddressStructureRegion CompanyHeaderStructureRegistrationNumber CompanyStructureRegistrationNumber TaxIDStructureTaxAuthority TaxIDStructureTaxNumber TaxIDStructureTaxRegistrationNumber SelectionCriteriaStructureTaxReportingJurisdiction
facets maxLength 35
annotation documentation35 character text
simpleType SAFmiddle2textType type restriction of xsstring
used by elements AddressStructureAdditionalAddressDetail BankAccountStructureBankAccountName PersonNameStructureBirthName SelectionCriteriaStructureCompanyEntity ContactHeaderStructureEmail ContactInformationStructureEmail PersonNameStructureLastName CompanyHeaderStructureName CompanyStructureName HeaderStructureSoftwareCompanyName AddressStructureStreetName
facets maxLength 70
annotation documentation70 character text
simpleType SAFmonetaryType type restriction of xsdecimal
used by elements AmountStructureAmount AmountStructureCurrencyAmount
facets totalDigits 18fractionDigits 2
annotation documentationMonetary amount18 digits max of which 2 can be fractional digits
simpleType SAFquantityType type restriction of xsdecimal
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits
facets totalDigits 22fractionDigits 6
annotation documentationUsed to describe a quantity Monetary amount 22 digits max of which 6 can be fractional digits
simpleType SAFshorttextType type restriction of xsstring
used by elements AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchID ContactHeaderStructureFax ContactInformationStructureFax IdentificationStructureIdentificationType PersonNameStructureInitials PersonNameStructureLastNamePrefix AddressStructureNumber PersonNameStructureOtherTitles AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayFrequency AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementID AddressStructurePostalCode PersonNameStructureSalutation HeaderStructureSoftwareVersion BankAccountStructureSortCode ContactHeaderStructureTelephone ContactInformationStructureTelephone
facets maxLength 18
annotation documentation18 character text
simpleType SAFweightType type restriction of xsdecimal
facets totalDigits 14fractionDigits 3
annotation documentationDescribes a weight Monetary amount14 digits max of which 3 can be fractional digits
XML Schema documentation generated by XMLSpy Schema Editor httpwwwaltovacomxmlspy
4545
- Footer Guidance for the Standard Audit File ndash Payroll Version 10 Appendix B Schema
- Header Page
properties isRef 0minOcc 0
maxOcc unboundedcontent simple
facets maxLength 18
complexType SelectionCriteriaStructure diagram
children TaxReportingJurisdiction CompanyEntity SelectionStartDate SelectionEndDate PeriodStart PeriodStartYear PeriodEnd PeriodEndYear DocumentType OtherCriteria
used by element HeaderStructureSelectionCriteria
annotation documentation[Common to all SAFs] The selection criteria used to generate this Standard Auditfile
element SelectionCriteriaStructureTaxReportingJurisdiction diagram
type SAFmiddle1textType
4045
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationIdentifies the tax jurisdiction for whose purpose the SAF has been created Principally for use where a single Revenue body covers more than one territory
element SelectionCriteriaStructureCompanyEntity diagram
type SAFmiddle2textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 70
annotation documentationFor use where data has been extracted from the full data set by reference to a specific corporate entity
element SelectionCriteriaStructureSelectionStartDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe start date for the reporting period covered by the SAF
element SelectionCriteriaStructureSelectionEndDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe end date for the reporting period covered by the SAF
element SelectionCriteriaStructurePeriodStart diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe first Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodStartYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodStart falls
element SelectionCriteriaStructurePeriodEnd
4145
diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe last Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodEndYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodEnd falls
element SelectionCriteriaStructureDocumentType diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationType of documents selected For use where the data has been restricted by reference to particular transaction types
element SelectionCriteriaStructureOtherCriteria diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc unboundedcontent simple
facets maxLength 256
annotation documentationAny other criteria used in selecting data Individual Revenue Bodies may wish to draw up a list of other acceptable selection criteria for use within their jurisdiction
complexType TaxIDStructure diagram
4245
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeRegistrationNumbers CompanyHeaderStructureTaxRegistration CompanyStructureTaxRegistration
annotation documentation[Common to all SAFs] Tax information for a company or employer
element TaxIDStructureTaxRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number issued by Revenue Body for use by the employer
element TaxIDStructureTaxType diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationFor use where information reported in the SAF-P covers more than one type of tax regime to identify the type of tax regime to which this entry relates
element TaxIDStructureTaxNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
4345
annotation documentationThe tax registration number for the particular tax regime referred to by TaxType
element TaxIDStructureTaxAuthority diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
annotation documentationIdentification of the Revenue Body to which this TaxType refers
element TaxIDStructureTaxVerificationDate diagram
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date that the tax registration details referred to above were last checked
simpleType ISOCountryCode type restriction of xsstring
used by elements HeaderStructureAuditFileCountry AddressStructureCountry
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
simpleType ISOCurrencyCode type restriction of xsstring
used by elements AmountStructureCurrencyCode HeaderStructureDefaultCurrencyCode
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for the Euros or USD for American Dollars
simpleType SAFcodeType type restriction of xsstring
used by elements HeaderStructureAuditFileRegion HeaderStructureAuditFileVersion TaxIDStructureTaxType PersonNameStructureTitle
facets maxLength 9
annotation documentationText of max 9 characters
simpleType SAFexchangerateType type restriction of xsdecimal
used by element AmountStructureExchangeRate
facets totalDigits 18fractionDigits 8
annotation documentation18 digits max of which 8 can be fractional digits
simpleType SAFlongtextType type restriction of xsstring
used by elements AuditFilePayrollTransactionFilesEmploymentBranchID AuditFilePayrollTransactionFilesEmploymentDepartment SelectionCriteriaStructureDocumentType AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeWorkReferenceNumber HeaderStructureHeaderComment AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType AuditFilePayrollTransactionFilesEmploymentJobTitle SelectionCriteriaStructureOtherCriteria AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementDescription HeaderStructureSoftwareID AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
facets maxLength 256
annotation documentation256 character text
simpleType SAFmiddle1textType type restriction of xsstring
4445
used by elements BankAccountStructureBankAccountNumber AddressStructureBuilding AddressStructureCity PersonNameStructureFirstName BankAccountStructureIBANNumber IdentificationStructureIdentificationNumber AuditFilePayrollHeaderPayrollBureauName IdentificationStructurePlaceOfIssue AddressStructureRegion CompanyHeaderStructureRegistrationNumber CompanyStructureRegistrationNumber TaxIDStructureTaxAuthority TaxIDStructureTaxNumber TaxIDStructureTaxRegistrationNumber SelectionCriteriaStructureTaxReportingJurisdiction
facets maxLength 35
annotation documentation35 character text
simpleType SAFmiddle2textType type restriction of xsstring
used by elements AddressStructureAdditionalAddressDetail BankAccountStructureBankAccountName PersonNameStructureBirthName SelectionCriteriaStructureCompanyEntity ContactHeaderStructureEmail ContactInformationStructureEmail PersonNameStructureLastName CompanyHeaderStructureName CompanyStructureName HeaderStructureSoftwareCompanyName AddressStructureStreetName
facets maxLength 70
annotation documentation70 character text
simpleType SAFmonetaryType type restriction of xsdecimal
used by elements AmountStructureAmount AmountStructureCurrencyAmount
facets totalDigits 18fractionDigits 2
annotation documentationMonetary amount18 digits max of which 2 can be fractional digits
simpleType SAFquantityType type restriction of xsdecimal
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits
facets totalDigits 22fractionDigits 6
annotation documentationUsed to describe a quantity Monetary amount 22 digits max of which 6 can be fractional digits
simpleType SAFshorttextType type restriction of xsstring
used by elements AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchID ContactHeaderStructureFax ContactInformationStructureFax IdentificationStructureIdentificationType PersonNameStructureInitials PersonNameStructureLastNamePrefix AddressStructureNumber PersonNameStructureOtherTitles AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayFrequency AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementID AddressStructurePostalCode PersonNameStructureSalutation HeaderStructureSoftwareVersion BankAccountStructureSortCode ContactHeaderStructureTelephone ContactInformationStructureTelephone
facets maxLength 18
annotation documentation18 character text
simpleType SAFweightType type restriction of xsdecimal
facets totalDigits 14fractionDigits 3
annotation documentationDescribes a weight Monetary amount14 digits max of which 3 can be fractional digits
XML Schema documentation generated by XMLSpy Schema Editor httpwwwaltovacomxmlspy
4545
- Footer Guidance for the Standard Audit File ndash Payroll Version 10 Appendix B Schema
- Header Page
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
annotation documentationIdentifies the tax jurisdiction for whose purpose the SAF has been created Principally for use where a single Revenue body covers more than one territory
element SelectionCriteriaStructureCompanyEntity diagram
type SAFmiddle2textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 70
annotation documentationFor use where data has been extracted from the full data set by reference to a specific corporate entity
element SelectionCriteriaStructureSelectionStartDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe start date for the reporting period covered by the SAF
element SelectionCriteriaStructureSelectionEndDate diagram
type xsdate
properties isRef 0content simple
annotation documentationThe end date for the reporting period covered by the SAF
element SelectionCriteriaStructurePeriodStart diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe first Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodStartYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodStart falls
element SelectionCriteriaStructurePeriodEnd
4145
diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe last Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodEndYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodEnd falls
element SelectionCriteriaStructureDocumentType diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationType of documents selected For use where the data has been restricted by reference to particular transaction types
element SelectionCriteriaStructureOtherCriteria diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc unboundedcontent simple
facets maxLength 256
annotation documentationAny other criteria used in selecting data Individual Revenue Bodies may wish to draw up a list of other acceptable selection criteria for use within their jurisdiction
complexType TaxIDStructure diagram
4245
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeRegistrationNumbers CompanyHeaderStructureTaxRegistration CompanyStructureTaxRegistration
annotation documentation[Common to all SAFs] Tax information for a company or employer
element TaxIDStructureTaxRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number issued by Revenue Body for use by the employer
element TaxIDStructureTaxType diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationFor use where information reported in the SAF-P covers more than one type of tax regime to identify the type of tax regime to which this entry relates
element TaxIDStructureTaxNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
4345
annotation documentationThe tax registration number for the particular tax regime referred to by TaxType
element TaxIDStructureTaxAuthority diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
annotation documentationIdentification of the Revenue Body to which this TaxType refers
element TaxIDStructureTaxVerificationDate diagram
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date that the tax registration details referred to above were last checked
simpleType ISOCountryCode type restriction of xsstring
used by elements HeaderStructureAuditFileCountry AddressStructureCountry
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
simpleType ISOCurrencyCode type restriction of xsstring
used by elements AmountStructureCurrencyCode HeaderStructureDefaultCurrencyCode
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for the Euros or USD for American Dollars
simpleType SAFcodeType type restriction of xsstring
used by elements HeaderStructureAuditFileRegion HeaderStructureAuditFileVersion TaxIDStructureTaxType PersonNameStructureTitle
facets maxLength 9
annotation documentationText of max 9 characters
simpleType SAFexchangerateType type restriction of xsdecimal
used by element AmountStructureExchangeRate
facets totalDigits 18fractionDigits 8
annotation documentation18 digits max of which 8 can be fractional digits
simpleType SAFlongtextType type restriction of xsstring
used by elements AuditFilePayrollTransactionFilesEmploymentBranchID AuditFilePayrollTransactionFilesEmploymentDepartment SelectionCriteriaStructureDocumentType AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeWorkReferenceNumber HeaderStructureHeaderComment AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType AuditFilePayrollTransactionFilesEmploymentJobTitle SelectionCriteriaStructureOtherCriteria AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementDescription HeaderStructureSoftwareID AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
facets maxLength 256
annotation documentation256 character text
simpleType SAFmiddle1textType type restriction of xsstring
4445
used by elements BankAccountStructureBankAccountNumber AddressStructureBuilding AddressStructureCity PersonNameStructureFirstName BankAccountStructureIBANNumber IdentificationStructureIdentificationNumber AuditFilePayrollHeaderPayrollBureauName IdentificationStructurePlaceOfIssue AddressStructureRegion CompanyHeaderStructureRegistrationNumber CompanyStructureRegistrationNumber TaxIDStructureTaxAuthority TaxIDStructureTaxNumber TaxIDStructureTaxRegistrationNumber SelectionCriteriaStructureTaxReportingJurisdiction
facets maxLength 35
annotation documentation35 character text
simpleType SAFmiddle2textType type restriction of xsstring
used by elements AddressStructureAdditionalAddressDetail BankAccountStructureBankAccountName PersonNameStructureBirthName SelectionCriteriaStructureCompanyEntity ContactHeaderStructureEmail ContactInformationStructureEmail PersonNameStructureLastName CompanyHeaderStructureName CompanyStructureName HeaderStructureSoftwareCompanyName AddressStructureStreetName
facets maxLength 70
annotation documentation70 character text
simpleType SAFmonetaryType type restriction of xsdecimal
used by elements AmountStructureAmount AmountStructureCurrencyAmount
facets totalDigits 18fractionDigits 2
annotation documentationMonetary amount18 digits max of which 2 can be fractional digits
simpleType SAFquantityType type restriction of xsdecimal
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits
facets totalDigits 22fractionDigits 6
annotation documentationUsed to describe a quantity Monetary amount 22 digits max of which 6 can be fractional digits
simpleType SAFshorttextType type restriction of xsstring
used by elements AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchID ContactHeaderStructureFax ContactInformationStructureFax IdentificationStructureIdentificationType PersonNameStructureInitials PersonNameStructureLastNamePrefix AddressStructureNumber PersonNameStructureOtherTitles AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayFrequency AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementID AddressStructurePostalCode PersonNameStructureSalutation HeaderStructureSoftwareVersion BankAccountStructureSortCode ContactHeaderStructureTelephone ContactInformationStructureTelephone
facets maxLength 18
annotation documentation18 character text
simpleType SAFweightType type restriction of xsdecimal
facets totalDigits 14fractionDigits 3
annotation documentationDescribes a weight Monetary amount14 digits max of which 3 can be fractional digits
XML Schema documentation generated by XMLSpy Schema Editor httpwwwaltovacomxmlspy
4545
- Footer Guidance for the Standard Audit File ndash Payroll Version 10 Appendix B Schema
- Header Page
diagram
type xsnonNegativeInteger
properties isRef 0content simple
annotation documentationThe last Accounting Period covered by the SAF
element SelectionCriteriaStructurePeriodEndYear diagram
type restriction of xsnonNegativeInteger
properties isRef 0content simple
facets minExclusive 1970maxExclusive 2100
annotation documentationThe Accounting Year in which the PeriodEnd falls
element SelectionCriteriaStructureDocumentType diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 256
annotation documentationType of documents selected For use where the data has been restricted by reference to particular transaction types
element SelectionCriteriaStructureOtherCriteria diagram
type SAFlongtextType
properties isRef 0minOcc 0maxOcc unboundedcontent simple
facets maxLength 256
annotation documentationAny other criteria used in selecting data Individual Revenue Bodies may wish to draw up a list of other acceptable selection criteria for use within their jurisdiction
complexType TaxIDStructure diagram
4245
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeRegistrationNumbers CompanyHeaderStructureTaxRegistration CompanyStructureTaxRegistration
annotation documentation[Common to all SAFs] Tax information for a company or employer
element TaxIDStructureTaxRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number issued by Revenue Body for use by the employer
element TaxIDStructureTaxType diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationFor use where information reported in the SAF-P covers more than one type of tax regime to identify the type of tax regime to which this entry relates
element TaxIDStructureTaxNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
4345
annotation documentationThe tax registration number for the particular tax regime referred to by TaxType
element TaxIDStructureTaxAuthority diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
annotation documentationIdentification of the Revenue Body to which this TaxType refers
element TaxIDStructureTaxVerificationDate diagram
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date that the tax registration details referred to above were last checked
simpleType ISOCountryCode type restriction of xsstring
used by elements HeaderStructureAuditFileCountry AddressStructureCountry
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
simpleType ISOCurrencyCode type restriction of xsstring
used by elements AmountStructureCurrencyCode HeaderStructureDefaultCurrencyCode
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for the Euros or USD for American Dollars
simpleType SAFcodeType type restriction of xsstring
used by elements HeaderStructureAuditFileRegion HeaderStructureAuditFileVersion TaxIDStructureTaxType PersonNameStructureTitle
facets maxLength 9
annotation documentationText of max 9 characters
simpleType SAFexchangerateType type restriction of xsdecimal
used by element AmountStructureExchangeRate
facets totalDigits 18fractionDigits 8
annotation documentation18 digits max of which 8 can be fractional digits
simpleType SAFlongtextType type restriction of xsstring
used by elements AuditFilePayrollTransactionFilesEmploymentBranchID AuditFilePayrollTransactionFilesEmploymentDepartment SelectionCriteriaStructureDocumentType AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeWorkReferenceNumber HeaderStructureHeaderComment AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType AuditFilePayrollTransactionFilesEmploymentJobTitle SelectionCriteriaStructureOtherCriteria AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementDescription HeaderStructureSoftwareID AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
facets maxLength 256
annotation documentation256 character text
simpleType SAFmiddle1textType type restriction of xsstring
4445
used by elements BankAccountStructureBankAccountNumber AddressStructureBuilding AddressStructureCity PersonNameStructureFirstName BankAccountStructureIBANNumber IdentificationStructureIdentificationNumber AuditFilePayrollHeaderPayrollBureauName IdentificationStructurePlaceOfIssue AddressStructureRegion CompanyHeaderStructureRegistrationNumber CompanyStructureRegistrationNumber TaxIDStructureTaxAuthority TaxIDStructureTaxNumber TaxIDStructureTaxRegistrationNumber SelectionCriteriaStructureTaxReportingJurisdiction
facets maxLength 35
annotation documentation35 character text
simpleType SAFmiddle2textType type restriction of xsstring
used by elements AddressStructureAdditionalAddressDetail BankAccountStructureBankAccountName PersonNameStructureBirthName SelectionCriteriaStructureCompanyEntity ContactHeaderStructureEmail ContactInformationStructureEmail PersonNameStructureLastName CompanyHeaderStructureName CompanyStructureName HeaderStructureSoftwareCompanyName AddressStructureStreetName
facets maxLength 70
annotation documentation70 character text
simpleType SAFmonetaryType type restriction of xsdecimal
used by elements AmountStructureAmount AmountStructureCurrencyAmount
facets totalDigits 18fractionDigits 2
annotation documentationMonetary amount18 digits max of which 2 can be fractional digits
simpleType SAFquantityType type restriction of xsdecimal
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits
facets totalDigits 22fractionDigits 6
annotation documentationUsed to describe a quantity Monetary amount 22 digits max of which 6 can be fractional digits
simpleType SAFshorttextType type restriction of xsstring
used by elements AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchID ContactHeaderStructureFax ContactInformationStructureFax IdentificationStructureIdentificationType PersonNameStructureInitials PersonNameStructureLastNamePrefix AddressStructureNumber PersonNameStructureOtherTitles AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayFrequency AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementID AddressStructurePostalCode PersonNameStructureSalutation HeaderStructureSoftwareVersion BankAccountStructureSortCode ContactHeaderStructureTelephone ContactInformationStructureTelephone
facets maxLength 18
annotation documentation18 character text
simpleType SAFweightType type restriction of xsdecimal
facets totalDigits 14fractionDigits 3
annotation documentationDescribes a weight Monetary amount14 digits max of which 3 can be fractional digits
XML Schema documentation generated by XMLSpy Schema Editor httpwwwaltovacomxmlspy
4545
- Footer Guidance for the Standard Audit File ndash Payroll Version 10 Appendix B Schema
- Header Page
children TaxRegistrationNumber TaxType TaxNumber TaxAuthority TaxVerificationDate
used by elements AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeRegistrationNumbers CompanyHeaderStructureTaxRegistration CompanyStructureTaxRegistration
annotation documentation[Common to all SAFs] Tax information for a company or employer
element TaxIDStructureTaxRegistrationNumber diagram
type SAFmiddle1textType
properties isRef 0content simple
facets maxLength 35
annotation documentationUnique number issued by Revenue Body for use by the employer
element TaxIDStructureTaxType diagram
type SAFcodeType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 9
annotation documentationFor use where information reported in the SAF-P covers more than one type of tax regime to identify the type of tax regime to which this entry relates
element TaxIDStructureTaxNumber diagram
type SAFmiddle1textType
properties isRef 0minOcc 0maxOcc 1content simple
facets maxLength 35
4345
annotation documentationThe tax registration number for the particular tax regime referred to by TaxType
element TaxIDStructureTaxAuthority diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
annotation documentationIdentification of the Revenue Body to which this TaxType refers
element TaxIDStructureTaxVerificationDate diagram
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date that the tax registration details referred to above were last checked
simpleType ISOCountryCode type restriction of xsstring
used by elements HeaderStructureAuditFileCountry AddressStructureCountry
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
simpleType ISOCurrencyCode type restriction of xsstring
used by elements AmountStructureCurrencyCode HeaderStructureDefaultCurrencyCode
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for the Euros or USD for American Dollars
simpleType SAFcodeType type restriction of xsstring
used by elements HeaderStructureAuditFileRegion HeaderStructureAuditFileVersion TaxIDStructureTaxType PersonNameStructureTitle
facets maxLength 9
annotation documentationText of max 9 characters
simpleType SAFexchangerateType type restriction of xsdecimal
used by element AmountStructureExchangeRate
facets totalDigits 18fractionDigits 8
annotation documentation18 digits max of which 8 can be fractional digits
simpleType SAFlongtextType type restriction of xsstring
used by elements AuditFilePayrollTransactionFilesEmploymentBranchID AuditFilePayrollTransactionFilesEmploymentDepartment SelectionCriteriaStructureDocumentType AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeWorkReferenceNumber HeaderStructureHeaderComment AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType AuditFilePayrollTransactionFilesEmploymentJobTitle SelectionCriteriaStructureOtherCriteria AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementDescription HeaderStructureSoftwareID AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
facets maxLength 256
annotation documentation256 character text
simpleType SAFmiddle1textType type restriction of xsstring
4445
used by elements BankAccountStructureBankAccountNumber AddressStructureBuilding AddressStructureCity PersonNameStructureFirstName BankAccountStructureIBANNumber IdentificationStructureIdentificationNumber AuditFilePayrollHeaderPayrollBureauName IdentificationStructurePlaceOfIssue AddressStructureRegion CompanyHeaderStructureRegistrationNumber CompanyStructureRegistrationNumber TaxIDStructureTaxAuthority TaxIDStructureTaxNumber TaxIDStructureTaxRegistrationNumber SelectionCriteriaStructureTaxReportingJurisdiction
facets maxLength 35
annotation documentation35 character text
simpleType SAFmiddle2textType type restriction of xsstring
used by elements AddressStructureAdditionalAddressDetail BankAccountStructureBankAccountName PersonNameStructureBirthName SelectionCriteriaStructureCompanyEntity ContactHeaderStructureEmail ContactInformationStructureEmail PersonNameStructureLastName CompanyHeaderStructureName CompanyStructureName HeaderStructureSoftwareCompanyName AddressStructureStreetName
facets maxLength 70
annotation documentation70 character text
simpleType SAFmonetaryType type restriction of xsdecimal
used by elements AmountStructureAmount AmountStructureCurrencyAmount
facets totalDigits 18fractionDigits 2
annotation documentationMonetary amount18 digits max of which 2 can be fractional digits
simpleType SAFquantityType type restriction of xsdecimal
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits
facets totalDigits 22fractionDigits 6
annotation documentationUsed to describe a quantity Monetary amount 22 digits max of which 6 can be fractional digits
simpleType SAFshorttextType type restriction of xsstring
used by elements AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchID ContactHeaderStructureFax ContactInformationStructureFax IdentificationStructureIdentificationType PersonNameStructureInitials PersonNameStructureLastNamePrefix AddressStructureNumber PersonNameStructureOtherTitles AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayFrequency AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementID AddressStructurePostalCode PersonNameStructureSalutation HeaderStructureSoftwareVersion BankAccountStructureSortCode ContactHeaderStructureTelephone ContactInformationStructureTelephone
facets maxLength 18
annotation documentation18 character text
simpleType SAFweightType type restriction of xsdecimal
facets totalDigits 14fractionDigits 3
annotation documentationDescribes a weight Monetary amount14 digits max of which 3 can be fractional digits
XML Schema documentation generated by XMLSpy Schema Editor httpwwwaltovacomxmlspy
4545
- Footer Guidance for the Standard Audit File ndash Payroll Version 10 Appendix B Schema
- Header Page
annotation documentationThe tax registration number for the particular tax regime referred to by TaxType
element TaxIDStructureTaxAuthority diagram
type SAFmiddle1textType
properties isRef 0minOcc 0
maxOcc 1content simple
facets maxLength 35
annotation documentationIdentification of the Revenue Body to which this TaxType refers
element TaxIDStructureTaxVerificationDate diagram
type xsdate
properties isRef 0minOcc 0maxOcc 1content simple
annotation documentationThe date that the tax registration details referred to above were last checked
simpleType ISOCountryCode type restriction of xsstring
used by elements HeaderStructureAuditFileCountry AddressStructureCountry
facets length 2
annotation documentationTwo-letter country code according to ISO 3166-1 alpha 2 standard Example NL for the Netherlands
simpleType ISOCurrencyCode type restriction of xsstring
used by elements AmountStructureCurrencyCode HeaderStructureDefaultCurrencyCode
facets length 3
annotation documentationThree-letter currency code according to ISO 4217 standard Example EUR for the Euros or USD for American Dollars
simpleType SAFcodeType type restriction of xsstring
used by elements HeaderStructureAuditFileRegion HeaderStructureAuditFileVersion TaxIDStructureTaxType PersonNameStructureTitle
facets maxLength 9
annotation documentationText of max 9 characters
simpleType SAFexchangerateType type restriction of xsdecimal
used by element AmountStructureExchangeRate
facets totalDigits 18fractionDigits 8
annotation documentation18 digits max of which 8 can be fractional digits
simpleType SAFlongtextType type restriction of xsstring
used by elements AuditFilePayrollTransactionFilesEmploymentBranchID AuditFilePayrollTransactionFilesEmploymentDepartment SelectionCriteriaStructureDocumentType AuditFilePayrollMasterFilesEmployeesEmployeeEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeID AuditFilePayrollTransactionFilesEmploymentEmployeeWorkReferenceNumber HeaderStructureHeaderComment AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursHourType AuditFilePayrollTransactionFilesEmploymentJobTitle SelectionCriteriaStructureOtherCriteria AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementDescription HeaderStructureSoftwareID AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsUnitDescription
facets maxLength 256
annotation documentation256 character text
simpleType SAFmiddle1textType type restriction of xsstring
4445
used by elements BankAccountStructureBankAccountNumber AddressStructureBuilding AddressStructureCity PersonNameStructureFirstName BankAccountStructureIBANNumber IdentificationStructureIdentificationNumber AuditFilePayrollHeaderPayrollBureauName IdentificationStructurePlaceOfIssue AddressStructureRegion CompanyHeaderStructureRegistrationNumber CompanyStructureRegistrationNumber TaxIDStructureTaxAuthority TaxIDStructureTaxNumber TaxIDStructureTaxRegistrationNumber SelectionCriteriaStructureTaxReportingJurisdiction
facets maxLength 35
annotation documentation35 character text
simpleType SAFmiddle2textType type restriction of xsstring
used by elements AddressStructureAdditionalAddressDetail BankAccountStructureBankAccountName PersonNameStructureBirthName SelectionCriteriaStructureCompanyEntity ContactHeaderStructureEmail ContactInformationStructureEmail PersonNameStructureLastName CompanyHeaderStructureName CompanyStructureName HeaderStructureSoftwareCompanyName AddressStructureStreetName
facets maxLength 70
annotation documentation70 character text
simpleType SAFmonetaryType type restriction of xsdecimal
used by elements AmountStructureAmount AmountStructureCurrencyAmount
facets totalDigits 18fractionDigits 2
annotation documentationMonetary amount18 digits max of which 2 can be fractional digits
simpleType SAFquantityType type restriction of xsdecimal
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits
facets totalDigits 22fractionDigits 6
annotation documentationUsed to describe a quantity Monetary amount 22 digits max of which 6 can be fractional digits
simpleType SAFshorttextType type restriction of xsstring
used by elements AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchID ContactHeaderStructureFax ContactInformationStructureFax IdentificationStructureIdentificationType PersonNameStructureInitials PersonNameStructureLastNamePrefix AddressStructureNumber PersonNameStructureOtherTitles AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayFrequency AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementID AddressStructurePostalCode PersonNameStructureSalutation HeaderStructureSoftwareVersion BankAccountStructureSortCode ContactHeaderStructureTelephone ContactInformationStructureTelephone
facets maxLength 18
annotation documentation18 character text
simpleType SAFweightType type restriction of xsdecimal
facets totalDigits 14fractionDigits 3
annotation documentationDescribes a weight Monetary amount14 digits max of which 3 can be fractional digits
XML Schema documentation generated by XMLSpy Schema Editor httpwwwaltovacomxmlspy
4545
- Footer Guidance for the Standard Audit File ndash Payroll Version 10 Appendix B Schema
- Header Page
used by elements BankAccountStructureBankAccountNumber AddressStructureBuilding AddressStructureCity PersonNameStructureFirstName BankAccountStructureIBANNumber IdentificationStructureIdentificationNumber AuditFilePayrollHeaderPayrollBureauName IdentificationStructurePlaceOfIssue AddressStructureRegion CompanyHeaderStructureRegistrationNumber CompanyStructureRegistrationNumber TaxIDStructureTaxAuthority TaxIDStructureTaxNumber TaxIDStructureTaxRegistrationNumber SelectionCriteriaStructureTaxReportingJurisdiction
facets maxLength 35
annotation documentation35 character text
simpleType SAFmiddle2textType type restriction of xsstring
used by elements AddressStructureAdditionalAddressDetail BankAccountStructureBankAccountName PersonNameStructureBirthName SelectionCriteriaStructureCompanyEntity ContactHeaderStructureEmail ContactInformationStructureEmail PersonNameStructureLastName CompanyHeaderStructureName CompanyStructureName HeaderStructureSoftwareCompanyName AddressStructureStreetName
facets maxLength 70
annotation documentation70 character text
simpleType SAFmonetaryType type restriction of xsdecimal
used by elements AmountStructureAmount AmountStructureCurrencyAmount
facets totalDigits 18fractionDigits 2
annotation documentationMonetary amount18 digits max of which 2 can be fractional digits
simpleType SAFquantityType type restriction of xsdecimal
used by elements AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentHoursNumberOfHours AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentElementPaymentDetailsNumberOfUnits
facets totalDigits 22fractionDigits 6
annotation documentationUsed to describe a quantity Monetary amount 22 digits max of which 6 can be fractional digits
simpleType SAFshorttextType type restriction of xsstring
used by elements AuditFilePayrollMasterFilesEmployerBranchesEmployerBranchBranchID ContactHeaderStructureFax ContactInformationStructureFax IdentificationStructureIdentificationType PersonNameStructureInitials PersonNameStructureLastNamePrefix AddressStructureNumber PersonNameStructureOtherTitles AuditFilePayrollTransactionFilesEmploymentPeriodicalPaymentsPeriodicalPaymentPayFrequency AuditFilePayrollMasterFilesPayrollElementsPayrollElementPayrollElementID AddressStructurePostalCode PersonNameStructureSalutation HeaderStructureSoftwareVersion BankAccountStructureSortCode ContactHeaderStructureTelephone ContactInformationStructureTelephone
facets maxLength 18
annotation documentation18 character text
simpleType SAFweightType type restriction of xsdecimal
facets totalDigits 14fractionDigits 3
annotation documentationDescribes a weight Monetary amount14 digits max of which 3 can be fractional digits
XML Schema documentation generated by XMLSpy Schema Editor httpwwwaltovacomxmlspy
4545
- Footer Guidance for the Standard Audit File ndash Payroll Version 10 Appendix B Schema
- Header Page