Search Engine: Elastic

Article ID: 115455, created on Jan 28, 2013, last review on Sep 26, 2015

  • Applies to:
  • Odin Business Automation Standard 4.5


API function create_custom_invoice does not allow to create negative amount invoices.

my %h = (
 description => 'create_custom_invoice test',
 account_no => 10,
 items => [{rate => '-1000', quantity => 1, comment => 'comment'}],
 my $obj = $client->ns('HSPC/API/Billing/1.0')->create_custom_invoice(%h)->result;

 Execution fails with the error:
Fault: Cannot create invoice with amount =-1000 soap:InvoiceFailed  at ./ line 15.


Function create_custom_invoice accepts only positive amount for invoice items.


It is impossible to create Credit Invoices through API in the current OBAS implementation. This functionality will be considered for inclusion in future product versions.

Credit Invoice creation is allowed from the OBAS Provider Control Center (PCC).

400e18f6ede9f8be5575a475d2d6b0a6 caea8340e2d186a540518d08602aa065 624ca542e40215e6f1d39170d8e7ec75 70a5401e8b9354cd1d64d0346f2c4a3e

Email subscription for changes to this article
Save as PDF