v1

latestOpenAPI 3.0.1Apache 2.02026-08-06260217675.1 KB
Document

Create document

Creates a new document based on the provided data. Can create invoices, timesheets, or work records. Document can include associated tasks, expenses, and notes. A document can also be saved as a template for future use.

post/v1/documents

Request body

organizationIdstring
categoryinteger
namestring
datestring
invoiceIdstring
invoiceSeriesIdstring
headlinestring
descriptionstring
termsstring
signaturestring
imagestring
companystring
companyDescriptionstring
companyAddressLine1string
companyAddressLine2string
companyAddressLine3string
companyAddressLine4string
customerstring
customerIdstring
customerAddressLine1string
customerAddressLine2string
customerAddressLine3string
customerAddressLine4string
taskSubtotalstring decimal
expenseSubtotalstring decimal
subtotalstring decimal
taxstring decimal
taxValuestring decimal
taxSecondstring decimal
taxSecondValuestring decimal
discountstring decimal
discountValuestring decimal
discountSecondValuestring decimal
totalstring decimal
durationinteger
showQrCodeboolean
qrCodeTypestring
qrCodeContentstring
qrCodeDescriptionstring
paymentstring decimal
paymentDatestring
paymentMethodstring
paidboolean
approvedboolean
templateIdstring
templateNamestring
templateboolean
saveAsTemplateboolean
refreshTemplateboolean
includeExpensesboolean
includeNotesboolean
useRelativesboolean
hideTaxesboolean
hideSummationboolean
showSecondTaxboolean
showDiscountboolean
showDiscountSecondboolean
showMemberNameboolean
showProjectTitleboolean
showTagsboolean
hideTaskTimeboolean
hideRateboolean
hideExpenseDateTimeboolean
fieldTitlestring
fieldItemstring
fieldDescriptionstring
fieldRatestring
fieldQuantitystring
fieldTotalstring
fieldTotalSumstring
fieldSubTotalstring
fieldTaxstring
fieldSecondTaxstring
fieldDiscountstring
fieldDiscountSecondstring
fieldExpenseTitlestring
fieldExpenseTotalstring
taskIdsstring[]
expenseIdsstring[]
noteIdsstring[]
invoiceTypeCodestring
companyVatIdstring
companyTaxNumberstring
companyRegistrationNumberstring
companyBankAccountstring
companyBankBICstring
customerVatIdstring
customerTaxNumberstring
customerOrderNumberstring
taxExemptionReasonstring
reverseChargeRatestring decimal
isReverseChargeboolean
cashDiscountRatestring decimal
cashDiscountDaysinteger
paymentTermDaysinteger
deliveryDatestring
dueDatestring
paymentReferencestring
orderReferencestring
projectReferencestring
costCenterstring
isGovernmentInvoiceboolean
procurementReferencestring
contractReferencestring
originalInvoiceNumberstring
originalInvoiceDatestring
eInvoiceTypestring
eInvoiceCurrencystring
eInvoiceDocumentTypestring

Response

Document successfully created

idstring
userstring
deletedboolean
lastUpdateinteger
createdinteger
organizationIdstring
categoryinteger
namestring
datestring
invoiceIdstring
invoiceSeriesIdstring
headlinestring
descriptionstring
termsstring
signaturestring
imagestring
companystring
companyDescriptionstring
companyAddressLine1string
companyAddressLine2string
companyAddressLine3string
companyAddressLine4string
customerstring
customerIdstring
customerAddressLine1string
customerAddressLine2string
customerAddressLine3string
customerAddressLine4string
taskSubtotalstring decimal
expenseSubtotalstring decimal
subtotalstring decimal
taxstring decimal
taxValuestring decimal
taxSecondstring decimal
taxSecondValuestring decimal
discountstring decimal
discountValuestring decimal
discountSecondValuestring decimal
totalstring decimal
durationinteger
showQrCodeboolean
qrCodeTypestring
qrCodeContentstring
qrCodeDescriptionstring
paymentstring decimal
paymentDatestring
paymentMethodstring
paidboolean
approvedboolean
fullyPaidboolean
partiallyPaidboolean
templateIdstring
templateNamestring
templateboolean
saveAsTemplateboolean
refreshTemplateboolean
includeExpensesboolean
includeNotesboolean
useRelativesboolean
hideTaxesboolean
hideSummationboolean
showSecondTaxboolean
showDiscountboolean
showDiscountSecondboolean
showMemberNameboolean
showProjectTitleboolean
showTagsboolean
hideTaskTimeboolean
hideRateboolean
hideExpenseDateTimeboolean
fieldTitlestring
fieldItemstring
fieldDescriptionstring
fieldRatestring
fieldQuantitystring
fieldTotalstring
fieldTotalSumstring
fieldSubTotalstring
fieldTaxstring
fieldSecondTaxstring
fieldDiscountstring
fieldDiscountSecondstring
fieldExpenseTitlestring
fieldExpenseTotalstring
statusinteger
invoiceTypeCodestring
companyVatIdstring
companyTaxNumberstring
companyRegistrationNumberstring
companyBankAccountstring
companyBankBICstring
customerVatIdstring
customerTaxNumberstring
customerOrderNumberstring
taxExemptionReasonstring
reverseChargeRatestring decimal
isReverseChargeboolean
cashDiscountRatestring decimal
cashDiscountDaysinteger
paymentTermDaysinteger
deliveryDatestring
dueDatestring
paymentReferencestring
orderReferencestring
projectReferencestring
costCenterstring
isGovernmentInvoiceboolean
procurementReferencestring
contractReferencestring
originalInvoiceNumberstring
originalInvoiceDatestring
invoiceboolean
timesheetboolean
workRecordboolean
eInvoiceTypestring
eInvoiceCurrencystring
eInvoiceDocumentTypestring