Created
September 19, 2016 09:00
-
-
Save WietseWind/2c9638aacce5cb849a5f0cf577fb546c to your computer and use it in GitHub Desktop.
UBL Template XML
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<nl-inv:Invoice xsi:schemaLocation="http://www.nltaxonomie.nl/ubl/2.0/NL/1.0/xsd/maindoc/UBL-NL-Invoice ../xsd/maindoc/UBL-NL-Invoice-1.0.xsd" xmlns:nl-inv="http://www.nltaxonomie.nl/ubl/2.0/NL/1.0/xsd/maindoc/UBL-NL-Invoice" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2"> | |
<cbc:UBLVersionID>2.0</cbc:UBLVersionID> | |
<cbc:CustomizationID>1.0</cbc:CustomizationID> | |
<cbc:ProfileID>NL</cbc:ProfileID> | |
<cbc:ID>{{ invoiceNumber }}</cbc:ID> | |
<cbc:CopyIndicator>false</cbc:CopyIndicator> | |
<cbc:IssueDate>{{ invoiceDate }}</cbc:IssueDate> | |
<cbc:InvoiceTypeCode listAgencyID="88" listAgencyName="Logius Gegevensbeheer NL-Overheid" listID="NL-1001" listName="FactuurSoort" listSchemeURI="http://www.nltaxonomie.nl/ubl/2.0/NL/1.0/cl/gc/NL-InvoiceCode" listURI="http://www.nltaxonomie.nl/ubl/2.0/NL/1.0/cl/gc/NL-InvoiceCode-1.0.gc" listVersionID="0.1">D</cbc:InvoiceTypeCode> | |
<cac:AccountingSupplierParty> | |
<cac:Party> | |
<cac:PartyIdentification> | |
<cbc:ID schemeAgencyID="nl" schemeAgencyName="256"></cbc:ID> | |
</cac:PartyIdentification> | |
<cac:PartyName> | |
<cbc:Name>{{ companyName }}</cbc:Name> | |
</cac:PartyName> | |
<cac:PhysicalLocation> | |
<cac:Address> | |
<cbc:StreetName>{{ companyStreet }}</cbc:StreetName> | |
<cbc:BuildingNumber>{{ companyStreetNo }}</cbc:BuildingNumber> | |
<cbc:CityName>{{ companyCity }}</cbc:CityName> | |
<cbc:PostalZone>{{ companyZip }}</cbc:PostalZone> | |
<cac:Country> | |
<cbc:IdentificationCode listAgencyName="United Nations Economic Commission for Europe" listAgencyID="6" listName="Country" listID="ISO3166-1" listSchemeURI="urn:oasis:names:specification:ubl:codelist:gc:CountryIdentificationCode-2.0" listURI="http://docs.oasis-open.org/ubl/os-UBL-2.0-update/cl/gc/default/CountryIdentificationCode-2.0.gc" listVersionID="0.3">{{ companyCountryIso2 }}</cbc:IdentificationCode> | |
</cac:Country> | |
</cac:Address> | |
</cac:PhysicalLocation><cac:PartyTaxScheme> | |
<cbc:CompanyID schemeAgencyName="belastingdienst">{{ companyVatId }}</cbc:CompanyID> | |
<cac:TaxScheme> | |
<cbc:ID schemeAgencyName=""/> | |
</cac:TaxScheme> | |
</cac:PartyTaxScheme> | |
<cac:Contact> | |
<cbc:Telephone>{{ companyTelNo }}</cbc:Telephone> | |
<cbc:ElectronicMail>{{ companyFinanceMail }}</cbc:ElectronicMail> | |
</cac:Contact> | |
</cac:Party> | |
</cac:AccountingSupplierParty> | |
<cac:AccountingCustomerParty> | |
<cbc:SupplierAssignedAccountID>10001</cbc:SupplierAssignedAccountID> | |
<cac:Party> | |
<cac:PartyIdentification> | |
<cbc:ID schemeAgencyID="nl" schemeAgencyName="256"></cbc:ID> | |
</cac:PartyIdentification> | |
<cac:PartyName> | |
<cbc:Name>{{ customerName }}</cbc:Name> | |
</cac:PartyName> | |
<cac:PhysicalLocation> | |
<cac:Address> | |
<cbc:StreetName>{{ customerStreet }}</cbc:StreetName> | |
<cbc:BuildingNumber>{{ customerStreetNo }}</cbc:BuildingNumber> | |
<cbc:CityName>{{ customerCity }}</cbc:CityName> | |
<cbc:PostalZone>{{ customerZip }}</cbc:PostalZone> | |
<cac:Country> | |
<cbc:IdentificationCode listAgencyName="United Nations Economic Commission for Europe" listAgencyID="6" listName="Country" listID="ISO3166-1" listSchemeURI="urn:oasis:names:specification:ubl:codelist:gc:CountryIdentificationCode-2.0" listURI="http://docs.oasis-open.org/ubl/os-UBL-2.0-update/cl/gc/default/CountryIdentificationCode-2.0.gc" listVersionID="0.3">{{ customerCountryIso2 }}</cbc:IdentificationCode> | |
</cac:Country> | |
</cac:Address> | |
</cac:PhysicalLocation> | |
<cac:PartyTaxScheme> | |
<cbc:CompanyID schemeAgencyName="belastingdienst"></cbc:CompanyID> | |
<cac:TaxScheme> | |
<cbc:ID/> | |
</cac:TaxScheme> | |
</cac:PartyTaxScheme> | |
<cac:Contact> | |
<cbc:Telephone>{{ customerTelNo }}</cbc:Telephone> | |
<cbc:ElectronicMail>{{ customerFinanceMail }}</cbc:ElectronicMail> | |
</cac:Contact> | |
</cac:Party> | |
</cac:AccountingCustomerParty> | |
<cac:Delivery> | |
<cbc:ActualDeliveryDate>{{ invoiceDate }}</cbc:ActualDeliveryDate> | |
</cac:Delivery> | |
<cac:PaymentMeans> | |
<cbc:PaymentMeansCode>00</cbc:PaymentMeansCode> | |
<cac:PayeeFinancialAccount> | |
<cbc:ID>{{ iban }}</cbc:ID> | |
<cac:FinancialInstitutionBranch> | |
<cac:FinancialInstitution> | |
<cbc:ID>{{ bic }}</cbc:ID> | |
</cac:FinancialInstitution> | |
</cac:FinancialInstitutionBranch> | |
</cac:PayeeFinancialAccount> | |
</cac:PaymentMeans> | |
<cac:PaymentTerms> | |
<cbc:SettlementDiscountPercent>0.00</cbc:SettlementDiscountPercent> | |
<cac:PenaltyPeriod> | |
<cbc:EndDate>{{ expDate }}</cbc:EndDate> | |
</cac:PenaltyPeriod> | |
</cac:PaymentTerms> | |
<cac:TaxTotal> | |
<cbc:TaxAmount currencyID="EUR">{{ vatAmount }}</cbc:TaxAmount> | |
<cac:TaxSubtotal> | |
<cbc:TaxableAmount currencyID="EUR">{{ totalExVat }}</cbc:TaxableAmount> | |
<cbc:TaxAmount currencyID="EUR">{{ totalVat }}</cbc:TaxAmount> | |
<cbc:Percent>{{ vatPercentage }}</cbc:Percent> | |
<cac:TaxCategory> | |
<cbc:ID/> | |
<cac:TaxScheme> | |
<cbc:ID/> | |
</cac:TaxScheme> | |
</cac:TaxCategory> | |
</cac:TaxSubtotal> | |
</cac:TaxTotal> | |
<cac:LegalMonetaryTotal> | |
<cbc:LineExtensionAmount currencyID="EUR">{{ totalExVat }}</cbc:LineExtensionAmount> | |
<cbc:TaxExclusiveAmount currencyID="EUR">{{ totalExVat }}</cbc:TaxExclusiveAmount> | |
<cbc:TaxInclusiveAmount currencyID="EUR">{{ totalInVat }}</cbc:TaxInclusiveAmount> | |
<cbc:PayableAmount currencyID="EUR">{{ totalInVat }}</cbc:PayableAmount> | |
</cac:LegalMonetaryTotal> | |
<cac:InvoiceLine> | |
<cbc:ID>{{ lineId }}</cbc:ID> | |
<cbc:InvoicedQuantity unitCode="ZZ">{{ lineQuantity }}</cbc:InvoicedQuantity> | |
<cbc:LineExtensionAmount currencyID="EUR">{{ lineExVat }}</cbc:LineExtensionAmount> | |
<cbc:FreeOfChargeIndicator>false</cbc:FreeOfChargeIndicator> | |
<cac:AllowanceCharge> | |
<cbc:ID></cbc:ID> | |
<cbc:ChargeIndicator>false</cbc:ChargeIndicator> | |
<cbc:MultiplierFactorNumeric>0.00</cbc:MultiplierFactorNumeric> | |
<cbc:Amount currencyID="EUR">0.00</cbc:Amount> | |
<cbc:BaseAmount currencyID="EUR">{{ lineExVat }}</cbc:BaseAmount> | |
</cac:AllowanceCharge> | |
<cac:TaxTotal> | |
<cbc:TaxAmount currencyID="EUR">{{ lineVat }}</cbc:TaxAmount> | |
<cac:TaxSubtotal> | |
<cbc:TaxableAmount currencyID="EUR">{{ lineExVat }}</cbc:TaxableAmount> | |
<cbc:TaxAmount currencyID="EUR">{{ lineVat }}</cbc:TaxAmount> | |
<cbc:Percent>{{ lineVatPercentage }}</cbc:Percent> | |
<cac:TaxCategory> | |
<cac:TaxScheme/> | |
</cac:TaxCategory> | |
</cac:TaxSubtotal> | |
</cac:TaxTotal> | |
<cac:Item> | |
<cbc:Description>{{ lineDesc }}</cbc:Description> | |
<cbc:CatalogueIndicator>false</cbc:CatalogueIndicator> | |
<cbc:Name>{{ lineDesc }}</cbc:Name> | |
<cbc:AdditionalInformation/> | |
<cac:BuyersItemIdentification> | |
<cbc:ID></cbc:ID> | |
</cac:BuyersItemIdentification> | |
<cac:SellersItemIdentification> | |
<cbc:ID>254</cbc:ID> | |
</cac:SellersItemIdentification> | |
</cac:Item> | |
<cac:Price> | |
<cbc:PriceAmount currencyID="EUR">{{ lineExVat }}</cbc:PriceAmount> | |
<cbc:BaseQuantity unitCode="ZZ">{{ lineQuantity }}</cbc:BaseQuantity> | |
</cac:Price> | |
</cac:InvoiceLine> | |
</nl-inv:Invoice> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment