EN 16931: Full Invoice Example

View an example of a complete invoice.

The following example shows all the possible elements for an invoice:

<?xml version="1.0" encoding="UTF-8"?>
<Invoice xmlns="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:cec="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2" xmlns:vrbl="urn:vertexinc:vrbl:ExtensionComponent:1">
	<cec:UBLExtensions>
		<cec:UBLExtension>
			<cec:ExtensionContent>
				<vrbl:InvoiceExtension>
					<vrbl:RoutingDetails>
						<vrbl:Sender>SE000000000000</vrbl:Sender>
						<vrbl:Receiver>VRBL_EN16931</vrbl:Receiver>
					</vrbl:RoutingDetails>
				</vrbl:InvoiceExtension>
			</cec:ExtensionContent>
		</cec:UBLExtension>
	</cec:UBLExtensions>
	<cbc:CustomizationID>urn:vertexinc:vrbl:billing:1</cbc:CustomizationID>
	<cbc:ProfileID>urn:vertexinc:vrbl:billing:1</cbc:ProfileID>
	<cbc:ID>SE_380_241120142050_01</cbc:ID>
	<cbc:IssueDate>2024-11-20</cbc:IssueDate>
	<cbc:DueDate>2024-12-20</cbc:DueDate>
	<cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode>
	<cbc:Note>#ADU#Wir liefern Ihnen ausschließlich zu unseren allgemeinen Geschäftsbedingungen.</cbc:Note>
	<cbc:TaxPointDate>2024-07-18</cbc:TaxPointDate>
	<cbc:DocumentCurrencyCode>GBP</cbc:DocumentCurrencyCode>
	<cbc:TaxCurrencyCode>EUR</cbc:TaxCurrencyCode>
	<cbc:AccountingCost>4217:2323:2323</cbc:AccountingCost>
	<cbc:BuyerReference>buyer test reference</cbc:BuyerReference>
	<cac:InvoicePeriod>
		<cbc:StartDate>2024-07-18</cbc:StartDate>
		<cbc:EndDate>2024-07-18</cbc:EndDate>
		<!-- <cbc:DescriptionCode>35</cbc:DescriptionCode> -->
	</cac:InvoicePeriod><cac:OrderReference>
		<cbc:ID>PO987654</cbc:ID>
		<cbc:SalesOrderID>SO987654</cbc:SalesOrderID>
	</cac:OrderReference>
	<cac:BillingReference>
		<cac:InvoiceDocumentReference>
			<cbc:ID>INV22334455</cbc:ID>
			<cbc:IssueDate>2024-05-10</cbc:IssueDate>
		</cac:InvoiceDocumentReference>
	</cac:BillingReference>
	<cac:DespatchDocumentReference>
		<cbc:ID>DESP987654</cbc:ID>
	</cac:DespatchDocumentReference>
	<cac:ReceiptDocumentReference>
		<cbc:ID>REC2111</cbc:ID>
	</cac:ReceiptDocumentReference>
	<cac:OriginatorDocumentReference>
		<cbc:ID>TENDR2345</cbc:ID>
	</cac:OriginatorDocumentReference>
	<cac:ContractDocumentReference>
		<cbc:ID>CONTR9999</cbc:ID>
	</cac:ContractDocumentReference>
	<cac:AdditionalDocumentReference>
		<cbc:ID>AB23456</cbc:ID>
		<cbc:DocumentDescription>Time list</cbc:DocumentDescription>
		<cac:Attachment>
			<cbc:EmbeddedDocumentBinaryObject mimeCode="application/pdf" filename="file.pdf">aHR0cHM6Ly90ZXN0LXZlZmEuZGlmaS5uby9wZXBwb2xiaXMvcG9hY2MvYmlsbGluZy8zLjAvYmlzLw==</cbc:EmbeddedDocumentBinaryObject>
			<cac:ExternalReference>
				<cbc:URI>http://www.example.com/index.html</cbc:URI>
			</cac:ExternalReference>
		</cac:Attachment>
	</cac:AdditionalDocumentReference>
	<cac:AdditionalDocumentReference>
		<cbc:ID schemeID="AUN">200</cbc:ID>
		<cbc:DocumentTypeCode>130</cbc:DocumentTypeCode>
	</cac:AdditionalDocumentReference>
	<cac:ProjectReference>
		<cbc:ID>PROJ4444</cbc:ID>
	</cac:ProjectReference>
	<cac:AccountingSupplierParty>
		<cac:Party>
			<cbc:EndpointID schemeID="0088">7300010000001</cbc:EndpointID>
			<cac:PartyIdentification>
				<cbc:ID>7300010000001</cbc:ID>
			</cac:PartyIdentification>
			<cac:PartyName>
                <cbc:Name>The Sellercompany Incorporated</cbc:Name>
            </cac:PartyName>
			<cac:PostalAddress>
				<cbc:StreetName>Main street 2, Building 4</cbc:StreetName>
				<cbc:AdditionalStreetName>Second floor</cbc:AdditionalStreetName>
				<cbc:CityName>Big City</cbc:CityName>
				<cbc:PostalZone>54321</cbc:PostalZone>
				<cac:Country>
					<cbc:IdentificationCode>SE</cbc:IdentificationCode>
				</cac:Country>
			</cac:PostalAddress>
			<cac:PartyTaxScheme>
				<cbc:CompanyID>SE000000000000</cbc:CompanyID>
				<cac:TaxScheme>
					<cbc:ID>VAT</cbc:ID>
				</cac:TaxScheme>
			</cac:PartyTaxScheme>
			<cac:PartyLegalEntity>
				<cbc:RegistrationName>The Sellercompany Incorporated</cbc:RegistrationName>
				<cbc:CompanyID>BRN983294.SE</cbc:CompanyID>
			</cac:PartyLegalEntity>
		</cac:Party>
	</cac:AccountingSupplierParty>
	<cac:AccountingCustomerParty>
		<cac:Party>
			<cbc:EndpointID schemeID="0088">7300010000002</cbc:EndpointID>
			<cac:PartyIdentification>
				<cbc:ID>7300010000002</cbc:ID>
			</cac:PartyIdentification>
			<cac:PostalAddress>
				<cbc:StreetName>Main street 22, Building 40</cbc:StreetName>
				<cbc:AdditionalStreetName>Back door</cbc:AdditionalStreetName>
				<cbc:CityName>Anytown</cbc:CityName>
				<cbc:PostalZone>10122</cbc:PostalZone>
				<cac:Country>
					<cbc:IdentificationCode>SE</cbc:IdentificationCode>
				</cac:Country>
			</cac:PostalAddress>
			<cac:PartyTaxScheme>
				<cbc:CompanyID>SE000000000001</cbc:CompanyID>
				<cac:TaxScheme>
					<cbc:ID>VAT</cbc:ID>
				</cac:TaxScheme>
			</cac:PartyTaxScheme>
			<cac:PartyLegalEntity>
				<cbc:RegistrationName>The Buyercompany Incorporated</cbc:RegistrationName>
				<cbc:CompanyID>BRN111111260.SE</cbc:CompanyID>
			</cac:PartyLegalEntity>
		</cac:Party>
	</cac:AccountingCustomerParty>
	<cac:PayeeParty>
		<cac:PartyIdentification>
			<cbc:ID schemeID="0088">1300010000006</cbc:ID>
		</cac:PartyIdentification>
		<cac:PartyName>
			<cbc:Name>Payee SRL</cbc:Name>
		</cac:PartyName>
		<cac:PartyLegalEntity>
			<cbc:CompanyID schemeID="0002">887654321</cbc:CompanyID>
		</cac:PartyLegalEntity>
	</cac:PayeeParty>
	<cac:TaxRepresentativeParty>
		<cac:PartyName>
			<cbc:Name>Tax Representative SRL</cbc:Name>
		</cac:PartyName>
		<cac:PostalAddress>
			<cbc:StreetName>Main street 13</cbc:StreetName>
			<cbc:AdditionalStreetName>Building 1</cbc:AdditionalStreetName>
			<cbc:CityName>Big city</cbc:CityName>
			<cbc:PostalZone>54321</cbc:PostalZone>
			<cbc:CountrySubentity>Region A</cbc:CountrySubentity>
			<cac:AddressLine>
				<cbc:Line>more lines 1</cbc:Line>
			</cac:AddressLine>
			<cac:Country>
				<cbc:IdentificationCode>GB</cbc:IdentificationCode>
			</cac:Country>
		</cac:PostalAddress>
		<cac:PartyTaxScheme>
			<cbc:CompanyID>GB01234567999</cbc:CompanyID>
			<cac:TaxScheme>
				<cbc:ID>VAT</cbc:ID>
			</cac:TaxScheme>
		</cac:PartyTaxScheme>
	</cac:TaxRepresentativeParty>
	<cac:Delivery>
		<cbc:ActualDeliveryDate>2024-11-10</cbc:ActualDeliveryDate>
		<cac:DeliveryLocation>
			<cbc:ID schemeID="0088">2233445566771</cbc:ID>
			<cac:Address>
				<cbc:StreetName>Main street 120</cbc:StreetName>
				<cbc:AdditionalStreetName>Cellar door</cbc:AdditionalStreetName>
				<cbc:CityName>Anytown</cbc:CityName>
				<cbc:PostalZone>10122</cbc:PostalZone>
				<cac:Country>
					<cbc:IdentificationCode>SE</cbc:IdentificationCode>
				</cac:Country>
			</cac:Address>
		</cac:DeliveryLocation>
		<cac:DeliveryParty>
			<cac:PartyName>
				<cbc:Name>The Deliveryplace</cbc:Name>
			</cac:PartyName>
		</cac:DeliveryParty>
	</cac:Delivery>
	<cac:PaymentMeans>
		<cbc:PaymentMeansCode name="means-name">30</cbc:PaymentMeansCode>
		<cbc:PaymentID>432948234234234</cbc:PaymentID>
		<cac:CardAccount>
			<cbc:PrimaryAccountNumberID>1234</cbc:PrimaryAccountNumberID>
			<cbc:NetworkID>NA</cbc:NetworkID>
			<cbc:HolderName>John Doe</cbc:HolderName>
		</cac:CardAccount>
		<cac:PayeeFinancialAccount>
			<cbc:ID>SE1212341234123412</cbc:ID>
			<cbc:Name>Payment Account</cbc:Name>
			<cac:FinancialInstitutionBranch>
				<cbc:ID>SEFDABCD</cbc:ID>
			</cac:FinancialInstitutionBranch>
		</cac:PayeeFinancialAccount>
		<cac:PaymentMandate>
			<cbc:ID>123456</cbc:ID>
			<cac:PayerFinancialAccount>
				<cbc:ID>SE1212341234123412</cbc:ID>
			</cac:PayerFinancialAccount>
		</cac:PaymentMandate>
	</cac:PaymentMeans>
	<cac:PaymentTerms>
		<cbc:Note>Payment within 30 days</cbc:Note>
	</cac:PaymentTerms>
	<cac:AllowanceCharge>
		<cbc:ChargeIndicator>false</cbc:ChargeIndicator>
		<cbc:AllowanceChargeReasonCode>95</cbc:AllowanceChargeReasonCode>
		<cbc:AllowanceChargeReason>Discount</cbc:AllowanceChargeReason>
		<cbc:MultiplierFactorNumeric>20.00</cbc:MultiplierFactorNumeric>
		<cbc:Amount currencyID="GBP">396.00</cbc:Amount>
		<cbc:BaseAmount currencyID="GBP">1980</cbc:BaseAmount>
		<cac:TaxCategory>
			<cbc:ID>E</cbc:ID>
			<cbc:Percent>0.00</cbc:Percent>
			<cac:TaxScheme>
				<cbc:ID>VAT</cbc:ID>
			</cac:TaxScheme>
		</cac:TaxCategory>
	</cac:AllowanceCharge>
	<cac:TaxTotal>
		<cbc:TaxAmount currencyID="GBP">0.00</cbc:TaxAmount>
		<cac:TaxSubtotal>
			<cbc:TaxableAmount currencyID="GBP">1584.00</cbc:TaxableAmount>
			<cbc:TaxAmount currencyID="GBP">0.00</cbc:TaxAmount>
			<cac:TaxCategory>
				<cbc:ID>E</cbc:ID>
				<cbc:Percent>0</cbc:Percent>
				<cbc:TaxExemptionReasonCode>VATEX-EU-79-C</cbc:TaxExemptionReasonCode>
				<cbc:TaxExemptionReason>Freetext</cbc:TaxExemptionReason>
				<cac:TaxScheme>
					<cbc:ID>VAT</cbc:ID>
				</cac:TaxScheme>
			</cac:TaxCategory>
		</cac:TaxSubtotal>
	</cac:TaxTotal>
	<cac:TaxTotal>
		<cbc:TaxAmount currencyID="EUR">0.00</cbc:TaxAmount>
	</cac:TaxTotal>
	<cac:LegalMonetaryTotal>
		<cbc:LineExtensionAmount currencyID="GBP">1980.00</cbc:LineExtensionAmount>
		<cbc:TaxExclusiveAmount currencyID="GBP">1584.00</cbc:TaxExclusiveAmount>
		<cbc:TaxInclusiveAmount currencyID="GBP">1584.00</cbc:TaxInclusiveAmount>
		<cbc:AllowanceTotalAmount currencyID="GBP">396.00</cbc:AllowanceTotalAmount>
		<cbc:ChargeTotalAmount currencyID="GBP">0.00</cbc:ChargeTotalAmount>
		<cbc:PrepaidAmount currencyID="GBP">0.00</cbc:PrepaidAmount>
		<cbc:PayableRoundingAmount currencyID="GBP">0.01</cbc:PayableRoundingAmount>
		<cbc:PayableAmount currencyID="GBP">1584.01</cbc:PayableAmount>
	</cac:LegalMonetaryTotal>
	<cac:InvoiceLine>
		<cbc:ID>1</cbc:ID>
		<cbc:Note>Free text note</cbc:Note>
		<cbc:InvoicedQuantity unitCode="C62">10</cbc:InvoicedQuantity>
		<cbc:LineExtensionAmount currencyID="GBP">990</cbc:LineExtensionAmount>
		<cbc:AccountingCost>1287:65464</cbc:AccountingCost>
		<cac:InvoicePeriod>
			<cbc:StartDate>2024-07-18</cbc:StartDate>
			<cbc:EndDate>2024-07-18</cbc:EndDate>
		</cac:InvoicePeriod>
		<cac:OrderLineReference>
			<cbc:LineID>1</cbc:LineID>
		</cac:OrderLineReference>
		<cac:DocumentReference>
			<!-- Despatch Document Reference (2.1.8 <DatiDDT>) -->
			<cbc:ID schemeID="AAK">DESP987654</cbc:ID>
			<cbc:DocumentTypeCode>130</cbc:DocumentTypeCode>
		</cac:DocumentReference>
		<cac:AllowanceCharge>
			<cbc:ChargeIndicator>true</cbc:ChargeIndicator>
			<cbc:AllowanceChargeReasonCode>FC</cbc:AllowanceChargeReasonCode>
			<cbc:AllowanceChargeReason>Freight charge</cbc:AllowanceChargeReason>
			<cbc:MultiplierFactorNumeric>10.00</cbc:MultiplierFactorNumeric>
			<cbc:Amount currencyID="GBP">90.00</cbc:Amount>
			<cbc:BaseAmount currencyID="GBP">900.00</cbc:BaseAmount>
		</cac:AllowanceCharge>
		<cac:Item>
			<cbc:Description>The article that we sold you</cbc:Description>
			<cbc:Name>Article 999</cbc:Name>
			<cac:BuyersItemIdentification>
				<cbc:ID>112233445566</cbc:ID>
			</cac:BuyersItemIdentification>
			<cac:SellersItemIdentification>
				<cbc:ID>112233445566</cbc:ID>
			</cac:SellersItemIdentification>
			<cac:StandardItemIdentification>
				<cbc:ID schemeID="0088">4444444444444</cbc:ID>
			</cac:StandardItemIdentification>
			<cac:OriginCountry>
				<cbc:IdentificationCode>CN</cbc:IdentificationCode>
			</cac:OriginCountry>
			<cac:CommodityClassification>
				<cbc:ItemClassificationCode listID="STI" listVersionID="1.0">12345</cbc:ItemClassificationCode>
			</cac:CommodityClassification>
			<cac:ClassifiedTaxCategory>
				<cbc:ID>E</cbc:ID>
				<cbc:Percent>0</cbc:Percent>
				<cac:TaxScheme>
					<cbc:ID>VAT</cbc:ID>
				</cac:TaxScheme>
			</cac:ClassifiedTaxCategory>
			<cac:AdditionalItemProperty>
				<cbc:Name>Color</cbc:Name>
				<cbc:Value>Black</cbc:Value>
			</cac:AdditionalItemProperty>
		</cac:Item>
		<cac:Price>
			<cbc:PriceAmount currencyID="GBP">90.00</cbc:PriceAmount>
			<cbc:BaseQuantity unitCode="C62">1</cbc:BaseQuantity>
			<cac:AllowanceCharge>
				<cbc:ChargeIndicator>false</cbc:ChargeIndicator>
				<cbc:Amount currencyID="GBP">10.00</cbc:Amount>
				<cbc:BaseAmount currencyID="GBP">100.00</cbc:BaseAmount>
			</cac:AllowanceCharge>
		</cac:Price>
	</cac:InvoiceLine>
	<cac:InvoiceLine>
		<cbc:ID>2</cbc:ID>
		<cbc:Note>Free text note</cbc:Note>
		<cbc:InvoicedQuantity unitCode="C62">10</cbc:InvoicedQuantity>
		<cbc:LineExtensionAmount currencyID="GBP">990</cbc:LineExtensionAmount>
		<cbc:AccountingCost>1287:65464</cbc:AccountingCost>
		<cac:InvoicePeriod>
			<cbc:StartDate>2024-07-18</cbc:StartDate>
			<cbc:EndDate>2024-07-18</cbc:EndDate>
		</cac:InvoicePeriod>
		<cac:OrderLineReference>
			<cbc:LineID>1</cbc:LineID>
		</cac:OrderLineReference>
		<cac:DocumentReference>
			<!-- Despatch Document Reference (2.1.8 <DatiDDT>) -->
			<cbc:ID schemeID="AAK">DESP987654</cbc:ID>
			<cbc:DocumentTypeCode>130</cbc:DocumentTypeCode>
		</cac:DocumentReference>
		<cac:AllowanceCharge>
			<cbc:ChargeIndicator>true</cbc:ChargeIndicator>
			<cbc:AllowanceChargeReasonCode>FC</cbc:AllowanceChargeReasonCode>
			<cbc:AllowanceChargeReason>Freight charge</cbc:AllowanceChargeReason>
			<cbc:MultiplierFactorNumeric>10.00</cbc:MultiplierFactorNumeric>
			<cbc:Amount currencyID="GBP">90.00</cbc:Amount>
			<cbc:BaseAmount currencyID="GBP">900</cbc:BaseAmount>
		</cac:AllowanceCharge>
		<cac:Item>
			<cbc:Description>The article that we sold you</cbc:Description>
			<cbc:Name>Article 998</cbc:Name>
			<cac:BuyersItemIdentification>
				<cbc:ID>112233445565</cbc:ID>
			</cac:BuyersItemIdentification>
			<cac:SellersItemIdentification>
				<cbc:ID>112233445565</cbc:ID>
			</cac:SellersItemIdentification>
			<cac:StandardItemIdentification>
				<cbc:ID schemeID="0088">4444444444443</cbc:ID>
			</cac:StandardItemIdentification>
			<cac:OriginCountry>
				<cbc:IdentificationCode>CN</cbc:IdentificationCode>
			</cac:OriginCountry>
			<cac:CommodityClassification>
				<cbc:ItemClassificationCode listID="STI" listVersionID="1.0">12345</cbc:ItemClassificationCode>
			</cac:CommodityClassification>
			<cac:ClassifiedTaxCategory>
				<cbc:ID>E</cbc:ID>
				<cbc:Percent>0</cbc:Percent>
				<cac:TaxScheme>
					<cbc:ID>VAT</cbc:ID>
				</cac:TaxScheme>
			</cac:ClassifiedTaxCategory>
			<cac:AdditionalItemProperty>
				<cbc:Name>Color</cbc:Name>
				<cbc:Value>White</cbc:Value>
			</cac:AdditionalItemProperty>
		</cac:Item>
		<cac:Price>
			<cbc:PriceAmount currencyID="GBP">90.00</cbc:PriceAmount>
			<cbc:BaseQuantity unitCode="C62">1</cbc:BaseQuantity>
			<cac:AllowanceCharge>
				<cbc:ChargeIndicator>false</cbc:ChargeIndicator>
				<cbc:Amount currencyID="GBP">10.00</cbc:Amount>
				<cbc:BaseAmount currencyID="GBP">100.00</cbc:BaseAmount>
			</cac:AllowanceCharge>
		</cac:Price>
	</cac:InvoiceLine>
</Invoice>