create_receipt_note
Record received goods from a supplier in TallyPrime as a Receipt Note voucher, specifying stock items, quantities, rates, and purchase ledgers without raising a purchase invoice.
Instructions
Create a Receipt Note in TallyPrime — an item-line inventory voucher recording goods received from a supplier before or without a full Purchase invoice (e.g. against a Purchase Order). Same item-line shape as create_purchase_invoice (stock item, quantity, rate, Purchase ledger per line) but ISINVOICE is set to No and there's no VAT/tax line — mirror of create_delivery_note on the buying side. Same caveat as create_delivery_note: the voucher type must be active in the company first, or it won't show up in get_vouchers/delete_voucher until it is. get_ledger_vouchers will still never show it, by design. If creation fails with LINEERROR 'Voucher date is missing' even though the date field is set correctly, the date is outside Tally's active period (Alt+F2) — call set_period to cover it and retry (confirmed live).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Receipt date in DD-MM-YYYY format | |
| items | Yes | One entry per line. | |
| buyerTrn | No | YOUR OWN company's TRN on this receipt note (Tally's BASICBUYERSSALESTAXNO field) — you are the buyer on a purchase-side document. Normally constant; check get_company_info. | |
| narration | No | Narration / description | |
| reference | No | Free-text reference for this receipt note (Tally's voucher-level REFERENCE field), e.g. the supplier's delivery/challan number. | |
| buyerState | No | YOUR OWN company's Emirate/state on this receipt note's Party Details. | |
| partyLedger | Yes | Supplier ledger name | |
| supplierTrn | No | The supplier's (party's) TRN on this receipt note (Tally's TRADERCONSVATTINNO field). Distinct from buyerTrn below — on a purchase-side document the party is the supplier, not the buyer. | |
| buyerCountry | No | YOUR OWN company's country on this receipt note's Party Details. | |
| referenceDate | No | Date for the reference above, in DD-MM-YYYY format. | |
| voucherNumber | No | Explicit voucher number. Normally omit and let Tally auto-number — but some Tally configurations stop auto-numbering certain voucher types via the XML gateway (confirmed live for item-invoice types; unconfirmed either way for Receipt Note). If creation fails with a blank EXCEPTIONS:1, check get_vouchers for the highest existing number of this voucher type and retry with voucherNumber set to the next one. | |
| placeOfSupplyCountry | No | UAE VAT Place of Supply Country for this receipt note. | |
| placeOfSupplyEmirate | No | UAE VAT Place of Supply Emirate for this receipt note. |