POST supplierbill/grn
Create a supplier bill from grn
Request Information
URI Parameters
None.
Body Parameters
Interprise.Web.Services.Models.SupplierBillGRNInputName | Description | Type | Additional information |
---|---|---|---|
BillDate |
Optional |
date |
None. |
Notes | string |
None. |
|
OnHold |
Optional |
boolean |
None. |
OnHoldReason |
Optional |
string |
None. |
DaysToHold |
Optional |
integer |
None. |
Reference |
Optional |
string |
None. |
InvoiceCode |
Optional |
string |
None. |
Tax |
Optional net total use to override default in Bill |
decimal number |
None. |
NetTotal |
Optional net total use to override default in Bill |
decimal number |
None. |
Expenses |
Freight and Other amount override for GRNs |
Collection of Interprise.Web.Services.Models.SupplierBillGRNInput+ExpenseAmount |
None. |
Discount |
Optional |
Interprise.Web.Services.Models.SupplierBillGRNInput+BillDiscount |
None. |
CustomFields |
Optional, Gets or sets the custom field values for SupplierBill |
Collection of Interprise.Web.Services.Models.CustomField |
None. |
PurchaseReceiptCodes | Collection of string |
None. |
|
Details | Collection of Interprise.Web.Services.Models.SupplierBillGRNInput+SupplierBillDetail |
None. |
Request Formats
{ "billDate": "2025-04-29T11:22:19.1873464+01:00", "notes": "sample string 1", "onHold": true, "onHoldReason": "sample string 2", "daysToHold": 1, "reference": "sample string 3", "invoiceCode": "sample string 4", "tax": 1.0, "netTotal": 1.0, "expenses": [ { "purchaseReceiptCode": "sample string 1", "freightAmount": 1.0, "otherAmount": 1.0 }, { "purchaseReceiptCode": "sample string 1", "freightAmount": 1.0, "otherAmount": 1.0 } ], "discount": { "paymentTermCode": "sample string 1", "dueDate": "2025-04-29T11:22:19.1873464+01:00" }, "customFields": [ { "field": "sample string 1", "value": {} }, { "field": "sample string 1", "value": {} } ], "purchaseReceiptCodes": [ "sample string 1", "sample string 2" ], "details": [ { "purchaseReceiptCode": "sample string 1", "itemName": "sample string 2", "confirmedQty": 1.0, "confirmedCost": 1.0, "notes": "sample string 4", "tax": 1.0, "customFields": [ { "field": "sample string 1", "value": {} }, { "field": "sample string 1", "value": {} } ] }, { "purchaseReceiptCode": "sample string 1", "itemName": "sample string 2", "confirmedQty": 1.0, "confirmedCost": 1.0, "notes": "sample string 4", "tax": 1.0, "customFields": [ { "field": "sample string 1", "value": {} }, { "field": "sample string 1", "value": {} } ] } ] }
<SupplierBillGRNInput xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <BillDate>2025-04-29T11:22:19.1873464+01:00</BillDate> <Notes>sample string 1</Notes> <OnHold>true</OnHold> <OnHoldReason>sample string 2</OnHoldReason> <DaysToHold>1</DaysToHold> <Reference>sample string 3</Reference> <InvoiceCode>sample string 4</InvoiceCode> <Tax>1</Tax> <NetTotal>1</NetTotal> <Expenses> <ExpenseAmount> <PurchaseReceiptCode>sample string 1</PurchaseReceiptCode> <FreightAmount>1</FreightAmount> <OtherAmount>1</OtherAmount> </ExpenseAmount> <ExpenseAmount> <PurchaseReceiptCode>sample string 1</PurchaseReceiptCode> <FreightAmount>1</FreightAmount> <OtherAmount>1</OtherAmount> </ExpenseAmount> </Expenses> <Discount> <PaymentTermCode>sample string 1</PaymentTermCode> <DueDate>2025-04-29T11:22:19.1873464+01:00</DueDate> </Discount> <CustomFields> <CustomField> <Field>sample string 1</Field> <Value /> </CustomField> <CustomField> <Field>sample string 1</Field> <Value /> </CustomField> </CustomFields> <PurchaseReceiptCodes> <string>sample string 1</string> <string>sample string 2</string> </PurchaseReceiptCodes> <Details> <SupplierBillDetail> <PurchaseReceiptCode>sample string 1</PurchaseReceiptCode> <ItemName>sample string 2</ItemName> <ItemCode>sample string 3</ItemCode> <ConfirmedQty>1</ConfirmedQty> <ConfirmedCost>1</ConfirmedCost> <Notes>sample string 4</Notes> <Tax>1</Tax> <CustomFields> <CustomField> <Field>sample string 1</Field> <Value /> </CustomField> <CustomField> <Field>sample string 1</Field> <Value /> </CustomField> </CustomFields> </SupplierBillDetail> <SupplierBillDetail> <PurchaseReceiptCode>sample string 1</PurchaseReceiptCode> <ItemName>sample string 2</ItemName> <ItemCode>sample string 3</ItemCode> <ConfirmedQty>1</ConfirmedQty> <ConfirmedCost>1</ConfirmedCost> <Notes>sample string 4</Notes> <Tax>1</Tax> <CustomFields> <CustomField> <Field>sample string 1</Field> <Value /> </CustomField> <CustomField> <Field>sample string 1</Field> <Value /> </CustomField> </CustomFields> </SupplierBillDetail> </Details> </SupplierBillGRNInput>
Response Information
Resource Description
Interprise.Web.Services.Http.MetadataOfInterprise.Web.Services.Models.SupplierBillGRNInputName | Description | Type | Additional information |
---|---|---|---|
data | Interprise.Web.Services.Http.DataNodeOfInterprise.Web.Services.Models.SupplierBillGRNInput |
None. |
|
links | Interprise.Web.Services.Http.LinksNode |
None. |
Response Formats
Sample not available.