DocCloud API

<back to all web services

GetRegistryVatQuery

Requires Authentication
The following routes are available for this service:
GET/registryvat/{Id}Get registry by it's id.
GetRegistryVatQuery Parameters:
NameParameterData TypeRequiredDescription
IdpathulongNo
BaseSingleResponse<T> Parameters:
NameParameterData TypeRequiredDescription
ResultformTNo
RegistryVatDto Parameters:
NameParameterData TypeRequiredDescription
IsIncomeformboolNo
InvSrcIdformulongNo
InvSrcNumberformstringNo
InvSrcDateformDateTimeNo
InvSrcNettoformdecimalNo
InvSrcVatformdecimalNo
InvSrcGrossformdecimalNo
NumberformstringNo
SellCreationDateformDateTimeNo
SaleDateformDateTimeNo
SaleTaxDateformDateTimeNo
BuyIncomingDateformDateTimeNo
BuyDateformDateTimeNo
BuyCreationDateformDateTimeNo
BuyTaxDateformDateTimeNo
BuyTaxDiscountDateformDateTimeNo
CategoryIdformuintNo
CategoryNameformstringNo
SellIdformuintNo
SellNameformstringNo
SellVatIdformstringNo
SellStreetNameformstringNo
SellStreetNumberformstringNo
SellFlatNumberformstringNo
SellPostalCodeformstringNo
SellTownformstringNo
SellCountryIdformintNo
SellIsoCountryformstringNo
SellCountryformstringNo
RecIdformuintNo
RecNameformstringNo
RecVatIdformstringNo
RecStreetNameformstringNo
RecStreetNumberformstringNo
RecFlatNumberformstringNo
RecPostalCodeformstringNo
RecTownformstringNo
RecCountryIdformintNo
RecIsoCountryformstringNo
RecCountryformstringNo
CurrencyIdformuintNo
CurrencyformstringNo
NetformdecimalNo
VatformdecimalNo
GrossformdecimalNo
IsVatTakenformboolNo
IsVatTakenDateformDateTimeNo
PaymentDueDateformDateTimeNo
PaymentTypeIdformuintNo
PaymentTypeformstringNo
PaymentTermsformushortNo
PaidformdecimalNo
ToPaidformdecimalNo
StatusIdformintNo
StatusformstringNo
IsPaymentDividedformboolNo
IsReverseChargedformboolNo
IsImpformboolNo
IsMppformboolNo
RegistryVatPositionformList<RegistryVatPositionDto>No
DescriptionformstringNo
RemarksformstringNo
FileIdformulongNo
BaseKeyLongDto Parameters:
NameParameterData TypeRequiredDescription
CreatedByIdformuintNo
ModifiedByIdformuintNo
CreatedDateformDateTimeNo
ModifiedDateformDateTimeNo
IdformulongNo
RegistryVatPositionDto Parameters:
NameParameterData TypeRequiredDescription
CategoryIdformuintNo
CategoryNameformstringNo
DescriptionformstringNo
VatTypeIdformuintNo
VatTypeNameformstringNo
NetformdecimalNo
VatformdecimalNo
GrossformdecimalNo
KindIdformintNo
KindNameformstringNo
IsTaxableIdformintNo
IsTaxableNameformstringNo
TaxableTypeIdformintNo
TaxableTypeNameformstringNo
PosCorrIdformulongNo
IsBeforeformboolNo

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

GET /registryvat/{Id} HTTP/1.1 
Host: api.chmuradokumentow.pl 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"result":{"isIncome":false,"invSrcId":0,"invSrcNumber":"String","invSrcDate":"0001-01-01T00:00:00.0000000Z","invSrcNetto":0,"invSrcVat":0,"invSrcGross":0,"number":"String","sellCreationDate":"0001-01-01T00:00:00.0000000Z","saleDate":"0001-01-01T00:00:00.0000000Z","saleTaxDate":"0001-01-01T00:00:00.0000000Z","buyIncomingDate":"0001-01-01T00:00:00.0000000Z","buyDate":"0001-01-01T00:00:00.0000000Z","buyCreationDate":"0001-01-01T00:00:00.0000000Z","buyTaxDate":"0001-01-01T00:00:00.0000000Z","buyTaxDiscountDate":"0001-01-01T00:00:00.0000000Z","categoryId":0,"categoryName":"String","sellId":0,"sellName":"String","sellVatId":"String","sellStreetName":"String","sellStreetNumber":"String","sellFlatNumber":"String","sellPostalCode":"String","sellTown":"String","sellCountryId":0,"sellIsoCountry":"String","sellCountry":"String","recId":0,"recName":"String","recVatId":"String","recStreetName":"String","recStreetNumber":"String","recFlatNumber":"String","recPostalCode":"String","recTown":"String","recCountryId":0,"recIsoCountry":"String","recCountry":"String","currencyId":0,"currency":"String","net":0,"vat":0,"gross":0,"isVatTaken":false,"isVatTakenDate":"0001-01-01T00:00:00.0000000Z","paymentDueDate":"0001-01-01T00:00:00.0000000Z","paymentTypeId":0,"paymentType":"String","paymentTerms":0,"paid":0,"toPaid":0,"statusId":0,"status":"String","isPaymentDivided":false,"isReverseCharged":false,"isImp":false,"isMpp":false,"registryVatPosition":[{"categoryId":0,"categoryName":"String","description":"String","vatTypeId":0,"vatTypeName":"String","net":0,"vat":0,"gross":0,"kindId":0,"kindName":"String","isTaxableId":0,"isTaxableName":"String","taxableTypeId":0,"taxableTypeName":"String","posCorrId":0,"isBefore":false,"createdById":0,"modifiedById":0,"createdDate":"0001-01-01T00:00:00.0000000Z","modifiedDate":"0001-01-01T00:00:00.0000000Z","id":0}],"description":"String","remarks":"String","fileId":0,"createdById":0,"modifiedById":0,"createdDate":"0001-01-01T00:00:00.0000000Z","modifiedDate":"0001-01-01T00:00:00.0000000Z","id":0}}