Our comprehensive API solution allows you to manage essential business documents such as invoices, subscriptions, pro forma invoices, sales returns, and purchase returns. With our APIs, you can effortlessly create, manage, and retrieve documents, including E-invoices, EwayBills and export invoices, ensuring streamlined and efficient operations.Documentation Index
Fetch the complete documentation index at: https://developers.getswipe.in/llms.txt
Use this file to discover all available pages before exploring further.
What We Offer
All the features mentioned below, and more, can be accessed directly using
the Swipe Portal.
-
E-Invoice Creation: Easily generate e-invoices by passing
einvoice=1in the document creation API request.Steps to create an e-invoice:
- Checkout the create document endpoint in the API playground and use your API key to test the endpoint.
- Pass
einvoice=1in the request body along with the other document details to generate an e-invoice. - If your API key is valid, this API endpoint returns a 200 response with document details including the IRN (Invoice Reference Number) in a specified JSON format.
Things to keep in mind:
- To generate E-Invoices from the APIs, first ensure that you are connected to the E-Invoice portal.
- You can connect to the E-Invoice portal from here by clicking on Connect to E-Invoice Portal.
- The
einvoice=1field in the Create Document API triggers e-invoice generation along with the document.
Create E-Invoice
Try Creating an E-Invoice -
Fetch PDF: Access PDFs of already created e-invoice documents.
Steps to get E-Invoice PDFs:
- Checkout the get document PDF endpoint in the API playground. For
doc_hash_id, use thehash_idreceived from creating the document. - If your API key is valid, this API endpoint returns a 200 response along with the PDF.
Fetch E-Invoice PDF
Fetch PDFs of E-Invoices that are already created - Checkout the get document PDF endpoint in the API playground. For