Reporting API : Preview invoices in status 'New'

We are pleased to introduce new Reporting API feature, which will help for Distributors and Direct Resellers to Preview their Incoming and Outgoing invoices in Status "New" through API. 

In Status "New"  Distributors  will be able to Preview their incoming invoices from Vendors and their outgoing invoices for 2tier Resellers and Direct End Customers, similar Direct Resellers will be able to Preview their incoming invoices from Vendors and their outgoing invoices for End Customers before doing approval ( Verification ) of Invoices.

In order to get Invoices in Status "New", user should run queries bellow:

invoice-headers/preview

https://api.telemetry.appxite.com:8449/api/v1/reporting/api/v1/reporting/invoices/invoice-headers/{requesterId}/preview

invoice-rows/preview

https://api.telemetry.appxite.com:8449/api/v1/reporting/api/v1/reporting/invoices/invoice-rows/{requesterId}/preview

Replace the requesterId with your Organization ID.

To view detailed documentation please visit the Postman collection here: Postman Collection

From API above user should receive an information about (considering 1 subscription in response):

1) Indirect chain

     As Distributor invoicing 2tier Reseller, user will receive 2 invoices in Status "New" :

  •  invoice  between Vendor and Distributor
  •  invoice between Distributor and 2tier Reseller

     As Distributor invoicing directly End Customer, user will get 2 invoices with Status "New":

  •  invoice  between Vendor and Distributor
  •  invoice between Distributor and End Customer

2) Direct chain

     As Direct Reseller invoicing End Customer, user will receive 2 invoices with Status "New":

  •  invoice  between Vendor and Direct Reseller
  •  invoice between Direct Reseller and End Customer
In case 2tier Reseller or End Customer will run these queries, they will get 0 invoices. As Distributor and Direct Reseller provides invoices for them.

Was this article helpful?

0 out of 0 found this helpful

Add comment

Please sign in to leave a comment.