POST supplierbill
Create a supplier expense bill
Request Information
URI Parameters
None.
Body Parameters
Interprise.Web.Services.Models.SupplierBillInputName | Description | Type | Additional information |
---|---|---|---|
BillDate |
Optional |
date |
None. |
SupplierCode |
Optional if SupplierName has value |
string |
None. |
SupplierName |
Optional if SupplierCode has value |
string |
None. |
Notes |
Optional |
string |
None. |
OnHold |
Optional |
boolean |
None. |
OnHoldReason |
Optional |
string |
None. |
DaysToHold |
Optional |
integer |
None. |
Reference |
Optional |
string |
None. |
InvoiceCode |
Optional |
string |
None. |
Discount |
Optional |
Interprise.Web.Services.Models.SupplierBillInput+BillDiscount |
None. |
CustomFields |
Optional, Gets or sets the custom field values for SupplierBill |
Collection of Interprise.Web.Services.Models.CustomField |
None. |
Details | Collection of Interprise.Web.Services.Models.SupplierBillInput+SupplierBillDetail |
None. |
Request Formats
{ "billDate": "2025-04-29T16:52:18.8785874+01:00", "supplierCode": "sample string 1", "supplierName": "sample string 2", "notes": "sample string 3", "onHold": true, "onHoldReason": "sample string 4", "daysToHold": 1, "reference": "sample string 5", "invoiceCode": "sample string 6", "discount": { "paymentTermCode": "sample string 1", "dueDate": "2025-04-29T16:52:18.8785874+01:00" }, "customFields": [ { "field": "sample string 1", "value": {} }, { "field": "sample string 1", "value": {} } ], "details": [ { "accountCode": "sample string 1", "taxCode": "sample string 2", "tax": 1.0, "total": 1.0, "notes": "sample string 3", "customFields": [ { "field": "sample string 1", "value": {} }, { "field": "sample string 1", "value": {} } ] }, { "accountCode": "sample string 1", "taxCode": "sample string 2", "tax": 1.0, "total": 1.0, "notes": "sample string 3", "customFields": [ { "field": "sample string 1", "value": {} }, { "field": "sample string 1", "value": {} } ] } ] }
<SupplierBillInput xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <BillDate>2025-04-29T16:52:18.8785874+01:00</BillDate> <SupplierCode>sample string 1</SupplierCode> <SupplierName>sample string 2</SupplierName> <Notes>sample string 3</Notes> <OnHold>true</OnHold> <OnHoldReason>sample string 4</OnHoldReason> <DaysToHold>1</DaysToHold> <Reference>sample string 5</Reference> <InvoiceCode>sample string 6</InvoiceCode> <Discount> <PaymentTermCode>sample string 1</PaymentTermCode> <DueDate>2025-04-29T16:52:18.8785874+01:00</DueDate> </Discount> <CustomFields> <CustomField> <Field>sample string 1</Field> <Value /> </CustomField> <CustomField> <Field>sample string 1</Field> <Value /> </CustomField> </CustomFields> <Details> <SupplierBillDetail> <AccountCode>sample string 1</AccountCode> <TaxCode>sample string 2</TaxCode> <Tax>1</Tax> <Total>1</Total> <Notes>sample string 3</Notes> <CustomFields> <CustomField> <Field>sample string 1</Field> <Value /> </CustomField> <CustomField> <Field>sample string 1</Field> <Value /> </CustomField> </CustomFields> </SupplierBillDetail> <SupplierBillDetail> <AccountCode>sample string 1</AccountCode> <TaxCode>sample string 2</TaxCode> <Tax>1</Tax> <Total>1</Total> <Notes>sample string 3</Notes> <CustomFields> <CustomField> <Field>sample string 1</Field> <Value /> </CustomField> <CustomField> <Field>sample string 1</Field> <Value /> </CustomField> </CustomFields> </SupplierBillDetail> </Details> </SupplierBillInput>
Response Information
Resource Description
Interprise.Web.Services.Http.MetadataOfInterprise.Web.Services.Models.SupplierBillInputName | Description | Type | Additional information |
---|---|---|---|
data | Interprise.Web.Services.Http.DataNodeOfInterprise.Web.Services.Models.SupplierBillInput |
None. |
|
links | Interprise.Web.Services.Http.LinksNode |
None. |
Response Formats
Sample not available.