E-INVOICE : add note top level
This commit is contained in:
parent
b3215890d0
commit
8462e4ffe3
3 changed files with 37 additions and 8 deletions
|
|
@ -565,7 +565,10 @@ class InvoiceUBL21 extends XMLInvoice {
|
|||
/**
|
||||
* add note if any
|
||||
*/
|
||||
|
||||
if ( $this->data['note'] != "")
|
||||
{
|
||||
$root->appendChild($this->createElement("cbc:Note",$this->data['note']));
|
||||
}
|
||||
$root->appendChild($this->createElement('cbc:DocumentCurrencyCode',$this->data['currency']));
|
||||
$root->appendChild($this->createElement('cbc:BuyerReference',$this->data['info']['order']));
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue