DocCloud API

<back to all web services

GetSettlementQuery

Requires Authentication
The following routes are available for this service:
GET/settlement/{id}Get settlement by id
GetSettlementQuery Parameters:
NameParameterData TypeRequiredDescription
IdpathulongNo
BaseSingleResponse<T> Parameters:
NameParameterData TypeRequiredDescription
ResultformTNo
SettlementDto Parameters:
NameParameterData TypeRequiredDescription
InvoiceIdformulongNo
IsIncomeformboolNo
DocumentNumberformstringNo
InterestformdecimalNo
SellDateformDateTimeNo
PaymentDueDateformDateTimeNo
AmountformdecimalNo
RegulatedAmountformdecimalNo
IsClearedformboolNo
IsMarkedClearformboolNo
ClearedDateformDateTimeNo
ToRegulateformdecimalNo
OutgoingformdecimalNo
IncomeformdecimalNo
CurrencyformstringNo
CurrencyIdformuintNo
PaymentTypeIdformintNo
DescriptionformstringNo
CategoryNameformstringNo
CategoryIdformuintNo
RecipientformRecipientDtoNo
DocumentsformIList<CashBankRecordDocumentDto>No
BaseKeyLongDto Parameters:
NameParameterData TypeRequiredDescription
CreatedByIdformuintNo
ModifiedByIdformuintNo
CreatedDateformDateTimeNo
ModifiedDateformDateTimeNo
IdformulongNo
RecipientDto Parameters:
NameParameterData TypeRequiredDescription
ShortNameformstringNo
NameformstringNo
NipformstringNo
RegonformstringNo
KrsformstringNo
CatIdformuintNo
TypeIdformintNo
RecipientCTypeformstringNo
DescriptionformstringNo
StreetNameformstringNo
StreetNumberformstringNo
StreetFlatNumberformstringNo
PostalCodeformstringNo
TownformstringNo
CountryIdformintNo
IsoCountryformstringNo
CountryformstringNo
EmailformstringNo
WebSiteformstringNo
PhoneNumberformstringNo
FaxNumberformstringNo
PhoneNumber1formstringNo
MobileNumberformstringNo
BankAccNameformstringNo
BankAccNumberformstringNo
DefaultPaymentTypeformstringNo
DefaultPaymentTermformuintNo
DefaultDiscountformdecimalNo
DefaultCurrencyIdformuintNo
DefaultCurrencyformstringNo
CategoryIdformuintNo
CategoryNameformstringNo
BaseKeyDto Parameters:
NameParameterData TypeRequiredDescription
CreatedByIdformuintNo
ModifiedByIdformuintNo
CreatedDateformDateTimeNo
ModifiedDateformDateTimeNo
IdformuintNo
CashBankRecordDocumentDto Parameters:
NameParameterData TypeRequiredDescription
InvoiceNumberformstringNo
InvoiceSellDateformDateTimeNo
InvoiceDeadLineformDateTimeNo
CashBankRecordNumberformstringNo
RegulatedAmountformdecimalNo
CashBankRecordIdformulongNo
SettlementIdformulongNo
IsDeletedformboolNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /settlement/{id} HTTP/1.1 
Host: api.chmuradokumentow.pl 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"result":{"invoiceId":0,"isIncome":false,"documentNumber":"String","interest":0,"sellDate":"0001-01-01T00:00:00.0000000Z","paymentDueDate":"0001-01-01T00:00:00.0000000Z","amount":0,"regulatedAmount":0,"isCleared":false,"isMarkedClear":false,"clearedDate":"0001-01-01T00:00:00.0000000Z","toRegulate":0,"outgoing":0,"income":0,"currency":"String","currencyId":0,"paymentTypeId":0,"description":"String","categoryName":"String","categoryId":0,"recipient":{"shortName":"String","name":"String","nip":"String","regon":"String","krs":"String","catId":0,"typeId":0,"recipientCType":"String","description":"String","streetName":"String","streetNumber":"String","streetFlatNumber":"String","postalCode":"String","town":"String","countryId":0,"isoCountry":"String","country":"String","email":"String","webSite":"String","phoneNumber":"String","faxNumber":"String","phoneNumber1":"String","mobileNumber":"String","bankAccName":"String","bankAccNumber":"String","defaultPaymentType":"String","defaultPaymentTerm":0,"defaultDiscount":0,"defaultCurrencyId":0,"defaultCurrency":"String","categoryId":0,"categoryName":"String","createdById":0,"modifiedById":0,"createdDate":"0001-01-01T00:00:00.0000000Z","modifiedDate":"0001-01-01T00:00:00.0000000Z","id":0},"createdById":0,"modifiedById":0,"createdDate":"0001-01-01T00:00:00.0000000Z","modifiedDate":"0001-01-01T00:00:00.0000000Z","id":0}}