Request Information
Returns information about a payment.
Example URL:
v2.0/ReceivedDocumentPayments/{id}
Name | Description | Type | Additional information |
---|---|---|---|
id |
Payment Id |
integer |
Required |
id |
Payment Id |
integer |
Required |
None.
Response Information
ReceivedDocumentPaymentApiModel
Name | Description | Type | Additional information |
---|---|---|---|
CurrencyId |
Currency Id |
integer |
None. |
DateCreated |
Date created |
date |
None. |
DateLastChange |
Date last change |
date |
None. |
DateOfPayment |
Date of payment |
date |
None. |
DateOfVatApplication | date |
Used in Sk legislation. |
|
ExchangeRate |
Exchange rate |
decimal number |
None. |
ExchangeRateAmount |
Exchange rate amount |
decimal number |
None. |
Exported |
Export to another accounting software indication. (It is recommended to use only one external accounting software beside iDoklad.) |
ExportedState |
None. |
Id |
Resource identifier |
integer |
Readonly |
InvoiceDocumentNumber |
Invoice document number |
string |
None. |
InvoiceId |
Document Id |
integer |
Required |
Partner |
Partner |
string |
None. |
PartnerId |
Partner id |
integer |
None. |
PaymentAmount |
Payment ammount |
decimal number |
None. |
PaymentAmountHc |
Payment ammount in home currency |
decimal number |
None. |
PaymentOptionId |
Payment option id |
integer |
None. |
Sample:
{ "CurrencyId": 1, "DateCreated": "2024-11-05T00:15:33.8367272+00:00", "DateLastChange": "2024-11-05T00:15:33.8367272+00:00", "DateOfPayment": "2024-11-05T00:15:33.8367272+00:00", "DateOfVatApplication": "2024-11-05T00:15:33.8367272+00:00", "ExchangeRate": 6.0, "ExchangeRateAmount": 7.0, "Exported": 0, "InvoiceId": 8, "InvoiceDocumentNumber": "sample string 9", "Partner": "sample string 10", "PartnerId": 11, "PaymentAmount": 12.0, "PaymentAmountHc": 13.0, "PaymentOptionId": 14, "Id": 15 }
Sample:
<ReceivedDocumentPaymentApiModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels"> <Id xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.BaseModels">15</Id> <Links xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.BaseModels"> <d2p1:KeyValueOfstringstring> <d2p1:Key>sample string 1</d2p1:Key> <d2p1:Value>sample string 2</d2p1:Value> </d2p1:KeyValueOfstringstring> </Links> <CurrencyId>1</CurrencyId> <DateCreated>2024-11-05T00:15:33.8367272+00:00</DateCreated> <DateLastChange>2024-11-05T00:15:33.8367272+00:00</DateLastChange> <DateOfPayment>2024-11-05T00:15:33.8367272+00:00</DateOfPayment> <DateOfVatApplication>2024-11-05T00:15:33.8367272+00:00</DateOfVatApplication> <ExchangeRate>6</ExchangeRate> <ExchangeRateAmount>7</ExchangeRateAmount> <Exported>0</Exported> <InvoiceDocumentNumber>sample string 9</InvoiceDocumentNumber> <InvoiceId>8</InvoiceId> <Partner>sample string 10</Partner> <PartnerId>11</PartnerId> <PaymentAmount>12</PaymentAmount> <PaymentAmountHc>13</PaymentAmountHc> <PaymentOptionId>14</PaymentOptionId> </ReceivedDocumentPaymentApiModel>