v1

latestOpenAPI 3.1.02026-08-045901.5 MB

Add Purchase Order

post/purchase-order

Request body

porder_numberstring

Unique identifier of the purchase order

porder_datestring date

Date when the purchase order is created.

porder_valid_datestring date

Last valid date for the PO

tax_id1_type'0' | '1' | '2'

Tax applicability: - 0: No GST - 1: SGST+CGST - 2: IGST

currencystring

Currency code

taxable_amountstring

Sum of all taxable values

non_taxable_amountstring

Sum of all non taxable values

gst_amountstring

Total gst amount

cess_amountstring

CESS applicable under GST

adjust_amountstring

Additional adjustments

addvalue_amountstring

Additional value amount

total_amountstring

Sum of all amounts

payable_amountstring

Final amount to be paid

reverse_charge'0' | '1'

1-reverse charge mechanism applied, 0-reverse charge mechanism not applied

spl_supply'0' | '1' | '2' | '3'

Type of supply: - 0: Regular - 1: Import - 2: Input service - 3: Composition

basic_custom_dutystring
counter_dutystring
counter_duty_addstring
tax_credit_type'0' | '1'

GST ITC is claimable (1) or not (0).

gst_tax_creditinteger

Amount eligible for ITC.

status'0' | '1'

Status-0 for deleted, 1 for active

Response

200

statusinteger
idinteger
msgstring
download_urlstring
pdf_urlstring

Example response

{
  "status": 200,
  "id": 1258,
  "msg": "Purchase Order Created Successfully",
  "download_url": "https://in.ledgers.cloud/public/download-purchase-order/S0J2cVV2Um9zRHp2UHpBUG9TTDZFdz09/dld0dWRLV1djL3BsVFVSbld2eCtXQT09",
  "pdf_url": "https://in.ledgers.cloud/public/purchase-order/S0J2cVV2Um9zRHp2UHpBUG9TTDZFdz09/dld0dWRLV1djL3BsVFVSbld2eCtXQT09"
}