Reporting API v1 - preview invoices in status 'New'
Introduction
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 this article:
Preview endpoints
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
Direct vs Indirect chain
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
Summary
Distributors and Direct Resellers can preview their incoming and outgoing Invoices in "New" status through new Reporting API preview endpoints before Invoice approval. Use the invoice-headers/preview and invoice-rows/preview endpoints with your Organization ID to retrieve these Invoices. In an indirect chain, Distributors receive two Invoices: one between vendor and Distributor, and one between Distributor and either 2-tier Reseller or End Customer. In a direct chain, Direct Resellers receive two Invoices: one between vendor and Direct Reseller, and one between Direct Reseller and End Customer. Note that 2-tier Resellers and End Customers will receive zero Invoices when running these queries, as their Invoices are provided by Distributors or Direct Resellers.
Was this article helpful?
Articles in this section
- Reporting API v1 - overview
- Reporting API v2 - overview
- Reporting API v1/v2 - requesting access
- Reporting API v1 - data model
- Reporting API v1 - how to map your invoice data
- Reporting API v1 - detailed invoice line items
- Reporting API v2 - Invoice Taxes
- Reporting API v1 - how to identify organizations in your sales channel
- Reporting API v1 - currencies within the invoices
- Reporting API v1 - preview invoices in status 'New'
Add comment
Please sign in to leave a comment.