HisabKitab
  1. Purchase Transaction
HisabKitab
  • Third Party APIs
    • How to Generate ApiKey ?
    • Account Master
      • Ledger Groups
        • List of All Groups
        • Create Group
        • Create Batch Groups
        • Edit Group
        • Update Group
        • Delete Group
      • Ledgers
        • Create Ledger
          • Customer Ledger
          • Supplier Ledger
          • Bank Ledger
          • Capital Ledger
          • Cash Ledger
          • Income Ledger
          • Expense Ledger
          • Fixed Asset Ledger
          • Investment Ledger
          • Loan and Advance (Asset) Ledger
          • Misc Assets Ledger
          • Other Current Assets Ledger
          • Taxes - GST Ledger
          • Taxes - TDS Ledger
          • Taxes - TCS Ledger
          • Provisions Ledger
          • Reserve and Surplus Ledger
          • Secured Loan Ledger
          • Unsecured Loan Ledger
          • Stock In Hand Ledger
          • Other Current Liabilities Ledger
          • TDS Receivable Ledger
          • TCS Receivable Ledger
        • Ledger Detail
        • List of all Ledgers
        • Edit Ledger
        • Update Ledger
        • Delete Ledger
        • Delete Ledger Media
        • Add Location(Fixed Asset )
        • Check Unique GST Number
        • Check Unique GST Number with Ledger
        • Holding & Profit Ratio
        • Ledger TDS tax Data
        • Ledger TCS tax Data
    • Item Master
      • Item Groups
        • List of all groups
        • Create Group
        • Create Batch Groups
        • Edit Group
        • Update Group
        • Delete Group
      • Items
        • Item Form Details
        • List of items
        • Create Good Item
        • Create Service Item
        • Edit Item
        • Update Item
        • Delete Item
      • Unit of Measurement
        • List of Unit of Measurement
        • Create Unit of Measurement
        • Edit Unit of Measurement
        • Update Unit of Measurement
        • Delete Unit of Measurement
    • Broker Master
      • List of Brokers
      • Create Broker
      • Edit Broker
      • Update Broker
      • Delete Broker
    • Transport Master
      • List of Transport
      • Create Transport
      • Edit Transport
      • Update Transport
      • Delete Transport
    • Cess Rate
      • List of Cess Rate
      • Create Cess Rate
      • Edit Cess Rate
      • Update Cess Rate
      • Delete Cess Rate
    • Dispatch Address
      • List of Dispatch Address
      • Create Dispatch Address
      • Edit Dispatch Address
      • Update Dispatch Address
      • Delete Dispatch Address
    • Shipping Address
      • List of Shipping Addresses
      • Create Shipping Address
      • Edit Shipping Address
      • Update Shipping Address
      • Delete Shipping Address
    • Comman APIs
      • Company Details
      • Countries
      • States
      • Cities
      • Gst Rates
      • Classification-nature-type
    • Configuration
      • Sale
        • Sale Configuration
        • Update Configuration
        • Update Configuration with Type
      • Sale Return
        • Sale Return Configuration
        • Update Configuration
        • Update Configuration with Type
      • Income Debit Note
        • Debit Note Configuration
        • Update Configuration
        • Update Configuration with Type
      • Income Credit Note
        • Credit Note Configuration
        • Update Configuration
        • Update Configuration with Type
      • Estimate Quote
        • Estimate Configuration
        • Update Configuration with Type
        • Update Configuration
      • Delivery Challan
        • Delivery Challan Configuration
        • Update Configuration
        • Update Configuration with Type
      • Purchase
        • Purchase Configuration
        • Update Configuration
        • Update Configuration with Type
      • Purchase Return
        • Purchase Return Configuration
        • Update Configuration
        • Update Configuration with Type
      • Expense Credit Note
        • Expense Credit Note Configuration
        • Update Configuration
        • Update Configuration with Type
      • Expense Debit Note
        • Expense Debit Note Configuration
        • Update Configuration
        • Update Configuration with Type
      • Purchase Order
        • Purchase Order Configuration
        • Update Configuration
        • Update Configuration with Type
    • Sale Transactions
      • List of Transactions
      • Next Invoice Number
      • Create Item Sale
      • Create Accounting Sale
      • Edit Sale
      • Update Sale
      • Duplicate Sale
      • Delete Sale
      • Get Sale For Sale Return
      • Create Challan From Sale Invoice
    • Sale Return Transaction
      • List of Transactions
      • Next Invoice Number
      • Create Item Sale Return
      • Create Accounting Sale Return
      • Edit Sale Return
      • Update Sale Return
      • Duplicate Sale Return
      • Delete Sale Return
    • Income Debit Note Transaction
      • List of Transactions
      • Next Invoice Number
      • Create Item Debit Note
      • Create Accounting Debit Note
      • Edit Debit Note
      • Update Debit Note
      • Duplicate Debit Note
      • Delete Debit Note
    • Income Credit Note Transaction
      • List of Transactions
      • Next Invoice Number
      • Create Item Credit Note
      • Create Accounting Credit Note
      • Edit Credit Note
      • Update Credit Note
      • Duplicate Credit Note
      • Delete Credit Note
    • Estimate Quote Transaction
      • List of Transactions
      • Next Estimate Number
      • Create Item Estimate
      • Create Accounting Estimate
      • Edit Estimate
      • Update Estimate
      • Duplicate Estimate
      • Create Sale From Estimate
      • Delete Estimate
    • Delivery Challan Transaction
      • List of Transactions
      • Next Challan Number
      • Create Delivery Challan
      • Edit Delivery Challan
      • Update Delivery Challan
      • Duplicate Delivery Challan
      • Create Sale From Delivery Challan
      • Delete Delivery Challan
    • Purchase Transaction
      • List of Transactions
        GET
      • Next Invoice Number
        GET
      • Create Item Purchase
        POST
      • Create Accounting Purchase
        POST
      • Edit purchase
        GET
      • Update purchase
        POST
      • Duplicate purchase
        GET
      • Get purchase For purchase Return
        GET
      • Delete purchase
        DELETE
    • Purchase Return Transaction
      • List of Transactions
      • Next Invoice Number
      • Create Item Purchase Return
      • Create Accounting Purchase Return
      • Edit purchase Return
      • Update purchase Return
      • Duplicate purchase Return
      • Delete purchase Return
    • Expense Credit Note Transaction
      • List of Transactions
      • Next Invoice Number
      • Create Item Expense Credit Note
      • Create Accounting Expense Credit Note
      • Edit Expense Credit Note
      • Update Expense Credit Note
      • Duplicate Expense Credit Note
      • Delete Expense Credit Note
    • Expense Debit Note Transaction
      • List of Transactions
      • Next Invoice Number
      • Create Item Expense Debit Note
      • Create Accounting Expense Debit Note
      • Edit Expense Debit Note
      • Update Expense Debit Note
      • Duplicate Expense Debit Note
      • Delete Expense Debit Note
    • Purchase Order Transaction
      • List of Transactions
      • Next Invoice Number
      • Create Item Purchase Order
      • Create Accounting Purchase Order
      • Edit purchase Order
      • Update Purchase Order
      • Duplicate purchase Order
      • Delete purchase Order
      • Book Purchase Order
    • Receipt Transaction
      • List of Receipts
      • Next invoice number
      • Create Receipt
      • Edit Receipt
      • Update Receipt
      • Delete Receipt
    • Payment Transaction
      • List of Payments
      • Next invoice number
      • Create Payment
      • Edit Payment
      • Update Payment
      • Delete Payment
    • Journal Transaction
      • List of Journals
      • Next invoice number
      • Create Journal
      • Edit Journal
      • Update Journal
      • Delete Journal
  1. Purchase Transaction

Create Item Purchase

POST
https://app.hisabkitab.co/third-party/purchase-transactions
This API allows the creation of a new purchase transaction for an item type invoice by submitting the required transaction details. In create Invoice purchase item type must be set 2 to create item type purchase invoice.

Request#

The API uses a POST request to create a purchase transaction. The request body must include details such as the company ID, supplier ledger ID, items purchased, payment status, and transaction-related information.

Response#

Upon successful creation of the purchase transaction, the API returns a response containing a success flag, a confirmation message, and details of the newly created transaction.

Request

Authorization
Add parameter in header
ApiKey
Example:
ApiKey: ********************
Body Params application/json
voucher_number
string 
required
Unique sequential number assigned to the purchase voucher for identification and record-keeping. get it from Next Invoice Number.
voucher_date
string 
required
The date on which the voucher is issued, formatted as DD-MM-YYYY.
sale_number
string 
required
Reference number for the sale transaction linked to this purchase.
date_of_invoice
string 
required
The actual date on which the supplier issued the invoice for this purchase.
supplier_ledger_id
integer 
required
A unique identifier assigned to the supplier in the accounting ledger for reconciliation. you get it from Ledger List API.
billing_address
object 
required
An object storing billing details of the supplier.
country_id
integer 
required
Unique identifiers representing the supplier’s country. it get from Country API.
state_id
integer 
required
Unique identifiers representing the supplier’s state. it get from State API.
address_1
string 
optional
Supplier's business address, split into two fields for completeness.
address_2
string 
optional
Supplier's business address, split into two fields for completeness.
city_id
integer 
optional
Unique identifiers representing the supplier’s city. it get from City API.
pin_code
string 
optional
The postal code for the billing address.
purchase_item_type
integer 
required
Indicates the type of invoice here is must 2, such as item invoice (2) and accounting invoice (1). This field is nullable. If no specific type is provided, the system will automatically assign the item invoice (2) type by default.
Default:
2
items
array [object {15}] 
required
An array of items for item invoice.
item_id
integer 
required
This is the unique identifier assigned to the item in the transaction. you get it from Item List.
rpu
number 
required
Represents the Rate Per Unit of the item, the selling price for each unit before taxes and discounts.
with_tax
boolean 
required
This indicates whether the price is inclusive of tax. A value of 0 means the price is exclusive of tax.
ledger_id
integer 
required
Refers to the unique identifier of the ledger account where the item's transaction is recorded.
unit_id
integer 
required
Measurement unit ID (e.g., kilograms, meters, pieces).
quantity
integer 
required
The total number of units purchased.
discount_type
integer 
required
Type of discount applied to the selling price (2 = Percentage, 1 = Fixed amount).
gst_id
integer 
required
This field represents the GST tax rate for the item and is required if your company is GST applicable. It should be retrieved from Gst Rates API.
total
number 
required
This is the final total for the item after all calculations, including discounts.
additional_description
string  | null 
optional
A text field for item-specific details or specifications.
mrp
number  | null 
optional
Refers to the Maximum Retail Price of the item.
discount_value
number 
optional
Represents the discount amount applied to the item.
discount_type_2
integer 
optional
Similar to discount_type applicable on the second discount amount.
discount_value_2
number 
optional
Represents the second discount amount applied.
cess
number  | null 
optional
Represents the cess (additional tax) applied to the item.
main_classification_nature_type
string 
required
The nature of the purchase transaction, e.g., Interstate Purchase Taxable. you get it from Classification-nature-type
is_rcm_applicable
boolean 
required
Specifies whether Reverse Charge Mechanism (RCM) is applicable (1 = Yes, 0 = No).
gross_value
number 
required
Represents the total value of the transaction before applying any discounts, taxes, or additional charges.
taxable_value
number 
required
The total value of the invoice, after applying discounts and additional charges but before adding any taxes.
cgst
number 
required
These fields represent the Central GST
sgst
number 
required
These fields represent the State GST
igst
number 
required
These fields represent the Integrated GST
cess
number 
required
Represents the cess (additional tax) applied to the transaction.
grand_total
number 
required
The final amount of the invoice, which includes all items, taxes, additional charges, and rounding adjustments.
is_gst_enabled
boolean 
required
Indicates whether GST is enabled for the transaction.
is_cgst_sgst_igst_calculated
boolean 
required
Indicates whether CGST, SGST, or IGST has been calculated.
is_gst_na
boolean 
required
Indicates if GST is not applicable to the transaction.
is_round_off_not_changed
boolean 
required
check if adjustments are made to the rounding of the invoice total.
tds_details
object  | null 
optional
Contains information regarding Tax Deducted at Source (TDS).
tds_tax_id
integer 
required
This field holds the id for the TDS applied to the transaction.
tds_rate
number 
required
Represents the rate (%) at which TDS is collected on the transaction.
tds_amount
number 
required
This field shows the amount of TDS collected on the transaction.
purchase_order_no
string  | null 
optional
Represents the purchase order number that is used as a reference to create a purchase transaction invoice. This links the order invoice to the original purchase.
gstin
string  | null 
optional
The Goods and Services Tax Identification Number (GSTIN) of the supplier, essential for tax calculations and filings.
shipping_address
object  | null 
optional
The shipping address where goods should be delivered. This includes customer details, GSTIN, and address information.
country_id
integer 
required
Reference ID for the country. it get from Country API.
state_id
integer 
required
Reference ID for the state of the selected country. it get from State API.
shipping_name
string 
optional
Define the shipping supplier's name.
shipping_gstin
string 
optional
Define the shipping supplier's GSTIN number.
address_1
string 
optional
Primary address line (e.g., office or building name).
address_2
string 
optional
Secondary address line, often for road or area name.
city_id
integer 
optional
Reference ID for the city of the selected state. it get from City API.
pin_code
integer 
optional
Postal code of the address.
broker_details
object 
optional
Contains details about broker related to the transaction.
broker_id
integer 
optional
The broker id is the unique identifier assigned to the broker involved in the transaction or deal. it get from List of Broker API.
brokerage_for_sale
number 
optional
The brokerage value is the percentage fee that the broker receives for facilitating the deal.
brokerage_on_value_type
integer 
optional
This field determines the basis on which the brokerage fee is calculated such as invoice value (1) and taxable value (2).
transport_details
object  | null 
optional
transport_id
integer 
optional
Represents the unique identifier for the transport service provider that is responsible for delivering the goods. get it from List of Transport.
transporter_document_number
string 
optional
Refers to the document number issued by the transporter, such as a bill.
transporter_document_date
string 
optional
This is the date when the transporter's document was issued.
transporter_vehicle_number
string 
optional
Represents the vehicle number used for transporting the goods.
eway_bill_details
object 
optional
eway_bill_number
string 
optional
This field holds the unique identification number of the E-way bill generated for the shipment of goods.
eway_bill_date
string 
optional
This is the date when the E-way bill was generated.
narration
string  | null 
optional
An optional narrative field for providing additional notes or descriptions related to the transaction
term_and_condition
string  | null 
optional
Includes any terms and conditions relevant to the transaction, such as payment terms, delivery schedules, or return policies.
additional_charges
array [object {5}]  | null 
optional
This section lists any extra charges that are added to the invoice, such as shipping .
ac_ledger_id
integer 
required
This field represents the unique identifier for the ledger account that records the additional charge.
ac_type
integer 
required
Indicates the type of charge being applied (2 = Percentage, 1 = Fixed amount).
ac_value
number 
required
Represents the value or amount of the additional charge.
ac_total_without_tax
number 
required
This indicates the total amount of the additional charge.
ac_gst_rate_id
integer 
optional
This field specifies the GST tax rate applied to the additional charge. get it from Gst Rates API.
tcs_details
object  | null 
optional
Includes Tax Collected at Source (TCS) information
tcs_tax_id
integer 
required
This field holds the id for the TCS rate applied to the transaction.
tcs_rate
number 
required
Represents the rate (%) at which TCS is collected on the transaction.
tcs_amount
number 
required
This field shows the amount of TDS collected on the transaction.
add_less
array [object {4}]  | null 
optional
An array for any adjustments (either additions or reductions) to the total invoice amount.
al_ledger_id
integer 
required
This is the unique identifier for the ledger account associated with the add or less charge.
al_is_show_in_print
boolean 
required
This field determines whether the charge should be displayed in the printed invoice.
al_type
number 
required
Indicates the type of charge being applied (2 = Percentage, 1 = Fixed amount).
al_value
number 
required
Represents the value or amount of the add or less charge.
rounding_amount
number  | null 
optional
The rounding adjustment to make the total amount a round figure. This is usually done for simplifying invoice totals.
payment_details
array [object {5}]  | null 
optional
pd_ledger_id
integer 
required
This is the unique identifier for the ledger account associated with the payment.
pd_date
string 
required
Refers to the date when the payment was made.
pd_amount
number 
required
This is the amount paid in the transaction.
pd_mode
integer 
optional
Represents the mode id of payment used for the transaction, such as cash, cheque, UPI, RTGS, etc.
pd_reference_number
string 
optional
This field holds a reference number related to the payment, like a transaction number or cheque number.
submit_button_value
integer 
optional
Defines the action of the button used for submitting the form, where 1 means Save, 2 means Save & New, and 3 means Save & Print.
Example
{
    "voucher_number": "16",
    "voucher_date": "12-02-2025",
    "sale_number": "180",
    "date_of_invoice": "31-03-2024",
    "supplier_ledger_id": 2702,
    "purchase_order_no": null,
    "gstin": "06AAKCA6445Q1Z2",
    "billing_address": {
        "address_1": "2121, 3RD FLOOR, RADHA RAMAN TEXTILE MARKET",
        "address_2": "KADODARA ROAD",
        "country_id": 101,
        "state_id": 4030,
        "city_id": 134096,
        "pin_code": "395008"
    },
    "shipping_address": {
        "shipping_name": null,
        "address_1": "2121, 3RD FLOOR, RADHA RAMAN TEXTILE MARKET",
        "address_2": "KADODARA ROAD",
        "country_id": 101,
        "state_id": 4030,
        "city_id": 134096,
        "pin_code": "395008"
    },
    "broker_details": {
        "broker_id": 381,
        "brokerage_for_sale": 10,
        "brokerage_on_value_type": 1
    },
    "transport_details": {
        "transport_id": 86,
        "transporter_document_number": "212",
        "transporter_document_date": "12-02-2025",
        "transporter_vehicle_number": "GJ05-SG-1234"
    },
    "eway_bill_details": {
        "eway_bill_number": null,
        "eway_bill_date": null
    },
    "purchase_item_type": 2,
    "items": [
        {
            "item_id": 93,
            "additional_description": "Accounting Service description",
            "ledger_id": 848,
            "unit_id": 29,
            "quantity": 1,
            "mrp": 100,
            "rpu": 118,
            "with_tax": 1,
            "discount_type": 1,
            "discount_value": null,
            "discount_type_2": 2,
            "discount_value_2": null,
            "total_discount_amount": null,
            "gst_id": 10,
            "cess": 0,
            "total": 100
        },
        {
            "item_id": 7673,
            "additional_description": "ACTGsss description",
            "ledger_id": 1197,
            "unit_id": 29,
            "quantity": 1,
            "mrp": 100,
            "rpu": 118,
            "with_tax": 1,
            "discount_type": 1,
            "discount_value": null,
            "discount_type_2": 1,
            "discount_value_2": null,
            "total_discount_amount": null,
            "gst_id": 10,
            "cess": 0,
            "total": 100
        }
    ],    
    "main_classification_nature_type": "Interstate Purchase Taxable",
    "is_rcm_applicable": 0,
    "narration": null,
    "term_and_condition": null,
    "additional_charges": [
        {
            "ac_ledger_id": 104218,
            "ac_type": 1,
            "ac_value": 100,
            "ac_total": 100
        }
    ],
    "gross_value": 200,
    "taxable_value": 200,
    "cgst": 0,
    "sgst": 0,
    "igst": 36,
    "cess": 0,
    "tcs_details": {
        "tcs_tax_id": null,
        "tcs_rate": 1,
        "tcs_amount": null
    },
    "add_less": [
        {
            "al_ledger_id": 104221,
            "al_is_show_in_print": 0,
            "al_type": 1,
            "al_value": 100
        }
    ],
    "rounding_amount": null,
    "grand_total": 236,
    "tds_details": {
        "tds_tax_id": null,
        "tds_rate": null,
        "tds_amount": null
    },
    "payment_details": [
        {
            "pd_ledger_id": 2,
            "pd_date": "10-12-2024",
            "pd_amount": 400,
            "pd_mode": 5,
            "pd_reference_number": null
        }
    ],
    "is_gst_enabled": 0,
    "is_cgst_sgst_igst_calculated": 1, // if is_gst_enabled is 0 this always 0
    "is_gst_na": 0, // if is_gst_enabled is 0 this always 1
    "is_round_off_not_changed": false
}

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://app.hisabkitab.co/third-party/purchase-transactions' \
--header 'Content-Type: application/json' \
--header 'ApiKey;' \
--data-raw '{
    "voucher_number": "16",
    "voucher_date": "12-02-2025",
    "sale_number": "180",
    "date_of_invoice": "31-03-2024",
    "supplier_ledger_id": 2702,
    "purchase_order_no": null,
    "gstin": "06AAKCA6445Q1Z2",
    "billing_address": {
        "address_1": "2121, 3RD FLOOR, RADHA RAMAN TEXTILE MARKET",
        "address_2": "KADODARA ROAD",
        "country_id": 101,
        "state_id": 4030,
        "city_id": 134096,
        "pin_code": "395008"
    },
    "shipping_address": {
        "shipping_name": null,
        "address_1": "2121, 3RD FLOOR, RADHA RAMAN TEXTILE MARKET",
        "address_2": "KADODARA ROAD",
        "country_id": 101,
        "state_id": 4030,
        "city_id": 134096,
        "pin_code": "395008"
    },
    "broker_details": {
        "broker_id": 381,
        "brokerage_for_sale": 10,
        "brokerage_on_value_type": 1
    },
    "transport_details": {
        "transport_id": 86,
        "transporter_document_number": "212",
        "transporter_document_date": "12-02-2025",
        "transporter_vehicle_number": "GJ05-SG-1234"
    },
    "eway_bill_details": {
        "eway_bill_number": null,
        "eway_bill_date": null
    },
    "purchase_item_type": 2,
    "items": [
        {
            "item_id": 93,
            "additional_description": "Accounting Service description",
            "ledger_id": 848,
            "unit_id": 29,
            "quantity": 1,
            "mrp": 100,
            "rpu": 118,
            "with_tax": 1,
            "discount_type": 1,
            "discount_value": null,
            "discount_type_2": 2,
            "discount_value_2": null,
            "total_discount_amount": null,
            "gst_id": 10,
            "cess": 0,
            "total": 100
        },
        {
            "item_id": 7673,
            "additional_description": "ACTGsss description",
            "ledger_id": 1197,
            "unit_id": 29,
            "quantity": 1,
            "mrp": 100,
            "rpu": 118,
            "with_tax": 1,
            "discount_type": 1,
            "discount_value": null,
            "discount_type_2": 1,
            "discount_value_2": null,
            "total_discount_amount": null,
            "gst_id": 10,
            "cess": 0,
            "total": 100
        }
    ],    
    "main_classification_nature_type": "Interstate Purchase Taxable",
    "is_rcm_applicable": 0,
    "narration": null,
    "term_and_condition": null,
    "additional_charges": [
        {
            "ac_ledger_id": 104218,
            "ac_type": 1,
            "ac_value": 100,
            "ac_total": 100
        }
    ],
    "gross_value": 200,
    "taxable_value": 200,
    "cgst": 0,
    "sgst": 0,
    "igst": 36,
    "cess": 0,
    "tcs_details": {
        "tcs_tax_id": null,
        "tcs_rate": 1,
        "tcs_amount": null
    },
    "add_less": [
        {
            "al_ledger_id": 104221,
            "al_is_show_in_print": 0,
            "al_type": 1,
            "al_value": 100
        }
    ],
    "rounding_amount": null,
    "grand_total": 236,
    "tds_details": {
        "tds_tax_id": null,
        "tds_rate": null,
        "tds_amount": null
    },
    "payment_details": [
        {
            "pd_ledger_id": 2,
            "pd_date": "10-12-2024",
            "pd_amount": 400,
            "pd_mode": 5,
            "pd_reference_number": null
        }
    ],
    "is_gst_enabled": 0,
    "is_cgst_sgst_igst_calculated": 1, // if is_gst_enabled is 0 this always 0
    "is_gst_na": 0, // if is_gst_enabled is 0 this always 1
    "is_round_off_not_changed": false
}'

Responses

🟢200Create Item Purchase
application/json
Body
data
object 
required
purchase_transaction
object 
required
is_tds_applicable
boolean 
required
A boolean flag indicating whether Tax Deducted at Source (TDS) is applicable to the transaction.
success
boolean 
required
message
string 
required
Example
{
    "data": {
        "purchase_transaction": {
            "id": 1,
            "company_id": 6,
            "voucher_number": "1",
            "voucher_date": "2025-02-11T18:30:00.000000Z",
            "payment_mode": null,
            "payment_type_ledger_id": null,
            "sale_number": "2",
            "date_of_invoice": "2024-03-30T18:30:00.000000Z",
            "supplier_ledger_id": 1,
            "gstin": null,
            "broker_id": 1,
            "brokerage_for_sale": 10,
            "brokerage_on_value_type": 1,
            "transport_id": 2,
            "transporter_document_number": "212",
            "transporter_document_date": "2025-02-11T18:30:00.000000Z",
            "transporter_vehicle_number": "GJ05-SG-1234",
            "shipping_name": null,
            "shipping_gstin": null,
            "purchase_item_type": 2,
            "tcs_tax_id": null,
            "tcs_rate": 1,
            "tcs_amount": null,
            "ledger_of_tds": null,
            "tds_rate": null,
            "tds_amount": null,
            "cgst": 0,
            "sgst": 0,
            "igst": 0,
            "rounding_amount": null,
            "total": 236,
            "grand_total": 236,
            "taxable_value": 200,
            "gross_value": 200,
            "narration": null,
            "term_and_condition": null,
            "is_gst_enabled": 0,
            "cess": 0,
            "is_cgst_sgst_igst_calculated": 1,
            "is_gst_na": 0,
            "is_rcm_applicable": false,
            "created_by": 8,
            "purchase_order_no": null,
            "is_round_off_not_changed": false,
            "payment_status": "Unpaid",
            "due_amount": 236,
            "paid_amount": 0,
            "payment_transaction_item": [],
            "journal_transaction_item": [],
            "purchase_return": [],
            "debit_note": [],
            "purchase_transaction_items": [
                {
                    "id": 1,
                    "purchase_transaction_id": 1,
                    "item_id": 3,
                    "additional_description": "Accounting Service description",
                    "unit_id": 1,
                    "consolidating_items_to_invoice": "0",
                    "quantity": 1,
                    "mrp": 100,
                    "with_tax": true,
                    "rpu_with_gst": null,
                    "rpu_without_gst": 118,
                    "discount_type": 1,
                    "discount_value": null,
                    "discount_type_2": 2,
                    "discount_value_2": null,
                    "total_discount_amount": 0,
                    "gst_id": 1,
                    "gst_tax_percentage": 18,
                    "total": 100,
                    "ledger_id": 3,
                    "classification_igst_tax": null,
                    "classification_cgst_tax": null,
                    "classification_sgst_tax": null,
                    "classification_cess_tax": null,
                    "classification_is_rcm_applicable": 0,
                    "classification_is_itc_applicable": 1,
                    "classification_nature_type": null,
                    "cess_rate": 0,
                    "cess_amount": 0,
                    "taxable_amount": 0,
                    "created_at": "2025-02-12T06:28:58.000000Z",
                    "updated_at": "2025-02-12T06:28:58.000000Z"
                },
                {
                    "id": 2,
                    "purchase_transaction_id": 1,
                    "item_id": 2,
                    "additional_description": "ACTGsss description",
                    "unit_id": 1,
                    "consolidating_items_to_invoice": "0",
                    "quantity": 1,
                    "mrp": 100,
                    "with_tax": true,
                    "rpu_with_gst": null,
                    "rpu_without_gst": 118,
                    "discount_type": 1,
                    "discount_value": null,
                    "discount_type_2": 1,
                    "discount_value_2": null,
                    "total_discount_amount": 0,
                    "gst_id": 1,
                    "gst_tax_percentage": 18,
                    "total": 100,
                    "ledger_id": 1,
                    "classification_igst_tax": null,
                    "classification_cgst_tax": null,
                    "classification_sgst_tax": null,
                    "classification_cess_tax": null,
                    "classification_is_rcm_applicable": 0,
                    "classification_is_itc_applicable": 1,
                    "classification_nature_type": null,
                    "cess_rate": 0,
                    "cess_amount": 0,
                    "taxable_amount": 0,
                    "created_at": "2025-02-12T06:28:58.000000Z",
                    "updated_at": "2025-02-12T06:28:58.000000Z"
                }
            ],
            "via_api": false,
            "is_import": false,
            "created_at": "2025-02-12T06:28:58.000000Z",
            "updated_at": "2025-02-12T06:28:58.000000Z"
        },
        "is_tds_applicable": 1
    },
    "success": true,
    "message": "Purchase Transaction Created Successfully"
}
Modified at 2025-05-05 11:19:41
Previous
Next Invoice Number
Next
Create Accounting Purchase
Built with