Skip to content

Credit note

codestringrequired

variant code (product) (can be null)

isValidbooleanrequired

is the credit note valid?

invoiceCodestring or nullrequired

invoice number (can be null). Caution! This does not have to be just a number, it can also contain letters, a dash, etc.

orderCodestring or nullrequired

purchase order number (can be null). Caution! This does not have to be just a number, it can also contain letters, a dash, etc.

proofPaymentCodestring or nullrequired

proof payment code (can be null). Caution! This does not have to be just a number, it can also contain letters, a dash, etc.

creationTimestring or null(typeDateTimeNullable)^[0-9]{4}-[01][0-9]-[0123][0-9]T[012][0-9]:[0...required

date of issue, in ISO 8601 format

changeTimestring or null(typeDateTimeNullable)^[0-9]{4}-[01][0-9]-[0123][0-9]T[012][0-9]:[0...required

date of change, in ISO 8601 format

dueDatestring or null, (date)(typeDateNullable)^[0-9]{4}-[0-9]{2}-[0-9]{2}$required

due date in ISO 8601 format (can be null)

taxDatestring or null, (date)(typeDateNullable)^[0-9]{4}-[0-9]{2}-[0-9]{2}$required

taxation date in ISO 8601 format (can be null)

varSymbolinteger, [ 0 .. 9999999999 ](typeVarSymbol)required

variable symbol

constSymbolinteger or nullrequired

constant symbol (can be null)

specSymbolinteger or null, [ 0 .. 9999999999 ](typeSpecSymbolNullable)required

specific symbol (can be null)

restockedboolean

Items in credit note were restocked?

stockAmountChangeTypestring or nullrequired

type of change in stock quantity (can be null)

weightstring or null(typeWeightUnlimited)^[0-9]+\.[0-9]{3}$required

weight in kg, unpacked, 3 decimal places. Maximum value 999999.

completePackageWeightstring or null(typeWeightUnlimited)^[0-9]+\.[0-9]{3}$required

weight in kg, unpacked, 3 decimal places. Maximum value 999999.

billingMethodbillingMethod (object) or nullrequired
One of:

information about the method of payment

billingAddressobject(billingAddress)required

invoicing address

deliveryAddressobject or null(address)required

delivery address (can be null)

addressesEqualbooleanrequired

Are delivery and invoicing address the same?

priceobject(price)required
customerobject(documentCustomer)required
eshopobject(eshop)required
itemsArray of objects(documentItemsWithPrice)required
documentRemarkstring or nullrequired

remark on the document (can be null)

vatPayerbooleanrequired

is the tradesman a VAT payer? (can be null)

vatModestring or null

VAT mode, can be null, possible values: Normal, One Stop Shop, Mini One Stop Shop, Reverse charge, Outside the EU

reasonRemarkstring or null

Reason for credit note; default reason can be applied if not send.

{ "code": "00000008", "isValid": true, "invoiceCode": "2017200011", "orderCode": "2017000017", "proofPaymentCode": "P--2017200011-1", "creationTime": "2018-05-29T09:02:27+0200", "changeTime": "2018-05-29T09:02:27+0200", "dueDate": "2017-04-04", "taxDate": "2017-04-04", "varSymbol": 2021000021, "constSymbol": 6583, "specSymbol": 201323134, "restocked": true, "stockAmountChangeType": "load", "weight": "1.234", "completePackageWeight": "1.234", "billingMethod": { "id": 3, "name": "Cash" }, "billingAddress": { "company": "Shoptet s.r.o.", "fullName": "John Doe", "street": "French", "houseNumber": "123", "city": "Praha 2", "district": "Praha 2", "additional": "4. floor", "zip": "120 00", "countryCode": "CZ", "regionName": "Capital city", "regionShortcut": "CC", "companyId": "12345678", "vatId": "CZ289324675", "vatIdValidationStatus": "verified", "taxId": "CZ289324675" }, "deliveryAddress": { "company": "Shoptet s.r.o.", "fullName": "John Doe", "street": "French", "houseNumber": "123", "city": "Praha 2", "district": "Praha 2", "additional": "4. floor", "zip": "120 00", "countryCode": "CZ", "regionName": "Capital city", "regionShortcut": "CC" }, "addressesEqual": true, "price": { "vat": "21.00", "toPay": "21.00", "currencyCode": "CZK", "withoutVat": "21.00", "withVat": "21.00", "exchangeRate": "1.04568087", "invoicingExchangeRate": "1.04568087", "partialPaymentAmount": "21.00", "partialPaymentType": "percents" }, "customer": { "guid": "1b02cb8e-d7b5-11e0-9a5c-feab5ed617ed", "phone": "603481066", "email": "example@example.com", "remark": "This is a remark" }, "eshop": { "bankAccount": "123456789/1234", "iban": "CZ6508000000192000145399", "bic": "CNBACZPPXXX", "vatPayer": true }, "items": [ {} ], "documentRemark": "This is a remark", "vatPayer": true, "vatMode": "Normal", "reasonRemark": "Order cancellation" }