Swed-Invoice Content

Invoice
AdditionalDocumentReference
cac:BuyerParty
cac:Party
cac:PartyIdentification
cac:PartyName
cac:Address
cac:AddressLine
cac:Country
cac:PartyTaxScheme
cac:RegistrationAddress
cac:TaxScheme
cac:Contact
cac:SellerParty
cac:AccountsContact
cac:Delivery
cac:DeliveryAddress
cac:PaymentMeans
cac:PayeeFinancialAccount
cac:FinancialInstitutionBranch
cac:FinancialInstitution
cac:PayeePartyName
cac:PaymentTerms
AllowanceCharge
cac:TaxCategory
cac:ExchangeRate
cac:TaxTotal
cac:TaxSubTotal
cac:LegalTotal
cac:InvoiceLine
cac:OrderLineReference
cac:OrderReference
cac:DespatchLineReference
cac:DocumentReference
cac:AllowanceCharge
cac:Item
cac:BuyersItemIdentification
cac:SellersItemIdentification
cac:StandardItemIdentification
cac:BasePrice
RequisitionistDocumentReference
InitialInvoiceDocumentReference
cac:DeliveryTerms
InvoicingPeriod


Invoice

Comment

Fields in this class

Field name Type Cardinality Comment Basic content
ID  Identifier  VAT req. no. 2 - a sequential number based on one or more series that uniquely identifies the invoice. In Sweden, accounting practice tend to require the number to be unique for the supplier during one financial year, that is in order to secure uniqueness for the whole storage period supplier + invoice number + invoice date, at least, would be needed as key. With reference to the VAT requirement the supplier is recommended to maintain unique invoice numbers for his whole period of storage.  
cbc:IssueDate  Date  VAT requirement no. 1 - date of issue  
InvoiceTypeCode  Code  The interpretation of the transaction as ”invoice” or ”credit note” is coded as follows (ref UN/Edifact 1001) - note this is not a VAT requirement, however the element is significant also in this respect: 380 – invoice 381 – credit note  
cbc:Note  Text  0..1  Textual information regarding the whole invoice. If specific elements exist, they should be instead of the text. For credit note, specify the reason for crediting if it does not follow from information in other elements.  
TaxPointDate  Date  0..1  VAT req. no. 7 - the date on which the supply of goods or of services was made or completed or the date on which the payment on account was made insofar as that a date can be determined and differs from the date of the issue of the invoice. The Swedish Tax Authority has stated that, in case of supply of goods, it is the actual date of delivery - to be interpreted as the day the seller delivers the goods and not when the buyer receives them. This can differ from the terms of delivery. In case of service it is sufficient to state the month if a more precise date cannot be given. For continuous deliveries of goods and services state the invoicing period instead.  
InvoiceCurrencyCode  Code  0..1  Currency code according to ISO 4217. If the information is missing, invoice currency is the home currency of the country where the invoice issuer is registered.  
TaxCurrencyCode  Code  0..1  VAT requirement. If the invoice is expressed in other currency than the tax subject's official accounting currency, and the accounting currency is other than Swedish krona or euro, the tax amount is to be expressed also in the accounting currency. If the tax subject has a different accounting currency than Swedish krona or euro, and the invoicing currency is other than Swedish krona, the tax amount is to be expressed also in Swedish krona. In case of conversion, also the exchange rate is required.  
LineItemCountNumeric  Numeric  Check total. Formula: COUNT (”Invoice line number”)  

Classes in this class

Class name Type Cardinality Comment Basic content
AdditionalDocumentReference Document Reference  0..n  Reference to agreement/contract when framework agreement applies. Supplier's reference to invoiced object - it could be a subscription no., telephone no., petrol credit card no., etc, as applicable. In case delivery notes exist they should be stated for verification by the buyer. Delivery notes are not to be used as substitute for specification in the invoice. - If only one delivery note applies, it is specified here (on invoice level). - If several delivery notes apply, they are specified per invoice line. Use the following codes to separate between the various kinds of reference: CT = agreement/contract ACD = supplier's reference to invoiced object DQ = delivery note ATS = URN (Uniform Resource Name) of a graphic object associated to the invoice (e.g. scanned invoice image) In an XML message this is specified as illustrated by the following example: 123456  
cac:BuyerParty Buyer Party   
cac:SellerParty Seller Party   
cac:Delivery Delivery  0..1   
cac:PaymentMeans Payment Means  0..3   
cac:PaymentTerms Payment Terms  0..1   
AllowanceCharge Allowance Charge  0..n   
cac:ExchangeRate Exchange Rate  0..1  VAT requirement. If the tax amount has to be converted to and shown in a currency different from the invoicing currency.  
cac:TaxTotal Tax Total  0..n   
cac:LegalTotal Legal Total   
cac:InvoiceLine Invoice Line  1..n   
RequisitionistDocumentReference Document Reference  1..2  The requisitionist's reference is defined by the buyer for the sole purpose of forwarding a received invoice to the correct person/unit in charge within the buyer's organisation. This reference may be used for per transaction or used repeatedly in invoices (or periodic invoices) - a guide will be made separately. Normally only one reference should be used. Requisitionist's reference no. 2 is used only if Requisitionist's reference no.1 is not administered centrally in buyer's organisation. It can be used to identify an organisational unit, a project, etc.  
InitialInvoiceDocumentReference        
cac:DeliveryTerms Delivery Terms  0..1  Information on how the delivery was made; means of delivery; etc.  
InvoicingPeriod Period  0..1  The period is to be stated in case of periodic invoicing and for continuous supply of goods and services. This period information applies to the whole invoice, alternatively the relevant delivery times can be stated per invoice line. Cf. also tax point date. A period is also needed in credit notes crediting several invoices when the initial invoices are not referred to individually (and this is in agreement with the Tax Authority's requirements). See comment to ”Invoice reference”  

This class is used in the following classes

Class name

Sample

<Invoice xmlns="urn:sfti:documents:BasicInvoice:1:0" xmlns:cac="urn:sfti:CommonAggregateComponents:1:0" xmlns:cbc="urn:oasis:names:tc:ubl:CommonBasicComponents:1:0" xmlns:ccts="urn:oasis:names:tc:ubl:CoreComponentParameters:1:0" xmlns:cur="urn:oasis:names:tc:ubl:codelist:CurrencyCode:1:0" xmlns:sdt="urn:oasis:names:tc:ubl:SpecializedDatatypes:1:0" xmlns:udt="urn:oasis:names:tc:ubl:UnspecializedDatatypes:1:0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ID>
12345</ID>
<cbc:IssueDate>
2005-08-13</cbc:IssueDate>
<InvoiceTypeCode>
380</InvoiceTypeCode>
<cbc:Note>
Information kan anges här för hela fakturan</cbc:Note>
<TaxPointDate>
2005-08-13</TaxPointDate>
<InvoiceCurrencyCode>
SEK</InvoiceCurrencyCode>
<TaxCurrencyCode>
SEK</TaxCurrencyCode>
<LineItemCountNumeric>
2</LineItemCountNumeric>
+<AdditionalDocumentReference>
+<cac:BuyerParty>
+<cac:SellerParty>
+<cac:Delivery>
+<cac:PaymentMeans>
+<cac:PaymentTerms>
+<AllowanceCharge>
+<cac:ExchangeRate>
+<cac:TaxTotal>
+<cac:LegalTotal>
+<cac:InvoiceLine>
+<RequisitionistDocumentReference>
+<InitialInvoiceDocumentReference>
+<cac:DeliveryTerms>
+<InvoicingPeriod>
</Invoice>




AdditionalDocumentReference

Comment

Reference to agreement/contract when framework agreement applies. Supplier's reference to invoiced object - it could be a subscription no., telephone no., petrol credit card no., etc, as applicable. In case delivery notes exist they should be stated for verification by the buyer. Delivery notes are not to be used as substitute for specification in the invoice. - If only one delivery note applies, it is specified here (on invoice level). - If several delivery notes apply, they are specified per invoice line. Use the following codes to separate between the various kinds of reference: CT = agreement/contract ACD = supplier's reference to invoiced object DQ = delivery note ATS = URN (Uniform Resource Name) of a graphic object associated to the invoice (e.g. scanned invoice image) In an XML message this is specified as illustrated by the following example: 123456

Fields in this class

Field name Type Cardinality Comment Basic content
cac:ID         

Classes in this class

Class name Type Cardinality Comment Basic content

This class is used in the following classes

Class name
Invoice

Sample

<AdditionalDocumentReference>
<cac:ID identificationSchemeAgencyName="SFTI" identificationSchemeID="CT">
123456</cac:ID>
</AdditionalDocumentReference>




cac:BuyerParty

Comment

Fields in this class

Field name Type Cardinality Comment Basic content

Classes in this class

Class name Type Cardinality Comment Basic content
cac:Party Party  0..1   

This class is used in the following classes

Class name
Invoice

Sample

<cac:BuyerParty>
<cac:Party>
<cac:PartyIdentification>
<cac:ID identificationSchemeAgencyID="9">
7365565626575</cac:ID>
</cac:PartyIdentification>
<cac:PartyName>
<cbc:Name>
Lillsjö kommun</cbc:Name>
</cac:PartyName>
+<cac:Address>
+<cac:PartyTaxScheme>
<cac:Contact>
<cbc:Name>
Anders Johnsson</cbc:Name>
<cbc:Telephone>
0123123456</cbc:Telephone>
<cbc:Telefax>
0123316547</cbc:Telefax>
<cbc:ElectronicMail>
a@b.se</cbc:ElectronicMail>
</cac:Contact>
</cac:Party>
</cac:BuyerParty>




cac:Party

Comment

Fields in this class

Field name Type Cardinality Comment Basic content

Classes in this class

Class name Type Cardinality Comment Basic content
cac:PartyIdentification Party Identification  0..n  Use of code is optional, but it is instrumental to a more extensive use of electronic document exchange. When code is used, each party shall be free to chose the own identification.    
cac:PartyName Party Name  VAT requirement no. 5  
cac:Address Address  VAT requirement no. 5  
cac:PartyTaxScheme Party Tax Scheme  0..n   
cac:Contact Contact  0..1   

This class is used in the following classes

Class name
cac:BuyerParty
cac:SellerParty

Sample

<cac:Party>
<cac:PartyIdentification>
<cac:ID identificationSchemeAgencyID="9">
7365565626575</cac:ID>
</cac:PartyIdentification>
<cac:PartyName>
<cbc:Name>
Moderna produkter AB</cbc:Name>
</cac:PartyName>
+<cac:Address>
+<cac:PartyTaxScheme>
+<cac:PartyTaxScheme>
+<cac:Contact>
</cac:Party>




cac:PartyIdentification

Comment

Use of code is optional, but it is instrumental to a more extensive use of electronic document exchange. When code is used, each party shall be free to chose the own identification.

Fields in this class

Field name Type Cardinality Comment Basic content
cac:ID  Identifier     

Classes in this class

Class name Type Cardinality Comment Basic content

This class is used in the following classes

Class name
cac:Party

Sample

<cac:PartyIdentification>
<cac:ID identificationSchemeAgencyID="9">
7365565626575</cac:ID>
</cac:PartyIdentification>




cac:PartyName

Comment

VAT requirement no. 5

Fields in this class

Field name Type Cardinality Comment Basic content
cbc:Name  Name  1..n   

Classes in this class

Class name Type Cardinality Comment Basic content

This class is used in the following classes

Class name
cac:Party

Sample

<cac:PartyName>
<cbc:Name>
Lillsjö kommun</cbc:Name>
</cac:PartyName>




cac:Address

Comment

Fields in this class

Field name Type Cardinality Comment Basic content
cac:ID  Identifier  0..1     
cbc:Postbox  Text  0..1   
cbc:StreetName  Text  0..1   
cbc:Department  Text  0..1   
cbc:CityName  Name  0..1   
cbc:PostalZone  Text  0..1   

Classes in this class

Class name Type Cardinality Comment Basic content
cac:AddressLine Address Line  0..1   
cac:Country Country  0..1   

This class is used in the following classes

Class name
cac:Party

Sample

<cac:Address>
<cac:ID>
123456789</cac:ID>
<cbc:Postbox>
Box 37</cbc:Postbox>
<cbc:StreetName>
Storgatan 5</cbc:StreetName>
<cbc:Department>
Inköpsavdelningen</cbc:Department>
<cbc:CityName>
Lillsjö</cbc:CityName>
<cbc:PostalZone>
11010</cbc:PostalZone>
<cac:AddressLine>
<cbc:Line>
Extra adressrad</cbc:Line>
</cac:AddressLine>
<cac:Country>
<cac:IdentificationCode>
SE</cac:IdentificationCode>
</cac:Country>
</cac:Address>




cac:AddressLine

Comment

Fields in this class

Field name Type Cardinality Comment Basic content
cbc:Line  Text  1..7   

Classes in this class

Class name Type Cardinality Comment Basic content

This class is used in the following classes

Class name
cac:Address
cac:DeliveryAddress

Sample

<cac:AddressLine>
<cbc:Line>
Extra adressrad</cbc:Line>
<cbc:Line>
Extra adressrad</cbc:Line>
<cbc:Line>
Extra adressrad</cbc:Line>
</cac:AddressLine>




cac:Country

Comment

Fields in this class

Field name Type Cardinality Comment Basic content
cac:IdentificationCode  Code  0..1   

Classes in this class

Class name Type Cardinality Comment Basic content

This class is used in the following classes

Class name
cac:Address
cac:RegistrationAddress
cac:DeliveryAddress

Sample

<cac:Country>
<cac:IdentificationCode>
SE</cac:IdentificationCode>
</cac:Country>




cac:PartyTaxScheme

Comment

Fields in this class

Field name Type Cardinality Comment Basic content
cbc:RegistrationName  Name  0..1     
cac:CompanyID  Identifier  When TaxSchemeID = VAT, state VAT identification number. VAT req. no. 3 - when the seller is a taxable person (under the VAT directive) VAT req. no. 4 - when the customer is liable to pay tax on goods supplied or services rendered, or for internal market goods transaction. When TaxSchemeID = SWT (for seller), state organisation number Required according to Swedish law on public legal persons, or if VAT identification number does not exist. This number is used as part of the seller authenticity checks.  
cbc:ExemptionReason  Text  0..1  When TaxSchemeID = SWT (for seller): Applies to invoicing of services in Sweden. By stating "F-skattebevis finns" the seller declares that he is responsible for any income tax on the transaction - in case this information is omitted (and it has not been submitted in some other way) the buyer is responsible to secure and administrate the income tax.  

Classes in this class

Class name Type Cardinality Comment Basic content
cac:RegistrationAddress Address  0..1  When TaxSchemeID = SWT (for seller): Used for information about the place and country, as applicable, where the organisation is legally registered. Country code shall be present for cross-border transactions. Whenever the country code is stated, it is to be used as part of the seller authenticity checks.  
cac:TaxScheme Tax Scheme   

This class is used in the following classes

Class name
cac:Party

Sample

<cac:PartyTaxScheme>
<cbc:RegistrationName>
Moderna Produkter AB</cbc:RegistrationName>
<cac:CompanyID>
5565624223</cac:CompanyID>
<cbc:ExemptionReason>
F-skattebevis finns</cbc:ExemptionReason>
<cac:RegistrationAddress>
<cac:Country>
<cac:IdentificationCode>
SE</cac:IdentificationCode>
</cac:Country>
</cac:RegistrationAddress>
<cac:TaxScheme>
<cac:ID>
SWT</cac:ID>
</cac:TaxScheme>
</cac:PartyTaxScheme>
<cac:PartyTaxScheme>
<cac:CompanyID>
SE556562422301</cac:CompanyID>
<cbc:ExemptionReason/>
<cac:TaxScheme>
<cac:ID>
VAT</cac:ID>
</cac:TaxScheme>
</cac:PartyTaxScheme>




cac:RegistrationAddress

Comment

When TaxSchemeID = SWT (for seller): Used for information about the place and country, as applicable, where the organisation is legally registered. Country code shall be present for cross-border transactions. Whenever the country code is stated, it is to be used as part of the seller authenticity checks.

Fields in this class

Field name Type Cardinality Comment Basic content

Classes in this class

Class name Type Cardinality Comment Basic content
cac:Country        

This class is used in the following classes

Class name
cac:PartyTaxScheme

Sample




cac:TaxScheme

Comment

Fields in this class

Field name Type Cardinality Comment Basic content
cac:ID  Identifier  SWT = Income tax payment VAT = Value-added tax  

Classes in this class

Class name Type Cardinality Comment Basic content

This class is used in the following classes

Class name
cac:PartyTaxScheme
cac:TaxCategory

Sample

<cac:TaxScheme>
<cac:ID>
SWT</cac:ID>
</cac:TaxScheme>




cac:Contact

Comment

Fields in this class

Field name Type Cardinality Comment Basic content
cbc:Name  Name  0..1   
cbc:Telephone  Text  0..1   
cbc:Telefax  Text  0..1   
cbc:ElectronicMail  Text  0..1   

Classes in this class

Class name Type Cardinality Comment Basic content

This class is used in the following classes

Class name
cac:Party

Sample

<cac:Contact>
<cbc:Name>
Jonas Jonasson</cbc:Name>
<cbc:Telephone>
0701111111</cbc:Telephone>
<cbc:Telefax>
0365418512</cbc:Telefax>
<cbc:ElectronicMail>
c@d.se</cbc:ElectronicMail>
</cac:Contact>




cac:SellerParty

Comment

Fields in this class

Field name Type Cardinality Comment Basic content

Classes in this class

Class name Type Cardinality Comment Basic content
cac:Party Party  0..1   
cac:AccountsContact Contact  0..1     

This class is used in the following classes

Class name
Invoice

Sample

<cac:SellerParty>
<cac:Party>
<cac:PartyIdentification>
<cac:ID identificationSchemeAgencyID="9">
7365565626575</cac:ID>
</cac:PartyIdentification>
<cac:PartyName>
<cbc:Name>
Moderna produkter AB</cbc:Name>
</cac:PartyName>
+<cac:Address>
<cac:PartyTaxScheme>
<cbc:RegistrationName>
Moderna Produkter AB</cbc:RegistrationName>
<cac:CompanyID>
5565624223</cac:CompanyID>
<cbc:ExemptionReason>
F-skattebevis finns</cbc:ExemptionReason>
<cac:RegistrationAddress>
<cac:Country>
<cac:IdentificationCode>
SE</cac:IdentificationCode>
</cac:Country>
</cac:RegistrationAddress>
<cac:TaxScheme>
<cac:ID>
SWT</cac:ID>
</cac:TaxScheme>
</cac:PartyTaxScheme>
<cac:PartyTaxScheme>
<cac:CompanyID>
SE556562422301</cac:CompanyID>
<cbc:ExemptionReason/>
<cac:TaxScheme>
<cac:ID>
VAT</cac:ID>
</cac:TaxScheme>
</cac:PartyTaxScheme>
<cac:Contact>
<cbc:Name>
Jonas Jonasson</cbc:Name>
<cbc:Telephone>
070-1111111</cbc:Telephone>
<cbc:Telefax>
0365-418512</cbc:Telefax>
<cbc:ElectronicMail>
c@d.se</cbc:ElectronicMail>
</cac:Contact>
</cac:Party>
<cac:AccountsContact>
<cbc:Name>
Evert Larsson</cbc:Name>
<cbc:Telephone>
03211234569</cbc:Telephone>
<cbc:Telefax>
03219874562</cbc:Telefax>
<cbc:ElectronicMail>
e@d.se</cbc:ElectronicMail>
</cac:AccountsContact>
</cac:SellerParty>




cac:AccountsContact

Comment

Fields in this class

Field name Type Cardinality Comment Basic content
cbc:Name         
cbc:Telephone         
cbc:Telefax         
cbc:ElectronicMail         

Classes in this class

Class name Type Cardinality Comment Basic content

This class is used in the following classes

Class name
cac:SellerParty

Sample

<cac:Contact>
<cbc:Name>
Jonas Jonasson</cbc:Name>
<cbc:Telephone>
0701111111</cbc:Telephone>
<cbc:Telefax>
0365418512</cbc:Telefax>
<cbc:ElectronicMail>
c@d.se</cbc:ElectronicMail>
</cac:Contact>




cac:Delivery

Comment

Fields in this class

Field name Type Cardinality Comment Basic content
cbc:ActualDeliveryDateTime  Date Time  0..1  VAT req. no. 8 - to be used if other than the invoice date/invoicing period on invoice level.  

Classes in this class

Class name Type Cardinality Comment Basic content
cac:DeliveryAddress Address  0..1  To be used only if delivery is made to other address than the address of the Buyer. This element is not intended for use on invoice line level.  

This class is used in the following classes

Class name
Invoice
cac:InvoiceLine

Sample

<cac:Delivery>
<cbc:ActualDeliveryDateTime>
2001-12-17T09:30:47</cbc:ActualDeliveryDateTime>
<cac:DeliveryAddress>
<cac:ID>
123456789</cac:ID>
<cbc:Postbox>
Box 37</cbc:Postbox>
<cbc:StreetName>
Storgatan 5</cbc:StreetName>
<cbc:Department>
Inköpsavdelningen</cbc:Department>
<cbc:CityName>
Lillsjö</cbc:CityName>
<cbc:PostalZone>
11010</cbc:PostalZone>
<cac:AddressLine>
<cbc:Line>
Extra adressrad</cbc:Line>
</cac:AddressLine>
<cac:Country>
<cac:IdentificationCode>
SE</cac:IdentificationCode>
</cac:Country>
</cac:DeliveryAddress>
</cac:Delivery>




cac:DeliveryAddress

Comment

To be used only if delivery is made to other address than the address of the Buyer. This element is not intended for use on invoice line level.

Fields in this class

Field name Type Cardinality Comment Basic content
cac:ID         
cbc:Postbox         
cbc:StreetName         
cbc:Department         
cbc:CityName         
cbc:PostalZone         

Classes in this class

Class name Type Cardinality Comment Basic content
cac:AddressLine        
cac:Country        

This class is used in the following classes

Class name
cac:Delivery

Sample

<cac:DeliveryAddress>
<cac:ID>
123456789</cac:ID>
<cbc:Postbox>
Box 37</cbc:Postbox>
<cbc:StreetName>
Storgatan 5</cbc:StreetName>
<cbc:Department>
Inköpsavdelningen</cbc:Department>
<cbc:CityName>
Lillsjö</cbc:CityName>
<cbc:PostalZone>
11010</cbc:PostalZone>
<cac:AddressLine>
<cbc:Line>
Extra adressrad</cbc:Line>
</cac:AddressLine>
<cac:Country>
<cac:IdentificationCode>
SE</cac:IdentificationCode>
</cac:Country>
</cac:DeliveryAddress>




cac:PaymentMeans

Comment

Fields in this class

Field name Type Cardinality Comment Basic content
cac:PaymentMeansTypeCode         
cbc:DuePaymentDate  Date  0..1  For invoice: Shall be stated in the transaction. In case of deviation from an agreement made in advance, the buyer has the right to let the rule of the agreement supersede. For credit note: not used  

Classes in this class

Class name Type Cardinality Comment Basic content
cac:PayeeFinancialAccount Financial Account  0..1  Examples of bank identification codes - BIC's: BIC for Bank giro = BGABSESS BIC for Plusgiro = PGSISESS  
cac:PayeePartyName Party Name  0..1  To be used only in case payee differs from the seller/supplier. The buyer should be notified of a payee and his accounts in advance.  

This class is used in the following classes

Class name
Invoice

Sample

<cac:PaymentMeans>
<cac:PaymentMeansTypeCode>
1</cac:PaymentMeansTypeCode>
<cbc:DuePaymentDate>
2004-11-05</cbc:DuePaymentDate>
<cac:PayeeFinancialAccount>
<cac:ID>
63040</cac:ID>
<cac:FinancialInstitutionBranch>
<cac:FinancialInstitution>
<cac:ID>
PGSISESS</cac:ID>
</cac:FinancialInstitution>
</cac:FinancialInstitutionBranch>
</cac:PayeeFinancialAccount>
</cac:PaymentMeans>




cac:PayeeFinancialAccount

Comment

Examples of bank identification codes - BIC's: BIC for Bank giro = BGABSESS BIC for Plusgiro = PGSISESS

Fields in this class

Field name Type Cardinality Comment Basic content
cac:ID         
cac:PaymentInstructionID         

Classes in this class

Class name Type Cardinality Comment Basic content
cac:FinancialInstitutionBranch        

This class is used in the following classes

Class name
cac:PaymentMeans

Sample

<cac:PayeeFinancialAccount>
<cac:ID>
63040</cac:ID>
<cac:FinancialInstitutionBranch>
<cac:FinancialInstitution>
<cac:ID>
PGSISESS</cac:ID>
</cac:FinancialInstitution>
</cac:FinancialInstitutionBranch>
<cac:PaymentInstructionID>
54225485</cac:PaymentInstructionID>
</cac:PayeeFinancialAccount>




cac:FinancialInstitutionBranch

Comment

Use bank identifier code (BIC). Examples: BIC for Swedish Bank giro = BGABSESS BIC for Svedish PlusGiro = PGSISESS

Fields in this class

Field name Type Cardinality Comment Basic content

Classes in this class

Class name Type Cardinality Comment Basic content
cac:FinancialInstitution        

This class is used in the following classes

Class name
cac:PayeeFinancialAccount

Sample

<cac:FinancialInstitutionBranch>
<cac:FinancialInstitution>
<cac:ID>
PGSISESS</cac:ID>
</cac:FinancialInstitution>
</cac:FinancialInstitutionBranch>




cac:FinancialInstitution

Comment

Fields in this class

Field name Type Cardinality Comment Basic content
cac:ID  Identifier  0..1  BIC for bank, Bank giro or Plusgiro  

Classes in this class

Class name Type Cardinality Comment Basic content

This class is used in the following classes

Class name
cac:FinancialInstitutionBranch

Sample

<cac:FinancialInstitution>
<cac:ID>
PGSISESS</cac:ID>
</cac:FinancialInstitution>




cac:PayeePartyName

Comment

To be used only in case payee differs from the seller/supplier. The buyer should be notified of a payee and his accounts in advance.

Fields in this class

Field name Type Cardinality Comment Basic content
cbc:Name         

Classes in this class

Class name Type Cardinality Comment Basic content

This class is used in the following classes

Class name
cac:PaymentMeans

Sample

<cac:PayeePartyName>
<cbc:Name>
Abc</cbc:Name>
</cac:PayeePartyName>




cac:PaymentTerms

Comment

Fields in this class

Field name Type Cardinality Comment Basic content
cbc:Note  Text  0..1  If an advance agreement exists, any corresponding rules in it take precedence. For credit note: not used  
cbc:PenaltySurchargePercent  Percent  0..1  To be stated if the seller will request interest compensation in case of delayed payment, expressed as a fixed percentage. If an advance agreement exists, its rules take precedence. Any penalty fees are to be invoiced separately.  

Classes in this class

Class name Type Cardinality Comment Basic content

This class is used in the following classes

Class name
Invoice

Sample

<cac:PaymentTerms>
<cbc:Note>
Betalningsvillkor</cbc:Note>
<cbc:PenaltySurchargePercent>
12</cbc:PenaltySurchargePercent>
</cac:PaymentTerms>




AllowanceCharge

Comment

Fields in this class

Field name Type Cardinality Comment Basic content
cbc:ChargeIndicator  Indicator   
cac:ReasonCode  Code  0..1  Five kinds of allowance/charge shall be managed in the basic version of Svefaktura (c.f. UN/Edifact 7161): - Agreed discount - Expediting fee - Invoicing fee - Freight charge - Small order processing service charge In order to indicate which kind applies, set ReasonCode to ZZZ (mutually defined) and stat the text in the Name attribute. Example: ZZZ. To be used for AllowanceCharge on invoice level only, i.e. not on line level.    
cbc:MultiplierFactorNumeric  Numeric  0..1  To be stated as a percentage. The element is used for AllowanceCharge on invoice level only, i.e. not on line level    
cbc:Amount  Amount   
cac:AllowanceChargeBaseAmount  Amount  0..1  Amount on which allowance/charge is calculated    

Classes in this class

Class name Type Cardinality Comment Basic content
cac:TaxCategory Tax Category  0..n  The element is used for AllowanceCharge on invoice level only, i.e. not on line level  

This class is used in the following classes

Class name
Invoice

Sample

<AllowanceCharge>
<cbc:ChargeIndicator>
true</cbc:ChargeIndicator>
<cac:ReasonCode name="Fraktavgift">
ZZZ</cac:ReasonCode>
<cbc:Amount amountCurrencyID="SEK">
50.00</cbc:Amount>
<cac:TaxCategory>
<cac:ID>
S</cac:ID>
<cbc:Percent>
25</cbc:Percent>
<cac:TaxScheme>
<cac:ID>
VAT</cac:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</AllowanceCharge>




cac:TaxCategory

Comment

The element is used for AllowanceCharge on invoice level only, i.e. not on line level

Fields in this class

Field name Type Cardinality Comment Basic content
cac:ID  Identifier  VAT requirement. Alternatives E = Exemption S = Standard Note. Subdivisions of tax category S ("standard") is made by means of the tax rate.  
cbc:Percent  Percent  0..1  VAT req. no. 9 - Tax rate. The rate is expressed as percentage. For exemption, tax rate is set to 0 (zero).  
cbc:ExemptionReason  Text  0..1  VAT req. no. 9 and 11 - where an exemption is involved or where the customer is liable to pay the tax, reference to the appropriate provision of this directive, to the corresponding national provision, or to any indication that the supply is exempt or subject to the reverse charge procedure. Used also in case margin scheme applies.  

Classes in this class

Class name Type Cardinality Comment Basic content
cac:TaxScheme Tax Scheme   

This class is used in the following classes

Class name
AllowanceCharge
cac:TaxSubTotal
cac:Item

Sample

<cac:TaxCategory>
<cac:ID>
S</cac:ID>
<cbc:Percent>
25</cbc:Percent>
<cac:TaxScheme>
<cac:ID>
VAT</cac:ID>
</cac:TaxScheme>
</cac:TaxCategory>




cac:ExchangeRate

Comment

VAT requirement. If the tax amount has to be converted to and shown in a currency different from the invoicing currency.

Fields in this class

Field name Type Cardinality Comment Basic content
cac:SourceCurrencyCode  Code  If the tax amount has to be converted to and shown in a currency different from the invoicing currency: state currency code for invoicing currency.  
cbc:SourceCurrencyBaseRate  Rate  0..1     
cac:TargetCurrencyCode  Code  If the tax amount has to be converted to and shown in a currency different from the invoicing currency: state currency code for tax currency.  
cbc:TargetUnitBaseRate  Rate  0..1     
cbc:CalculationRate  Rate  0..1  VAT requirement. If the tax amount has to be converted to and shown in a currency different from the invoicing currency. As rate for currency conversion uses the sales rate (on the applicable currency exchange market in the relevant member state) at the time when the tax takes effect.  
cbc:Date  Date  0..1     

Classes in this class

Class name Type Cardinality Comment Basic content

This class is used in the following classes

Class name
Invoice

Sample

<cac:ExchangeRate>
<cac:SourceCurrencyCode>
SEK</cac:SourceCurrencyCode>
<cbc:SourceCurrencyBaseRate>
3.141</cbc:SourceCurrencyBaseRate>
<cac:TargetCurrencyCode>
USD</cac:TargetCurrencyCode>
<cbc:TargetUnitBaseRate>
3.14159265</cbc:TargetUnitBaseRate>
<cbc:CalculationRate>
3.1415926</cbc:CalculationRate>
<cbc:Date>
2005-08-13</cbc:Date>
</cac:ExchangeRate>




cac:TaxTotal

Comment

Fields in this class

Field name Type Cardinality Comment Basic content
cbc:TotalTaxAmount  Amount  Control total. VAT req. no. 10: Total for VAT in invoice. Formula: ∑”Tax amount” for all ”Tax totals” (to be stated even in the total is 0)  

Classes in this class

Class name Type Cardinality Comment Basic content
cac:TaxSubTotal Tax Sub Total  0..n   

This class is used in the following classes

Class name
Invoice

Sample

<cac:TaxTotal>
<cbc:TotalTaxAmount amountCurrencyID="SEK">
15000.00</cbc:TotalTaxAmount>
<cac:TaxSubTotal>
<cbc:TaxableAmount amountCurrencyID="SEK">
15000.00</cbc:TaxableAmount>
<cbc:TaxAmount amountCurrencyID="SEK">
3750.00</cbc:TaxAmount>
<cac:TaxCategory>
<cac:ID>
S</cac:ID>
<cbc:Percent>
25.0</cbc:Percent>
<cac:TaxScheme>
<cac:ID>
VAT</cac:ID>
</cac:TaxScheme>
</cac:TaxCategory>
<cac:TaxCurrencyTaxAmount amountCurrencyID="SEK">
3750.00</cac:TaxCurrencyTaxAmount>
</cac:TaxSubTotal>
</cac:TaxTotal>




cac:TaxSubTotal

Comment

Fields in this class

Field name Type Cardinality Comment Basic content
cbc:TaxableAmount  Amount  VAT requirement no. 8 - taxable amount per tax rate or exemption. Formula: ∑”Line item amount” for the relevant tax rate + ∑”Charges on invoice level with the relevant tax rate” - ∑”Allowances on invoice level with the relevant tax rate”  
cbc:TaxAmount  Amount  The initial VAT requirement by the Swedish Tax Authority: Total tax amount per tax category and tax rate. Formula: ”Taxable amount” x ”Tax rate” / 100 for tax category = S; 0 for tax category = E  
cac:TaxCurrencyTaxAmount  Amount  0..1  VAT requirement, and also the initial requirement by the Swedish Tax Authority: If the invoice is expressed in other currency than the tax subject's official accounting currency, and the accounting currency is other than Swedish krona or euro, the tax amount is to be expressed also in the accounting currency. If the tax subject has a different accounting currency than Swedish krona or euro, and the invoicing currency is other than Swedish krona, the tax amount is to be expressed also in Swedish krona. In case of conversion, also the exchange rate is required. Formula: ”Tax amount” x ”Exchange rate”. The amount is to be presented in the currency given by ”VAT currency”  
cac:InitialInvoiceTaxAmount         

Classes in this class

Class name Type Cardinality Comment Basic content
cac:TaxCategory Tax Category   

This class is used in the following classes

Class name
cac:TaxTotal

Sample

<cac:TaxSubTotal>
<cbc:TaxableAmount amountCurrencyID="SEK">
15000.00</cbc:TaxableAmount>
<cbc:TaxAmount amountCurrencyID="SEK">
3750.00</cbc:TaxAmount>
<cac:TaxCategory>
<cac:ID>
S</cac:ID>
<cbc:Percent>
25.0</cbc:Percent>
<cac:TaxScheme>
<cac:ID>
VAT</cac:ID>
</cac:TaxScheme>
</cac:TaxCategory>
<cac:TaxCurrencyTaxAmount amountCurrencyID="SEK">
3750.00</cac:TaxCurrencyTaxAmount>
<cac:InitialInvoiceTaxAmount amountCurrencyID="SEK">
50</cac:InitialInvoiceTaxAmount>
</cac:TaxSubTotal>




cac:LegalTotal

Comment

Fields in this class

Field name Type Cardinality Comment Basic content
cbc:LineExtensionTotalAmount  Amount  Control total. Formula: ∑”Line item amount” (That is, the net amounts on invoice line)  
cbc:TaxExclusiveTotalAmount  Amount  0..1  Control total. Formula: ∑”Line item amount” + ∑”Charges on the invoice as a whole” - ∑”Allowances for the invoice as a whole”  
cbc:TaxInclusiveTotalAmount  Amount  The amount to pay inclusive of taxes. The amount may be rounded to an appropriate unit of the invoicing currency (a prerogative of the issuer of the invoice). Formula: ”Total invoice amount excl of VAT + ”Total VAT amount" + ( any ”Invoice total round-off amount”)  
cac:RoundOffAmount  Amount  0..1  To be used if the seller's system cannot handle exact amounts down the smallest fraction (sub-unit) of the invoicing currency. Example: if in Swedish currency "ören" is rounded to nearest "krona", -0,49<= Invoice total round-off amount <= +0,50. Only invoice amount to pay can be rounded in this way. (Note. the purpose of this amount is similar but yet different from the rounding mechanism applied in calculations.)  

Classes in this class

Class name Type Cardinality Comment Basic content

This class is used in the following classes

Class name
Invoice

Sample

<cac:LegalTotal>
<cbc:LineExtensionTotalAmount amountCurrencyID="SEK">
4000</cbc:LineExtensionTotalAmount>
<cbc:TaxExclusiveTotalAmount amountCurrencyID="SEK">
3815</cbc:TaxExclusiveTotalAmount>
<cbc:TaxInclusiveTotalAmount amountCurrencyID="SEK">
4769</cbc:TaxInclusiveTotalAmount>
<cac:RoundOffAmount amountCurrencyID="SEK">
0.25</cac:RoundOffAmount>
</cac:LegalTotal>




cac:InvoiceLine

Comment

Fields in this class

Field name Type Cardinality Comment Basic content
cac:ID  Identifier  Sequential number  
cbc:InvoicedQuantity  Quantity  0..1  VAT req. no. 6 - quantity of goods supplies or extent of services rendered. It is recommended to use measure unit codes according to UN/ECE Rec.20, if not manageable omit code/code list and use text, abbreviation, etc.  
cbc:LineExtensionAmount  Amount  VAT req. no. 8. Line item net amount, incl any allowance/charge but exclusive of VAT. UBL requires an amount on each line item. Formula: no automatic calculation is required for the basic version of Svefaktura. If automatic calculation/check is agreed, the formula shall follow: unit price x invoiced quantity / unit price basis minus discounts (if these are used). Line item amount is rounded as necessary to the number of decimal positions handled in the invoicing currency.  
cbc:Note  Text  0..1  Textual information regarding the invoice line. If specific elements exist, they should be instead of the text. Example of content: - Packaging information, when relevant - Descriptive information related to of goods/service, other than article description - URL reference to information related to this invoice line (NB! be careful not to place information on a web site if it need to be stored with the invoice for verification purposes) - Information regarding excises, duties, etc.  

Classes in this class

Class name Type Cardinality Comment Basic content
cac:OrderLineReference Order Line Reference  0..1     
cac:DespatchLineReference Line Reference  0..1  In case delivery notes exist they should be stated for verification by the buyer. Delivery notes are not to be used as substitute for specification in the invoice. At most one delivery note can be given for each invoice line: - If only one delivery note applies for the invoice, the reference is specified on invoice level. - If several delivery notes apply, the references are either listed per on invoice level or listed here with one reference per invoice line.  
cac:Delivery Delivery  0..1   
cac:AllowanceCharge Allowance Charge  0..1  VAT req. no. 8: Any discount is to be included in the line item amount.  
cac:Item Item   

This class is used in the following classes

Class name
Invoice

Sample

<cac:InvoiceLine>
<cac:ID>
1</cac:ID>
<cbc:InvoicedQuantity quantityUnitCodeListAgencyID="6" quantityUnitCodeListID="UNECE-REC20" quantityUnitCode="LTR">
120</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount amountCurrencyID="SEK">
6000</cbc:LineExtensionAmount>
<cbc:Note>
Information om fakturaraden</cbc:Note>
+<cac:OrderLineReference>
+<cac:DespatchLineReference>
+<cac:Delivery>
<cac:AllowanceCharge>
<cbc:ChargeIndicator>
false</cbc:ChargeIndicator>
<cbc:Amount amountCurrencyID="SEK">
5</cbc:Amount>
<cac:AllowanceChargeBaseAmount amountCurrencyID="SEK">
6000</cac:AllowanceChargeBaseAmount>
</cac:AllowanceCharge>
+<cac:Item>
</cac:InvoiceLine>




cac:OrderLineReference

Comment

Fields in this class

Field name Type Cardinality Comment Basic content
cac:BuyersLineID  Identifier  0..1     

Classes in this class

Class name Type Cardinality Comment Basic content
cac:OrderReference Order Reference  0..1     

This class is used in the following classes

Class name
cac:InvoiceLine

Sample




cac:OrderReference

Comment

Fields in this class

Field name Type Cardinality Comment Basic content
cac:BuyersID  Identifier  0..1     

Classes in this class

Class name Type Cardinality Comment Basic content

This class is used in the following classes

Class name
cac:OrderLineReference

Sample




cac:DespatchLineReference

Comment

In case delivery notes exist they should be stated for verification by the buyer. Delivery notes are not to be used as substitute for specification in the invoice. At most one delivery note can be given for each invoice line: - If only one delivery note applies for the invoice, the reference is specified on invoice level. - If several delivery notes apply, the references are either listed per on invoice level or listed here with one reference per invoice line.

Fields in this class

Field name Type Cardinality Comment Basic content
cac:LineID         

Classes in this class

Class name Type Cardinality Comment Basic content
cac:DocumentReference        

This class is used in the following classes

Class name
cac:InvoiceLine

Sample

<cac:DespatchLineReference>
<cac:LineID>
1</cac:LineID>
<cac:DocumentReference>
<cac:ID>
7</cac:ID>
</cac:DocumentReference>
</cac:DespatchLineReference>




cac:DocumentReference

Comment

Fields in this class

Field name Type Cardinality Comment Basic content
cac:ID  Identifier   

Classes in this class

Class name Type Cardinality Comment Basic content

This class is used in the following classes

Class name
cac:DespatchLineReference

Sample

<cac:DocumentReference>
<cac:ID>
7</cac:ID>
</cac:DocumentReference>




cac:AllowanceCharge

Comment

Fields in this class

Field name Type Cardinality Comment Basic content
cbc:ChargeIndicator  Indicator   
cbc:Amount  Amount   
cac:AllowanceChargeBaseAmount  Amount  0..1  Amount on which allowance/charge is calculated    

Classes in this class

Class name Type Cardinality Comment Basic content

This class is used in the following classes

Class name
cac:InvoiceLine

Sample

<AllowanceCharge>
<cbc:ChargeIndicator>
true</cbc:ChargeIndicator>
<cac:ReasonCode name="Fraktavgift">
ZZZ</cac:ReasonCode>
<cbc:Amount amountCurrencyID="SEK">
50.00</cbc:Amount>
<cac:TaxCategory>
<cac:ID>
S</cac:ID>
<cbc:Percent>
25</cbc:Percent>
<cac:TaxScheme>
<cac:ID>
VAT</cac:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</AllowanceCharge>




cac:Item

Comment

Fields in this class

Field name Type Cardinality Comment Basic content
cbc:Description  Text  0..1  VAT req. No. 6 - the nature of goods supplied or services rendered (if not given as free text in Note).  

Classes in this class

Class name Type Cardinality Comment Basic content
cac:BuyersItemIdentification Item Identification  0..1  Several article numbers (according to different numbering systems) may be given. If used, the supplier's system is the first-hand option.    
cac:SellersItemIdentification Item Identification  0..1  Several article numbers (according to different numbering systems) may be given. If used, the supplier's system is the first-hand option.    
cac:StandardItemIdentification Item Identification  0..1  Several article numbers (according to different numbering systems) may be given. If used, the supplier's system is the first-hand option. In case of a standard numbering system, also indicate which standard.    
cac:TaxCategory Tax Category  0..1   
cac:BasePrice Base Price  0..1   

This class is used in the following classes

Class name
cac:InvoiceLine

Sample

<cac:Item>
<cbc:Description>
Falu rödfärg</cbc:Description>
<cac:BuyersItemIdentification>
<cac:ID>
123</cac:ID>
</cac:BuyersItemIdentification>
<cac:SellersItemIdentification>
<cac:ID>
456</cac:ID>
</cac:SellersItemIdentification>
<cac:StandardItemIdentification>
<cac:ID identificationSchemeAgencyID="9">
7305424567898</cac:ID>
</cac:StandardItemIdentification>
<cac:TaxCategory>
<cac:ID>
S</cac:ID>
<cbc:Percent>
25.0</cbc:Percent>
<cbc:ExemptionReason/>
<cac:TaxScheme>
<cac:ID>
VAT</cac:ID>
</cac:TaxScheme>
</cac:TaxCategory>
<cac:BasePrice>
<cbc:PriceAmount amountCurrencyID="SEK">
5</cbc:PriceAmount>
<cbc:BaseQuantity quantityUnitCodeListAgencyID="6" quantityUnitCodeListID="UNECE-REC20" quantityUnitCode="LTR">
1</cbc:BaseQuantity>
</cac:BasePrice>
</cac:Item>




cac:BuyersItemIdentification

Comment

Several article numbers (according to different numbering systems) may be given. If used, the supplier's system is the first-hand option.

Fields in this class

Field name Type Cardinality Comment Basic content
cac:ID         

Classes in this class

Class name Type Cardinality Comment Basic content

This class is used in the following classes

Class name
cac:Item

Sample

<cac:BuyersItemIdentification>
<cac:ID>
123</cac:ID>
</cac:BuyersItemIdentification>




cac:SellersItemIdentification

Comment

Several article numbers (according to different numbering systems) may be given. If used, the supplier's system is the first-hand option.

Fields in this class

Field name Type Cardinality Comment Basic content
cac:ID         

Classes in this class

Class name Type Cardinality Comment Basic content

This class is used in the following classes

Class name
cac:Item

Sample

<cac:SellersItemIdentification>
<cac:ID>
456</cac:ID>
</cac:SellersItemIdentification>




cac:StandardItemIdentification

Comment

Several article numbers (according to different numbering systems) may be given. If used, the supplier's system is the first-hand option. In case of a standard numbering system, also indicate which standard.

Fields in this class

Field name Type Cardinality Comment Basic content
cac:ID         

Classes in this class

Class name Type Cardinality Comment Basic content

This class is used in the following classes

Class name
cac:Item

Sample

<cac:StandardItemIdentification>
<cac:ID identificationSchemeAgencyID="9">
7305424567898</cac:ID>
</cac:StandardItemIdentification>




cac:BasePrice

Comment

Fields in this class

Field name Type Cardinality Comment Basic content
cbc:PriceAmount  Amount  VAT req. no. 8 - unit price is to be handled with up to 4 decimal places.  
cbc:BaseQuantity  Quantity  0..1  To be used if unit price is not set per one unit and the amount on the invoice line is calculated/checked automatically.    

Classes in this class

Class name Type Cardinality Comment Basic content

This class is used in the following classes

Class name
cac:Item

Sample

<cac:BasePrice>
<cbc:PriceAmount amountCurrencyID="SEK">
5</cbc:PriceAmount>
<cbc:BaseQuantity quantityUnitCodeListAgencyID="6" quantityUnitCodeListID="UNECE-REC20" quantityUnitCode="LTR">
1</cbc:BaseQuantity>
</cac:BasePrice>




RequisitionistDocumentReference

Comment

The requisitionist's reference is defined by the buyer for the sole purpose of forwarding a received invoice to the correct person/unit in charge within the buyer's organisation. This reference may be used for per transaction or used repeatedly in invoices (or periodic invoices) - a guide will be made separately. Normally only one reference should be used. Requisitionist's reference no. 2 is used only if Requisitionist's reference no.1 is not administered centrally in buyer's organisation. It can be used to identify an organisational unit, a project, etc.

Fields in this class

Field name Type Cardinality Comment Basic content
cac:ID     

Classes in this class

Class name Type Cardinality Comment Basic content

This class is used in the following classes

Class name
Invoice

Sample

<RequisitionistDocumentReference>
<cac:ID>
Skolmatsalen</cac:ID>
</RequisitionistDocumentReference>




InitialInvoiceDocumentReference

Comment

Fields in this class

Field name Type Cardinality Comment Basic content
cac:ID         

Classes in this class

Class name Type Cardinality Comment Basic content

This class is used in the following classes

Class name
Invoice

Sample




cac:DeliveryTerms

Comment

Information on how the delivery was made; means of delivery; etc.

Fields in this class

Field name Type Cardinality Comment Basic content
cbc:SpecialTerms  Text  0..1   

Classes in this class

Class name Type Cardinality Comment Basic content

This class is used in the following classes

Class name
Invoice

Sample

<cac:DeliveryTerms>
<cbc:SpecialTerms>
Enligt avtal</cbc:SpecialTerms>
</cac:DeliveryTerms>




InvoicingPeriod

Comment

The period is to be stated in case of periodic invoicing and for continuous supply of goods and services. This period information applies to the whole invoice, alternatively the relevant delivery times can be stated per invoice line. Cf. also tax point date. A period is also needed in credit notes crediting several invoices when the initial invoices are not referred to individually (and this is in agreement with the Tax Authority's requirements). See comment to ”Invoice reference”

Fields in this class

Field name Type Cardinality Comment Basic content
cbc:StartDateTime         
cbc:EndDateTime         

Classes in this class

Class name Type Cardinality Comment Basic content

This class is used in the following classes

Class name
Invoice

Sample

<InvoicingPeriod>
<cbc:StartDateTime>
2005-12-17</cbc:StartDateTime>
<cbc:EndDateTime>
2005-12-26</cbc:EndDateTime>
</InvoicingPeriod>