POST api/UnifyDataSync/InvoiceDataSync
Request Information
URI Parameters
None.
Body Parameters
Collection of InvoiceDataSyncRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| ApplicationType | UnifyPaymentApplicationType |
None. |
|
| ProductId | globally unique identifier |
None. |
|
| ProductName | string |
None. |
|
| ApplyDate | date |
None. |
|
| InvoiceAmount | integer |
None. |
|
| InvoiceTitle | string |
None. |
|
| InvoiceType | InvoiceType |
None. |
|
| InvoiceSendType | InvoiceSendType |
None. |
|
| TaxPayerCode | string |
None. |
|
| BankName | string |
None. |
|
| BankAccount | string |
None. |
|
| CompanyPhone | string |
None. |
|
| CompanyAddress | string |
None. |
|
| SendName | string |
None. |
|
| SendPhone | string |
None. |
|
| SendAddress | string |
None. |
|
| PhoneNumber | string |
None. |
|
| string |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"Id": "29933bf4-8499-42be-ad6f-30031f7a490b",
"ApplicationType": 2002001,
"ProductId": "cbcadff3-d3b3-4618-b8ba-5699a804675f",
"ProductName": "sample string 3",
"ApplyDate": "2026-05-31T23:19:53.1388369+08:00",
"InvoiceAmount": 5,
"InvoiceTitle": "sample string 6",
"InvoiceType": 1011001,
"InvoiceSendType": 1012001,
"TaxPayerCode": "sample string 7",
"BankName": "sample string 8",
"BankAccount": "sample string 9",
"CompanyPhone": "sample string 10",
"CompanyAddress": "sample string 11",
"SendName": "sample string 12",
"SendPhone": "sample string 13",
"SendAddress": "sample string 14",
"PhoneNumber": "sample string 15",
"Email": "sample string 16"
},
{
"Id": "29933bf4-8499-42be-ad6f-30031f7a490b",
"ApplicationType": 2002001,
"ProductId": "cbcadff3-d3b3-4618-b8ba-5699a804675f",
"ProductName": "sample string 3",
"ApplyDate": "2026-05-31T23:19:53.1388369+08:00",
"InvoiceAmount": 5,
"InvoiceTitle": "sample string 6",
"InvoiceType": 1011001,
"InvoiceSendType": 1012001,
"TaxPayerCode": "sample string 7",
"BankName": "sample string 8",
"BankAccount": "sample string 9",
"CompanyPhone": "sample string 10",
"CompanyAddress": "sample string 11",
"SendName": "sample string 12",
"SendPhone": "sample string 13",
"SendAddress": "sample string 14",
"PhoneNumber": "sample string 15",
"Email": "sample string 16"
}
]
application/xml, text/xml
Sample:
<ArrayOfInvoiceDataSyncRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DeloitteEvent.DataModel">
<InvoiceDataSyncRequest>
<ApplicationType>WF</ApplicationType>
<ApplyDate>2026-05-31T23:19:53.1388369+08:00</ApplyDate>
<BankAccount>sample string 9</BankAccount>
<BankName>sample string 8</BankName>
<CompanyAddress>sample string 11</CompanyAddress>
<CompanyPhone>sample string 10</CompanyPhone>
<Email>sample string 16</Email>
<Id>29933bf4-8499-42be-ad6f-30031f7a490b</Id>
<InvoiceAmount>5</InvoiceAmount>
<InvoiceSendType>ByMail</InvoiceSendType>
<InvoiceTitle>sample string 6</InvoiceTitle>
<InvoiceType>Normal</InvoiceType>
<PhoneNumber>sample string 15</PhoneNumber>
<ProductId>cbcadff3-d3b3-4618-b8ba-5699a804675f</ProductId>
<ProductName>sample string 3</ProductName>
<SendAddress>sample string 14</SendAddress>
<SendName>sample string 12</SendName>
<SendPhone>sample string 13</SendPhone>
<TaxPayerCode>sample string 7</TaxPayerCode>
</InvoiceDataSyncRequest>
<InvoiceDataSyncRequest>
<ApplicationType>WF</ApplicationType>
<ApplyDate>2026-05-31T23:19:53.1388369+08:00</ApplyDate>
<BankAccount>sample string 9</BankAccount>
<BankName>sample string 8</BankName>
<CompanyAddress>sample string 11</CompanyAddress>
<CompanyPhone>sample string 10</CompanyPhone>
<Email>sample string 16</Email>
<Id>29933bf4-8499-42be-ad6f-30031f7a490b</Id>
<InvoiceAmount>5</InvoiceAmount>
<InvoiceSendType>ByMail</InvoiceSendType>
<InvoiceTitle>sample string 6</InvoiceTitle>
<InvoiceType>Normal</InvoiceType>
<PhoneNumber>sample string 15</PhoneNumber>
<ProductId>cbcadff3-d3b3-4618-b8ba-5699a804675f</ProductId>
<ProductName>sample string 3</ProductName>
<SendAddress>sample string 14</SendAddress>
<SendName>sample string 12</SendName>
<SendPhone>sample string 13</SendPhone>
<TaxPayerCode>sample string 7</TaxPayerCode>
</InvoiceDataSyncRequest>
</ArrayOfInvoiceDataSyncRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
JsonResultOfInvoiceDataSyncResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Content | InvoiceDataSyncResult |
None. |
|
| SerializerSettings | JsonSerializerSettings |
None. |
|
| Encoding | Encoding |
None. |
|
| Request | HttpRequestMessage |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.