StoreHarmony API
  1. Invoicing Operations
StoreHarmony API
  • Storeharmony API
  • Mobile Apps
    • Apps Registration
      • Authentication
        • Verify User Registration from a Website
        • Verify User Registration
        • Reset User Password
        • Register a new store
        • User Login For Apps
        • Authenticate User
    • Stock Inventory
      • Stock Categories
        • getStoreCategories
        • updateStoreCategory
        • createStoreCategory
        • createStoreSubCategory
        • deleteStoreCategory
        • Upload Category Picture
        • createBulkStoreCategory
      • Create Bulk Products
      • Create Product with Variants
      • Add Variants to Product
      • Upload Product Picture
      • Update Product Prices
      • Add New Quantity to Product
      • Deduct Quantity from Product
      • Creates a simple product in the inventory
      • Get Product by Item ID
      • getProductTransfers
      • acceptTransferIntoStore
      • listProductsPricesForRecentChanges
      • listProductsPrices
      • Get Inventory Stock Items
      • getProductAudit
      • findBySKU
      • Update Product
      • Removes provided variants from provided Existing Product
      • Add Variants to Existing Product
      • getProductsWithComplexQuery
      • Removes Product by Item ID
      • Add Variants to Existing Product
    • Store Admin Operations
      • Get Store User
      • Edit Store User
      • Delete a Store User
      • Get Bank Account List for the Store
      • Update Bank Account Details
      • Create Bank Account
      • Delete Bank Account
      • Add a User to Store
      • Set Default Bank
      • List all users for a Store User
      • Get Bank Account Details
      • Delete Bank Account
    • Invoicing Operations
      • createPDFInvoiceLink
        POST
  • CRM
    • Customer Registration
      • Register a new customer
      • Log in a customer
      • Verify Customer Email
      • Verify Customer Mobile
      • Reset Customer Password
  • Online Store
    • Restuarant Order Menus AppCalls
      • Place an Order
      • Submit Store Review
      • getServiceName
      • Load a Restro Store Detail
      • Restro Product Order
      • Track Order Status
      • Restro Store Tables
      • List Auto Categories
      • Restro Product Details
      • Fetch Related Products or Recommended Pairs for a Product
      • Fetch All Categories
      • Fetch All Products Belonging to a Particular Category
      • Fetch All Products by Store ID Based on Categories and Subcategories
      • Fetch All Categories and Subcategories by Store ID
    • updatesOrder
      PUT
    • cancelOrder
      DELETE
    • postCustomerReview
      POST
    • getCustomerProfile
      GET
    • updateProfile
      POST
    • updateProfileShippingAddress
      POST
    • submitIssues
      POST
    • placeOrderToStore
      POST
    • contactStore
      POST
    • calculateOrderShipping
      POST
    • passResetting
      POST
    • getStoreInfo
      GET
    • getCustomerWalletReport
      GET
    • getRegularPurchase
      GET
    • getRecentPurchase
      GET
    • getCustomerReceipts
      GET
    • getReceiptDetails_1
      GET
    • getCustomerProfileDetails
      GET
    • getCustomerOrders
      GET
    • getOrderDetails
      GET
    • getCustomerLoyaltyReport
      GET
    • getCustomerInvoices
      GET
    • trackPayment
      GET
    • trackOrder_1
      GET
    • loadDeliverypolicy
      GET
    • listAutoCategories_1
      GET
    • getShippingRates
      GET
    • shippingInformation
      GET
    • searchProducts
      GET
    • sendReceipt
      GET
    • listStoreProductsForHome
      GET
    • loadProductByItemId_1
      GET
    • getCustomerReview
      GET
    • loadProducRecommendationsByItemId
      GET
    • loadProductBySlug
      GET
    • loadRelatedProductsByItemId
      GET
    • loadPrivacypolicy
      GET
    • searchPagedProducts
      GET
    • searchPagedProductsByPages
      GET
    • getStoreLocations
      GET
    • getGeocode
      GET
    • loadHomeBanners
      GET
    • getCountries_1
      GET
    • getCountryStates_1
      GET
    • getCountryStatesLGARegion_1
      GET
    • loadStoreCategories_1
      GET
    • loadStoreSubCategories_1
      GET
    • loadStoreAllCategoriesAndSubCategories_1
      GET
    • loadStoreBanners
      GET
    • verifyMobile_1
      GET
    • verifyEmail
      GET
    • loadAboutUs
      GET
    • Log in a customer with token
      POST
    • Log in a customer
      POST
    • Register a new customer
      POST
  • User Operations
    • Get User Information
    • Update User Information
    • Set Default Wallet Bank Account
    • Set VAT, VAT Type and currency etc used for business activities in this location
    • Set a particular location as the default store used for business activities
    • Retrieve Profile Image
    • Upload Profile Image
    • Log a User Complaint
    • createNewStoreLocation
    • Change User Password
    • Get the details, settings and important parameters for a store location
    • Get Bank Account Details
    • Switch account to another store location
    • Get User Store Locations
  • Data Sources & Reports
    • getSalesReportsDetails
    • getSalesReports
    • Sales Report with products sold
    • Sales Report by Criteria
    • Track Sales By Receipt
    • getCustomerDataSet
  • Utility Operations
    • Create PDF Invoice Link
    • Load Store Credentials By ID
    • Verify Mobile Number
    • Verify Email Address
    • Retrieve Store Profiles
    • Retrieve List of Roles
    • Retrieve Registered Nigerian Banks. Only Supports Nigerian Banks
    • Lookup Bank Account Details
    • Retrieve List of Countries
    • Retrieve States in a Country
    • Retrieve Regions within a State
  • Payments & Webhooks
    • reversalMerchantPOSTerminal_1
    • payViaMerchantPOSTerminal_1
    • Creates a bank transfer account
  • Webhooks & Operations
    • reversalMerchantPOSTerminal
    • payViaMerchantPOSTerminal
  1. Invoicing Operations

createPDFInvoiceLink

POST
/invoice/{storeid}/createInvoicePDF
Invoicing Operations

Request

Path Params
storeid
string 
required
Body Params application/json
Invoice details for generating the PDF
currency
string 
required
Currency used for the invoice (e.g., USD, EUR)
clientName
string 
required
Client's first name
clientCompanyName
string 
required
Client's company name
clientBillingAddress
string 
required
Client's billing address
clientPhone
string 
required
Client's phone number
clientEmail
string 
required
Client's email address
invoiceNumber
string 
required
Unique invoice number
invoiceDate
string 
required
Date the invoice was issued
dueDate
string 
required
Due date for payment
paymentMethod
string 
required
Payment method used for the invoice
bankName
string 
optional
Name of the bank used for payment
bankAccountNo
string 
optional
Bank account number for payments
onlineGatewayLink
string 
optional
Online payment gateway link for invoice
services
array[object (PDFInvoiceItem) {5}] 
required
List of services included in the invoice
description
string 
optional
remarks
string 
optional
quantity
number <double>
optional
unitRate
string 
optional
total
string 
optional
taxRate
string 
required
Tax rate applicable to the invoice
taxValue
number <double>
required
Total tax value calculated for the invoice
subtotal
string 
required
Subtotal amount before tax
total
string 
required
Total amount including tax
logoPath
string 
optional
Path to the logo image for the invoice
alignLogo
boolean 
optional
Flag to determine if the logo should be aligned
addPaymentQr
boolean 
optional
Flag to determine if a payment QR code should be added
addLogoImage
boolean 
optional
Flag to determine if a logo image should be added
businessName
string 
required
Business name of the issuer of the invoice
businessEmail
string 
required
Business email of the issuer of the invoice
businessMobile
string 
required
Business mobile number of the issuer of the invoice
businessWebsite
string 
optional
Business website of the issuer of the invoice
businessAddress
string 
optional
Business address of the issuer of the invoice
termsAndConditions
string 
optional
Terms and conditions related to the invoice
invoiceType
string 
optional
Type of the invoice (e.g., standard, recurring)
totalValue
number <double>
optional
totalValueLong
integer <int64>
optional
Example
{
  "currency": "string",
  "clientName": "string",
  "clientCompanyName": "string",
  "clientBillingAddress": "string",
  "clientPhone": "string",
  "clientEmail": "string",
  "invoiceNumber": "string",
  "invoiceDate": "string",
  "dueDate": "string",
  "paymentMethod": "string",
  "bankName": "string",
  "bankAccountNo": "string",
  "onlineGatewayLink": "string",
  "services": [
    {
      "description": "string",
      "remarks": "string",
      "quantity": 0,
      "unitRate": "string",
      "total": "string"
    }
  ],
  "taxRate": "string",
  "taxValue": 0,
  "subtotal": "string",
  "total": "string",
  "logoPath": "string",
  "alignLogo": true,
  "addPaymentQr": true,
  "addLogoImage": true,
  "businessName": "string",
  "businessEmail": "string",
  "businessMobile": "string",
  "businessWebsite": "string",
  "businessAddress": "string",
  "termsAndConditions": "string",
  "invoiceType": "string",
  "totalValue": 0,
  "totalValueLong": 0
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://gateway.storeharmony.com/cloudapi/invoice//createInvoicePDF' \
--header 'Content-Type: application/json' \
--data-raw '{
    "currency": "string",
    "clientName": "string",
    "clientCompanyName": "string",
    "clientBillingAddress": "string",
    "clientPhone": "string",
    "clientEmail": "string",
    "invoiceNumber": "string",
    "invoiceDate": "string",
    "dueDate": "string",
    "paymentMethod": "string",
    "bankName": "string",
    "bankAccountNo": "string",
    "onlineGatewayLink": "string",
    "services": [
        {
            "description": "string",
            "remarks": "string",
            "quantity": 0,
            "unitRate": "string",
            "total": "string"
        }
    ],
    "taxRate": "string",
    "taxValue": 0,
    "subtotal": "string",
    "total": "string",
    "logoPath": "string",
    "alignLogo": true,
    "addPaymentQr": true,
    "addLogoImage": true,
    "businessName": "string",
    "businessEmail": "string",
    "businessMobile": "string",
    "businessWebsite": "string",
    "businessAddress": "string",
    "termsAndConditions": "string",
    "invoiceType": "string",
    "totalValue": 0,
    "totalValueLong": 0
}'

Responses

🟢200OK
*/*
OK
Body
string 
optional
Example
"string"
Modified at 2025-03-27 14:31:04
Previous
Delete Bank Account
Next
Register a new customer
Built with