DocCloud API

<back to all web services

RegistryVatCreateCommand

Requires Authentication
The following routes are available for this service:
POST/registryvatCreate RegistryVat Item
RegistryVatCreateCommand Parameters:
NameParameterData TypeRequiredDescription
IsIncomebodyboolNo
InvSrcIdbodyuintNo
InvSrcNumberbodystringNo
InvSrcDatebodyDateTimeNo
InvSrcNettobodydecimalNo
InvSrcVatbodydecimalNo
InvSrcGrossbodydecimalNo
NumberbodystringNo
SellCreationDatebodyDateTimeNo
SaleDatebodyDateTimeNo
SaleTaxDatebodyDateTimeNo
BuyIncomingDatebodyDateTimeNo
BuyDatebodyDateTimeNo
BuyCreationDatebodyDateTimeNo
BuyTaxDatebodyDateTimeNo
BuyTaxDiscountDatebodyDateTimeNo
CategoryIdbodyuintNo
CategoryNamebodystringNo
SellIdbodyuintNo
SellNamebodystringNo
SellVatIdbodystringNo
SellStreetNamebodystringNo
SellStreetNumberbodystringNo
SellFlatNumberbodystringNo
SellPostalCodebodystringNo
SellTownbodystringNo
SellCountryIdbodyuintNo
SellIsoCountrybodystringNo
SellCountrybodystringNo
RecIdbodyuintNo
RecNamebodystringNo
RecVatIdbodystringNo
RecStreetNamebodystringNo
RecStreetNumberbodystringNo
RecFlatNumberbodystringNo
RecPostalCodebodystringNo
RecTownbodystringNo
RecCountryIdbodyuintNo
RecIsoCountrybodystringNo
RecCountrybodystringNo
CurrencyIdbodyuintNo
CurrencybodystringNo
NetbodydecimalNo
VatbodydecimalNo
GrossbodydecimalNo
IsVatTakenbodyboolNo
IsVatTakenDatebodyDateTimeNo
PaymentDueDatebodyDateTimeNo
PaymentTypeIdbodyuintNo
PaymentTypebodystringNo
PaymentTermsbodyushortNo
PaidbodydecimalNo
ToPaidbodydecimalNo
StatusIdbodyintNo
StatusbodystringNo
IsPaymentDividedbodyboolNo
IsReverseChargedbodyboolNo
IsImpbodyboolNo
IsMppbodyboolNo
RegistryVatPositionbodyList<RegistryVatPositionDto>No
DescriptionbodystringNo
RemarksbodystringNo
FileIdbodyulongNo
RegistryVatPositionDto Parameters:
NameParameterData TypeRequiredDescription
CategoryIdformuintNo
CategoryNameformstringNo
DescriptionformstringNo
VatTypeIdformuintNo
VatTypeNameformstringNo
NetformdecimalNo
VatformdecimalNo
GrossformdecimalNo
KindIdformintNo
KindNameformstringNo
IsTaxableIdformintNo
IsTaxableNameformstringNo
TaxableTypeIdformintNo
TaxableTypeNameformstringNo
PosCorrIdformulongNo
IsBeforeformboolNo
BaseKeyLongDto Parameters:
NameParameterData TypeRequiredDescription
CreatedByIdformuintNo
ModifiedByIdformuintNo
CreatedDateformDateTimeNo
ModifiedDateformDateTimeNo
IdformulongNo
PostOperationResult<T> Parameters:
NameParameterData TypeRequiredDescription
IdformTNo
OperationResult Parameters:
NameParameterData TypeRequiredDescription
CodeformstringNo
ResponseStatusformResponseStatusNo
ResultformObjectNo
IsSuccessformboolNo

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.

POST /registryvat HTTP/1.1 
Host: api.chmuradokumentow.pl 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"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}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"id":0,"code":"FAIL","responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}},"result":{},"isSuccess":false}