[Spce-user] Problem my creating an invoice

Matthias Hohl matthias.hohl at telematica.at
Fri Apr 8 03:47:04 EDT 2016



today i found a failure by creating an invoice for a single customer:

I tested some more subscribers, and for this it works without problem, but at this one, I can’t create an invoice.


Failed to create invoice. [1443516CD72CADC0]


Apr  8 09:23:52 spce (local0.err) ngcp-panel: ERROR: IP=80.109.xxx.xxx CALLED=Controller::Invoice::__ANON__ TX=1443516CD6ADE0D0 USER=john.doe DATA={ 'period' => '2016-03', 'template.id' => '2', 'contract.id' => '147', 'submitid' => '', 'save' => 'Save'} MSG="Failed to render invoice" LOG="not well-formed (invalid token) at line 44, column 98, byte 839451: <text fill="black" id="svg_31" font-weight="bold" font-size="8" font-family="Verdana" y="385.56" x="538.65" text-anchor="end">Summe in €</text> <line id="svg_32" stroke="#000000" y2="391.23" x2="538.65" y1="391.23" x1="62.37" /> <text id="svg_33" font-size="8" font-family="Verdana" y="408.24" x="62.37">Telematica Surf&Phone</text>=================================================================================================^ <text id="svg_34" font-size="8" font-family="Verdana" y="408.24" x="283.5" text-anchor="end">1</text> <text id="svg_35" font-size="8" font-family="Verdana" y="408.24" x="377.055" text-anchor="end">0.00</text> at /usr/lib/x86_64-linux-gnu/perl5/5.20/XML/Parser.pm line 187."



So I did some research and found out the problem was the Name of the Billing Profile “Telematica Surf&Phone”.

If I remove the “&” I can create the Invoice without a problem.


Just for your info, maybe some day, you can fix this or do a restriction in the “name” field.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20160408/4959ee86/attachment.html>

More information about the Spce-user mailing list