MARX#56505: Factuur-koppeling naar Tobias-AX de NAW/KVK/BTWnr/leverdatum opnemen
svn path=/Website/branches/v2018.2/; revision=41023
This commit is contained in:
@@ -360,7 +360,7 @@
|
||||
<EX_BANKACC_ORG type="String"></EX_BANKACC_ORG>
|
||||
<EX_BANKACC_2 type="String"></EX_BANKACC_2>
|
||||
<EX_BANKACC_3 type="String"></EX_BANKACC_3>
|
||||
<EX_VATNR_1 type="String"><xsl:value-of select="FIN_FACTUUR_BTWNR"/></EX_VATNR_1>
|
||||
<EX_VATNR_1 type="String"><xsl:call-template name="COALESCE"><xsl:with-param name="p_param1" select="FIN_FACTUUR_BTWNR"/><xsl:with-param name="p_param2" select="PRS_BEDRIJF_BTWNR"/></xsl:call-template></EX_VATNR_1>
|
||||
<EX_TELNR type="String"></EX_TELNR>
|
||||
<EX_FAXNR type="String"></EX_FAXNR>
|
||||
<EX_COCNR_1 type="String"></EX_COCNR_1>
|
||||
@@ -393,10 +393,18 @@
|
||||
<xsl:attribute name="Value"><xsl:value-of select="PRS_WOCO_AXNR"/></xsl:attribute>
|
||||
<xsl:value-of select="PRS_WOCO_AXNR"/>
|
||||
</xsl:element>
|
||||
<EX_SGBDR_NAAM type="String"><xsl:value-of select="PRS_WOCO_NAAM"/></EX_SGBDR_NAAM>
|
||||
<EX_SGBDR_ADRES type="String"><xsl:value-of select="PRS_WOCO_ADRES"/></EX_SGBDR_ADRES>
|
||||
<EX_SGBDR_POSTCODE type="String"><xsl:value-of select="PRS_WOCO_POSTCODE"/></EX_SGBDR_POSTCODE>
|
||||
<EX_SGBDR_PLAATS type="String"><xsl:value-of select="PRS_WOCO_PLAATS"/></EX_SGBDR_PLAATS>
|
||||
<EX_SGBOEKD type="Date"><xsl:value-of select="FIN_FACTUUR_BOEKDATUM"/></EX_SGBOEKD>
|
||||
<EX_SGAINC type="Logical"></EX_SGAINC>
|
||||
<EX_DELIVERYDATE type="Date"><xsl:value-of select="FIN_FACTUUR_AFLEVERDATUM"/></EX_DELIVERYDATE>
|
||||
<EX_KVKNUMMER type="String"><xsl:value-of select="FIN_FACTUUR_KVKNR"/></EX_KVKNUMMER>
|
||||
<EX_EXBDR_NAAM type="String"><xsl:call-template name="COALESCE"><xsl:with-param name="p_param1" select="FIN_BEDRIJF_NAAM"/><xsl:with-param name="p_param2" select="PRS_BEDRIJF_NAAM"/></xsl:call-template></EX_EXBDR_NAAM>
|
||||
<EX_EXBDR_ADRES type="String"><xsl:call-template name="COALESCE"><xsl:with-param name="p_param1" select="FIN_BEDRIJF_ADRES"/><xsl:with-param name="p_param2" select="PRS_BEDRIJF_ADRES"/></xsl:call-template></EX_EXBDR_ADRES>
|
||||
<EX_EXBDR_POSTCODE type="String"><xsl:call-template name="COALESCE"><xsl:with-param name="p_param1" select="FIN_BEDRIJF_POSTCODE"/><xsl:with-param name="p_param2" select="PRS_BEDRIJF_POSTCODE"/></xsl:call-template></EX_EXBDR_POSTCODE>
|
||||
<EX_EXBDR_PLAATS type="String"><xsl:call-template name="COALESCE"><xsl:with-param name="p_param1" select="FIN_BEDRIJF_PLAATS"/><xsl:with-param name="p_param2" select="PRS_BEDRIJF_PLAATS"/></xsl:call-template></EX_EXBDR_PLAATS>
|
||||
<EX_KVKNUMMER type="String"><xsl:call-template name="COALESCE"><xsl:with-param name="p_param1" select="FIN_FACTUUR_KVKNR"/><xsl:with-param name="p_param2" select="PRS_BEDRIJF_KVKNR"/></xsl:call-template></EX_KVKNUMMER>
|
||||
<EX_SGPROJNR type="String"></EX_SGPROJNR>
|
||||
<EX_SGPROJMAN type="String"></EX_SGPROJMAN>
|
||||
<EX_SGTERMIJN type="String"></EX_SGTERMIJN>
|
||||
@@ -559,13 +567,13 @@
|
||||
<cbc:Name><xsl:value-of select="PRS_BEDRIJF_NAAM"/></cbc:Name>
|
||||
</cac:PartyName>
|
||||
<cac:PartyTaxScheme>
|
||||
<cbc:CompanyID schemeAgencyID="ZZZ" schemeID="NL:VAT"><xsl:value-of select="FIN_FACTUUR_BTWNR"/></cbc:CompanyID><!-- BTW nummer -->
|
||||
<cbc:CompanyID schemeAgencyID="ZZZ" schemeID="NL:VAT"><xsl:call-template name="COALESCE"><xsl:with-param name="p_param1" select="FIN_FACTUUR_BTWNR"/><xsl:with-param name="p_param2" select="PRS_BEDRIJF_BTWNR"/></xsl:call-template></cbc:CompanyID><!-- BTW nummer -->
|
||||
<cac:TaxScheme>
|
||||
<cbc:ID schemeAgencyID="6" schemeID="UN/ECE 5153">VAT</cbc:ID>
|
||||
</cac:TaxScheme>
|
||||
</cac:PartyTaxScheme>
|
||||
<cac:PartyLegalEntity>
|
||||
<cbc:CompanyID schemeAgencyID="ZZZ" schemeID="NL:KVK"><xsl:value-of select="FIN_FACTUUR_KVKNR"/></cbc:CompanyID>
|
||||
<cbc:CompanyID schemeAgencyID="ZZZ" schemeID="NL:KVK"><xsl:call-template name="COALESCE"><xsl:with-param name="p_param1" select="FIN_FACTUUR_KVKNR"/><xsl:with-param name="p_param2" select="PRS_BEDRIJF_KVKNR"/></xsl:call-template></cbc:CompanyID>
|
||||
</cac:PartyLegalEntity>
|
||||
</cac:Party>
|
||||
</cac:AccountingSupplierParty>
|
||||
@@ -681,7 +689,15 @@
|
||||
</xsl:if>
|
||||
</xsl:template>
|
||||
|
||||
|
||||
<xsl:template name="COALESCE">
|
||||
<xsl:param name="p_param1"/>
|
||||
<xsl:param name="p_param2"/>
|
||||
<xsl:choose>
|
||||
<xsl:when test="$p_param1 != ''"><xsl:value-of select="$p_param1"/></xsl:when>
|
||||
<xsl:otherwise><xsl:value-of select="$p_param2"/></xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template name="OPDRACHTNR">
|
||||
<xsl:param name="p_mld_opdr_id"/>
|
||||
<xsl:param name="p_fin_factuur_ext_opdnr"/>
|
||||
|
||||
@@ -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</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</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: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"/>; </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</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</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: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"/>; </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</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</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: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"/>; </xsl:for-each>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="VATInformation">
|
||||
@@ -147,6 +147,7 @@
|
||||
</xsl:call-template>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template name="construct_StreetAndNumber_sales005"><xsl:value-of select="../sales005:Supplier/sales005:Street"/><xsl:text> </xsl:text><xsl:value-of select="../sales005:Supplier/sales005:HouseNumber"/><xsl:value-of select="../sales005:Supplier/sales005:HouseLetter"/><xsl:value-of select="../sales005:Supplier/sales005:HouseNumberSuffix"/></xsl:template>
|
||||
|
||||
<xsl:template name="factuurregel_artnr_sales005">
|
||||
<xsl:call-template name="COALESCE">
|
||||
|
||||
@@ -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</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</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: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"/>; </xsl:for-each></xsl:for-each>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="VATInformation">
|
||||
|
||||
@@ -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</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</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: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"/>; </xsl:for-each></xsl:for-each>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="insbou4:VATInformation">
|
||||
|
||||
@@ -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</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</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: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"/>; </xsl:for-each></xsl:for-each>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="sales005:VATInformation">
|
||||
@@ -29,6 +29,8 @@
|
||||
</xsl:choose>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template name="construct_StreetAndNumber_sales005"><xsl:value-of select="../sales005:Supplier/sales005:Street"/><xsl:text> </xsl:text><xsl:value-of select="../sales005:Supplier/sales005:HouseNumber"/><xsl:value-of select="../sales005:Supplier/sales005:HouseLetter"/><xsl:value-of select="../sales005:Supplier/sales005:HouseNumberSuffix"/></xsl:template>
|
||||
|
||||
<xsl:template name="factuurregel_artnr">
|
||||
<xsl:call-template name="COALESCE">
|
||||
<xsl:with-param name="p_param1">
|
||||
|
||||
Reference in New Issue
Block a user