The Purchase Receipt object
Attributes
Unique identifier for the object.
ISO 8601 timestamp of when the object was created.
ISO 8601 timestamp of when the object was last updated.
Default: draft
Default: false
Default: false
Default: false
Default: false
Default: Grand Total
Default: false
Default: false
Default: false
Default: false
Default: false
{
"id": "purchase-receipt_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"status": "draft",
"title": "title_example",
"supplier": "supplier_example",
"supplier_name": "supplier_name_example",
"supplier_delivery_note": "supplier_delivery_note_example",
"posting_date": "2024-01-15",
"posting_time": "posting_time_example",
"set_posting_time": false,
"company": "Example Corp",
"is_return": false,
"return_against": "return_against_example",
"supplier_address": "supplier_address_example",
"contact_person": "contact_person_example",
"address_display": "address_display_example",
"contact_display": "contact_display_example",
"contact_mobile": "contact_mobile_example",
"contact_email": "user@example.com",
"shipping_address": "shipping_address_example",
"shipping_address_display": "shipping_address_display_example",
"currency": "USD",
"conversion_rate": 0,
"buying_price_list": "buying_price_list_example",
"price_list_currency": "USD",
"plc_conversion_rate": 0,
"ignore_pricing_rule": false,
"set_warehouse": "set_warehouse_example",
"rejected_warehouse": "rejected_warehouse_example",
"is_subcontracted": false,
"supplier_warehouse": "supplier_warehouse_example",
"total_qty": 0,
"base_total": 0,
"base_net_total": 0,
"total": 0,
"net_total": 0,
"total_net_weight": 0,
"tax_category": "tax_category_example",
"shipping_rule": "shipping_rule_example",
"taxes_and_charges": "taxes_and_charges_example",
"other_charges_calculation": "other_charges_calculation_example",
"base_taxes_and_charges_added": 0,
"base_taxes_and_charges_deducted": 0,
"base_total_taxes_and_charges": 0,
"taxes_and_charges_added": 0,
"taxes_and_charges_deducted": 0,
"total_taxes_and_charges": 0,
"apply_discount_on": "Grand Total",
"base_discount_amount": 0,
"additional_discount_percentage": 0,
"discount_amount": 0,
"base_grand_total": 0,
"base_rounding_adjustment": 0,
"base_in_words": "base_in_words_example",
"base_rounded_total": 0,
"grand_total": 0,
"rounding_adjustment": 0,
"rounded_total": 0,
"in_words": "in_words_example",
"disable_rounded_total": false,
"tc_name": "tc_name_example",
"terms": "terms_example",
"range": "range_example",
"project": "project_example",
"per_billed": 0,
"auto_repeat": "auto_repeat_example",
"letter_head": "letter_head_example",
"select_print_heading": "select_print_heading_example",
"language": "language_example",
"group_same_items": false,
"instructions": "instructions_example",
"remarks": "remarks_example",
"transporter_name": "transporter_name_example",
"lr_no": "lr_no_example",
"lr_date": "2024-01-15",
"is_internal_supplier": false,
"inter_company_reference": "Example Corp",
"scan_barcode": "scan_barcode_example",
"billing_address": "billing_address_example",
"billing_address_display": "billing_address_display_example",
"apply_putaway_rule": false,
"per_returned": 0,
"set_from_warehouse": "set_from_warehouse_example",
"represents_company": "Example Corp",
"cost_center": "cost_center_example",
"is_old_subcontracting_flow": false,
"incoterm": "incoterm_example",
"named_place": "named_place_example",
"subcontracting_receipt": "subcontracting_receipt_example",
"dispatch_address": "dispatch_address_example",
"dispatch_address_display": "dispatch_address_display_example"
} /api/stock/purchase-receipt/{id} Retrieve a purchase receipt
Retrieves the details of an existing purchase receipt. Supply the unique purchase receipt ID that was returned from a previous request.
Path parameters
The identifier of the purchase receipt to retrieve.
Returns
Returns the purchase receipt object if a valid identifier was provided.
curl https://api.overplane.dev/api/stock/purchase-receipt/purchase-receipt_abc123 \
-H "Authorization: Bearer sk_test_..." {
"id": "purchase-receipt_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"status": "draft",
"title": "title_example",
"supplier": "supplier_example",
"supplier_name": "supplier_name_example",
"supplier_delivery_note": "supplier_delivery_note_example",
"posting_date": "2024-01-15",
"posting_time": "posting_time_example",
"set_posting_time": false,
"company": "Example Corp",
"is_return": false,
"return_against": "return_against_example",
"supplier_address": "supplier_address_example",
"contact_person": "contact_person_example",
"address_display": "address_display_example",
"contact_display": "contact_display_example",
"contact_mobile": "contact_mobile_example",
"contact_email": "user@example.com",
"shipping_address": "shipping_address_example",
"shipping_address_display": "shipping_address_display_example",
"currency": "USD",
"conversion_rate": 0,
"buying_price_list": "buying_price_list_example",
"price_list_currency": "USD",
"plc_conversion_rate": 0,
"ignore_pricing_rule": false,
"set_warehouse": "set_warehouse_example",
"rejected_warehouse": "rejected_warehouse_example",
"is_subcontracted": false,
"supplier_warehouse": "supplier_warehouse_example",
"total_qty": 0,
"base_total": 0,
"base_net_total": 0,
"total": 0,
"net_total": 0,
"total_net_weight": 0,
"tax_category": "tax_category_example",
"shipping_rule": "shipping_rule_example",
"taxes_and_charges": "taxes_and_charges_example",
"other_charges_calculation": "other_charges_calculation_example",
"base_taxes_and_charges_added": 0,
"base_taxes_and_charges_deducted": 0,
"base_total_taxes_and_charges": 0,
"taxes_and_charges_added": 0,
"taxes_and_charges_deducted": 0,
"total_taxes_and_charges": 0,
"apply_discount_on": "Grand Total",
"base_discount_amount": 0,
"additional_discount_percentage": 0,
"discount_amount": 0,
"base_grand_total": 0,
"base_rounding_adjustment": 0,
"base_in_words": "base_in_words_example",
"base_rounded_total": 0,
"grand_total": 0,
"rounding_adjustment": 0,
"rounded_total": 0,
"in_words": "in_words_example",
"disable_rounded_total": false,
"tc_name": "tc_name_example",
"terms": "terms_example",
"range": "range_example",
"project": "project_example",
"per_billed": 0,
"auto_repeat": "auto_repeat_example",
"letter_head": "letter_head_example",
"select_print_heading": "select_print_heading_example",
"language": "language_example",
"group_same_items": false,
"instructions": "instructions_example",
"remarks": "remarks_example",
"transporter_name": "transporter_name_example",
"lr_no": "lr_no_example",
"lr_date": "2024-01-15",
"is_internal_supplier": false,
"inter_company_reference": "Example Corp",
"scan_barcode": "scan_barcode_example",
"billing_address": "billing_address_example",
"billing_address_display": "billing_address_display_example",
"apply_putaway_rule": false,
"per_returned": 0,
"set_from_warehouse": "set_from_warehouse_example",
"represents_company": "Example Corp",
"cost_center": "cost_center_example",
"is_old_subcontracting_flow": false,
"incoterm": "incoterm_example",
"named_place": "named_place_example",
"subcontracting_receipt": "subcontracting_receipt_example",
"dispatch_address": "dispatch_address_example",
"dispatch_address_display": "dispatch_address_display_example"
} /api/stock/purchase-receipt List all purchase receipts
Returns a list of purchase receipts. The results are sorted by creation date, with the most recently created appearing first.
Query parameters
Maximum number of objects to return. Default: 20.
Number of objects to skip for pagination. Default: 0.
Returns
A paginated list of purchase receipt objects.
curl https://api.overplane.dev/api/stock/purchase-receipt \
-H "Authorization: Bearer sk_test_..." {
"data": [
{
"id": "purchase-receipt_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"status": "draft",
"title": "title_example",
"supplier": "supplier_example",
"supplier_name": "supplier_name_example",
"supplier_delivery_note": "supplier_delivery_note_example",
"posting_date": "2024-01-15",
"posting_time": "posting_time_example",
"set_posting_time": false,
"company": "Example Corp",
"is_return": false,
"return_against": "return_against_example",
"supplier_address": "supplier_address_example",
"contact_person": "contact_person_example",
"address_display": "address_display_example",
"contact_display": "contact_display_example",
"contact_mobile": "contact_mobile_example",
"contact_email": "user@example.com",
"shipping_address": "shipping_address_example",
"shipping_address_display": "shipping_address_display_example",
"currency": "USD",
"conversion_rate": 0,
"buying_price_list": "buying_price_list_example",
"price_list_currency": "USD",
"plc_conversion_rate": 0,
"ignore_pricing_rule": false,
"set_warehouse": "set_warehouse_example",
"rejected_warehouse": "rejected_warehouse_example",
"is_subcontracted": false,
"supplier_warehouse": "supplier_warehouse_example",
"total_qty": 0,
"base_total": 0,
"base_net_total": 0,
"total": 0,
"net_total": 0,
"total_net_weight": 0,
"tax_category": "tax_category_example",
"shipping_rule": "shipping_rule_example",
"taxes_and_charges": "taxes_and_charges_example",
"other_charges_calculation": "other_charges_calculation_example",
"base_taxes_and_charges_added": 0,
"base_taxes_and_charges_deducted": 0,
"base_total_taxes_and_charges": 0,
"taxes_and_charges_added": 0,
"taxes_and_charges_deducted": 0,
"total_taxes_and_charges": 0,
"apply_discount_on": "Grand Total",
"base_discount_amount": 0,
"additional_discount_percentage": 0,
"discount_amount": 0,
"base_grand_total": 0,
"base_rounding_adjustment": 0,
"base_in_words": "base_in_words_example",
"base_rounded_total": 0,
"grand_total": 0,
"rounding_adjustment": 0,
"rounded_total": 0,
"in_words": "in_words_example",
"disable_rounded_total": false,
"tc_name": "tc_name_example",
"terms": "terms_example",
"range": "range_example",
"project": "project_example",
"per_billed": 0,
"auto_repeat": "auto_repeat_example",
"letter_head": "letter_head_example",
"select_print_heading": "select_print_heading_example",
"language": "language_example",
"group_same_items": false,
"instructions": "instructions_example",
"remarks": "remarks_example",
"transporter_name": "transporter_name_example",
"lr_no": "lr_no_example",
"lr_date": "2024-01-15",
"is_internal_supplier": false,
"inter_company_reference": "Example Corp",
"scan_barcode": "scan_barcode_example",
"billing_address": "billing_address_example",
"billing_address_display": "billing_address_display_example",
"apply_putaway_rule": false,
"per_returned": 0,
"set_from_warehouse": "set_from_warehouse_example",
"represents_company": "Example Corp",
"cost_center": "cost_center_example",
"is_old_subcontracting_flow": false,
"incoterm": "incoterm_example",
"named_place": "named_place_example",
"subcontracting_receipt": "subcontracting_receipt_example",
"dispatch_address": "dispatch_address_example",
"dispatch_address_display": "dispatch_address_display_example"
}
],
"has_more": false,
"total": 1
} /api/stock/purchase-receipt Create a purchase receipt
Creates a new purchase receipt object.
Body parameters
Default: draft
Default: false
Default: false
Default: false
Default: false
Default: Grand Total
Default: false
Default: false
Default: false
Default: false
Default: false
Returns
Returns the newly created purchase receipt object if the call succeeded.
curl https://api.overplane.dev/api/stock/purchase-receipt \
-H "Authorization: Bearer sk_test_..." \
-X POST \
-H "Content-Type: application/json" \
-d '{"supplier":"supplier_example","posting_date":"2024-01-15","posting_time":"posting_time_example","company":"Example Corp","currency":"USD","conversion_rate":0,"base_net_total":0}' {
"id": "purchase-receipt_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"status": "draft",
"title": "title_example",
"supplier": "supplier_example",
"supplier_name": "supplier_name_example",
"supplier_delivery_note": "supplier_delivery_note_example",
"posting_date": "2024-01-15",
"posting_time": "posting_time_example",
"set_posting_time": false,
"company": "Example Corp",
"is_return": false,
"return_against": "return_against_example",
"supplier_address": "supplier_address_example",
"contact_person": "contact_person_example",
"address_display": "address_display_example",
"contact_display": "contact_display_example",
"contact_mobile": "contact_mobile_example",
"contact_email": "user@example.com",
"shipping_address": "shipping_address_example",
"shipping_address_display": "shipping_address_display_example",
"currency": "USD",
"conversion_rate": 0,
"buying_price_list": "buying_price_list_example",
"price_list_currency": "USD",
"plc_conversion_rate": 0,
"ignore_pricing_rule": false,
"set_warehouse": "set_warehouse_example",
"rejected_warehouse": "rejected_warehouse_example",
"is_subcontracted": false,
"supplier_warehouse": "supplier_warehouse_example",
"total_qty": 0,
"base_total": 0,
"base_net_total": 0,
"total": 0,
"net_total": 0,
"total_net_weight": 0,
"tax_category": "tax_category_example",
"shipping_rule": "shipping_rule_example",
"taxes_and_charges": "taxes_and_charges_example",
"other_charges_calculation": "other_charges_calculation_example",
"base_taxes_and_charges_added": 0,
"base_taxes_and_charges_deducted": 0,
"base_total_taxes_and_charges": 0,
"taxes_and_charges_added": 0,
"taxes_and_charges_deducted": 0,
"total_taxes_and_charges": 0,
"apply_discount_on": "Grand Total",
"base_discount_amount": 0,
"additional_discount_percentage": 0,
"discount_amount": 0,
"base_grand_total": 0,
"base_rounding_adjustment": 0,
"base_in_words": "base_in_words_example",
"base_rounded_total": 0,
"grand_total": 0,
"rounding_adjustment": 0,
"rounded_total": 0,
"in_words": "in_words_example",
"disable_rounded_total": false,
"tc_name": "tc_name_example",
"terms": "terms_example",
"range": "range_example",
"project": "project_example",
"per_billed": 0,
"auto_repeat": "auto_repeat_example",
"letter_head": "letter_head_example",
"select_print_heading": "select_print_heading_example",
"language": "language_example",
"group_same_items": false,
"instructions": "instructions_example",
"remarks": "remarks_example",
"transporter_name": "transporter_name_example",
"lr_no": "lr_no_example",
"lr_date": "2024-01-15",
"is_internal_supplier": false,
"inter_company_reference": "Example Corp",
"scan_barcode": "scan_barcode_example",
"billing_address": "billing_address_example",
"billing_address_display": "billing_address_display_example",
"apply_putaway_rule": false,
"per_returned": 0,
"set_from_warehouse": "set_from_warehouse_example",
"represents_company": "Example Corp",
"cost_center": "cost_center_example",
"is_old_subcontracting_flow": false,
"incoterm": "incoterm_example",
"named_place": "named_place_example",
"subcontracting_receipt": "subcontracting_receipt_example",
"dispatch_address": "dispatch_address_example",
"dispatch_address_display": "dispatch_address_display_example"
} /api/stock/purchase-receipt/{id} Update a purchase receipt
Updates the specified purchase receipt by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
Path parameters
The identifier of the purchase receipt to update.
Body parameters
Default: draft
Default: false
Default: false
Default: false
Default: false
Default: Grand Total
Default: false
Default: false
Default: false
Default: false
Default: false
Returns
Returns the updated purchase receipt object.
curl https://api.overplane.dev/api/stock/purchase-receipt/purchase-receipt_abc123 \
-H "Authorization: Bearer sk_test_..." \
-X PATCH \
-H "Content-Type: application/json" \
-d '{"status":"draft","title":"title_example"}' {
"id": "purchase-receipt_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"status": "draft",
"title": "title_example",
"supplier": "supplier_example",
"supplier_name": "supplier_name_example",
"supplier_delivery_note": "supplier_delivery_note_example",
"posting_date": "2024-01-15",
"posting_time": "posting_time_example",
"set_posting_time": false,
"company": "Example Corp",
"is_return": false,
"return_against": "return_against_example",
"supplier_address": "supplier_address_example",
"contact_person": "contact_person_example",
"address_display": "address_display_example",
"contact_display": "contact_display_example",
"contact_mobile": "contact_mobile_example",
"contact_email": "user@example.com",
"shipping_address": "shipping_address_example",
"shipping_address_display": "shipping_address_display_example",
"currency": "USD",
"conversion_rate": 0,
"buying_price_list": "buying_price_list_example",
"price_list_currency": "USD",
"plc_conversion_rate": 0,
"ignore_pricing_rule": false,
"set_warehouse": "set_warehouse_example",
"rejected_warehouse": "rejected_warehouse_example",
"is_subcontracted": false,
"supplier_warehouse": "supplier_warehouse_example",
"total_qty": 0,
"base_total": 0,
"base_net_total": 0,
"total": 0,
"net_total": 0,
"total_net_weight": 0,
"tax_category": "tax_category_example",
"shipping_rule": "shipping_rule_example",
"taxes_and_charges": "taxes_and_charges_example",
"other_charges_calculation": "other_charges_calculation_example",
"base_taxes_and_charges_added": 0,
"base_taxes_and_charges_deducted": 0,
"base_total_taxes_and_charges": 0,
"taxes_and_charges_added": 0,
"taxes_and_charges_deducted": 0,
"total_taxes_and_charges": 0,
"apply_discount_on": "Grand Total",
"base_discount_amount": 0,
"additional_discount_percentage": 0,
"discount_amount": 0,
"base_grand_total": 0,
"base_rounding_adjustment": 0,
"base_in_words": "base_in_words_example",
"base_rounded_total": 0,
"grand_total": 0,
"rounding_adjustment": 0,
"rounded_total": 0,
"in_words": "in_words_example",
"disable_rounded_total": false,
"tc_name": "tc_name_example",
"terms": "terms_example",
"range": "range_example",
"project": "project_example",
"per_billed": 0,
"auto_repeat": "auto_repeat_example",
"letter_head": "letter_head_example",
"select_print_heading": "select_print_heading_example",
"language": "language_example",
"group_same_items": false,
"instructions": "instructions_example",
"remarks": "remarks_example",
"transporter_name": "transporter_name_example",
"lr_no": "lr_no_example",
"lr_date": "2024-01-15",
"is_internal_supplier": false,
"inter_company_reference": "Example Corp",
"scan_barcode": "scan_barcode_example",
"billing_address": "billing_address_example",
"billing_address_display": "billing_address_display_example",
"apply_putaway_rule": false,
"per_returned": 0,
"set_from_warehouse": "set_from_warehouse_example",
"represents_company": "Example Corp",
"cost_center": "cost_center_example",
"is_old_subcontracting_flow": false,
"incoterm": "incoterm_example",
"named_place": "named_place_example",
"subcontracting_receipt": "subcontracting_receipt_example",
"dispatch_address": "dispatch_address_example",
"dispatch_address_display": "dispatch_address_display_example"
} /api/stock/purchase-receipt/{id} Delete a purchase receipt
Permanently deletes a purchase receipt. This cannot be undone.
Path parameters
The identifier of the purchase receipt to delete.
Returns
Returns a confirmation that the purchase receipt has been deleted.
curl https://api.overplane.dev/api/stock/purchase-receipt/purchase-receipt_abc123 \
-H "Authorization: Bearer sk_test_..." \
-X DELETE {
"id": "purchase-receipt_abc123",
"deleted": true
} /api/stock/purchase-receipt/{id}/submit Submit a purchase receipt
Submits a draft purchase receipt, transitioning its status from draft to submitted.
Path parameters
The identifier of the purchase receipt to act on.
Returns
Returns the purchase receipt object with updated status.
curl https://api.overplane.dev/api/stock/purchase-receipt/purchase-receipt_abc123/submit \
-H "Authorization: Bearer sk_test_..." \
-X POST {
"id": "purchase-receipt_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"status": "draft",
"title": "title_example",
"supplier": "supplier_example",
"supplier_name": "supplier_name_example",
"supplier_delivery_note": "supplier_delivery_note_example",
"posting_date": "2024-01-15",
"posting_time": "posting_time_example",
"set_posting_time": false,
"company": "Example Corp",
"is_return": false,
"return_against": "return_against_example",
"supplier_address": "supplier_address_example",
"contact_person": "contact_person_example",
"address_display": "address_display_example",
"contact_display": "contact_display_example",
"contact_mobile": "contact_mobile_example",
"contact_email": "user@example.com",
"shipping_address": "shipping_address_example",
"shipping_address_display": "shipping_address_display_example",
"currency": "USD",
"conversion_rate": 0,
"buying_price_list": "buying_price_list_example",
"price_list_currency": "USD",
"plc_conversion_rate": 0,
"ignore_pricing_rule": false,
"set_warehouse": "set_warehouse_example",
"rejected_warehouse": "rejected_warehouse_example",
"is_subcontracted": false,
"supplier_warehouse": "supplier_warehouse_example",
"total_qty": 0,
"base_total": 0,
"base_net_total": 0,
"total": 0,
"net_total": 0,
"total_net_weight": 0,
"tax_category": "tax_category_example",
"shipping_rule": "shipping_rule_example",
"taxes_and_charges": "taxes_and_charges_example",
"other_charges_calculation": "other_charges_calculation_example",
"base_taxes_and_charges_added": 0,
"base_taxes_and_charges_deducted": 0,
"base_total_taxes_and_charges": 0,
"taxes_and_charges_added": 0,
"taxes_and_charges_deducted": 0,
"total_taxes_and_charges": 0,
"apply_discount_on": "Grand Total",
"base_discount_amount": 0,
"additional_discount_percentage": 0,
"discount_amount": 0,
"base_grand_total": 0,
"base_rounding_adjustment": 0,
"base_in_words": "base_in_words_example",
"base_rounded_total": 0,
"grand_total": 0,
"rounding_adjustment": 0,
"rounded_total": 0,
"in_words": "in_words_example",
"disable_rounded_total": false,
"tc_name": "tc_name_example",
"terms": "terms_example",
"range": "range_example",
"project": "project_example",
"per_billed": 0,
"auto_repeat": "auto_repeat_example",
"letter_head": "letter_head_example",
"select_print_heading": "select_print_heading_example",
"language": "language_example",
"group_same_items": false,
"instructions": "instructions_example",
"remarks": "remarks_example",
"transporter_name": "transporter_name_example",
"lr_no": "lr_no_example",
"lr_date": "2024-01-15",
"is_internal_supplier": false,
"inter_company_reference": "Example Corp",
"scan_barcode": "scan_barcode_example",
"billing_address": "billing_address_example",
"billing_address_display": "billing_address_display_example",
"apply_putaway_rule": false,
"per_returned": 0,
"set_from_warehouse": "set_from_warehouse_example",
"represents_company": "Example Corp",
"cost_center": "cost_center_example",
"is_old_subcontracting_flow": false,
"incoterm": "incoterm_example",
"named_place": "named_place_example",
"subcontracting_receipt": "subcontracting_receipt_example",
"dispatch_address": "dispatch_address_example",
"dispatch_address_display": "dispatch_address_display_example"
} /api/stock/purchase-receipt/{id}/cancel Cancel a purchase receipt
Cancels a submitted purchase receipt, transitioning its status to cancelled.
Path parameters
The identifier of the purchase receipt to act on.
Returns
Returns the purchase receipt object with updated status.
curl https://api.overplane.dev/api/stock/purchase-receipt/purchase-receipt_abc123/cancel \
-H "Authorization: Bearer sk_test_..." \
-X POST {
"id": "purchase-receipt_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"status": "draft",
"title": "title_example",
"supplier": "supplier_example",
"supplier_name": "supplier_name_example",
"supplier_delivery_note": "supplier_delivery_note_example",
"posting_date": "2024-01-15",
"posting_time": "posting_time_example",
"set_posting_time": false,
"company": "Example Corp",
"is_return": false,
"return_against": "return_against_example",
"supplier_address": "supplier_address_example",
"contact_person": "contact_person_example",
"address_display": "address_display_example",
"contact_display": "contact_display_example",
"contact_mobile": "contact_mobile_example",
"contact_email": "user@example.com",
"shipping_address": "shipping_address_example",
"shipping_address_display": "shipping_address_display_example",
"currency": "USD",
"conversion_rate": 0,
"buying_price_list": "buying_price_list_example",
"price_list_currency": "USD",
"plc_conversion_rate": 0,
"ignore_pricing_rule": false,
"set_warehouse": "set_warehouse_example",
"rejected_warehouse": "rejected_warehouse_example",
"is_subcontracted": false,
"supplier_warehouse": "supplier_warehouse_example",
"total_qty": 0,
"base_total": 0,
"base_net_total": 0,
"total": 0,
"net_total": 0,
"total_net_weight": 0,
"tax_category": "tax_category_example",
"shipping_rule": "shipping_rule_example",
"taxes_and_charges": "taxes_and_charges_example",
"other_charges_calculation": "other_charges_calculation_example",
"base_taxes_and_charges_added": 0,
"base_taxes_and_charges_deducted": 0,
"base_total_taxes_and_charges": 0,
"taxes_and_charges_added": 0,
"taxes_and_charges_deducted": 0,
"total_taxes_and_charges": 0,
"apply_discount_on": "Grand Total",
"base_discount_amount": 0,
"additional_discount_percentage": 0,
"discount_amount": 0,
"base_grand_total": 0,
"base_rounding_adjustment": 0,
"base_in_words": "base_in_words_example",
"base_rounded_total": 0,
"grand_total": 0,
"rounding_adjustment": 0,
"rounded_total": 0,
"in_words": "in_words_example",
"disable_rounded_total": false,
"tc_name": "tc_name_example",
"terms": "terms_example",
"range": "range_example",
"project": "project_example",
"per_billed": 0,
"auto_repeat": "auto_repeat_example",
"letter_head": "letter_head_example",
"select_print_heading": "select_print_heading_example",
"language": "language_example",
"group_same_items": false,
"instructions": "instructions_example",
"remarks": "remarks_example",
"transporter_name": "transporter_name_example",
"lr_no": "lr_no_example",
"lr_date": "2024-01-15",
"is_internal_supplier": false,
"inter_company_reference": "Example Corp",
"scan_barcode": "scan_barcode_example",
"billing_address": "billing_address_example",
"billing_address_display": "billing_address_display_example",
"apply_putaway_rule": false,
"per_returned": 0,
"set_from_warehouse": "set_from_warehouse_example",
"represents_company": "Example Corp",
"cost_center": "cost_center_example",
"is_old_subcontracting_flow": false,
"incoterm": "incoterm_example",
"named_place": "named_place_example",
"subcontracting_receipt": "subcontracting_receipt_example",
"dispatch_address": "dispatch_address_example",
"dispatch_address_display": "dispatch_address_display_example"
} Line items
Child objects that belong to this purchase receipt. These are accessed via the parent's ID.
Purchase Receipt Item
Attributes
Endpoints
/api/stock/purchase-receipt-item?parent_id={id} /api/stock/purchase-receipt-item /api/stock/purchase-receipt-item/{id} /api/stock/purchase-receipt-item/{id} /api/stock/purchase-receipt-item/reorder {
"id": "purchase-receipt-item_abc123",
"idx": 1,
"purchase_receipt_id": "purchase_receipt_id_example",
"barcode": "barcode_example",
"item_code": "item_code_example",
"supplier_part_no": "supplier_part_no_example",
"item_name": "item_name_example",
"description": "description_example",
"image": "image_example",
"image_view": "image_view_example",
"received_qty": 0,
"qty": 0,
"rejected_qty": 0,
"uom": "uom_example",
"stock_uom": "stock_uom_example",
"conversion_factor": 0,
"retain_sample": false,
"sample_quantity": 0,
"price_list_rate": 0,
"discount_percentage": 0,
"discount_amount": 0,
"base_price_list_rate": 0,
"rate": 0,
"amount": 0,
"base_rate": 0,
"base_amount": 0,
"pricing_rules": "pricing_rules_example",
"is_free_item": false,
"net_rate": 0,
"net_amount": 0,
"base_net_rate": 0,
"base_net_amount": 0,
"weight_per_unit": 0,
"total_weight": 0,
"weight_uom": "weight_uom_example",
"warehouse": "warehouse_example",
"rejected_warehouse": "rejected_warehouse_example",
"quality_inspection": "quality_inspection_example",
"is_fixed_asset": false,
"purchase_order": "purchase_order_example",
"schedule_date": "2024-01-15",
"stock_qty": 0,
"item_tax_template": "item_tax_template_example",
"project": "project_example",
"cost_center": "cost_center_example",
"purchase_order_item": "purchase_order_item_example",
"allow_zero_valuation_rate": false,
"bom": "bom_example",
"include_exploded_items": false,
"billed_amt": 0,
"landed_cost_voucher_amount": 0,
"brand": "brand_example",
"item_group": "item_group_example",
"rm_supp_cost": 0,
"item_tax_amount": 0,
"valuation_rate": 0,
"item_tax_rate": "item_tax_rate_example",
"page_break": false,
"material_request": "material_request_example",
"material_request_item": "material_request_item_example",
"expense_account": "expense_account_example",
"manufacturer": "manufacturer_example",
"manufacturer_part_no": "manufacturer_part_no_example",
"asset_location": "asset_location_example",
"asset_category": "asset_category_example",
"from_warehouse": "from_warehouse_example",
"purchase_receipt_item": "purchase_receipt_item_example",
"putaway_rule": "putaway_rule_example",
"returned_qty": 0,
"received_stock_qty": 0,
"stock_uom_rate": 0,
"delivery_note_item": "delivery_note_item_example",
"margin_type": "margin_type_example",
"margin_rate_or_amount": 0,
"rate_with_margin": 0,
"base_rate_with_margin": 0,
"purchase_invoice": "purchase_invoice_example",
"purchase_invoice_item": "purchase_invoice_item_example",
"product_bundle": "product_bundle_example",
"provisional_expense_account": "provisional_expense_account_example",
"has_item_scanned": false,
"serial_and_batch_bundle": "serial_and_batch_bundle_example",
"serial_no": "serial_no_example",
"rejected_serial_no": "rejected_serial_no_example",
"batch_no": "batch_no_example",
"rejected_serial_and_batch_bundle": "rejected_serial_and_batch_bundle_example",
"wip_composite_asset": "wip_composite_asset_example",
"sales_order": "sales_order_example",
"sales_order_item": "sales_order_item_example",
"subcontracting_receipt_item": "subcontracting_receipt_item_example",
"use_serial_batch_fields": false,
"return_qty_from_rejected_warehouse": false,
"sales_incoming_rate": 0,
"distributed_discount_amount": 0,
"amount_difference_with_purchase_invoice": 0
}