POST api/BillingInvoiceHeader/Create
Request Information
URI Parameters
None.
Body Parameters
BillingInvoiceHeaderDTOName | Description | Type | Additional information |
---|---|---|---|
SupplierName | string |
None. |
|
InvoiceId | string |
None. |
|
InvoiceDate | date |
None. |
|
InvoiceAmount | decimal number |
None. |
|
Status | string |
None. |
|
SupplierId | decimal number |
None. |
|
BillingInvoiceLineDTOs | Collection of BillingInvoiceLineDTO |
None. |
|
TaxInvoiceId | string |
None. |
|
TaxInvoiceDate | date |
None. |
|
RequestBy | string |
None. |
|
Department | string |
None. |
|
Description | string |
None. |
|
PayGroupLookupCode | string |
None. |
|
AllowEdit | boolean |
None. |
|
AllowApprove | boolean |
None. |
|
AllowSend | boolean |
None. |
|
SupplierNumber | string |
None. |
|
VatRate | decimal number |
None. |
|
VatAmount | decimal number |
None. |
|
OrgId | decimal number |
None. |
|
PRCreatedBy | string |
None. |
|
PRDepartment | string |
None. |
|
EstablishmentId | decimal number |
None. |
|
PRCreatedById | decimal number |
None. |
|
OrgName | string |
None. |
|
RejectedReason | string |
None. |
|
BuildingName | string |
None. |
|
CreatedBy | string |
None. |
|
ModifiedBy | string |
None. |
|
StatusDesc | string |
None. |
|
Identity | BillingInvoiceHeaderIdentity |
None. |
|
SupplierRemark | string |
None. |
|
ShowChequeDetail | boolean |
None. |
|
StatusDTO | InvoiceStatusDTO |
None. |
|
CheckBankName | string |
None. |
|
CheckBankBranch | string |
None. |
|
CheckStatus | string |
None. |
|
CheckAmtTot | decimal number |
None. |
|
CheckAmtWht | decimal number |
None. |
|
CheckAmt | decimal number |
None. |
|
CheckNumber | string |
None. |
|
CheckDate | date |
None. |
|
PONumberFilter | string |
None. |
|
CheckStatusDesc | string |
None. |
|
CheckType | string |
None. |
|
CheckTypeDescTHA | string |
None. |
|
ReceiveId | string |
None. |
|
POId | decimal number |
None. |
|
PONumber | string |
None. |
|
PRCreatedByEmployeeNumber | string |
None. |
|
HasAcceptanceHeader | boolean |
None. |
|
AcceptanceStatus | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "supplierName": "sample string 1", "invoiceId": "sample string 2", "invoiceDate": "2025-06-07T05:49:06.8585071+07:00", "invoiceAmount": 1.0, "status": "sample string 3", "supplierId": 4.0, "billingInvoiceLineDTOs": [ { "supplierId": 1.0, "invoiceId": "sample string 1", "poId": 2, "poLineId": 3, "lineNum": 1, "itemId": 1.0, "itemCode": "sample string 4", "itemDesc": "sample string 5", "itemIdPO": "sample string 6", "itemDescPO": "sample string 7", "uom": "sample string 8", "unitPrice": 1.0, "qty": 1.0, "amount": 1.0, "supplierName": "sample string 9", "taxInvoiceId": "sample string 10", "taxInvoiceDate": "2025-06-07T05:49:06.861507+07:00", "totalAmount": 1.0, "vatAmount": 1.0, "invoiceDate": "2025-06-07T05:49:06.8625031+07:00", "vatCode": "sample string 11", "buildingCode": "sample string 12", "departmentCode": "sample string 13", "shipmentNum": 1.0, "poNumber": "sample string 14", "vendorSiteId": 1.0, "termsId": 1.0, "payGroupLookupCode": "sample string 15", "remainQty": 1.0, "supplierNumber": "sample string 16", "lineLocationId": 1.0, "poDistributionId": 1.0, "shipQuantityBilled": 1.0, "poQuantity": 1.0, "shipToLocationId": 1.0, "orgId": 1.0, "prCreatedBy": "sample string 17", "prDepartment": "sample string 18", "establishmentId": 1.0, "prCreatedById": 1.0, "shipQuantityCancelled": 1.0, "orgName": "sample string 19", "buildingName": "sample string 20", "departmentName": "sample string 21", "sectionName": "sample string 22", "prCreatedByEmployeeNumber": "sample string 23", "subbudgetCode": "sample string 24" }, { "supplierId": 1.0, "invoiceId": "sample string 1", "poId": 2, "poLineId": 3, "lineNum": 1, "itemId": 1.0, "itemCode": "sample string 4", "itemDesc": "sample string 5", "itemIdPO": "sample string 6", "itemDescPO": "sample string 7", "uom": "sample string 8", "unitPrice": 1.0, "qty": 1.0, "amount": 1.0, "supplierName": "sample string 9", "taxInvoiceId": "sample string 10", "taxInvoiceDate": "2025-06-07T05:49:06.861507+07:00", "totalAmount": 1.0, "vatAmount": 1.0, "invoiceDate": "2025-06-07T05:49:06.8625031+07:00", "vatCode": "sample string 11", "buildingCode": "sample string 12", "departmentCode": "sample string 13", "shipmentNum": 1.0, "poNumber": "sample string 14", "vendorSiteId": 1.0, "termsId": 1.0, "payGroupLookupCode": "sample string 15", "remainQty": 1.0, "supplierNumber": "sample string 16", "lineLocationId": 1.0, "poDistributionId": 1.0, "shipQuantityBilled": 1.0, "poQuantity": 1.0, "shipToLocationId": 1.0, "orgId": 1.0, "prCreatedBy": "sample string 17", "prDepartment": "sample string 18", "establishmentId": 1.0, "prCreatedById": 1.0, "shipQuantityCancelled": 1.0, "orgName": "sample string 19", "buildingName": "sample string 20", "departmentName": "sample string 21", "sectionName": "sample string 22", "prCreatedByEmployeeNumber": "sample string 23", "subbudgetCode": "sample string 24" } ], "taxInvoiceId": "sample string 5", "taxInvoiceDate": "2025-06-07T05:49:06.8655026+07:00", "requestBy": "sample string 6", "department": "sample string 7", "description": "sample string 8", "payGroupLookupCode": "sample string 9", "allowEdit": false, "allowApprove": false, "allowSend": false, "supplierNumber": "sample string 10", "vatRate": 1.0, "vatAmount": 1.0, "orgId": 1.0, "prCreatedBy": "sample string 11", "prDepartment": "sample string 12", "establishmentId": 1.0, "prCreatedById": 1.0, "orgName": "sample string 13", "rejectedReason": "sample string 14", "buildingName": "sample string 15", "createdBy": "sample string 16", "modifiedBy": "sample string 17", "statusDesc": "sample string 18", "identity": { "invoiceId": "sample string 2", "supplierId": 4.0 }, "supplierRemark": "sample string 19", "showChequeDetail": false, "statusDTO": { "statusCode": "sample string 1", "desc": "sample string 2" }, "checkBankName": "sample string 20", "checkBankBranch": "sample string 21", "checkStatus": "sample string 22", "checkAmtTot": 1.0, "checkAmtWht": 1.0, "checkAmt": 1.0, "checkNumber": "sample string 23", "checkDate": "2025-06-07T05:49:06.8705017+07:00", "poNumberFilter": "sample string 14,sample string 14", "checkStatusDesc": "sample string 24", "checkType": "sample string 25", "checkTypeDescTHA": "", "receiveId": "sample string 26", "poId": 1.0, "poNumber": "sample string 27", "prCreatedByEmployeeNumber": "sample string 28", "hasAcceptanceHeader": true, "acceptanceStatus": "sample string 30" }
application/xml, text/xml
Sample:
<BillingInvoiceHeaderDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FashionIsland.Ebidding.ViewModel"> <AcceptanceStatus>sample string 30</AcceptanceStatus> <BillingInvoiceLineDTOs> <BillingInvoiceLineDTO> <Amount>1</Amount> <BuildingCode>sample string 12</BuildingCode> <BuildingName>sample string 20</BuildingName> <DepartmentCode>sample string 13</DepartmentCode> <DepartmentName>sample string 21</DepartmentName> <EstablishmentId>1</EstablishmentId> <InvoiceDate>2025-06-07T05:49:06.8625031+07:00</InvoiceDate> <InvoiceId>sample string 1</InvoiceId> <ItemCode>sample string 4</ItemCode> <ItemDesc>sample string 5</ItemDesc> <ItemDescPO>sample string 7</ItemDescPO> <ItemId>1</ItemId> <ItemIdPO>sample string 6</ItemIdPO> <LineLocationId>1</LineLocationId> <LineNum>1</LineNum> <OrgId>1</OrgId> <OrgName>sample string 19</OrgName> <PODistributionId>1</PODistributionId> <POId>2</POId> <POLineId>3</POLineId> <PONumber>sample string 14</PONumber> <POQuantity>1</POQuantity> <PRCreatedBy>sample string 17</PRCreatedBy> <PRCreatedByEmployeeNumber>sample string 23</PRCreatedByEmployeeNumber> <PRCreatedById>1</PRCreatedById> <PRDepartment>sample string 18</PRDepartment> <PayGroupLookupCode>sample string 15</PayGroupLookupCode> <Qty>1</Qty> <RemainQty>1</RemainQty> <SectionName>sample string 22</SectionName> <ShipQuantityBilled>1</ShipQuantityBilled> <ShipQuantityCancelled>1</ShipQuantityCancelled> <ShipToLocationId>1</ShipToLocationId> <ShipmentNum>1</ShipmentNum> <SubbudgetCode>sample string 24</SubbudgetCode> <SupplierId>1</SupplierId> <SupplierName>sample string 9</SupplierName> <SupplierNumber>sample string 16</SupplierNumber> <TaxInvoiceDate>2025-06-07T05:49:06.861507+07:00</TaxInvoiceDate> <TaxInvoiceId>sample string 10</TaxInvoiceId> <TermsId>1</TermsId> <TotalAmount>1</TotalAmount> <UOM>sample string 8</UOM> <UnitPrice>1</UnitPrice> <VatAmount>1</VatAmount> <VatCode>sample string 11</VatCode> <VendorSiteId>1</VendorSiteId> </BillingInvoiceLineDTO> <BillingInvoiceLineDTO> <Amount>1</Amount> <BuildingCode>sample string 12</BuildingCode> <BuildingName>sample string 20</BuildingName> <DepartmentCode>sample string 13</DepartmentCode> <DepartmentName>sample string 21</DepartmentName> <EstablishmentId>1</EstablishmentId> <InvoiceDate>2025-06-07T05:49:06.8625031+07:00</InvoiceDate> <InvoiceId>sample string 1</InvoiceId> <ItemCode>sample string 4</ItemCode> <ItemDesc>sample string 5</ItemDesc> <ItemDescPO>sample string 7</ItemDescPO> <ItemId>1</ItemId> <ItemIdPO>sample string 6</ItemIdPO> <LineLocationId>1</LineLocationId> <LineNum>1</LineNum> <OrgId>1</OrgId> <OrgName>sample string 19</OrgName> <PODistributionId>1</PODistributionId> <POId>2</POId> <POLineId>3</POLineId> <PONumber>sample string 14</PONumber> <POQuantity>1</POQuantity> <PRCreatedBy>sample string 17</PRCreatedBy> <PRCreatedByEmployeeNumber>sample string 23</PRCreatedByEmployeeNumber> <PRCreatedById>1</PRCreatedById> <PRDepartment>sample string 18</PRDepartment> <PayGroupLookupCode>sample string 15</PayGroupLookupCode> <Qty>1</Qty> <RemainQty>1</RemainQty> <SectionName>sample string 22</SectionName> <ShipQuantityBilled>1</ShipQuantityBilled> <ShipQuantityCancelled>1</ShipQuantityCancelled> <ShipToLocationId>1</ShipToLocationId> <ShipmentNum>1</ShipmentNum> <SubbudgetCode>sample string 24</SubbudgetCode> <SupplierId>1</SupplierId> <SupplierName>sample string 9</SupplierName> <SupplierNumber>sample string 16</SupplierNumber> <TaxInvoiceDate>2025-06-07T05:49:06.861507+07:00</TaxInvoiceDate> <TaxInvoiceId>sample string 10</TaxInvoiceId> <TermsId>1</TermsId> <TotalAmount>1</TotalAmount> <UOM>sample string 8</UOM> <UnitPrice>1</UnitPrice> <VatAmount>1</VatAmount> <VatCode>sample string 11</VatCode> <VendorSiteId>1</VendorSiteId> </BillingInvoiceLineDTO> </BillingInvoiceLineDTOs> <BuildingName>sample string 15</BuildingName> <CheckAmt>1</CheckAmt> <CheckAmtTot>1</CheckAmtTot> <CheckAmtWht>1</CheckAmtWht> <CheckBankBranch>sample string 21</CheckBankBranch> <CheckBankName>sample string 20</CheckBankName> <CheckDate>2025-06-07T05:49:06.8705017+07:00</CheckDate> <CheckNumber>sample string 23</CheckNumber> <CheckStatus>sample string 22</CheckStatus> <CheckStatusDesc>sample string 24</CheckStatusDesc> <CheckType>sample string 25</CheckType> <CreatedBy>sample string 16</CreatedBy> <Department>sample string 7</Department> <Description>sample string 8</Description> <EstablishmentId>1</EstablishmentId> <HasAcceptanceHeader>true</HasAcceptanceHeader> <InvoiceAmount>1</InvoiceAmount> <InvoiceDate>2025-06-07T05:49:06.8585071+07:00</InvoiceDate> <InvoiceId>sample string 2</InvoiceId> <ModifiedBy>sample string 17</ModifiedBy> <OrgId>1</OrgId> <OrgName>sample string 13</OrgName> <POId>1</POId> <PONumber>sample string 27</PONumber> <PRCreatedBy>sample string 11</PRCreatedBy> <PRCreatedByEmployeeNumber>sample string 28</PRCreatedByEmployeeNumber> <PRCreatedById>1</PRCreatedById> <PRDepartment>sample string 12</PRDepartment> <PayGroupLookupCode>sample string 9</PayGroupLookupCode> <ReceiveId>sample string 26</ReceiveId> <RejectedReason>sample string 14</RejectedReason> <RequestBy>sample string 6</RequestBy> <Status>sample string 3</Status> <StatusDTO> <Desc>sample string 2</Desc> <StatusCode>sample string 1</StatusCode> </StatusDTO> <StatusDesc>sample string 18</StatusDesc> <SupplierId>4</SupplierId> <SupplierName>sample string 1</SupplierName> <SupplierNumber>sample string 10</SupplierNumber> <SupplierRemark>sample string 19</SupplierRemark> <TaxInvoiceDate>2025-06-07T05:49:06.8655026+07:00</TaxInvoiceDate> <TaxInvoiceId>sample string 5</TaxInvoiceId> <VatAmount>1</VatAmount> <VatRate>1</VatRate> </BillingInvoiceHeaderDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |