All documents are sent to a single endpoint. Your X-Organization-Id and Basic-auth credentials are shared during onboarding. Request access →
Introduction
The DocBridge Document API lets your application create and send business documents — sale orders, sales, purchases and returns — to BUSY through DocBridge. Every request is a JSON POST to the same endpoint; the document_type decides which document is created.
This documentation is intended for developers and integration teams implementing DocBridge integrations.
One endpoint 6 document types JSON payloads
Request Header Reference
Send these headers with every request.
Header
Example / Rule
URL
https://docbridge.bignext.in/api/documents/send/
X-Organization-Id
Unique organization ID provided by the integrating organization.
Authorization
Basic (Base64)
Content-Type
application/json
Endpoint
POST https://docbridge.bignext.in/api/documents/send/
Authentication
Authorization Rule: Basic (Base64) — use Basic Authentication with the required credentials encoded using Base64 (Username:Password).
Defines the JSON request structure used by DocBridge for creating or sending a Sale Order document. The request uses the standard envelope containing document_type, receiver and payload; the Sale Order business data is contained inside the payload object.
Integration Constants
Parameter
Value / Rule
document_type
sale_order
receiver
8bb8dd87-3dce-4f02-a6cc-9ef7d84056f2
transaction_type
12
1. Request Overview
Property
Type
Required
Description
document_type
string
Yes
Must be sale_order.
receiver
UUID / string
Yes
Fixed receiver ID for the integration.
payload
object
Yes
Contains the complete Sale Order header and item-level data.
Defines the JSON request structure used by DocBridge for creating or sending a Sale (sales invoice) document. The request uses the standard envelope containing document_type, receiver and payload; the Sale business data is contained inside the payload object.
Integration Constants
Parameter
Value / Rule
document_type
sale
receiver
8bb8dd87-3dce-4f02-a6cc-9ef7d84056f2
transaction_type
9
1. Request Overview
Property
Type
Required
Description
document_type
string
Yes
Must be sale.
receiver
UUID / string
Yes
Fixed receiver ID for the integration.
payload
object
Yes
Contains the complete Sale header and item-level data.
Defines the JSON request structure used by DocBridge for creating or sending a Sale Return document. The request uses the standard envelope containing document_type, receiver and payload; the Sale Return business data is contained inside the payload object.
Integration Constants
Parameter
Value / Rule
document_type
sale_return
receiver
8bb8dd87-3dce-4f02-a6cc-9ef7d84056f2
transaction_type
3
1. Request Overview
Property
Type
Required
Description
document_type
string
Yes
Must be sale_return.
receiver
UUID / string
Yes
Fixed receiver ID for the integration.
payload
object
Yes
Contains the complete Sale Return header and item-level data.
Defines the JSON request structure used by DocBridge for creating or sending a Purchase Order document. The request uses the standard envelope containing document_type, receiver and payload; the Purchase Order business data is contained inside the payload object.
Integration Constants
Parameter
Value / Rule
document_type
purchase_order
receiver
8bb8dd87-3dce-4f02-a6cc-9ef7d84056f2
transaction_type
13
1. Request Overview
Property
Type
Required
Description
document_type
string
Yes
Must be purchase_order.
receiver
UUID / string
Yes
Fixed receiver ID for the integration.
payload
object
Yes
Contains the complete Purchase Order header and item-level data.
2. Purchase Order Payload Fields
Field
Type
Required
Description
remarks
string
No
General remarks associated with the Purchase Order.
Defines the JSON request structure used by DocBridge for creating or sending a Purchase (purchase invoice) document. The request uses the standard envelope containing document_type, receiver and payload; the Purchase business data is contained inside the payload object.
Integration Constants
Parameter
Value / Rule
document_type
purchase
receiver
8bb8dd87-3dce-4f02-a6cc-9ef7d84056f2
transaction_type
2
1. Request Overview
Property
Type
Required
Description
document_type
string
Yes
Must be purchase.
receiver
UUID / string
Yes
Fixed receiver ID for the integration.
payload
object
Yes
Contains the complete Purchase header and item-level data.
Location / branch / warehouse associated with the purchase.
transaction_date
date string
Yes
Transaction/bill date in YYYY-MM-DD format.
transaction_type
integer
Yes
Transaction type code. Value for Purchase is 2.
transaction_number
string
Yes
Unique transaction/bill number.
transaction_tax_type
string
Yes
Tax classification. Example: Central-ItemWise.
transaction_series_name
string
Yes
Transaction series under which the purchase is recorded.
3. Item Entry Structure11 fields · each object in item_entries is one item line
#
Field
Type
Required
Description
1
serial_no
integer
Yes
Sequential item line number.
2
item_name
string
Yes
Name of the item/product being billed.
3
quantity
number
Yes
Quantity billed.
4
list_price
number
Yes
List price of the item.
5
discount_percent
number
No
Discount percentage applied to the item.
6
net_price
number
Yes
Net unit price.
7
net_amount
number
Yes
Net amount of the item line.
8
tax_rate
number
Yes
Applicable tax rate percentage.
9
tax_amount
number
Yes
Tax amount calculated for the item line.
10
description
string
No
Additional item-level description.
11
short_remarks
string
No
Short remarks associated with the item line.
4. Complete Purchase Request
Request body · purchase
{
"document_type": "purchase",
"receiver": "8bb8dd87-3dce-4f02-a6cc-9ef7d84056f2",
"payload": {
"remarks": "Material received against PO #PO-201",
"party_name": "BIGNEXT TECHNOLOGIES",
"item_entries": [
{
"serial_no": 1,
"item_name": "PG ALU TWIN F 10.0 SQ PVC INS 90M B",
"quantity": 16,
"list_price": 5213,
"discount_percent": 0,
"net_price": 5213,
"net_amount": 83408,
"tax_rate": 18,
"tax_amount": 15013.4,
"description": "#U2KLJP-2026-10-670",
"short_remarks": "Received in good condition"
}
],
"location_name": "LUDHIANA",
"transaction_date": "2026-10-07",
"transaction_type": 2,
"transaction_number": "#PB-310",
"transaction_tax_type": "Central-ItemWise",
"transaction_series_name": "Main"
}
}
Code Samples
POST/api/documents/send/ purchase_return
Purchase Return API
Defines the JSON request structure used by DocBridge for creating or sending a Purchase Return document. The request uses the standard envelope containing document_type, receiver and payload; the Purchase Return business data is contained inside the payload object.
Integration Constants
Parameter
Value / Rule
document_type
purchase_return
receiver
8bb8dd87-3dce-4f02-a6cc-9ef7d84056f2
transaction_type
10
1. Request Overview
Property
Type
Required
Description
document_type
string
Yes
Must be purchase_return.
receiver
UUID / string
Yes
Fixed receiver ID for the integration.
payload
object
Yes
Contains the complete Purchase Return header and item-level data.
2. Purchase Return Payload Fields
Field
Type
Required
Description
remarks
string
No
General remarks associated with the Purchase Return.