{"id":283,"date":"2022-01-06T09:09:05","date_gmt":"2022-01-06T09:09:05","guid":{"rendered":"https:\/\/www.mastergst.com\/test\/?post_type=docs&#038;p=283"},"modified":"2022-05-20T09:41:01","modified_gmt":"2022-05-20T09:41:01","slug":"e-invoice-api-overview","status":"publish","type":"docs","link":"https:\/\/mastergst.com\/blog\/guide\/e-invoice-api-overview\/","title":{"rendered":"e-Invoice API Overview"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"283\" class=\"elementor elementor-283\" data-elementor-post-type=\"docs\">\n\t\t\t\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-8e0a2e2 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"8e0a2e2\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-e95021f\" data-id=\"e95021f\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-79838a3 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"79838a3\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-611479e\" data-id=\"611479e\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-ee57fad elementor-widget elementor-widget-text-editor\" data-id=\"ee57fad\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<style>\/*! elementor - v3.16.0 - 20-09-2023 *\/\n.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:#69727d;color:#fff}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap{color:#69727d;border:3px solid;background-color:transparent}.elementor-widget-text-editor:not(.elementor-drop-cap-view-default) .elementor-drop-cap{margin-top:8px}.elementor-widget-text-editor:not(.elementor-drop-cap-view-default) .elementor-drop-cap-letter{width:1em;height:1em}.elementor-widget-text-editor .elementor-drop-cap{float:left;text-align:center;line-height:1;font-size:50px}.elementor-widget-text-editor .elementor-drop-cap-letter{display:inline-block}<\/style>\t\t\t\t<p>E-invoice APIs communicate and exchange data between Taxpayers or GSP systems and the e-Invoice system. This section describes standards and formats used to define API exposed by the e-Invoice system. E-Invoice APIs are implemented as RESTful Web Services.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e40e7ff elementor-widget elementor-widget-heading\" data-id=\"e40e7ff\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<style>\/*! elementor - v3.16.0 - 20-09-2023 *\/\n.elementor-heading-title{padding:0;margin:0;line-height:1}.elementor-widget-heading .elementor-heading-title[class*=elementor-size-]>a{color:inherit;font-size:inherit;line-height:inherit}.elementor-widget-heading .elementor-heading-title.elementor-size-small{font-size:15px}.elementor-widget-heading .elementor-heading-title.elementor-size-medium{font-size:19px}.elementor-widget-heading .elementor-heading-title.elementor-size-large{font-size:29px}.elementor-widget-heading .elementor-heading-title.elementor-size-xl{font-size:39px}.elementor-widget-heading .elementor-heading-title.elementor-size-xxl{font-size:59px}<\/style><h5 class=\"elementor-heading-title elementor-size-default\">Following HTTP methods are used across the APIs<\/h5>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d05f293 elementor-widget elementor-widget-text-editor\" data-id=\"d05f293\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<ul><li><span data-preserver-spaces=\"true\">It is essential to get authenticated to make use of any API. The user has to call the Authentication API and get a token. Subsequent calls to other APIs should carry this valid token. Details of the Authentication API are available under the API documentation.<\/span><\/li><li><span data-preserver-spaces=\"true\">Password and AppKey, during the authentication process, have to be encrypted using the public key, which the e-Invoice system will provide.<\/span><\/li><li><span data-preserver-spaces=\"true\">Successful authentication also provides Session Encryption Key(SEK). Subsequent request payloads should be encrypted using this key. Responses from the e-Invoice system will be encrypted using this key. The payloads are encrypted using the symmetric algorithm.<\/span><\/li><li><span data-preserver-spaces=\"true\">The responses of some of the API calls like \u201cGenerate &#8211; IRN\u201d, \u201cGet IRN Details\u201d will have the complete e-Invoice and QR- Code data digitally signed using JSON Web Token (JWT) and JSON Web Signature (JWS) with \u201cSHA256RSA\u201d algorithm.<\/span><\/li><li><span data-preserver-spaces=\"true\">More information on the above is available in the respective API documentation in this portal.<\/span><\/li><\/ul>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-2b542e6 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"2b542e6\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-c41b75f\" data-id=\"c41b75f\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-41b547f elementor-widget elementor-widget-heading\" data-id=\"41b547f\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h5 class=\"elementor-heading-title elementor-size-default\">Following HTTP methods are used across the APIs<\/h5>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e5f5ecd elementor-widget elementor-widget-image\" data-id=\"e5f5ecd\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<style>\/*! elementor - v3.16.0 - 20-09-2023 *\/\n.elementor-widget-image{text-align:center}.elementor-widget-image a{display:inline-block}.elementor-widget-image a img[src$=\".svg\"]{width:48px}.elementor-widget-image img{vertical-align:middle;display:inline-block}<\/style>\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/www.mastergst.com\/resources\/wp-content\/uploads\/2022\/01\/authentication-token-request-process.jpg\" title=\"\" alt=\"\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-b666f37 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"b666f37\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-3e6ef79\" data-id=\"3e6ef79\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-c6633e9 elementor-widget elementor-widget-heading\" data-id=\"c6633e9\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h5 class=\"elementor-heading-title elementor-size-default\">Process flow for other services<\/h5>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-77756d1 elementor-widget elementor-widget-image\" data-id=\"77756d1\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/www.mastergst.com\/resources\/wp-content\/uploads\/2022\/01\/process-flow-for-other-services.jpg\" title=\"\" alt=\"\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>E-invoice APIs communicate and exchange data between Taxpayers or GSP systems and the e-Invoice system. This section describes standards and formats used to define API exposed by the e-Invoice system. E-Invoice APIs are implemented as RESTful Web Services. Following HTTP methods are used across the APIs HTTP Method GET To fetch data from e-Invoice system [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":[],"doc_category":[],"doc_tag":[],"_links":{"self":[{"href":"https:\/\/mastergst.com\/blog\/wp-json\/wp\/v2\/docs\/283"}],"collection":[{"href":"https:\/\/mastergst.com\/blog\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/mastergst.com\/blog\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/mastergst.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mastergst.com\/blog\/wp-json\/wp\/v2\/comments?post=283"}],"version-history":[{"count":0,"href":"https:\/\/mastergst.com\/blog\/wp-json\/wp\/v2\/docs\/283\/revisions"}],"wp:attachment":[{"href":"https:\/\/mastergst.com\/blog\/wp-json\/wp\/v2\/media?parent=283"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/mastergst.com\/blog\/wp-json\/wp\/v2\/doc_category?post=283"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/mastergst.com\/blog\/wp-json\/wp\/v2\/doc_tag?post=283"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}