POST api/SDInvoice/CreateInvoiceFromProject
Request Information
URI Parameters
None.
Body Parameters
ProjectInvoice| Name | Description | Type | Additional information |
|---|---|---|---|
| AccountId | integer |
None. |
|
| CompanyId | string |
None. |
|
| InvoiceDate | date |
None. |
|
| SDServiceMasterId | string |
None. |
|
| BreakType1 | integer |
None. |
|
| BreakCode1 | string |
None. |
|
| BreakType2 | integer |
None. |
|
| BreakCode2 | string |
None. |
|
| InvoiceTotal | decimal number |
None. |
|
| SDSMProjectId | integer |
None. |
|
| QuoteNumber | string |
None. |
|
| TaxCode | string |
None. |
|
| SalesmanNum | string |
None. |
|
| ARCustomerMasterId | string |
None. |
|
| ProjectNumber | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"AccountId": 1,
"CompanyId": "sample string 2",
"InvoiceDate": "2025-12-16T09:38:27.3674549+00:00",
"SDServiceMasterId": "sample string 4",
"BreakType1": 1,
"BreakCode1": "sample string 5",
"BreakType2": 1,
"BreakCode2": "sample string 6",
"InvoiceTotal": 1.0,
"SDSMProjectId": 1,
"QuoteNumber": "sample string 7",
"TaxCode": "sample string 8",
"SalesmanNum": "sample string 9",
"ARCustomerMasterId": "sample string 10",
"ProjectNumber": "sample string 11"
}
application/xml, text/xml
Sample:
<ProjectInvoice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.SD"> <ARCustomerMasterId>sample string 10</ARCustomerMasterId> <AccountId>1</AccountId> <BreakCode1>sample string 5</BreakCode1> <BreakCode2>sample string 6</BreakCode2> <BreakType1>1</BreakType1> <BreakType2>1</BreakType2> <CompanyId>sample string 2</CompanyId> <InvoiceDate>2025-12-16T09:38:27.3674549+00:00</InvoiceDate> <InvoiceTotal>1</InvoiceTotal> <ProjectNumber>sample string 11</ProjectNumber> <QuoteNumber>sample string 7</QuoteNumber> <SDSMProjectId>1</SDSMProjectId> <SDServiceMasterId>sample string 4</SDServiceMasterId> <SalesmanNum>sample string 9</SalesmanNum> <TaxCode>sample string 8</TaxCode> </ProjectInvoice>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />