Files
Facilitor/CUST/STPH/xsl/fin_factuur_invoicesharing.xsl
Ruud Lipper 61c98c2a57 STPH#39328 description beperken tot 100 karakters ivm inleesfouten
svn path=/Website/branches/v2016.3/; revision=32665
2017-02-02 08:27:12 +00:00

12 lines
1.6 KiB
XML

<?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:output method="text" encoding="UTF-8"/>
<xsl:template match="/">
<xsl:comment>factuurnr;factuurdatum;opdrachtnr;omschrijving;bedrag;btwperc;btwbedragbtw_verlegd;document;kostensoort;</xsl:comment>
<xsl:for-each select="//cac:InvoiceLine">
<xsl:value-of select="../cbc:ID"/>;<xsl:value-of select="../cbc:IssueDate"/>;<xsl:value-of select="cac:OrderLineReference/cac:OrderReference/cbc:ID"/>;"<xsl:value-of select="substring(cac:Item/cbc:Description,1,100)"/>";<xsl:value-of select="cbc:LineExtensionAmount"/>;<xsl:value-of select="cac:TaxTotal/cac:TaxSubtotal/cbc:Percent"/>;;;<xsl:value-of select="../cac:AdditionalDocumentReference/cac:Attachment/cac:ExternalReference/cbc:URI"/>;<xsl:value-of select="cac:Item/cac:AdditionalItemProperty/cbc:Value"/>;&#10;</xsl:for-each>
</xsl:template>
</xsl:stylesheet>