Van NLCIUS naar e-factuur (verkoopfactuur)
Je kunt in Profit de facturen aan je verkooprelaties verstrekken als e-factuur. Dit houdt in dat de verkooprelatie/debiteur twee bestanden ontvangt: een pdf-bestand en een UBL-bestand volgens Peppol NLCIUS formaat. De verkooprelatie/debiteur kan de e-verkoopfactuur direct als inkoopfactuur inlezen in zijn financiële administratie en verwerken.
In de onderstaande tabellen wordt per UBL-element van de e-factuur (verkoopfactuur) toegelicht:
- welke informatie in het element gevuld wordt;
- waar de betreffende informatie vandaan komt.
Aan de hand van onderstaande tabellen kun je zien hoe Profit de UBL van de e-factuur (verkoopfactuur) opbouwt. De tabellen geven een overzicht van de velden die in de UBL staan én vanuit welke bron deze velden worden gevuld.
|
Inhoud |
Begin, algemene factuurgegevens, (overige) referenties
Niveau |
|
|
Path/UBL-element |
Voorwaarde |
Waarde |
|
|
|
|
/Invoice - kopgegevens |
|
|
|
BT-24 |
1 |
cbc |
/Invoice/cbc:CustomizationID |
|
Vaste waarde |
urn:cen.eu:en16931:2017#compliant#urn:fdc:nen.nl:nlcius:v1.0 |
BT-23 |
1 |
cbc |
/Invoice/cbc:ProfileID |
|
Vaste waarde |
urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 |
BT-1 |
1 |
cbc |
/Invoice/cbc:ID |
|
Waarde uit factuur |
AfasFbSalesInvoice.AfasFbOrderNumber - Factuurnummer |
BT-2 |
1 |
cbc |
/Invoice/cbc:IssueDate |
|
Waarde uit factuur |
AfasFbSalesInvoice.AfasFbOrderDate - factuurdatum |
BT-9 |
1 |
cbc |
/Invoice/cbc:DueDate |
|
Als aanwezig, dan waarde uit factuur |
AfasFbSalesInvoice.AfasFbDueDate - Vervaldatum |
BT-3 |
1 |
cbc |
/Invoice/cbc:InvoiceTypeCode |
|
ALS functie op bedrag (positief / negatief) |
380(Factuur) of 384(Creditnota) |
BT-21 |
1 |
cbc |
/Invoice/cbc:Note |
|
|
|
BT-22 |
1 |
cbc |
/Invoice/cbc:Note |
|
Als aanwezig, dan waarde uit factuur |
AfasFbSalesInvoice.AfasFbRemark - Opmerking |
BT-5 |
1 |
cbc |
/Invoice/cbc:DocumentCurrencyCode |
|
Waarde uit factuur |
AfasFbSalesInvoice.AfasFbCurrencyId - Valuta |
BT-19 |
1 |
cbc |
/Invoice/cbc:AccountingCost |
SETU |
Als verzamelmethode is op splitsen kostenplaats en er maar 1 kostenplaats voorkomt. |
AfasPtDeclaration.AfasPtCostCentreSalRel - Kostenplaats |
|
|
|
|
|
|
|
BG-14 |
1 |
cac |
/Invoice/cac:InvoicePeriod - periode waarop de factuur betrekking heeft |
|
|
|
BT-73 |
2 |
cbc |
/Invoice/cac:InvoicePeriod/cbc:StartDate |
|
Als aanwezig, dan waarde uit factuur |
AfasFbSalesInvoice.AfasFbPeriodStartDate - Begindatum |
BT-74 |
2 |
cbc |
/invoice/cac:InvoicePeriod/cbc:EndDate |
|
Als aanwezig, dan waarde uit factuur |
AFasFbSalesInvoice.AfasFbPeriodEndDate - Einddatum |
|
|
|
|
|
|
|
|
1 |
cac |
/Invoice/cac:OrderReference - verwijzing naar de order |
|
|
|
BT-13 |
2 |
cbc |
/Invoice/cac:OrderReference/cbc:ID |
SETU |
|
AfasPtDeclaration.AfasPtCustomerReference - Referentie opdrachtgever |
BT-13 |
2 |
cbc |
/Invoice/cac:OrderReference/cbc:ID |
Geen SETU en NL |
Als AfasFbCustomerReference = leeg: AFasFbSalesInvoice.AfasFbSourceOrder |
Bij Leeg: Bijbehorende order |
BT-13 |
2 |
cbc |
/Invoice/cac:OrderReference/cbc:ID |
Geen SETU en BE |
Als AfasFbCustomerReference = leeg dan AfasFbSalesInvoice.AfasPtInvoiceId |
Bij Leeg: Factuurnummer |
|
|
|
|
|
|
|
|
1 |
cac |
/Invoice/cac:BillingReference - verwijzing naar eerdere facturen / creditnota's |
|
|
|
BG-3 |
2 |
cac |
/Invoice/cac:BillingReference/cac:InvoiceDocumentReference |
|
|
|
BT-25 |
3 |
cbc |
/Invoice/cac:BillingReference/cac:InvoiceDocumentReference/cbc:ID |
|
Als het een CreditFactuur (factuur crediteren) is |
AfasFbSalesInvoice.AfasFbCreditedInvoice - Gecrediteerde factuur |
- Klik hier voor meer informatie over de opbouw van het begin van de UBL (verwijzing xml en namespaces).
- Klik hier voor meer informatie over de opbouw van het UBL-onderdeel Algemene factuurgegevens.
- Klik hier voor meer informatie over de opbouw van het UBL-onderdeel (overige) Referenties.
Bijlagen
Niveau |
|
|
Path/UBL-element |
Voorwaarde |
Bron |
Waarde |
BG-24 |
1 |
cac |
/Invoice/cac:AdditionalDocumentReference - verwijzing naar aanvullende documenten (bijlages). |
|
|
|
BT-18 |
2 |
cbc |
/Invoice/cac:AdditionalDocumentReference/cbc:ID |
|
|
Naam PDF (naam VKF) |
BT-122 |
2 |
cbc |
/Invoice/cac:AdditionalDocumentReference/cbc:ID |
|
|
|
|
2 |
cbc |
/Invoice/cac:AdditionalDocumentReference/cbc:DocumentTypeCode |
|
|
|
|
|
|
|
|
|
|
|
2 |
cac |
/Invoice/cac:AdditionalDocumentReference/cac:Attachment |
|
|
|
BT-125 |
3 |
cbc |
/Invoice/cac:AdditionalDocumentReference/cac:Attachment/cbc:EmbeddedDocumentBinaryObject |
|
Alleen bij verzenden naar eVerbinding. Bij samenvoegen bijlage en factuur beide. |
Altijd als losse dingen meesturen als samenvoegen met pdf niet aan staat. Als samenvoegen aan staat, dan alles aan de factuur pdf zetten. We ondersteunen de bestandsextensies PDF, PNG JPG |
Verwijzing naar project
Niveau |
|
|
Path/UBL-element |
Voorwaarde |
Bron |
Waarde |
|
1 |
cac |
/Invoice/cac:ProjectReference - Projectgegevens |
|
|
|
BT-11 |
2 |
cbc |
/Invoice/cac:ProjectReference/cbc:ID |
SETU |
Declaraties heeft geen verschillende projecten |
Als referentie niet leeg is en referentie is gelijk op alle regels: AfasPtDeclaration.AfasPtCustomerReference - Referentie opdrachtgever Anders: AfasPtDeclaration.AfasPtProject - Klantovereenkomst |
BT-11 |
2 |
cbc |
/Invoice/cac:ProjectReference/cbc:ID |
geen SETU |
Als Niet SETU en ProjectID is niet leeg |
AfasFbSalesInvoice.AfasFbProjectId - Projectcode |
Afzender factuur
Niveau |
|
|
Path/UBL-element |
Voorwaarde |
Bron |
Waarde |
BG-4 |
1 |
|
/Invoice/cac:AccountingSupplierParty - Verzendende partij (onze klant) |
|
|
|
|
2 |
cac |
/Invoice/cac:AccountingSupplierParty/cac:Party |
|
|
|
BT-34 |
3 |
cbc |
/Invoice/cac:AccountingSupplierParty/cac:Party/cbc:EndpointID |
NL |
Als Nederlands administratie is en er een KVK nummer is |
Als AfasKnUnitPar.AfasKnBusinessIdentification is leeg: AfasKnBasiccontact.AfasKnChOfCommNr - KvK organisatie |
BT-34 |
3 |
cbc |
/Invoice/cac:AccountingSupplierParty/cac:Party/cbc:EndpointID |
BE |
Als belgische administratie is en er een ondernemeningsnummer (KvK) of BTW nummer is |
Als AfasKnUnitPar.AfasKnBusinessIdentification is leeg: AfasKnBasiccontact.AfasKnChOfCommNr - KvK |
BT-34-1 |
4 |
cbc |
/Invoice/cac:AccountingSupplierParty/cac:Party/cbc:EndpointID/@schemeID |
Voorwaarde |
|
Dit is de code van de verzender (0106, 0190 etc). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
cac |
/Invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyName |
|
|
|
BT-28 |
4 |
cbc |
/Invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyName/cbc:Name |
|
Waarde uit Profit |
AfasKnUnitPar.AfasKnName - naam |
|
|
|
|
|
|
|
BG-5 |
3 |
cac |
/Invoice/cac:AccountingSupplierParty/cac:Party/cac:PostalAddress |
|
|
|
BT-35 |
4 |
cbc |
/Invoice/cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cbc:StreetName |
|
Voorwaarde |
Als postbus aanstaat dan postbus plus huisnummer, anders straat plus huisnummer |
BT-37 |
4 |
cbc |
/Invoice/cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cbc:CityName |
|
Waarde uit Profit |
Woonplaats |
BT-38 |
4 |
cbc |
/Invoice/cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cbc:PostalZone |
|
Waarde uit Profit |
Postcode |
|
4 |
cac |
/Invoice/cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cac:Country |
|
|
|
BT-40 |
5 |
cbc |
/Invoice/cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cac:Country/cbc:IdentificationCode |
|
Waarde uit Profit |
ISCode/landcode |
|
|
|
|
|
|
|
|
3 |
cac |
/Invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme |
|
|
|
BT-31 |
4 |
cbc |
/Invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cbc:CompanyID |
|
Waarde uit Profit |
Btw nummer |
BT-32 |
4 |
cbc |
/Invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cbc:CompanyID |
|
|
|
|
4 |
cac |
/invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cac:TaxScheme |
|
|
|
|
5 |
cbc |
/invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cac:TaxScheme/cbc:ID |
|
Vaste waarde |
VAT |
|
|
|
|
|
|
|
|
3 |
cac |
/Invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity |
|
|
|
BT-27 |
4 |
cbc |
/Invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:RegistrationName |
|
Waarde uit Profit |
AfasKnUnit.AfasKnName - Naam |
BT-30 |
4 |
cbc |
/Invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID |
NL |
Voorwaarde |
ALS OIN gevuld is, dan OIN, anders AfasKnUnitPar.AfasKnBusinessIdentification - KvK nummer |
BT-30 |
4 |
cbc |
/Invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID |
BE |
Voorwaarde |
Ondernemingsnummer, anders terugvallen op btw-nummer. Anders Unknown |
BT-30-1 |
5 |
cbc |
/Invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID/@schemeID |
|
Voorwaarde |
Dit is de code van de verzender (0106, 0190 etc). |
|
|
|
|
|
|
|
BT-42 |
4 |
cbc |
/Invoice/cac:AccountingSupplierParty/cac:Party/cac:Contact/cbc:Telephone |
|
Voorwaarde |
Als AfasKnUnitPar-AfasKnPhone niet leeg is - telefoonnummer |
BT-43 |
4 |
cbc |
/Invoice/cac:AccountingSupplierParty/cac:Party/cac:Contact/cbc:ElectronicMail |
|
Voorwaarde |
Als Afasknunitpar-AfasKnEmailSender niet leeg is - email |
Ontvanger factuur
Niveau |
|
|
Path/UBL-element |
Voorwaarde |
Bron |
Waarde |
BG-7 |
1 |
cac |
/Invoice/cac:AccountingCustomerParty - Ontvangende partij (klant van onze klant) |
|
|
|
|
2 |
cac |
/Invoice/cac:AccountingCustomerParty/cac:Party |
|
|
|
BT-49 |
3 |
cbc |
/Invoice/cac:AccountingCustomerParty/cac:Party/cbc:EndpointID |
|
Voorwaarde |
Als op de debiteur het Peppol adres gevuld is EN AfasKnIsPeppolActive = JA dan Peppol adrestype. |
BT-49-1 |
4 |
cbc |
/Invoice/cac:AccountingCustomerParty/cac:Party/cbc:EndpointID/@schemeID |
|
|
Zie hierboven, bijbehorende code. |
|
3 |
cac |
/Invoice/cac:AccountingCustomerParty/cac:Party/cac:PartyIdentification |
|
|
|
BT-46 |
4 |
cbc |
/Invoice/cac:AccountingCustomerParty/cac:Party/cac:PartyIdentification/cbc:ID |
|
Voorwaarde |
Als 'Nummer debiteur meesturen in UBL' aan staat in de Financieel basis instellingen, dan debiteurnummer. |
|
3 |
cac |
/Invoice/cac:AccountingCustomerParty/cac:Party/cac:PartyName |
|
|
|
BT-45 |
4 |
cbc |
/Invoice/cac:AccountingCustomerParty/cac:Party/cac:PartyName/cbc:Name |
Veld uit Profit |
Debiteurnaam |
|
BG-8 |
3 |
cac |
/Invoice/cac:AccountingCustomerParty/cac:Party/cac:PostalAddress |
|
|
|
BT-50 |
4 |
cbc |
/Invoice/cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cbc:StreetName |
|
Voorwaarde |
Als postbus aanstaat dan postbus plus huisnummer, anders straat plus huisnummer |
BT-52 |
4 |
cbc |
/Invoice/cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cbc:CityName |
|
Waarde uit Profit |
Woonplaats |
BT-53 |
4 |
cbc |
/Invoice/cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cbc:PostalZone |
|
Waarde uit Profit |
Postcode |
|
4 |
cac |
/Invoice/cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cac:Country |
|
|
|
BT-55 |
5 |
cbc |
/Invoice/cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cac:Country/cbc:IdentificationCode |
|
Waarde uit Profit |
ISCode/landcode |
|
3 |
cac |
/Invoice/cac:AccountingCustomerParty/cac:Party/cac:PartyTaxScheme |
|
Niet gebruikt |
|
BT-48 |
4 |
cbc |
/Invoice/cac:AccountingCustomerParty/cac:Party/cac:PartyTaxScheme/cbc:CompanyID |
|
Niet gebruikt |
Vullen met btw-nummer van de debiteur (als gevuld) |
|
4 |
cac |
/Invoice/cac:AccountingCustomerParty/cac:Party/cac:PartyTaxScheme/cac:TaxScheme |
|
Niet gebruikt |
|
|
5 |
cbc |
/Invoice/cac:AccountingCustomerParty/cac:Party/cac:PartyTaxScheme/cac:TaxScheme/cbc:ID |
|
Niet gebruikt |
Vullen met VAT |
|
3 |
cac |
/Invoice/cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity |
|
|
|
BT-44 |
4 |
cbc |
/Invoice/cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cbc:RegistrationName |
Veld uit Profit |
AfasKnSalRelation.AfasKnDebtorName |
|
BT-47 |
4 |
cbc |
/Invoice/cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID |
BE |
Als Btw-identificatienummer op verkooprelatie is niet leeg: SchemeID=0087 value=AfasKnSalRelation.AfasKnVatAccountId |
|
BT-47 |
4 |
cbc |
/Invoice/cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID |
NL |
Als Projectnummer is gevult, dan gaan we kijken of we OIN kunnen vinden op project, anders altijd van de verkooprelatie |
Moet worden aangeleverd, mag wel Unknown zijn. |
BT-47-1 |
5 |
cbc |
/Invoice/cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID/@schemeID |
|
Zie boven |
|
BG-9 |
3 |
cac |
/Invoice/cac:AccountingCustomerParty/cac:Party/cac:Contact |
|
|
|
BT-56 |
4 |
cbc |
/Invoice/cac:AccountingCustomerParty/cac:Party/cac:Contact/cbc:Name |
|
Niet gebruikt |
Graag contact naam vullen |
BT-57 |
4 |
cbc |
/Invoice/cac:AccountingCustomerParty/cac:Party/cac:Contact/cbc:Telephone |
|
AfasKnBasicContact.AfasKnTelNr - Telnr. Organisatie |
|
BT-58 |
4 |
cbc |
/Invoice/cac:AccountingCustomerParty/cac:Party/cac:Contact/cbc:ElectronicMail |
|
Voorwaarde |
Dit gaat alleen op als de te factureren verkooprelatie hetzelfde is als de verkooprelatie |
Levering
Niveau |
|
|
Path/UBL-element |
Voorwaarde |
Bron |
Waarde |
BG-13 |
1 |
cac |
/Invoice/cac:Delivery - gegevens over de levering van de goederen of diensten |
|
|
|
BT-72 |
2 |
cbc |
/Invoice/cac:Delivery/cbc:ActualDeliveryDate |
|
Voorwaarde |
Als op de factuur, het veld 'Datum levering (toegezegd)' niet leeg is, dan AfasFbSalesInvoice.AfasFbDateDelivProm - Datum toegezegd, anders leeg. |
Klik hier voor meer informatie over de opbouw van het UBL-onderdeel Afleveradres (Delivery).
Betalingsmethode en -conditie
Niveau |
|
|
Path/UBL-element |
Bron |
Waarde |
BG-16 |
1 |
cac |
/Invoice/cac:PaymentMeans - informatie over de betaalmethode |
|
|
BT-81 |
2 |
cbc |
/Invoice/cac:PaymentMeans/cbc:PaymentMeansCode |
Voorwaarde |
Staat betaalwijze op 00 en incasseren op True, dan gaan we 49 meegeven op normale rekening en G-rekening. |
BT-83 |
2 |
cbc |
/Invoice/cac:PaymentMeans/cbc:PaymentID |
Waarde uit Profit |
Betalingskenmerk |
|
|
|
|
|
|
BG-18 |
2 |
cac |
/Invoice/cac:PaymentMeans/cac:CardAccount |
|
|
|
3 |
cbc |
/Invoice/cac:PaymentMeans/cac:CardAccount/cbc:NetworkID |
|
|
BG-17 |
2 |
cac |
/Invoice/cac:PaymentMeans/cac:PayeeFinancialAccount |
|
|
BT-84 |
3 |
cbc |
/Invoice/cac:PaymentMeans/cac:PayeeFinancialAccount/cbc:ID |
Voorwaarde |
Als IBAN-nummer leeg is op de bankrekening dan waarde: AfasKnBankAccountNr.AfasKnBankGiroNumber - bankrekening uit de administratie |
|
3 |
cac |
/Invoice/cac:PaymentMeans/cac:PayeeFinancialAccount/cac:FinancialInstitutionBranch |
|
|
BT-86 |
4 |
cbc |
/Invoice/cac:PaymentMeans/cac:PayeeFinancialAccount/cac:FinancialInstitutionBranch/cbc:ID |
Voorwaarde |
Als PaymentMeansCode niet 58 of 59 is |
BT-89 |
3 |
cbc |
/Invoice/cac:PaymentMeans/cac:PaymentMandate/cbc:ID |
Niet gebruikt |
Als geen incassomachting gevonden, dan N/A. |
|
3 |
cac |
/Invoice/cac:PaymentMeans/cac:PaymentMandate/cac:PayerFinancialAccount |
|
|
|
|
|
|
|
|
|
1 |
cac |
/Invoice/cac:PaymentMeans/cac:PaymentTerms - informatie over de betaalvoorwaarde |
|
|
BT-20 |
2 |
cbc |
/Invoice/cac:PaymentMeans/cac:PaymentTerms/cbc:Note |
Voorwaarde |
Deze is alleen zichtbaar als er GEEN bedrag betaalt moet worden op een G-rekening. Omschrijving betalingsvoorwaarde |
- Klik hier voor meer informatie over de opbouw van het UBL-onderdeel Betalingsmethode (PaymentMeans).
- Klik hier voor meer informatie over de opbouw van het UBL-onderdeel Betalingsconditie (PaymentTerms).
Zie ook:
Factuurkorting
Niveau |
|
|
Path/UBL-element |
Bron |
Waarde |
BG-20 |
1 |
cac |
/Invoice/cac:AllowanceCharge - over kortingen en toeslagen op factuurniveau |
|
|
|
2 |
cbc |
/Invoice/cac:AllowanceCharge/cbc:ChargeIndicator |
Voorwaarde |
Als bedrag positief is dan: false |
BT-97 |
2 |
cbc |
/Invoice/cac:AllowanceCharge/cbc:AllowanceChargeReason |
Voorwaarde |
Als bedrag positief is dan: Factuurkorting |
BT-104 |
2 |
cbc |
/Invoice/cac:AllowanceCharge/cbc:AllowanceChargeReason |
|
|
BT-94 |
2 |
cbc |
/Invoice/cac:AllowanceCharge/cbc:MultiplierFactorNumeric |
Veld uit Profit |
AfasFbSalesInvoice.AfasFbDiscountPct - Factuurkorting (%) |
BT-92 |
2 |
cbc |
/Invoice/cac:AllowanceCharge/cbc:Amount |
Berekening |
Neem AfasFbAmtInvDiscount. |
|
3 |
cbc |
/Invoice/cac:AllowanceCharge/cbc:Amount/@currencyID |
Veld uit Profit |
Valuta |
BT-93 |
2 |
cbc |
/Invoice/cac:AllowanceCharge/cbc:BaseAmount |
Veld uit Profit |
currencyID=AfasFbSalesInvoice.AfasFbCurrencyId value=TaxableAmountEx. Bedrag excl. Btw |
|
3 |
cbc |
/Invoice/cac:AllowanceCharge/cbc:BaseAmount/@currencyID |
Veld uit Profit |
Valuta |
|
|
|
|
|
|
|
2 |
cac |
/Invoice/cac:AllowanceCharge/cac:TaxCategory |
|
|
BT-95 |
3 |
cbc |
/Invoice/cac:AllowanceCharge/cac:TaxCategory/cbc:ID |
Voorwaarde |
1 van deze waardes: E, AE, G, Z, S |
BT-102 |
3 |
cbc |
/Invoice/cac:AllowanceCharge/cac:TaxCategory/cbc:ID |
|
|
BT-96 |
3 |
cbc |
/Invoice/cac:AllowanceCharge/cac:TaxCategory/cbc:Percent |
Veld uit Proift |
Percentage van de BTW die bij bovenstaande category hoort |
BT-103 |
3 |
cbc |
/Invoice/cac:AllowanceCharge/cac:TaxCategory/cbc:Percent |
|
|
|
3 |
cac |
/Invoice/cac:AllowanceCharge/cac:TaxCategory/cac:TaxScheme |
|
|
|
4 |
cbc |
/Invoice/cac:AllowanceCharge/cac:TaxCategory/cac:TaxScheme/cbc:ID |
Vaste waarde |
VAT |
BTW-totalen
Niveau |
|
|
Path/UBL-element |
Bron |
Waarde |
|
1 |
cac |
/Invoice/cac:TaxTotal - totale belasting |
|
|
BT-110 |
2 |
cbc |
/Invoice/cac:TaxTotal/cbc:TaxAmount |
Veld uit Profit |
Pak hier veld AfasFbVatAmount |
|
3 |
cbc |
/Invoice/cac:TaxTotal/cbc:TaxAmount/@currencyID |
Veld uit Profit |
Valuta |
BG-23 |
2 |
cac |
/Invoice/cac:TaxTotal/cac:TaxSubtotal |
|
|
BT-116 |
3 |
cbc |
/Invoice/cac:TaxTotal/cac:TaxSubtotal/cbc:TaxableAmount |
Veld uit Profit |
currencyID=AfasFbSalesInvoice.AfasFbCurrencyId value=Totale bedrag waarover het specifieke BTW percentage is gegaan |
|
4 |
cbc |
/Invoice/cac:TaxTotal/cac:TaxSubtotal/cbc:TaxableAmount/@currencyID |
Veld uit Profit |
Valuta |
BT-117 |
3 |
cbc |
/Invoice/cac:TaxTotal/cac:TaxSubtotal/cbc:TaxAmount |
Veld uit Profit |
currencyID=AfasFbSalesInvoice.AfasFbCurrencyId value=Totale bedrag aan BTW |
|
4 |
cbc |
/Invoice/cac:TaxTotal/cac:TaxSubtotal/cbc:TaxAmount/@currencyID |
|
|
|
3 |
cac |
/Invoice/cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory |
|
|
BT-118 |
4 |
cbc |
/Invoice/cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory/cbc:ID |
Voorwaarde |
1 van deze waardes: E, AE, G, Z, S |
BT-119 |
4 |
cbc |
/Invoice/cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory/cbc:Percent |
Veld uit Profit |
Percentage van de BTW die bij bovenstaande category hoort |
BT-121 |
4 |
cbc |
/Invoice/cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory/cbc:TaxExemptionReasonCode |
Veld uit Profit |
De omschrijving van de btwcode of als die leeg is Vrijgesteld van BTW. |
BT-120 |
4 |
cbc |
/Invoice/cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory/cbc:TaxExemptionReason |
Voorwaarde |
Als TaxCategory AE of E of G is de omschrijving van de btwcode of als die leeg is Vrijgesteld van BTW. |
|
4 |
cac |
/Invoice/cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory/cac:TaxScheme |
|
|
|
5 |
cbc |
/Invoice/cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory/cac:TaxScheme/cbc:ID |
Vaste waarde |
VAT |
Klik hier voor meer informatie over de opbouw van het UBL-onderdeel BTW-totalen (TaxTotal).
Factuurtotalen
Niveau |
|
|
Path/UBL-element |
Bron |
Waarde |
BG-22 |
1 |
cac |
/Invoice/cac:LegalMonetaryTotal - wettelijk totaalbedrag van de factuur |
|
|
BT-106 |
2 |
cbc |
/Invoice/cac:LegalMonetaryTotal/cbc:LineExtensionAmount |
Waarde uit Profit |
currencyID=AfasFbSalesInvoice.AfasFbCurrencyId value=Totaal bedrag van alle regels exclusief BTW |
|
3 |
cbc |
/Invoice/cac:LegalMonetaryTotal/cbc:LineExtensionAmount/@currencyID |
Waarde uit Profit |
Valuta |
BT-109 |
2 |
cbc |
/Invoice/cac:LegalMonetaryTotal/cbc:TaxExclusiveAmount |
Waarde uit Profit |
Pak veld 'AfasFbAmtTotalEx' |
|
3 |
cbc |
/Invoice/cac:LegalMonetaryTotal/cbc:TaxExclusiveAmount/@currencyID |
Waarde uit Profit |
Valuta |
BT-112 |
2 |
cbc |
/Invoice/cac:LegalMonetaryTotal/cbc:TaxInclusiveAmount |
Waarde uit Profit |
Pak veld 'AfasFbAmtInvoice' |
|
3 |
cbc |
/Invoice/cac:LegalMonetaryTotal/cbc:TaxInclusiveAmount/@currencyID |
Waarde uit Profit |
Valuta |
BT-107 |
2 |
cbc |
/Invoice/cac:LegalMonetaryTotal/cbc:AllowanceTotalAmount |
Waarde uit Profit |
Pak veld 'AfasFbAmtInvDiscount' |
|
3 |
cbc |
/Invoice/cac:LegalMonetaryTotal/cbc:AllowanceTotalAmount/@currencyID |
Waarde uit Profit |
Valuta |
BT-108 |
2 |
cbc |
/Invoice/cac:LegalMonetaryTotal/cbc:ChargeTotalAmount |
Waarde uit Profit |
AfasFbAmtInvDiscount |
|
3 |
cbc |
/Invoice/cac:LegalMonetaryTotal/cbc:ChargeTotalAmount/@currencyID |
Waarde uit Profit |
Valuta |
BT-113 |
2 |
cbc |
/Invoice/cac:LegalMonetaryTotal/cbc:PrepaidAmount |
Waarde uit Profit |
currencyID=AfasFbSalesInvoice.AfasFbCurrencyId value=Som van alle vooruitbetaalde bedragen |
|
3 |
cbc |
/Invoice/cac:LegalMonetaryTotal/cbc:PrepaidAmount/@currencyID |
Waarde uit Profit |
Valuta |
BT-114 |
2 |
cbc |
/Invoice/cac:LegalMonetaryTotal/cbc:PayableRoundingAmount |
Waarde uit Profit |
currencyID=AfasFbSalesInvoice.AfasFbCurrencyId value=Bedrag om de afrondingsverschillen weer recht te trekken |
|
3 |
cbc |
/Invoice/cac:LegalMonetaryTotal/cbc:PayableRoundingAmount/@currencyID |
Waarde uit Profit |
Valuta |
BT-115 |
2 |
cbc |
/Invoice/cac:LegalMonetaryTotal/cbc:PayableAmount |
Waarde uit Profit |
currencyID=AfasFbSalesInvoice.AfasFbCurrencyId value=Openstaande bedrag om te betalen, |
|
3 |
cbc |
/Invoice/cac:LegalMonetaryTotal/cbc:PayableAmount/@currencyID |
Waarde uit Profit |
Valuta |
Factuurregels
Er kunnen zowel verdichte als onverdichte factuurregels in de UBL staan.
Niveau |
|
|
Path/UBL-element |
Voorwaarde |
Bron |
Waarde |
BG-25 |
1 |
cac |
/Invoice/cac:InvoiceLine - details van de factuurregels. |
|
|
|
BT-126 |
2 |
cbc |
/Invoice/cac:InvoiceLine/cbc:ID |
|
Waarde uit Profit |
Sequence nummer van de regel |
BT-127 |
2 |
cbc |
/Invoice/cac:InvoiceLine/cbc:Note |
|
Voorwaarde |
Alleen als veld 'Opmerking extern' gevult is op de factuurregel |
BT-129 |
2 |
cbc |
/Invoice/cac:InvoiceLine/cbc:InvoicedQuantity |
|
Voorwaarde |
Dit getal is positief als de prijs positief is, anders wordt het aantal negatief |
BT-130 |
3 |
cbc |
/Invoice/cac:InvoiceLine/cbc:InvoicedQuantity/@unitCode |
|
|
Als veld 'Eenheid code (UBL)' (dit vul je op de eenheid) gevult is, we halen dus de eenheid van het item op, dan vullen we die in bij 'unitcode', anders wordt de waarde altijd 'EA' |
BT-131 |
2 |
cbc |
/Invoice/cac:InvoiceLine/cbc:LineExtensionAmount |
|
|
currencyID=AfasFbSalesInvoiceLines.AfasFbCurrencyId value=AfasFbSalesInvoiceLines.AfasFbAmtTotalEx - Regelbedrag exclusief |
|
3 |
cbc |
/Invoice/cac:InvoiceLine/cbc:LineExtensionAmount/@currencyID |
|
Waarde uit Profit |
Valuta |
BT-133 |
2 |
cbc |
/Invoice/cac:InvoiceLine/cbc:AccountingCost |
SETU |
Voorwaarde |
Als verzamelmethode van factuur is ingesteld als 'splitsen per kostenplaats' dan AfasPtDeclaration.AfasPtCostCentreSalRel - Kostenplaats |
BT-134 |
3 |
cbc |
/Invoice/cac:InvoiceLine/cac:InvoicePeriod/cbc:StartDate |
|
Voorwaarde |
Als AfasFbSalesInvoiceLines.AfasFbDateStart(Startdatum) en AfasFbSalesInvoiceLines.AfasFbDateEnd(einddatum) niet leeg zijn, dan kijken we of de startdatum voor de einddatum ligt, zoniet, dan wordt de einddatum de startdatum(Dit doen we voor concepten) |
BT-135 |
3 |
cbc |
/Invoice/cac:InvoiceLine/cac:InvoicePeriod/cbc:EndDate |
|
Voorwaarde |
Als AfasFbSalesInvoiceLines.AfasFbDateStart(Startdatum) en AfasFbSalesInvoiceLines.AfasFbDateEnd niet leeg zijn, dan kijken we of de einddatum voor de startdatum ligt, zoniet, dan wordt de startdatum de einddatum(Dit doen we voor concepten) |
|
2 |
cac |
/Invoice/cac:InvoiceLine/cac:DocumentReference |
|
|
|
BT-128 |
3 |
cbc |
/Invoice/cac:InvoiceLine/cac:DocumentReference/cbc:ID |
SETU |
|
AfasPtDeclaration.AfasPtDeclarationCode - Declaratiecode + Als aanwezig AfasPtRealization.AfasPtIdentity -declaratienummer |
|
4 |
cbc |
/Invoice/cac:InvoiceLine/cac:DocumentReference/cbc:DocumentTypeCode |
|
Niet gebruikt |
|
BG-27 |
3 |
cac |
/Invoice/cac:InvoiceLine/cac:AllowanceCharge |
|
Voorwaarde |
Alleen als er regelkorting is. |
BG-28 |
2 |
cac |
/Invoice/cac:InvoiceLine/cac:AllowanceCharge |
|
|
|
|
3 |
cbc |
/Invoice/cac:InvoiceLine/cac:AllowanceCharge/cbc:ChargeIndicator |
|
Voorwaarde |
Als AfasFbSalesInvoiceLines.AfasFbAmtRowDiscount positief is: value = 'false' |
BT-139 |
3 |
cbc |
/Invoice/cac:InvoiceLine/cac:AllowanceCharge/cbc:AllowanceChargeReason |
|
Voorwaarde |
Als AfasFbSalesInvoiceLines.AfasFbAmtRowDiscount positief is: value = 'Korting' |
BT-136 |
3 |
cbc |
/Invoice/cac:InvoiceLine/cac:AllowanceCharge/cbc:Amount |
|
Voorwaarde |
currencyID=AfasFbSalesInvoiceLines.AfasFbCurrencyId value=AfasFbSalesInvoiceLines.AfasFbAmtRowDiscount afgerond op het aantal decimalen van de valuta |
|
4 |
cbc |
/Invoice/cac:InvoiceLine/cac:AllowanceCharge/cbc:Amount/@currencyID |
|
Waarde uit Profit |
Valuta |
BG-31 |
2 |
cac |
/Invoice/cac:InvoiceLine/cac:Item |
|
|
|
BT-154 |
3 |
cbc |
/Invoice/cac:InvoiceLine/cac:Item/cbc:Description |
|
Voorwaarde |
Als AfasFbSalesInvoiceLines.AfasFbDescriptionExtern gevuld is, dan AfasFbSalesInvoiceLines.AfasFbDescriptionExtern |
BT-153 |
3 |
cbc |
/Invoice/cac:InvoiceLine/cac:Item/cbc:Name |
|
Voorwaarde |
Als AfasFbSalesInvoiceLines.AfasFbDescriptionExtern gevuld is, dan AfasFbSalesInvoiceLines.AfasFbDescriptionExtern |
BT-153 |
3 |
cbc |
/Invoice/cac:InvoiceLine/cac:Item/cbc:Name |
SETU |
Voorwaarde |
Als bij de itemcode die gedefinieerd is op AfasFbSalesInvoiceLines.AfasFbItemCodeId een 'SETU-itemsoort code' gevonden kan worden uit de tabel AfasFbSETUItemType, dan value = AfasFbSETUItemType.AfasFbCode in. |
|
3 |
cac |
/Invoice/cac:InvoiceLine/cac:Item/cac:BuyersItemIdentification |
|
|
|
BT-156 |
4 |
cbc |
/Invoice/cac:InvoiceLine/cac:Item/cac:BuyersItemIdentification/cbc:ID |
|
Voorwaarde |
Als veld AfasFbItemCodeCust(Itemcode verkooprelatie) gevonden kan worden in |
|
3 |
cac |
/Invoice/cac:InvoiceLine/cac:Item/cac:SellersItemIdentification |
|
|
|
BT-155 |
4 |
cbc |
/Invoice/cac:InvoiceLine/cac:Item/cac:SellersItemIdentification/cbc:ID |
|
Waarde uit Profit |
AfasFbSalesInvoiceLines.AfasFbItemCodeId - itemcode |
BG-30 |
3 |
cac |
/Invoice/cac:InvoiceLine/cac:Item/cac:ClassifiedTaxCategory |
|
|
|
BT-151 |
4 |
cbc |
/Invoice/cac:InvoiceLine/cac:Item/cac:ClassifiedTaxCategory/cbc:ID |
|
Voorwaarde |
Als AfasFbSalesInvoiceLines.AfasFbVatCode niet leeg is dan kijken we naar onderstaande om de goede code te bepalen, behalve als het vatpercentage 0 is. Dan moet het Z worden " , CASE WHEN Vat.AfasKnValueIntIdTc in ('2','3') then 'AE'" + vbCrLf + 'verlegd " WHEN Vat.AfasKnValueIntIdTc = '4' then 'G'" + vbCrLf + 'export " WHEN Vat.AfasKnValueIntIdTc = '6' then 'E'" + vbCrLf + 'vrijgesteld " WHEN Vtg.AfasKnZeroTarifYN = '1' then 'Z'" + vbCrLf + 'nul tarief " WHEN Vtg.AfasKnVatIctExcluded = '1' then 'E'" + vbCrLf + 'vrijgesteld " WHEN Vtg.AfasKnColumnOVA = '1' then 'S'" + vbCrLf + 'extra verlaagd " WHEN Vtg.AfasKnColumnOVA = '2' then 'S'" + vbCrLf + 'laag " WHEN Vtg.AfasKnColumnOVA = '3' then 'S'" + vbCrLf + 'hoog " ELSE 'S'" + vbCrLf + 'standaard
Als AfasFbSalesInvoiceLines.AfasFbVatCode leeg is, dan Altijd op E zetten |
BT-152 |
4 |
cbc |
/Invoice/cac:InvoiceLine/cac:Item/cac:ClassifiedTaxCategory/cbc:Percent |
|
Waarde uit Profit |
AfasFbSalesInvoiceLines.AfasFbVatPercentage |
|
3 |
cac |
/Invoice/cac:InvoiceLine/cac:Item/cac:ClassifiedTaxCategory/cac:TaxScheme |
|
Vaste waarde |
VAT |
|
4 |
cbc |
/Invoice/cac:InvoiceLine/cac:Item/cac:ClassifiedTaxCategory/cac:TaxScheme/cbc:ID |
|
Vaste waarde |
VAT |
|
|
|
|
|
|
|
BG-32 |
3 |
cac |
/Invoice/cac:InvoiceLine/cac:Item/cac:AdditionalItemProperty |
SETU |
Waarde uit Profit |
Total Hours |
BT-160 |
4 |
cbc |
/Invoice/cac:InvoiceLine/cac:Item/cac:AdditionalItemProperty/cbc:Name |
SETU |
Waarde uit Profit |
AfasPtDeclaration.AfasPtTotalHours - totaalaantal uren |
BT-161 |
4 |
cbc |
/Invoice/cac:InvoiceLine/cac:Item/cac:AdditionalItemProperty/cbc:Value |
SETU |
Waarde uit Profit |
AfasPtDeclaration.AfasPtPeriodId - Periode |
BT-160 |
3 |
cbc |
/Invoice/cac:InvoiceLine/cac:Item/cac:AdditionalItemProperty/cbc:Name |
SETU |
Voorwaarde |
Als mdw is gevuld op factuurregel: naam kandidaat |
BT-161 |
4 |
cbc |
/Invoice/cac:InvoiceLine/cac:Item/cac:AdditionalItemProperty/cbc:Value |
SETU |
Voorwaarde |
Als mdw is gevuld op factuurregel: AfasFbSalesInvoiceLines.AfasFbEmployeeId en dan de omschrijving ervan, zodat je de medewerkernaam en achternaam krijgt |
BG-29 |
2 |
cac |
/Invoice/cac:InvoiceLine/cac:Price |
|
|
|
BT-146 |
3 |
cbc |
/Invoice/cac:InvoiceLine/cac:Price/cbc:PriceAmount |
|
Voorwaarde |
Als er regelkorting is, dan AfasFbSalesInvoiceLines.AfasFbPriceNet(Nettoprijs) |
|
4 |
cbc |
/Invoice/cac:InvoiceLine/cac:Price/cbc:PriceAmount/@currencyID |
|
Waarde uit Profit |
Valuta |
BT-149 |
3 |
cbc |
/Invoice/cac:InvoiceLine/cac:Price/cbc:BaseQuantity |
|
Waarde uit Profit |
Als veld 'Eenheid code (UBL)' gevuld is, we halen dus de eenheid van het item op, dan vullen we die in bij 'unitcode', anders wordt de waarde altijd 'EA' |
BT-150 |
4 |
cbc |
/Invoice/cac:InvoiceLine/cac:Price/cbc:BaseQuantity/@unitCode |
|
|
|
|
3 |
cac |
/Invoice/cac:InvoiceLine/cac:Price/cac:AllowanceCharge |
|
Voorwaarde |
Alleen indien regelkorting |
|
4 |
cbc |
/Invoice/cac:InvoiceLine/cac:Price/cac:AllowanceCharge/cbc:ChargeIndicator |
|
|
|
BT-147 |
4 |
cbc |
/Invoice/cac:InvoiceLine/cac:Price/cac:AllowanceCharge/cbc:Amount |
|
Voorwaarde |
currencyID=AfasFbSalesInvoiceLines.AfasFbCurrencyId value=AfasFbSalesInvoiceLines.AfasFbAmtRowDiscount afgerond op het |
|
5 |
cbc |
/Invoice/cac:InvoiceLine/cac:Price/cac:AllowanceCharge/cbc:Amount/@currencyID |
|
Waarde uit Profit |
Valuta |
Klik hier voor meer informatie over de opbouw van het UBL-onderdeel Factuurregels (InvoiceLines).