CyberStore Documentation
APSTIN

See the example of APSTIN code below:

<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:template match="/">
    <xsl:param name="Supplier" />
    <xsl:param name="Reference" />
    <xsl:param name="Amount" />
    <xsl:param name="JournalNotation" />
    <xsl:param name="Date" />
    <xsl:param name="AdjustmentLedgerCode" />
    <PostAPInvoice xmlns:xsd="http://www.w3.org/2000/10/XMLSchema-instance" xsd:noNamespaceSchemaLocation="APSTIN.XSD">
        <Item>
            <Supplier><xsl:value-of select="//Supplier"  /></Supplier>
            <Invoice><xsl:value-of select="//Reference"  /></Invoice>
            <TransactionValue><xsl:value-of select="//Amount"  /></TransactionValue>
            <TransactionReference><xsl:value-of select="//JournalNotation"  /></TransactionReference>
            <JournalNotation><xsl:value-of select="//JournalNotation"  /></JournalNotation>
            <InvoiceDate><xsl:value-of select="//Date"  /></InvoiceDate>
            <DueDate><xsl:value-of select="//Supplier"  /></DueDate>
            <LedgerDistribution>
                <LedgerCode><xsl:value-of select="//AdjustmentLedgerCode"  /></LedgerCode>
            </LedgerDistribution>
        </Item>
    </PostAPInvoice>
  </xsl:template>
</xsl:stylesheet>