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 and export invoices, ensuring streamlined and efficient operations.

What We Offer

All the features mentioned below, and more, can be accessed directly using the Swipe Portal.

  1. Document Creation: Easily generate professional invoices, pro forma invoices, sales returns, and purchase returns tailored to your business needs.

    Steps to create a document:

    1. Checkout the create document endpoint in the API playground and use your API key to test the endpoint.
    2. If your API key is valid, this API endpoint returns a 200 response with document details in a specified JSON format.

    Things to keep in mind:

    1. You can send your product_id and customer_id to create a document. These will be internally mapped to the product and customer details in Swipe.
    2. If the Product or Party is not found, they will be created automatically with the details provided.
    3. If new details for Party are provided, they will be updated in the system which will be reflected in your existing documents as well.

    Create Document

    Try Creating a document

  2. Fetch PDF: Access PDFs of already created documents.

    Steps to get document PDFs:

    1. Checkout the get document PDF endpoint in the API playground. For doc_hash_id, use the hash_id received from creating the document.
    2. If your API key is valid, this API endpoint returns a 200 response along with the PDF.

    Fetch Document PDF

    Fetch PDFs of documents that are already created

    Snapshot of a document PDF

  3. Get Document: Access specific product information quickly for operational needs or customer queries.

    Steps to get particular document details:

    1. Checkout the get document endpoint in the API playground. For doc_hash_id, use the hash_id received from creating the document.
    2. If your API key is valid, this API endpoint returns a 200 response with document details in a specified JSON format.

    Get Document

    Try fetching document details

  4. Document Cancellation: Easily cancel your documents.

    Steps to cancel a document:

    1. Checkout the cancel document endpoint in the API playground. For doc_hash_id, use the hash_id received from creating the document.
    2. If your API key is valid, this API endpoint returns a 200 response with document details in a specified JSON format.

    Cancel a Document

    Try Cancelling an active document

  5. List of Documents: Retrieve a complete list of all documents in your system based on the payment status, enabling seamless tracking and management.

    Steps to get list of documents created:

    1. Checkout the list document endpoint in the API playground.
    2. If your API key is valid, this API endpoint returns a 200 response with a list of all the documents with basic details in JSON format.

    List of Documents

    Fetch List of all documents

    You can keep track of all documents on Swipe Dashboard