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
Anders: AfasFbSalesInvoice.AfasFbCustomerReference

Bij Leeg: Bijbehorende order
Anders: Opdrachtnummer/referentie

BT-13

2

cbc

/Invoice/cac:OrderReference/cbc:ID

Geen SETU en BE

Als AfasFbCustomerReference = leeg dan AfasFbSalesInvoice.AfasPtInvoiceId

Bij Leeg: Factuurnummer
Anders: Opdrachtnummer/referentie

 

 

 

 

 

 

 

 

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

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

Klik hier voor

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

Klik hier voor meer informatie over de opbouw van het UBL-onderdeel Verwijzing naar project (ProjectReference).

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
Anders AfasKnUnitPar.AfasKnBusinessIdentification - KvK administratie
Anders unknown

Vertaald:
Als KvK nummer op de administratie leeg is, dan KvK nummer op de gekoppelde organisatie, anders Unknown.

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
Anders AfasKnUnitPar.AfasKnBusinessIdentification - Btw
Als btw is leeg dan AFasFiUnitPar.AfasFiTaxNumber niet leeg is: AfasFiTaxNumber

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
Als deze waardes leeg zijn dan wordt het veld gevuld met "Unknown"

BT-30

4

cbc

/Invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID

BE

Voorwaarde

Ondernemingsnummer, anders terugvallen op btw-nummer. Anders Unknown

Als Peppol gevuld is, dan pakken we die

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

Klik hier voor meer informatie over de opbouw van het UBL-onderdeel Afzender factuur (Accounting SupplierParty).

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.
We gaan dus niet kijken naar Afwijkend OIN nummer op project.

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
Als Btw-identificatienummer op verkooprelatie is leeg, maar ondernemersnummer is gevuld op Organisatie/persoon: SchemeID=0208 value=AfasKnBasicContact.AfasKnChOfCommNr
Als bovenstaande is niet doorgegaan: SchemeID=0087 value="Unknown"

 

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
Als OIN is gevult op project: SchemeID=0190 value=AfasPtProject.AfasPtOINumber
Als OIN is niet gevult op project, maar wel bij verkooprelatie: SchemeID=0190 value=AfasKnSalRelation.AfasKnOINumber
Als OIN is leeg, maar KVK is gevuld op Organisatie/persoon: SchemeId=0106 value=AfasKnBasicContact.AfasKnChOfCommNr
Als bovenstaande is niet doorgegaan: SchemeID=0106 value="Unknown"

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
Als bij Verkooprelatie, voorkeurcontact is gevuld en bij het contact zelf de email is gevuld: AfasKnContactData.AfasKnEmail
Als bij Verkooprelatie, voorkeurcontact is gevuld, maar bij het contact is geen email aanwezig: AfasKnBasicContact.AfasKnEmail
Als bovenstande niet doorgaat: AfasKnBasicContact.AfasKnEmail

Klik hier voor meer informatie over de opbouw van het UBL-onderdeel Ontvanger factuur (Accounting CustomerParty).

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.
Staat betaalwijze op 00 en incasseren op False, dan geven we 58 mee op normale rekening en G-rekening..
Anders 57.

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
Anders: AfasKnBankAccountNr.AfasKnIbanCode - ibannummer uit de administratie
VERKOOPRELATIEPROFIEL

 

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
dan AfasKnBankAccountNr.AfasKnBicCode
Anders leeg

BT-89

3

cbc

/Invoice/cac:PaymentMeans/cac:PaymentMandate/cbc:ID

Niet gebruikt

Als geen incassomachting gevonden, dan N/A.
Als incassomachtiging is vervallen, dan N/A.
Hierbij ook als factuur op incasseren staat, maar er geen active incassomachtiging is, de volgende foutmelding geven: 'Er is geen incassomachtiging bij deze debiteur aanwezig. De factuur mag dus niet op incasseren staan.'

 

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

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
Als het bedrag negatief is dan: true

BT-97

2

cbc

/Invoice/cac:AllowanceCharge/cbc:AllowanceChargeReason

Voorwaarde

Als bedrag positief is dan: Factuurkorting
Als het bedrag negatief is dan: FactuurToeslag

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
Verkopen binnen EU: AE
Vrijgesteld: Z
Verkopen standaard: S of Z (bij nulverkoop)
Verlegd naar: AE
Intercompany: E
Verkopen buiten EU: G

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
Verkopen binnen EU: AE
Vrijgesteld: Z
Verkopen standaard: S of Z (bij nulverkoop)
Verlegd naar: AE
Intercompany: E
Verkopen buiten EU: G

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,
= Invoice total amount with VAT (BT-112) - Paid amount (BT-113) + Rounding amount (BT-114)

 

3

cbc

/Invoice/cac:LegalMonetaryTotal/cbc:PayableAmount/@currencyID

Waarde uit Profit

Valuta

Klik hier voor meer informatie over de opbouw van het UBL-onderdeel Factuurtotalen (LegalMonetaryTotal).

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'
unitCode={eenheid UBL} value=AfasFbSalesInvoiceLines.AfasFbQuantityInvoice

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)
Als 1 van de 2 leeg is, dan AfasFbSalesInvoiceLines.AfasFbOrderDate

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)
Als 1 van de 2 leeg is, dan AfasFbSalesInvoiceLines.AfasFbOrderDate

 

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'
Als het dus negatief is: value = 'True'

BT-139

3

cbc

/Invoice/cac:InvoiceLine/cac:AllowanceCharge/cbc:AllowanceChargeReason

 

Voorwaarde

Als AfasFbSalesInvoiceLines.AfasFbAmtRowDiscount positief is: value = 'Korting'
Als het dus negatief is: value = 'Toeslag'

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
Anders AfasFbSalesInvoiceLines.AfasFbDescription
Als dit uiteindelijk nog steeds niks oplevert dan 'Empty'

BT-153

3

cbc

/Invoice/cac:InvoiceLine/cac:Item/cbc:Name

 

Voorwaarde

Als AfasFbSalesInvoiceLines.AfasFbDescriptionExtern gevuld is, dan AfasFbSalesInvoiceLines.AfasFbDescriptionExtern
Anders AfasFbSalesInvoiceLines.AfasFbDescription
Als dit uiteindelijk nog steeds niks oplevert dan 'Empty'

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.
Als dat niet gevonden word, dan als:
- AfasFbSalesInvoiceLines.AfasFbItemType(Type item) = 1 (Werksoort), dan value="Regular"
- AfasFbSalesInvoiceLines.AfasFbItemType(Type item) = 6 (Kostensoort), dan value="Other deviant invoicing"

 

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
AfasFbItemCodeCust waar gezocht naar wordt via join op AfasFbSalesInvoiceLines op
velden ItemCodeId, OrderNumber en DebtorID. Als Conditie doorgaat dan AfasFbItemCodeCust.AfasFbItemCodeCust -- itemcode verkooprelatie

 

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)
Anders AfasFbSalesInvoiceLines.AfasFbPrice(Prijs)

 

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'
& aantal eenheden

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
aantal decimalen van de valuta

 

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).

Direct naar

  1. E-factuur inrichten (verkoopfactuur)
  2. Inrichting facturering
  3. E-mailserver en afzender instellen
  4. Berichtsjabloon inrichten
  5. Bankrekeningnummer e-factuur instellen
  6. Neem contact op met verkooprelatie voor toestemming en juiste UBL-versie
  7. Verkooprelatie voor e-facturering inrichten
  8. E-factuur via Peppol inrichten (inkoopfactuur en verkoopfactuur)
  9. E-factuur via e-Verbinding inrichten (inkoopfactuur en verkoopfactuur)