Skip to main content
Question

How to create collective customer invoices - Apps 10 using aurena api?

  • December 27, 2024
  • 0 replies
  • 96 views

Forum|alt.badge.img+4

Hi experts,

I am trying to create collective customer invoices using aurena api endpoint

endpoint is 
/int/ifsapplications/projection/v1/CreateCollectiveCustomerInvoices.svc/MakeCollectiveInvoice

 

payload is 
 

{"FullSelection":"BILL_ADDR_NO_KEY=1^COMPANY=xxx^CONTRACT=xxxx^CURRENCY_CODE=LKR^CURRENCY_RATE_TYPE_KEY= ^CUSTOMER_NO=10010^JINSUI_INVOICE=FALSE^PAY_TERM_ID_KEY=S030^PROJECT_ID_KEY=*^TAX_LIABILITY_COUNTRY_DB=LK^USE_PRICE_INCL_TAX=FALSE^","ClosestClosingDate":null,"CustomerInvoiceClosingDateSelection":"IgnoreClosingDate","SelectionCounter":"1"}

FullSelection is KeyRef from bellow api call 

int/ifsapplications/projection/v1/CreateCollectiveCustomerInvoices.svc/InvoiceCustomerOrderSet?$filter=CustomerNo eq '10010'&$skip=0&$select=ClosingDate,BillAddrNoKey,Contract,CurrencyCode,CurrencyRateTypeKey,CustomerNo,JinsuiInvoice,PayTermIdKey,ProjectIdKey,TaxLiabilityCountryDb,UsePriceInclTax,PlannedInvoiceDate,PayTermId,BillAddrNo,OrdersNotInvoiced,JinsuiInvoiceBool,CurrencyRateType,CurrencyRateTypeDescription,ProjectId,luname,keyref&$top=1&$count=false&$orderby=CustomerNo 

when i call to MakeCollectiveInvoice endpoint it returns me 204 No Content response but i navigate to 
Create Collective Customer Invoice window in enterprise explorer the customer is not invoiced.
I also checked the customer orders from quick order flow handling window , the orders still in Delivered status.

can anyone help me to identify the issue here!

Thanks,

Roshan 

0 replies

Be the first to reply!