<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>The Magento Expert</title>
	<atom:link href="https://www.the-mage-expert.com/tag/credit-memo/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.the-mage-expert.com</link>
	<description>Your Magento Commerce Expert</description>
	<lastBuildDate>Thu, 05 Nov 2026 21:47:58 +0000</lastBuildDate>
	<language>de-DE</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.8.6</generator>
	<item>
		<title>Creating a credit memo / refund programmatically</title>
		<link>https://www.the-mage-expert.com/802/magento-creating-a-credit-memo-refund-programmatically/</link>
		<comments>https://www.the-mage-expert.com/802/magento-creating-a-credit-memo-refund-programmatically/#comments</comments>
		<pubDate>Wed, 26 Nov 2014 09:41:03 +0000</pubDate>
		<dc:creator><![CDATA[]]></dc:creator>
				<category><![CDATA[Magento Solutions]]></category>
		<category><![CDATA[credit memo]]></category>
		<category><![CDATA[refund]]></category>

		<guid isPermaLink="false">https://www.the-mage-expert.com/?p=802</guid>
		<description><![CDATA[The following code creates a Magento credit memo / refund. $invoices = array(); foreach ($this->getInvoiceCollection() as $invoice) { $invoices[] = $invoice; } $service = Mage::getModel('sales/service_order', $this); foreach ($invoices as $invoice) { $creditmemo = $service->prepareInvoiceCreditmemo($invoice); $creditmemo->register(); $creditmemo->save(); }]]></description>
				<content:encoded><![CDATA[<p>The following code creates a Magento credit memo / refund.</p>
<pre lang="php">
$invoices = array();
foreach ($this->getInvoiceCollection() as $invoice) {
    $invoices[] = $invoice;
}
        
$service = Mage::getModel('sales/service_order', $this);
foreach ($invoices as $invoice) {
    $creditmemo = $service->prepareInvoiceCreditmemo($invoice);
    $creditmemo->register();
    $creditmemo->save();
}
</pre>]]></content:encoded>
			<wfw:commentRss>https://www.the-mage-expert.com/802/magento-creating-a-credit-memo-refund-programmatically/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating a credit memo programmatically</title>
		<link>https://www.the-mage-expert.com/3357/creating-a-credit-memo-programmatically/</link>
		<comments>https://www.the-mage-expert.com/3357/creating-a-credit-memo-programmatically/#comments</comments>
		<pubDate>Wed, 26 Nov 2014 09:36:31 +0000</pubDate>
		<dc:creator><![CDATA[Mex]]></dc:creator>
				<category><![CDATA[Magento Solutions]]></category>
		<category><![CDATA[credit memo]]></category>

		<guid isPermaLink="false">https://www.the-mage-expert.com/?p=3357</guid>
		<description><![CDATA[The following code can create a credit memo for an order. $invoices = array(); foreach ($this->getInvoiceCollection() as $invoice) { $invoices[] = $invoice; } $service = Mage::getModel('sales/service_order', $this); foreach ($invoices as $invoice) { $creditmemo = $service->prepareInvoiceCreditmemo($invoice); $creditmemo->register(); $creditmemo->save(); }]]></description>
				<content:encoded><![CDATA[<p>The following code can create a credit memo for an order. </p>
<pre lang="php">
$invoices = array();
foreach ($this->getInvoiceCollection() as $invoice) {
    $invoices[] = $invoice;
}
        
$service = Mage::getModel('sales/service_order', $this);
foreach ($invoices as $invoice) {
    $creditmemo = $service->prepareInvoiceCreditmemo($invoice);
    $creditmemo->register();
    $creditmemo->save();
}
</pre>]]></content:encoded>
			<wfw:commentRss>https://www.the-mage-expert.com/3357/creating-a-credit-memo-programmatically/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
