Vendor Details API
Vendor APIs
Vendor Details API
Retrieve detailed vendor information including tax, address, accounting, and payment summary data
Vendor Details API
Documentation Index
Fetch the complete documentation index at: https://docs.pazy.io/llms.txt
Use this file to discover all available pages before exploring further.
Authentication
All requests require an API key in the request headers. Headers:Request
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
vendorId | string | Yes | The unique slug identifier of the vendor |
Code Examples
Success Response
HTTP Status:200 OK
Response Fields:
| Field | Type | Description |
|---|---|---|
ok | boolean | Indicates whether the request was successful |
data | object | Contains the vendor details |
data.id | string | Unique slug identifier for the vendor |
data.name | string | Vendor display name. Falls back to legal name if display name is unavailable |
data.expenseAccount | object | Expense account mapped to the vendor |
data.expenseAccount.id | number or null | Unique identifier of the expense account |
data.expenseAccount.name | string or null | Expense account name |
data.GSTIN | string | Vendor GSTIN. Empty string if not set |
data.PAN | string | Vendor PAN. Empty string if not set |
data.dateCreated | string | ISO 8601 timestamp when the vendor was created |
data.email | string | Vendor email address. Empty string if not set |
data.ownerId | string | Unique slug identifier of the vendor owner |
data.ownerName | string | Full name of the vendor owner |
data.totalPaidAmount | number or string | Total amount paid to the vendor |
data.outstandingAmount | number or string | Total outstanding amount for the vendor |
data.overdueAmount | number or string | Total overdue amount for the vendor |
data.advanceAmount | number or string | Total advance amount available for the vendor |
data.advancePendingAmount | number or string | Pending advance amount for the vendor |
data.currency | string | Currency code for the vendor amount summaries. Defaults to INR when unavailable |
data.accountingSynced | boolean | Indicates whether the vendor is synced to the connected accounting platform |
data.accountingSyncId | string | Identifier of the vendor in the connected accounting platform |
data.accountingPlatform | string | Connected accounting platform name. Present only when an accounting integration exists |
data.address | object | Vendor address details |
data.address.line1 | string | Primary address line |
data.address.line2 | string | Secondary address line |
data.address.state | string | State or region |
data.address.country | string | Country |
data.address.pinCode | string | Postal or PIN code |
data.locality | string | Vendor locality, such as DOMESTIC or INTERNATIONAL |
data.msmeStatus | string | MSME status. Possible normalized values are YES, NO, or NOT_AVAILABLE |
data.stats | object | Vendor activity counters |
data.stats.draftInvoicesCount | number | Number of draft invoices associated with the vendor |
data.stats.advancePaymentRequestsCount | number | Number of active advance payment requests associated with the vendor |
data.selfUrl | string | Share URL for the vendor |
data.taxation | object | Vendor tax configuration |
data.taxation.tds | object | TDS configuration for the vendor |
data.taxation.tds.name | string or null | TDS ledger name |
data.taxation.tds.ratePercent | number or null | TDS rate percentage |
data.taxation.tds.section | string or null | TDS section |
data.bankingDetails | object or null | Vendor banking details. null if no bank account is configured |
data.bankingDetails.type | string | Bank account type. Possible values: IFSC (Indian bank account), IBAN (International bank account), UPI (UPI ID) |
data.bankingDetails.primaryIdentifier | string | Primary identifier for the account. For IFSC type, this is the bank account number. For IBAN type, this is the IBAN. For UPI type, this is the UPI ID |
data.bankingDetails.secondaryIdentifier | string | Secondary identifier for the account. For IFSC type, this is the IFSC code. For IBAN type, this is the SWIFT code. Empty string if not applicable |
Response Example
Error Responses
Missing Vendor ID
HTTP Status:400 Bad Request
Vendor Not Found
HTTP Status:404 Not Found
Access Denied
HTTP Status:403 Forbidden
Authentication Errors
HTTP Status:401 Unauthorized
Permission Errors
HTTP Status:403 Forbidden
Internal Error
HTTP Status:500 Internal Server Error
Best Practices
- Use the
vendorIdreturned from the Vendor Creation API or Vendor Search API to retrieve details - Store
data.idas the stable vendor identifier for related APIs such as vendor documents, audit trail, advances, and payments - Check
accountingSyncedandaccountingSyncIdbefore relying on accounting-platform identifiers - Treat amount fields as optional because they may be empty strings when no matching financial activity exists
- Access is limited to users with vendor read permission and an admin or accountant role