MARX#57931: Abonnement Mareon Factuurverwerking (UBL/SALES/PDF)

svn path=/Website/branches/v2019.1/; revision=42941
This commit is contained in:
Marcel Bourseau
2019-06-12 15:45:39 +00:00
parent c17613c4ad
commit ee5ec50fbc
6 changed files with 38 additions and 15 deletions

View File

@@ -11,21 +11,21 @@
<xsl:output method="text" encoding="UTF-8"/>
<xsl:template match="Invoice">
<xsl:comment>woconr;leveranciernr;factuurnr;factuurdatum;onderwerp;opdrachtnr;omschrijving;bedrag;btwperc;btwbedrag;btw_verlegd;document;iban;G_iban;G_bedrag;kvk_nr;btw_nr;afleverdatum;locatie;kostensoort;opdrachtregelid;artikelnr;aantal;eenheid;naam;adres;postcode;plaats</xsl:comment>
<xsl:comment>woconr;leveranciernr;factuurnr;factuurdatum;onderwerp;opdrachtnr;omschrijving;bedrag;btwperc;btwbedrag;btw_verlegd;document;iban;G_iban;G_bedrag;kvk_nr;btw_nr;afleverdatum;locatie;kostensoort;opdrachtregelid;artikelnr;aantal;eenheid;naam;adres;postcode;plaats;pdf_scan</xsl:comment>
<xsl:for-each select="InvoiceLine">
<xsl:value-of select="../Invoicee/GLN"/>;<xsl:value-of select="../Invoicer/GLN"/>;<xsl:value-of select="../InvoiceNumber"/>;<xsl:value-of select="../InvoiceDate"/>;<xsl:call-template name="vrije_tekst"><xsl:with-param name="p_string" select="../FreeText"/></xsl:call-template>;<xsl:value-of select="../BuyersOrderNumber"/>;<xsl:call-template name="construct_factuurregel_omschr_insbou-003"/>;<xsl:value-of select="NetLineAmount"/>;<xsl:apply-templates select="VATInformation"/>;<xsl:value-of select="../Attachment/FileName"/>;<xsl:value-of select="../Supplier/AccountInformation/IBAN"/>;<xsl:value-of select="../PaymentOnBlockedAccount/IBAN"/>;<xsl:value-of select="../PaymentOnBlockedAccount/Amount"/>;<xsl:value-of select="../Supplier/ChamberOfCommerceNumber"/>;<xsl:value-of select="../Supplier/VATRegistrationNumber"/>;<xsl:value-of select="../DeliveryDate"/>;<xsl:value-of select="MaintenanceInformation/Location"/>;<xsl:value-of select="MaintenanceInformation/ChargeTo"/>;<xsl:value-of select="OrderLineIdentification"/>;<xsl:call-template name="factuurregel_artnr_insbou-003"/>;<xsl:value-of select="DeliveredQuantity"/>;<xsl:call-template name="factuurregel_eenheid_insbou-003"/>;<xsl:value-of select="../Supplier/Name"/>;<xsl:value-of select="../Supplier/StreetAndNumber"/>;<xsl:value-of select="../Supplier/PostalCode"/>;<xsl:value-of select="../Supplier/City"/>;&#10;</xsl:for-each>
<xsl:value-of select="../Invoicee/GLN"/>;<xsl:value-of select="../Invoicer/GLN"/>;<xsl:value-of select="../InvoiceNumber"/>;<xsl:value-of select="../InvoiceDate"/>;<xsl:call-template name="vrije_tekst"><xsl:with-param name="p_string" select="../FreeText"/></xsl:call-template>;<xsl:value-of select="../BuyersOrderNumber"/>;<xsl:call-template name="construct_factuurregel_omschr_insbou-003"/>;<xsl:value-of select="NetLineAmount"/>;<xsl:apply-templates select="VATInformation"/>;<xsl:value-of select="../Attachment/FileName"/>;<xsl:value-of select="../Supplier/AccountInformation/IBAN"/>;<xsl:value-of select="../PaymentOnBlockedAccount/IBAN"/>;<xsl:value-of select="../PaymentOnBlockedAccount/Amount"/>;<xsl:value-of select="../Supplier/ChamberOfCommerceNumber"/>;<xsl:value-of select="../Supplier/VATRegistrationNumber"/>;<xsl:value-of select="../DeliveryDate"/>;<xsl:value-of select="MaintenanceInformation/Location"/>;<xsl:value-of select="MaintenanceInformation/ChargeTo"/>;<xsl:value-of select="OrderLineIdentification"/>;<xsl:call-template name="factuurregel_artnr_insbou-003"/>;<xsl:value-of select="DeliveredQuantity"/>;<xsl:call-template name="factuurregel_eenheid_insbou-003"/>;<xsl:value-of select="../Supplier/Name"/>;<xsl:value-of select="../Supplier/StreetAndNumber"/>;<xsl:value-of select="../Supplier/PostalCode"/>;<xsl:value-of select="../Supplier/City"/>;;&#10;</xsl:for-each>
</xsl:template>
<xsl:template match="insbou4:Invoice">
<xsl:comment>woconr;leveranciernr;factuurnr;factuurdatum;onderwerp;opdrachtnr;omschrijving;bedrag;btwperc;btwbedrag;btw_verlegd;document;iban;G_iban;G_bedrag;kvk_nr;btw_nr;afleverdatum;locatie;kostensoort;opdrachtregelid;artikelnr;aantal;eenheid;naam;adres;postcode;plaats</xsl:comment>
<xsl:comment>woconr;leveranciernr;factuurnr;factuurdatum;onderwerp;opdrachtnr;omschrijving;bedrag;btwperc;btwbedrag;btw_verlegd;document;iban;G_iban;G_bedrag;kvk_nr;btw_nr;afleverdatum;locatie;kostensoort;opdrachtregelid;artikelnr;aantal;eenheid;naam;adres;postcode;plaats;pdf_scan</xsl:comment>
<xsl:for-each select="insbou4:InvoiceLine">
<xsl:value-of select="../insbou4:Invoicee/insbou4:GLN"/>;<xsl:value-of select="../insbou4:Invoicer/insbou4:GLN"/>;<xsl:value-of select="../insbou4:InvoiceNumber"/>;<xsl:value-of select="../insbou4:InvoiceDate"/>;<xsl:call-template name="vrije_tekst"><xsl:with-param name="p_string" select="../insbou4:FreeText"/></xsl:call-template>;<xsl:value-of select="../insbou4:BuyersOrderNumber"/>;<xsl:call-template name="construct_factuurregel_omschr_insbou-004"/>;<xsl:value-of select="insbou4:NetLineAmount"/>;<xsl:apply-templates select="insbou4:VATInformation"/>;<xsl:value-of select="../insbou4:Attachment/insbou4:FileName"/>;<xsl:value-of select="../insbou4:Supplier/insbou4:AccountInformation/insbou4:IBAN"/>;<xsl:value-of select="../insbou4:PaymentOnBlockedAccount/insbou4:IBAN"/>;<xsl:value-of select="../insbou4:PaymentOnBlockedAccount/insbou4:Amount"/>;<xsl:value-of select="../insbou4:Supplier/insbou4:ChamberOfCommerceNumber"/>;<xsl:value-of select="../insbou4:Supplier/insbou4:VATRegistrationNumber"/>;<xsl:value-of select="../insbou4:DeliveryDate"/>;<xsl:value-of select="insbou4:MaintenanceInformation/insbou4:Location"/>;<xsl:value-of select="insbou4:MaintenanceInformation/insbou4:ChargeTo"/>;<xsl:value-of select="insbou4:OrderLineIdentification"/>;<xsl:call-template name="factuurregel_artnr_insbou-004"/>;<xsl:value-of select="insbou4:DeliveredQuantity"/>;<xsl:call-template name="factuurregel_eenheid_insbou-004"/>;<xsl:value-of select="../insbou4:Supplier/insbou4:Name"/>;<xsl:value-of select="../insbou4:Supplier/insbou4:StreetAndNumber"/>;<xsl:value-of select="../insbou4:Supplier/insbou4:PostalCode"/>;<xsl:value-of select="../insbou4:Supplier/insbou4:City"/>;&#10;</xsl:for-each>
<xsl:value-of select="../insbou4:Invoicee/insbou4:GLN"/>;<xsl:value-of select="../insbou4:Invoicer/insbou4:GLN"/>;<xsl:value-of select="../insbou4:InvoiceNumber"/>;<xsl:value-of select="../insbou4:InvoiceDate"/>;<xsl:call-template name="vrije_tekst"><xsl:with-param name="p_string" select="../insbou4:FreeText"/></xsl:call-template>;<xsl:value-of select="../insbou4:BuyersOrderNumber"/>;<xsl:call-template name="construct_factuurregel_omschr_insbou-004"/>;<xsl:value-of select="insbou4:NetLineAmount"/>;<xsl:apply-templates select="insbou4:VATInformation"/>;<xsl:value-of select="../insbou4:Attachment/insbou4:FileName"/>;<xsl:value-of select="../insbou4:Supplier/insbou4:AccountInformation/insbou4:IBAN"/>;<xsl:value-of select="../insbou4:PaymentOnBlockedAccount/insbou4:IBAN"/>;<xsl:value-of select="../insbou4:PaymentOnBlockedAccount/insbou4:Amount"/>;<xsl:value-of select="../insbou4:Supplier/insbou4:ChamberOfCommerceNumber"/>;<xsl:value-of select="../insbou4:Supplier/insbou4:VATRegistrationNumber"/>;<xsl:value-of select="../insbou4:DeliveryDate"/>;<xsl:value-of select="insbou4:MaintenanceInformation/insbou4:Location"/>;<xsl:value-of select="insbou4:MaintenanceInformation/insbou4:ChargeTo"/>;<xsl:value-of select="insbou4:OrderLineIdentification"/>;<xsl:call-template name="factuurregel_artnr_insbou-004"/>;<xsl:value-of select="insbou4:DeliveredQuantity"/>;<xsl:call-template name="factuurregel_eenheid_insbou-004"/>;<xsl:value-of select="../insbou4:Supplier/insbou4:Name"/>;<xsl:value-of select="../insbou4:Supplier/insbou4:StreetAndNumber"/>;<xsl:value-of select="../insbou4:Supplier/insbou4:PostalCode"/>;<xsl:value-of select="../insbou4:Supplier/insbou4:City"/>;;&#10;</xsl:for-each>
</xsl:template>
<xsl:template match="sales005:Invoice">
<xsl:comment>woconr;leveranciernr;factuurnr;factuurdatum;onderwerp;opdrachtnr;omschrijving;bedrag;btwperc;btwbedrag;btw_verlegd;document;iban;G_iban;G_bedrag;kvk_nr;btw_nr;afleverdatum;locatie;kostensoort;opdrachtregelid;artikelnr;aantal;eenheid;naam;adres;postcode;plaats</xsl:comment>
<xsl:comment>woconr;leveranciernr;factuurnr;factuurdatum;onderwerp;opdrachtnr;omschrijving;bedrag;btwperc;btwbedrag;btw_verlegd;document;iban;G_iban;G_bedrag;kvk_nr;btw_nr;afleverdatum;locatie;kostensoort;opdrachtregelid;artikelnr;aantal;eenheid;naam;adres;postcode;plaats;pdf_scan</xsl:comment>
<xsl:for-each select="sales005:InvoiceLine">
<xsl:value-of select="../sales005:Invoicee/sales005:GLN"/>;<xsl:value-of select="../sales005:Invoicer/sales005:GLN"/>;<xsl:value-of select="../sales005:InvoiceNumber"/>;<xsl:value-of select="../sales005:InvoiceDate"/>;<xsl:call-template name="vrije_tekst"><xsl:with-param name="p_string" select="../sales005:FreeText"/></xsl:call-template>;<xsl:value-of select="../sales005:BuyersOrderNumber"/>;<xsl:call-template name="construct_factuurregel_omschr_sales005"/>;<xsl:value-of select="sales005:NetLineAmount"/>;<xsl:apply-templates select="sales005:VATInformation"/>;<xsl:value-of select="../sales005:Attachment/sales005:FileName"/>;<xsl:value-of select="../sales005:Supplier/sales005:AccountInformation/sales005:IBAN"/>;<xsl:value-of select="../sales005:PaymentOnBlockedAccount/sales005:IBAN"/>;<xsl:value-of select="../sales005:PaymentOnBlockedAccount/sales005:Amount"/>;<xsl:value-of select="../sales005:Supplier/sales005:ChamberOfCommerceNumber"/>;<xsl:value-of select="../sales005:Supplier/sales005:VATRegistrationNumber"/>;<xsl:value-of select="../sales005:DeliveryDate"/>;<xsl:value-of select="sales005:MaintenanceInformation/sales005:Location"/>;<xsl:value-of select="sales005:MaintenanceInformation/sales005:ChargeTo"/>;<xsl:value-of select="sales005:OrderLineIdentification"/>;<xsl:call-template name="factuurregel_artnr_sales005"/>;<xsl:value-of select="sales005:DeliveredQuantity"/>;<xsl:call-template name="factuurregel_eenheid_sales005"/>;<xsl:value-of select="../sales005:Supplier/sales005:Name"/>;<xsl:call-template name="construct_StreetAndNumber_sales005"/>;<xsl:value-of select="../sales005:Supplier/sales005:PostalCode"/>;<xsl:value-of select="../sales005:Supplier/sales005:City"/>;&#10;</xsl:for-each>
<xsl:value-of select="../sales005:Invoicee/sales005:GLN"/>;<xsl:value-of select="../sales005:Invoicer/sales005:GLN"/>;<xsl:value-of select="../sales005:InvoiceNumber"/>;<xsl:value-of select="../sales005:InvoiceDate"/>;<xsl:call-template name="vrije_tekst"><xsl:with-param name="p_string" select="../sales005:FreeText"/></xsl:call-template>;<xsl:value-of select="../sales005:BuyersOrderNumber"/>;<xsl:call-template name="construct_factuurregel_omschr_sales005"/>;<xsl:value-of select="sales005:NetLineAmount"/>;<xsl:apply-templates select="sales005:VATInformation"/>;<xsl:value-of select="../sales005:Attachment/sales005:FileName"/>;<xsl:value-of select="../sales005:Supplier/sales005:AccountInformation/sales005:IBAN"/>;<xsl:value-of select="../sales005:PaymentOnBlockedAccount/sales005:IBAN"/>;<xsl:value-of select="../sales005:PaymentOnBlockedAccount/sales005:Amount"/>;<xsl:value-of select="../sales005:Supplier/sales005:ChamberOfCommerceNumber"/>;<xsl:value-of select="../sales005:Supplier/sales005:VATRegistrationNumber"/>;<xsl:value-of select="../sales005:DeliveryDate"/>;<xsl:value-of select="sales005:MaintenanceInformation/sales005:Location"/>;<xsl:value-of select="sales005:MaintenanceInformation/sales005:ChargeTo"/>;<xsl:value-of select="sales005:OrderLineIdentification"/>;<xsl:call-template name="factuurregel_artnr_sales005"/>;<xsl:value-of select="sales005:DeliveredQuantity"/>;<xsl:call-template name="factuurregel_eenheid_sales005"/>;<xsl:value-of select="../sales005:Supplier/sales005:Name"/>;<xsl:call-template name="construct_StreetAndNumber_sales005"/>;<xsl:value-of select="../sales005:Supplier/sales005:PostalCode"/>;<xsl:value-of select="../sales005:Supplier/sales005:City"/>;;&#10;</xsl:for-each>
</xsl:template>
<xsl:template match="VATInformation">

View File

@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2"
xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2"
xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2"
xmlns:ccts="urn:oasis:names:specification:ubl:schema:xsd:CoreComponentParameters-2"
xmlns:ext="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2"
xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2"
xmlns:stat="urn:oasis:names:specification:ubl:schema:xsd:DocumentStatusCode-1.0"
xmlns:udt="urn:un:unece:uncefact:data:draft:UnqualifiedDataTypesSchemaModule:2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0">
<xsl:import href="./F_PutFactuurUBL.xsl"/>
<xsl:output method="text" encoding="UTF-8"/>
<!-- MARX57931: Abonnement Mareon Factuurverwerking (UBL/SALES/PDF)-->
<!-- Scan in de cloud van PDF hier markeren met waarde 2 -->
<xsl:template name="pdf_scan">2</xsl:template>
</xsl:stylesheet>

View File

@@ -5,10 +5,10 @@
<xsl:template match="/">
<xsl:comment>woconr;leveranciernr;factuurnr;factuurdatum;onderwerp;opdrachtnr;omschrijving;bedrag;btwperc;btwbedrag;btw_verlegd;document;iban;G_iban;G_bedrag;kvk_nr;btw_nr;afleverdatum;locatie;kostensoort;opdrachtregelid;artikelnr;aantal;eenheid;naam;adres;postcode;plaats</xsl:comment>
<xsl:comment>woconr;leveranciernr;factuurnr;factuurdatum;onderwerp;opdrachtnr;omschrijving;bedrag;btwperc;btwbedrag;btw_verlegd;document;iban;G_iban;G_bedrag;kvk_nr;btw_nr;afleverdatum;locatie;kostensoort;opdrachtregelid;artikelnr;aantal;eenheid;naam;adres;postcode;plaats;pdf_scan</xsl:comment>
<xsl:for-each select="Invoice">
<xsl:for-each select="InvoiceLine">
<xsl:value-of select="../Invoicee/GLN"/>;<xsl:value-of select="../Invoicer/GLN"/>;<xsl:value-of select="../InvoiceNumber"/>;<xsl:value-of select="../InvoiceDate"/>;<xsl:call-template name="vrije_tekst"><xsl:with-param name="p_string" select="../FreeText"/></xsl:call-template>;<xsl:value-of select="../BuyersOrderNumber"/>;<xsl:call-template name="construct_factuurregel_omschr"/>;<xsl:value-of select="NetLineAmount"/>;<xsl:apply-templates select="VATInformation"/>;<xsl:value-of select="../Attachment/FileName"/>;<xsl:value-of select="../Supplier/AccountInformation/IBAN"/>;<xsl:value-of select="../PaymentOnBlockedAccount/IBAN"/>;<xsl:value-of select="../PaymentOnBlockedAccount/Amount"/>;<xsl:value-of select="../Supplier/ChamberOfCommerceNumber"/>;<xsl:value-of select="../Supplier/VATRegistrationNumber"/>;<xsl:value-of select="../DeliveryDate"/>;<xsl:value-of select="MaintenanceInformation/Location"/>;<xsl:value-of select="MaintenanceInformation/ChargeTo"/>;<xsl:value-of select="OrderLineIdentification"/>;<xsl:call-template name="factuurregel_artnr"/>;<xsl:value-of select="DeliveredQuantity"/>;<xsl:call-template name="factuurregel_eenheid"/>;<xsl:value-of select="../Supplier/Name"/>;<xsl:value-of select="../Supplier/StreetAndNumber"/>;<xsl:value-of select="../Supplier/PostalCode"/>;<xsl:value-of select="../Supplier/City"/>;&#10;</xsl:for-each></xsl:for-each>
<xsl:value-of select="../Invoicee/GLN"/>;<xsl:value-of select="../Invoicer/GLN"/>;<xsl:value-of select="../InvoiceNumber"/>;<xsl:value-of select="../InvoiceDate"/>;<xsl:call-template name="vrije_tekst"><xsl:with-param name="p_string" select="../FreeText"/></xsl:call-template>;<xsl:value-of select="../BuyersOrderNumber"/>;<xsl:call-template name="construct_factuurregel_omschr"/>;<xsl:value-of select="NetLineAmount"/>;<xsl:apply-templates select="VATInformation"/>;<xsl:value-of select="../Attachment/FileName"/>;<xsl:value-of select="../Supplier/AccountInformation/IBAN"/>;<xsl:value-of select="../PaymentOnBlockedAccount/IBAN"/>;<xsl:value-of select="../PaymentOnBlockedAccount/Amount"/>;<xsl:value-of select="../Supplier/ChamberOfCommerceNumber"/>;<xsl:value-of select="../Supplier/VATRegistrationNumber"/>;<xsl:value-of select="../DeliveryDate"/>;<xsl:value-of select="MaintenanceInformation/Location"/>;<xsl:value-of select="MaintenanceInformation/ChargeTo"/>;<xsl:value-of select="OrderLineIdentification"/>;<xsl:call-template name="factuurregel_artnr"/>;<xsl:value-of select="DeliveredQuantity"/>;<xsl:call-template name="factuurregel_eenheid"/>;<xsl:value-of select="../Supplier/Name"/>;<xsl:value-of select="../Supplier/StreetAndNumber"/>;<xsl:value-of select="../Supplier/PostalCode"/>;<xsl:value-of select="../Supplier/City"/>;;&#10;</xsl:for-each></xsl:for-each>
</xsl:template>
<xsl:template match="VATInformation">

View File

@@ -5,10 +5,10 @@
<xsl:template match="/">
<xsl:comment>woconr;leveranciernr;factuurnr;factuurdatum;onderwerp;opdrachtnr;omschrijving;bedrag;btwperc;btwbedrag;btw_verlegd;document;iban;G_iban;G_bedrag;kvk_nr;btw_nr;afleverdatum;locatie;kostensoort;opdrachtregelid;artikelnr;aantal;eenheid;naam;adres;postcode;plaats</xsl:comment>
<xsl:comment>woconr;leveranciernr;factuurnr;factuurdatum;onderwerp;opdrachtnr;omschrijving;bedrag;btwperc;btwbedrag;btw_verlegd;document;iban;G_iban;G_bedrag;kvk_nr;btw_nr;afleverdatum;locatie;kostensoort;opdrachtregelid;artikelnr;aantal;eenheid;naam;adres;postcode;plaats;pdf_scan</xsl:comment>
<xsl:for-each select="insbou4:Invoice">
<xsl:for-each select="insbou4:InvoiceLine">
<xsl:value-of select="../insbou4:Invoicee/insbou4:GLN"/>;<xsl:value-of select="../insbou4:Invoicer/insbou4:GLN"/>;<xsl:value-of select="../insbou4:InvoiceNumber"/>;<xsl:value-of select="../insbou4:InvoiceDate"/>;<xsl:call-template name="vrije_tekst"><xsl:with-param name="p_string" select="../insbou4:FreeText"/></xsl:call-template>;<xsl:value-of select="../insbou4:BuyersOrderNumber"/>;<xsl:call-template name="construct_factuurregel_omschr"/>;<xsl:value-of select="insbou4:NetLineAmount"/>;<xsl:apply-templates select="insbou4:VATInformation"/>;<xsl:value-of select="../insbou4:Attachment/insbou4:FileName"/>;<xsl:value-of select="../insbou4:Supplier/insbou4:AccountInformation/insbou4:IBAN"/>;<xsl:value-of select="../insbou4:PaymentOnBlockedAccount/insbou4:IBAN"/>;<xsl:value-of select="../insbou4:PaymentOnBlockedAccount/insbou4:Amount"/>;<xsl:value-of select="../insbou4:Supplier/insbou4:ChamberOfCommerceNumber"/>;<xsl:value-of select="../insbou4:Supplier/insbou4:VATRegistrationNumber"/>;<xsl:value-of select="../insbou4:DeliveryDate"/>;<xsl:value-of select="insbou4:MaintenanceInformation/insbou4:Location"/>;<xsl:value-of select="insbou4:MaintenanceInformation/insbou4:ChargeTo"/>;<xsl:value-of select="insbou4:OrderLineIdentification"/>;<xsl:call-template name="factuurregel_artnr"/>;<xsl:value-of select="insbou4:DeliveredQuantity"/>;<xsl:call-template name="factuurregel_eenheid"/>;<xsl:value-of select="../insbou4:Supplier/insbou4:Name"/>;<xsl:value-of select="../insbou4:Supplier/insbou4:StreetAndNumber"/>;<xsl:value-of select="../insbou4:Supplier/insbou4:PostalCode"/>;<xsl:value-of select="../insbou4:Supplier/insbou4:City"/>;&#10;</xsl:for-each></xsl:for-each>
<xsl:value-of select="../insbou4:Invoicee/insbou4:GLN"/>;<xsl:value-of select="../insbou4:Invoicer/insbou4:GLN"/>;<xsl:value-of select="../insbou4:InvoiceNumber"/>;<xsl:value-of select="../insbou4:InvoiceDate"/>;<xsl:call-template name="vrije_tekst"><xsl:with-param name="p_string" select="../insbou4:FreeText"/></xsl:call-template>;<xsl:value-of select="../insbou4:BuyersOrderNumber"/>;<xsl:call-template name="construct_factuurregel_omschr"/>;<xsl:value-of select="insbou4:NetLineAmount"/>;<xsl:apply-templates select="insbou4:VATInformation"/>;<xsl:value-of select="../insbou4:Attachment/insbou4:FileName"/>;<xsl:value-of select="../insbou4:Supplier/insbou4:AccountInformation/insbou4:IBAN"/>;<xsl:value-of select="../insbou4:PaymentOnBlockedAccount/insbou4:IBAN"/>;<xsl:value-of select="../insbou4:PaymentOnBlockedAccount/insbou4:Amount"/>;<xsl:value-of select="../insbou4:Supplier/insbou4:ChamberOfCommerceNumber"/>;<xsl:value-of select="../insbou4:Supplier/insbou4:VATRegistrationNumber"/>;<xsl:value-of select="../insbou4:DeliveryDate"/>;<xsl:value-of select="insbou4:MaintenanceInformation/insbou4:Location"/>;<xsl:value-of select="insbou4:MaintenanceInformation/insbou4:ChargeTo"/>;<xsl:value-of select="insbou4:OrderLineIdentification"/>;<xsl:call-template name="factuurregel_artnr"/>;<xsl:value-of select="insbou4:DeliveredQuantity"/>;<xsl:call-template name="factuurregel_eenheid"/>;<xsl:value-of select="../insbou4:Supplier/insbou4:Name"/>;<xsl:value-of select="../insbou4:Supplier/insbou4:StreetAndNumber"/>;<xsl:value-of select="../insbou4:Supplier/insbou4:PostalCode"/>;<xsl:value-of select="../insbou4:Supplier/insbou4:City"/>;;&#10;</xsl:for-each></xsl:for-each>
</xsl:template>
<xsl:template match="insbou4:VATInformation">

View File

@@ -11,16 +11,19 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0">
<xsl:output method="text" encoding="UTF-8"/>
<!-- MARX57931: Abonnement Mareon Factuurverwerking (UBL/SALES/PDF)-->
<!-- Scan in de cloud van PDF is hier niet van toepassing, niet vullen met waarde 2 -->
<xsl:template name="pdf_scan"></xsl:template>
<xsl:template match="/">
<xsl:comment>woconr;leveranciernr;factuurnr;factuurdatum;onderwerp;opdrachtnr;omschrijving;bedrag;btwperc;btwbedrag;btw_verlegd;document;iban;G_iban;G_bedrag;kvk_nr;btw_nr;afleverdatum;locatie;kostensoort;opdrachtregelid;artikelnr;aantal;eenheid;naam;adres;postcode;plaats</xsl:comment>
<xsl:comment>woconr;leveranciernr;factuurnr;factuurdatum;onderwerp;opdrachtnr;omschrijving;bedrag;btwperc;btwbedrag;btw_verlegd;document;iban;G_iban;G_bedrag;kvk_nr;btw_nr;afleverdatum;locatie;kostensoort;opdrachtregelid;artikelnr;aantal;eenheid;naam;adres;postcode;plaats;pdf_scan</xsl:comment>
<xsl:choose>
<xsl:when test="count(//cac:InvoiceLine) &gt; 0">
<xsl:for-each select="//cac:InvoiceLine">
<xsl:value-of select="../cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID"/>;<xsl:value-of select="../cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID"/>;<xsl:value-of select="../cbc:ID"/>;<xsl:value-of select="../cbc:IssueDate"/>;<xsl:call-template name="vrije_tekst"><xsl:with-param name="p_string" select="../cbc:Note"/></xsl:call-template>;<xsl:call-template name="get_customer_po_regelnivo"/>;<xsl:call-template name="construct_factuurregel_omschr"/>;<xsl:value-of select="cbc:LineExtensionAmount"/>;<xsl:call-template name="VATInformation_regelnivo"/>;<xsl:call-template name="get_filename_attachment_regelnivo"/>;<xsl:call-template name="IBAN_regelnivo"/>;<xsl:call-template name="G_IBAN_regelnivo"/>;<xsl:call-template name="G_Bedrag_regelnivo"/>;<xsl:value-of select="../cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID"/>;<xsl:value-of select="../cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cbc:CompanyID"/>;<xsl:value-of select="../cac:Delivery/cbc:ActualDeliveryDate"/>;;;<xsl:value-of select="cac:OrderLineReference/cbc:LineID"/>;<xsl:value-of select="cac:Item/cac:SellersItemIdentification/cbc:ID"/>;<xsl:value-of select="cbc:InvoicedQuantity"/>;<xsl:value-of select="cbc:InvoicedQuantity/@unitCode"/>;<xsl:call-template name="BedrijfNaam_regelnivo"/>;<xsl:call-template name="BedrijfAdres_regelnivo"/>;<xsl:call-template name="BedrijfPostcode_regelnivo"/>;<xsl:call-template name="BedrijfPlaats_regelnivo"/>;&#10;</xsl:for-each></xsl:when>
<xsl:value-of select="../cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID"/>;<xsl:value-of select="../cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID"/>;<xsl:value-of select="../cbc:ID"/>;<xsl:value-of select="../cbc:IssueDate"/>;<xsl:call-template name="vrije_tekst"><xsl:with-param name="p_string" select="../cbc:Note"/></xsl:call-template>;<xsl:call-template name="get_customer_po_regelnivo"/>;<xsl:call-template name="construct_factuurregel_omschr"/>;<xsl:value-of select="cbc:LineExtensionAmount"/>;<xsl:call-template name="VATInformation_regelnivo"/>;<xsl:call-template name="get_filename_attachment_regelnivo"/>;<xsl:call-template name="IBAN_regelnivo"/>;<xsl:call-template name="G_IBAN_regelnivo"/>;<xsl:call-template name="G_Bedrag_regelnivo"/>;<xsl:value-of select="../cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID"/>;<xsl:value-of select="../cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cbc:CompanyID"/>;<xsl:value-of select="../cac:Delivery/cbc:ActualDeliveryDate"/>;;;<xsl:value-of select="cac:OrderLineReference/cbc:LineID"/>;<xsl:value-of select="cac:Item/cac:SellersItemIdentification/cbc:ID"/>;<xsl:value-of select="cbc:InvoicedQuantity"/>;<xsl:value-of select="cbc:InvoicedQuantity/@unitCode"/>;<xsl:call-template name="BedrijfNaam_regelnivo"/>;<xsl:call-template name="BedrijfAdres_regelnivo"/>;<xsl:call-template name="BedrijfPostcode_regelnivo"/>;<xsl:call-template name="BedrijfPlaats_regelnivo"/>;<xsl:call-template name="pdf_scan"/>;&#10;</xsl:for-each></xsl:when>
<xsl:otherwise>
<xsl:for-each select="//cac:TaxTotal/cac:TaxSubtotal[cbc:TaxableAmount != '0,00']">
<xsl:value-of select="../../cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID"/>;<xsl:value-of select="../../cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID"/>;<xsl:value-of select="../../cbc:ID"/>;<xsl:value-of select="../../cbc:IssueDate"/>;<xsl:call-template name="vrije_tekst"><xsl:with-param name="p_string" select="../../cbc:Note"/></xsl:call-template>;<xsl:call-template name="get_customer_po_kopnivo"/>;<xsl:call-template name="construct_factuur_omschr"/>;<xsl:value-of select="cbc:TaxableAmount"/>;<xsl:call-template name="VATInformation_kopnivo"/>;<xsl:call-template name="get_filename_attachment_kopnivo"/>;<xsl:call-template name="IBAN_kopnivo"/>;<xsl:call-template name="G_IBAN_kopnivo"/>;<xsl:call-template name="G_Bedrag_kopnivo"/>;<xsl:value-of select="../../cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID"/>;<xsl:value-of select="../../cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cbc:CompanyID"/>;<xsl:value-of select="../../cac:Delivery/cbc:ActualDeliveryDate"/>;;;;;;;<xsl:call-template name="BedrijfNaam_kopnivo"/>;<xsl:call-template name="BedrijfAdres_kopnivo"/>;<xsl:call-template name="BedrijfPostcode_kopnivo"/>;<xsl:call-template name="BedrijfPlaats_kopnivo"/>;&#10;</xsl:for-each></xsl:otherwise>
<xsl:value-of select="../../cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID"/>;<xsl:value-of select="../../cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID"/>;<xsl:value-of select="../../cbc:ID"/>;<xsl:value-of select="../../cbc:IssueDate"/>;<xsl:call-template name="vrije_tekst"><xsl:with-param name="p_string" select="../../cbc:Note"/></xsl:call-template>;<xsl:call-template name="get_customer_po_kopnivo"/>;<xsl:call-template name="construct_factuur_omschr"/>;<xsl:value-of select="cbc:TaxableAmount"/>;<xsl:call-template name="VATInformation_kopnivo"/>;<xsl:call-template name="get_filename_attachment_kopnivo"/>;<xsl:call-template name="IBAN_kopnivo"/>;<xsl:call-template name="G_IBAN_kopnivo"/>;<xsl:call-template name="G_Bedrag_kopnivo"/>;<xsl:value-of select="../../cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID"/>;<xsl:value-of select="../../cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cbc:CompanyID"/>;<xsl:value-of select="../../cac:Delivery/cbc:ActualDeliveryDate"/>;;;;;;;<xsl:call-template name="BedrijfNaam_kopnivo"/>;<xsl:call-template name="BedrijfAdres_kopnivo"/>;<xsl:call-template name="BedrijfPostcode_kopnivo"/>;<xsl:call-template name="BedrijfPlaats_kopnivo"/>;<xsl:call-template name="pdf_scan"/>;&#10;</xsl:for-each></xsl:otherwise>
</xsl:choose>
</xsl:template>

View File

@@ -5,10 +5,10 @@
<xsl:template match="/">
<xsl:comment>woconr;leveranciernr;factuurnr;factuurdatum;onderwerp;opdrachtnr;omschrijving;bedrag;btwperc;btwbedrag;btw_verlegd;document;iban;G_iban;G_bedrag;kvk_nr;btw_nr;afleverdatum;locatie;kostensoort;opdrachtregelid;artikelnr;aantal;eenheid;naam;adres;postcode;plaats</xsl:comment>
<xsl:comment>woconr;leveranciernr;factuurnr;factuurdatum;onderwerp;opdrachtnr;omschrijving;bedrag;btwperc;btwbedrag;btw_verlegd;document;iban;G_iban;G_bedrag;kvk_nr;btw_nr;afleverdatum;locatie;kostensoort;opdrachtregelid;artikelnr;aantal;eenheid;naam;adres;postcode;plaats;pdf_scan</xsl:comment>
<xsl:for-each select="sales005:Invoice">
<xsl:for-each select="sales005:InvoiceLine">
<xsl:value-of select="../sales005:Invoicee/sales005:GLN"/>;<xsl:value-of select="../sales005:Invoicer/sales005:GLN"/>;<xsl:value-of select="../sales005:InvoiceNumber"/>;<xsl:value-of select="../sales005:InvoiceDate"/>;<xsl:call-template name="vrije_tekst"><xsl:with-param name="p_string" select="../sales005:FreeText"/></xsl:call-template>;<xsl:value-of select="../sales005:BuyersOrderNumber"/>;<xsl:call-template name="construct_factuurregel_omschr"/>;<xsl:value-of select="sales005:NetLineAmount"/>;<xsl:apply-templates select="sales005:VATInformation"/>;<xsl:value-of select="../sales005:Attachment/sales005:FileName"/>;<xsl:value-of select="../sales005:Supplier/sales005:AccountInformation/sales005:IBAN"/>;<xsl:value-of select="../sales005:PaymentOnBlockedAccount/sales005:IBAN"/>;<xsl:value-of select="../sales005:PaymentOnBlockedAccount/sales005:Amount"/>;<xsl:value-of select="../sales005:Supplier/sales005:ChamberOfCommerceNumber"/>;<xsl:value-of select="../sales005:Supplier/sales005:VATRegistrationNumber"/>;<xsl:value-of select="../sales005:DeliveryDate"/>;<xsl:value-of select="sales005:MaintenanceInformation/sales005:Location"/>;<xsl:value-of select="sales005:MaintenanceInformation/sales005:ChargeTo"/>;<xsl:value-of select="sales005:OrderLineIdentification"/>;<xsl:call-template name="factuurregel_artnr"/>;<xsl:value-of select="sales005:DeliveredQuantity"/>;<xsl:call-template name="factuurregel_eenheid"/>;<xsl:value-of select="../sales005:Supplier/sales005:Name"/>;<xsl:call-template name="construct_StreetAndNumber_sales005"/>;<xsl:value-of select="../sales005:Supplier/sales005:PostalCode"/>;<xsl:value-of select="../sales005:Supplier/sales005:City"/>;&#10;</xsl:for-each></xsl:for-each>
<xsl:value-of select="../sales005:Invoicee/sales005:GLN"/>;<xsl:value-of select="../sales005:Invoicer/sales005:GLN"/>;<xsl:value-of select="../sales005:InvoiceNumber"/>;<xsl:value-of select="../sales005:InvoiceDate"/>;<xsl:call-template name="vrije_tekst"><xsl:with-param name="p_string" select="../sales005:FreeText"/></xsl:call-template>;<xsl:value-of select="../sales005:BuyersOrderNumber"/>;<xsl:call-template name="construct_factuurregel_omschr"/>;<xsl:value-of select="sales005:NetLineAmount"/>;<xsl:apply-templates select="sales005:VATInformation"/>;<xsl:value-of select="../sales005:Attachment/sales005:FileName"/>;<xsl:value-of select="../sales005:Supplier/sales005:AccountInformation/sales005:IBAN"/>;<xsl:value-of select="../sales005:PaymentOnBlockedAccount/sales005:IBAN"/>;<xsl:value-of select="../sales005:PaymentOnBlockedAccount/sales005:Amount"/>;<xsl:value-of select="../sales005:Supplier/sales005:ChamberOfCommerceNumber"/>;<xsl:value-of select="../sales005:Supplier/sales005:VATRegistrationNumber"/>;<xsl:value-of select="../sales005:DeliveryDate"/>;<xsl:value-of select="sales005:MaintenanceInformation/sales005:Location"/>;<xsl:value-of select="sales005:MaintenanceInformation/sales005:ChargeTo"/>;<xsl:value-of select="sales005:OrderLineIdentification"/>;<xsl:call-template name="factuurregel_artnr"/>;<xsl:value-of select="sales005:DeliveredQuantity"/>;<xsl:call-template name="factuurregel_eenheid"/>;<xsl:value-of select="../sales005:Supplier/sales005:Name"/>;<xsl:call-template name="construct_StreetAndNumber_sales005"/>;<xsl:value-of select="../sales005:Supplier/sales005:PostalCode"/>;<xsl:value-of select="../sales005:Supplier/sales005:City"/>;;&#10;</xsl:for-each></xsl:for-each>
</xsl:template>
<xsl:template match="sales005:VATInformation">