POST api/Invoice/ApplyPrepaymentInvoices
Request Information
URI Parameters
None.
Body Parameters
PrepaymentInvoicesDataName | Description | Type | Additional information |
---|---|---|---|
InvoiceYear | integer |
None. |
|
InvoiceBook | string |
None. |
|
InvoiceNumber | integer |
None. |
|
PrepaymentInvoices | PrepaymentInvoicesDataDetails |
None. |
Request Formats
application/xml, text/xml
Sample:
<PrepaymentInvoicesData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <InvoiceYear>1</InvoiceYear> <InvoiceBook>sample string 1</InvoiceBook> <InvoiceNumber>1</InvoiceNumber> <PrepaymentInvoices> <PrepaymentInvoicesLine> <PrepaymentInvoiceLineGUID>sample string 1</PrepaymentInvoiceLineGUID> <ApplyPrepaymentAmount>1</ApplyPrepaymentAmount> </PrepaymentInvoicesLine> <PrepaymentInvoicesLine> <PrepaymentInvoiceLineGUID>sample string 1</PrepaymentInvoiceLineGUID> <ApplyPrepaymentAmount>1</ApplyPrepaymentAmount> </PrepaymentInvoicesLine> </PrepaymentInvoices> </PrepaymentInvoicesData>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CreateResultName | Description | Type | Additional information |
---|---|---|---|
Keys | Collection of EntityKeyField |
None. |
|
ResultCode | ExternalResultCode |
None. |
|
Errors | Collection of Error |
None. |
Response Formats
application/xml, text/xml
Sample:
<CreateResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Keys> <Key> <Name>sample string 1</Name> <Value>sample string 2</Value> </Key> <Key> <Name>sample string 1</Name> <Value>sample string 2</Value> </Key> </Keys> <ResultCode>None</ResultCode> <Errors> <Error> <Level>Warning</Level> <Message>sample string 1</Message> </Error> <Error> <Level>Warning</Level> <Message>sample string 1</Message> </Error> </Errors> </CreateResult>