This return a list of available company addresses for the given account
accountUuid required | string <uuid> |
page | integer <int64> |
limit | integer <int64> |
tags[] | Array of strings |
{- "data": [
- {
- "type": "company",
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "customer_number": "string",
- "name": "string",
- "id_number": "string",
- "vat_number": "string",
- "currency_code": "string",
- "language": "string",
- "contact_persons": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "first_name": "string",
- "last_name": "string",
- "salutation": "Mr",
- "contacts": [
- {
- "type": "email",
- "value": "string",
- "is_primary": true
}
]
}
], - "tags": [
- "string"
], - "contacts": [
- {
- "type": "email",
- "value": "string",
- "is_primary": true
}
], - "addresses": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "address": "string",
- "street_number": "string",
- "extension": "string",
- "additional_field": "string",
- "city": "string",
- "zip_code": "string",
- "country_code": "string",
- "state": "string"
}
], - "private_notes": "string",
- "automatic_dunning": true,
- "payment_terms": -1
}
], - "links": {
- "first": "string",
- "last": "string",
- "prev": "string",
- "next": "string"
}, - "meta": {
- "current_page": 0,
- "from": 0,
- "last_page": 0,
- "path": "string",
- "per_page": 0,
- "to": 0,
- "total": 0
}
}
Returns data for one company only
accountUuid required | string <uuid> |
companyUuid required | string <uuid> The id of the address |
{- "data": {
- "type": "company",
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "customer_number": "string",
- "name": "string",
- "id_number": "string",
- "vat_number": "string",
- "currency_code": "string",
- "language": "string",
- "contact_persons": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "first_name": "string",
- "last_name": "string",
- "salutation": "Mr",
- "contacts": [
- {
- "type": "email",
- "value": "string",
- "is_primary": true
}
]
}
], - "tags": [
- "string"
], - "contacts": [
- {
- "type": "email",
- "value": "string",
- "is_primary": true
}
], - "addresses": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "address": "string",
- "street_number": "string",
- "extension": "string",
- "additional_field": "string",
- "city": "string",
- "zip_code": "string",
- "country_code": "string",
- "state": "string"
}
], - "private_notes": "string",
- "automatic_dunning": true,
- "payment_terms": -1
}
}
Updates single company
accountUuid required | string <uuid> |
companyUuid required | string <uuid> The id of the address |
Addressfields to update
type required | string Value: "company" |
uuid required | string <uuid> |
customer_number | string |
name required | string |
id_number | string |
vat_number | string |
currency_code | string |
language | string |
Array of objects (AddressesContactPerson) | |
tags | Array of strings |
Array of objects (AddressesContact) | |
Array of objects (AddressesAddress) | |
private_notes | string |
automatic_dunning | boolean |
payment_terms | integer Enum: -1 7 10 14 15 20 30 60 90 |
{- "type": "company",
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "customer_number": "string",
- "name": "string",
- "id_number": "string",
- "vat_number": "string",
- "currency_code": "string",
- "language": "string",
- "contact_persons": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "first_name": "string",
- "last_name": "string",
- "salutation": "Mr",
- "contacts": [
- {
- "type": "email",
- "value": "string",
- "is_primary": true
}
]
}
], - "tags": [
- "string"
], - "contacts": [
- {
- "type": "email",
- "value": "string",
- "is_primary": true
}
], - "addresses": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "address": "string",
- "street_number": "string",
- "extension": "string",
- "additional_field": "string",
- "city": "string",
- "zip_code": "string",
- "country_code": "string",
- "state": "string"
}
], - "private_notes": "string",
- "automatic_dunning": true,
- "payment_terms": -1
}
{- "error": "string",
- "error_description": "string"
}
This return a list of available company addresses for the given account
accountUuid required | string <uuid> |
page | integer <int64> |
limit | integer <int64> |
tags[] | Array of strings |
{- "data": [
- {
- "type": "person",
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "first_name": "string",
- "last_name": "string",
- "salutation": "Mr",
- "currency_code": "string",
- "language": "string",
- "contacts": [
- {
- "type": "email",
- "value": "string",
- "is_primary": true
}
], - "tags": [
- "string"
], - "addresses": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "address": "string",
- "street_number": "string",
- "extension": "string",
- "additional_field": "string",
- "city": "string",
- "zip_code": "string",
- "country_code": "string",
- "state": "string"
}
], - "private_notes": "string",
- "automatic_dunning": true,
- "payment_terms": -1
}
], - "links": {
- "first": "string",
- "last": "string",
- "prev": "string",
- "next": "string"
}, - "meta": {
- "current_page": 0,
- "from": 0,
- "last_page": 0,
- "path": "string",
- "per_page": 0,
- "to": 0,
- "total": 0
}
}
Returns data for one company only
accountUuid required | string <uuid> |
personUuid required | string <uuid> |
{- "data": {
- "type": "person",
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "first_name": "string",
- "last_name": "string",
- "salutation": "Mr",
- "currency_code": "string",
- "language": "string",
- "contacts": [
- {
- "type": "email",
- "value": "string",
- "is_primary": true
}
], - "tags": [
- "string"
], - "addresses": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "address": "string",
- "street_number": "string",
- "extension": "string",
- "additional_field": "string",
- "city": "string",
- "zip_code": "string",
- "country_code": "string",
- "state": "string"
}
], - "private_notes": "string",
- "automatic_dunning": true,
- "payment_terms": -1
}
}
Updates single person
accountUuid required | string <uuid> |
personUuid required | string <uuid> |
Addressfields to update
type required | string Value: "person" |
uuid required | string <uuid> |
first_name required | string |
last_name required | string |
salutation | string Enum: "Mr" "Ms" "Family" |
currency_code | string |
language | string |
Array of objects (AddressesContact) | |
tags | Array of strings |
Array of objects (AddressesAddress) | |
private_notes | string |
automatic_dunning | boolean |
payment_terms | integer Enum: -1 7 10 14 15 20 30 60 90 |
{- "type": "person",
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "first_name": "string",
- "last_name": "string",
- "salutation": "Mr",
- "currency_code": "string",
- "language": "string",
- "contacts": [
- {
- "type": "email",
- "value": "string",
- "is_primary": true
}
], - "tags": [
- "string"
], - "addresses": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "address": "string",
- "street_number": "string",
- "extension": "string",
- "additional_field": "string",
- "city": "string",
- "zip_code": "string",
- "country_code": "string",
- "state": "string"
}
], - "private_notes": "string",
- "automatic_dunning": true,
- "payment_terms": -1
}
{- "error": "string",
- "error_description": "string"
}
Creating a new address in AbaNinja
accountUuid required | string <uuid> |
force | boolean Force saving of Address. Even when duplicates were found. Default: false |
New Address
type required | string Value: "company" |
customer_number | string |
name required | string |
id_number | string |
vat_number | string |
currency_code | string |
language | string |
Array of objects (AddressesContactBody) | |
tags | Array of strings |
Array of objects (AddressesContactPersonBody) | |
Array of objects (AddressesAddressBody) | |
private_notes | string |
automatic_dunning | boolean |
payment_terms | integer Enum: -1 7 10 14 15 20 30 60 90 |
{- "type": "company",
- "customer_number": "string",
- "name": "string",
- "id_number": "string",
- "vat_number": "string",
- "currency_code": "string",
- "language": "string",
- "contacts": [
- {
- "type": "email",
- "value": "string",
- "primary": true
}
], - "tags": [
- "string"
], - "contact_persons": [
- {
- "first_name": "string",
- "last_name": "string",
- "salutation": "Mr",
- "contacts": [
- {
- "type": "email",
- "value": "string",
- "primary": true
}
]
}
], - "addresses": [
- {
- "address": "string",
- "street_number": "string",
- "extension": "string",
- "additional_field": "string",
- "city": "string",
- "zip_code": "string",
- "country_code": "string",
- "state": "string"
}
], - "private_notes": "string",
- "automatic_dunning": true,
- "payment_terms": -1
}
{- "data": {
- "type": "company",
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "customer_number": "string",
- "name": "string",
- "id_number": "string",
- "vat_number": "string",
- "currency_code": "string",
- "language": "string",
- "contact_persons": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "first_name": "string",
- "last_name": "string",
- "salutation": "Mr",
- "contacts": [
- {
- "type": "email",
- "value": "string",
- "is_primary": true
}
]
}
], - "tags": [
- "string"
], - "contacts": [
- {
- "type": "email",
- "value": "string",
- "is_primary": true
}
], - "addresses": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "address": "string",
- "street_number": "string",
- "extension": "string",
- "additional_field": "string",
- "city": "string",
- "zip_code": "string",
- "country_code": "string",
- "state": "string"
}
], - "private_notes": "string",
- "automatic_dunning": true,
- "payment_terms": -1
}
}
accountUuid required | string <uuid> UUID of account |
sort | string |
direction | string |
page | integer |
per_page | integer Example: per_page=integer | all |
search | string |
extend_search | Array of objects Example: extend_search=<column>_<extend-param>=<value> |
{- "status": 0,
- "message": "string",
- "data": {
- "id": 0,
- "address_id": 0,
- "type": "string",
- "status_id": 0,
- "status_name": "string",
- "status_color": "string",
- "invoice_number": "string",
- "po_number": "string",
- "customer_number": "string",
- "receiver": "string",
- "invoice_date": "string",
- "amount": 0,
- "currency_code": "string",
- "raw_invoice_date": "2019-08-24",
- "is_collective_bill": true,
- "collective_bill_id": 0,
- "archived": true,
- "cancelled": true,
- "due_date": "2019-08-24"
}
}
accountUuid required | string <uuid> UUID of account where the quote should be created |
schemaVersion required | any Schema Version Value: "2.0.0" |
required | Array of objects (singleQuote) non-empty |
{- "schemaVersion": "2.0.0",
- "documents": [
- {
- "receiver": {
- "addressUuid": "19a97816-85e8-49a2-8be0-a045e10edfbb",
- "companyUuid": "82b7faf3-a893-4c00-b28d-9a52807926db",
- "contactPersonUuid": "7b606c4e-9a95-4cb2-b88a-bc565113703c",
- "additionalReceivers": [
- {
- "personUuid": "aaa61110-04cb-4b61-9463-b6f108d111cf"
}, - {
- "personUuid": "cbc205dd-9f13-4066-9e11-a786a14e1875"
}
]
}, - "currencyCode": "CHF",
- "title": "Custom Invoice Title",
- "reference": "our reference",
- "customField1": "custom 1",
- "customField2": "custom 2",
- "customField3": "custom 3",
- "customField4": "custom 4",
- "quoteDate": "2021-11-26",
- "validUntilDate": "2021-12-26",
- "paymentInstructions": {
- "iban": "CH2200784102000123454",
- "reference": "RF18000000000539007547034"
}, - "pricesIncludeVat": false,
- "documentTotal": 25,
- "documentDiscount": {
- "amount": 0
}, - "cashDiscounts": [
- {
- "days": 5,
- "percentage": 2
}, - {
- "days": 7,
- "percentage": 1.5
}, - {
- "days": 9,
- "percentage": 0.5
}
], - "terms": "here you can define terms and conditions in a free text form",
- "publicNotes": "here you can add notes to your invoice which are public available",
- "footerText": "My custom invoice footer",
- "positions": [
- {
- "kind": "subtitle",
- "positionNumber": 1,
- "title": "My Product Subtitle"
}, - {
- "kind": "product",
- "positionNumber": 2,
- "productNumber": "T0001",
- "productDescription": "A Test product description for a test json",
- "quantity": 2.5,
- "singlePrice": 10,
- "positionTotal": 25,
- "discount": {
- "amount": 0
}, - "vat": {
- "percentage": 0,
- "amount": 0
}
}, - {
- "kind": "product",
- "positionNumber": 3,
- "productNumber": "T0002",
- "productDescription": "Another Test product description for a test json",
- "quantity": 2.5,
- "singlePrice": 10,
- "positionTotal": 25,
- "discount": {
- "amount": 0
}, - "vat": {
- "percentage": 0,
- "amount": 0
}
}, - {
- "kind": "section_total",
- "positionNumber": 4
}, - {
- "kind": "divider",
- "positionNumber": 5
}, - {
- "kind": "product",
- "positionNumber": 6,
- "productDescription": "Free Product",
- "quantity": 1,
- "singlePrice": 0,
- "positionTotal": 0,
- "discount": {
- "amount": 0
}, - "vat": {
- "percentage": 0,
- "amount": 0
}
}
]
}
]
}
{- "status": 0,
- "message": "string",
- "data": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "currencyCode": "CHF",
- "title": "string",
- "reference": "string",
- "customField1": "string",
- "customField2": "string",
- "customField3": "string",
- "customField4": "string",
- "terms": "string",
- "publicNotes": "string",
- "footerText": "string",
- "receiver": { },
- "positions": [
- {
- "positionNumber": 0,
- "kind": "string",
- "productNumber": "string",
- "productDescription": "string",
- "quantity": 0,
- "unitCode": "string",
- "singlePrice": 0,
- "positionTotal": 0,
- "discounts": {
- "percentage": 0
}, - "vat": {
- "percentage": 0,
- "amount": "string"
}
}
], - "quoteDate": "string",
- "validUntilDate": "string",
- "pricesIncludeVat": true,
- "documentTotal": "string"
}
}
accountUuid required | string <uuid> UUID of account |
documentUuid required | string <uuid> UUID of quote |
{- "status": 0,
- "message": "string",
- "data": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "currencyCode": "CHF",
- "title": "string",
- "reference": "string",
- "customField1": "string",
- "customField2": "string",
- "customField3": "string",
- "customField4": "string",
- "terms": "string",
- "publicNotes": "string",
- "footerText": "string",
- "receiver": { },
- "positions": [
- {
- "positionNumber": 0,
- "kind": "string",
- "productNumber": "string",
- "productDescription": "string",
- "quantity": 0,
- "unitCode": "string",
- "singlePrice": 0,
- "positionTotal": 0,
- "discounts": {
- "percentage": 0
}, - "vat": {
- "percentage": 0,
- "amount": "string"
}
}
], - "quoteDate": "string",
- "validUntilDate": "string",
- "pricesIncludeVat": true,
- "documentTotal": "string"
}
}
accountUuid required | string <uuid> UUID of account where the quote should be created |
documentUuid required | string <uuid> UUID of quote |
schemaVersion required | any Schema Version Value: "2.0.0" |
required | Array of objects (singleQuote) non-empty |
{- "schemaVersion": "2.0.0",
- "documents": [
- {
- "receiver": {
- "addressUuid": "19a97816-85e8-49a2-8be0-a045e10edfbb",
- "companyUuid": "82b7faf3-a893-4c00-b28d-9a52807926db",
- "contactPersonUuid": "7b606c4e-9a95-4cb2-b88a-bc565113703c",
- "additionalReceivers": [
- {
- "personUuid": "aaa61110-04cb-4b61-9463-b6f108d111cf"
}, - {
- "personUuid": "cbc205dd-9f13-4066-9e11-a786a14e1875"
}
]
}, - "currencyCode": "CHF",
- "title": "Custom Invoice Title",
- "reference": "our reference",
- "customField1": "custom 1",
- "customField2": "custom 2",
- "customField3": "custom 3",
- "customField4": "custom 4",
- "quoteDate": "2021-11-26",
- "validUntilDate": "2021-12-26",
- "paymentInstructions": {
- "iban": "CH2200784102000123454",
- "reference": "RF18000000000539007547034"
}, - "pricesIncludeVat": false,
- "documentTotal": 25,
- "documentDiscount": {
- "amount": 0
}, - "cashDiscounts": [
- {
- "days": 5,
- "percentage": 2
}, - {
- "days": 7,
- "percentage": 1.5
}, - {
- "days": 9,
- "percentage": 0.5
}
], - "terms": "here you can define terms and conditions in a free text form",
- "publicNotes": "here you can add notes to your invoice which are public available",
- "footerText": "My custom invoice footer",
- "positions": [
- {
- "kind": "subtitle",
- "positionNumber": 1,
- "title": "My Product Subtitle"
}, - {
- "kind": "product",
- "positionNumber": 2,
- "productNumber": "T0001",
- "productDescription": "A Test product description for a test json",
- "quantity": 2.5,
- "singlePrice": 10,
- "positionTotal": 25,
- "discount": {
- "amount": 0
}, - "vat": {
- "percentage": 0,
- "amount": 0
}
}, - {
- "kind": "product",
- "positionNumber": 3,
- "productNumber": "T0002",
- "productDescription": "Another Test product description for a test json",
- "quantity": 2.5,
- "singlePrice": 10,
- "positionTotal": 25,
- "discount": {
- "amount": 0
}, - "vat": {
- "percentage": 0,
- "amount": 0
}
}, - {
- "kind": "section_total",
- "positionNumber": 4
}, - {
- "kind": "divider",
- "positionNumber": 5
}, - {
- "kind": "product",
- "positionNumber": 6,
- "productDescription": "Free Product",
- "quantity": 1,
- "singlePrice": 0,
- "positionTotal": 0,
- "discount": {
- "amount": 0
}, - "vat": {
- "percentage": 0,
- "amount": 0
}
}
]
}
]
}
{- "status": 0,
- "message": "string",
- "data": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "currencyCode": "CHF",
- "title": "string",
- "reference": "string",
- "customField1": "string",
- "customField2": "string",
- "customField3": "string",
- "customField4": "string",
- "terms": "string",
- "publicNotes": "string",
- "footerText": "string",
- "receiver": { },
- "positions": [
- {
- "positionNumber": 0,
- "kind": "string",
- "productNumber": "string",
- "productDescription": "string",
- "quantity": 0,
- "unitCode": "string",
- "singlePrice": 0,
- "positionTotal": 0,
- "discounts": {
- "percentage": 0
}, - "vat": {
- "percentage": 0,
- "amount": "string"
}
}
], - "quoteDate": "string",
- "validUntilDate": "string",
- "pricesIncludeVat": true,
- "documentTotal": "string"
}
}
accountUuid required | string <uuid> UUID of account |
documentUuid required | string <uuid> UUID of quote |
{- "status": 0,
- "message": "string",
- "data": {
- "archive": "Archive document",
- "restore": "Restore document",
- "clone": "Clone document",
- "delete": "Delete document",
- "cancel": "Cancel document",
- "convert": "Convert quote to invoice",
- "convertCN": "Convert quote to contract note",
- "convertCNDN": "Convert contract note to delivery note",
- "convertCNI": "Convert contract note to invoice",
- "convertDNI": "Convert delivery note to invoice",
- "convertIC": "Convert invoice to credit note",
- "convertDN": "Convert invoice to delivery note",
- "convertT": "Convert invoice to template",
- "convertTI": "Convert invoice template to invoice",
- "convertToTemplate": "Convert document to template",
- "convertTemplateToQuote": "Convert quote template to quote",
- "convertTemplateToDeliveryNote": "Convert delivery note template to delivery note",
- "convertTemplateToCreditNote": "Convert credit note template to credit note",
- "convertTemplateToContractNote": "Convert contract note template to contract note",
- "print": "Print PDF",
- "email": "Send email",
- "markApproved": "Mark quote as approved",
- "markDeclined": "Mark quote as declined",
- "markSent": "Mark as sent",
- "dunningPrint": "Print reminder",
- "dunningSent": "Send reminder"
}
}
accountUuid required | string <uuid> UUID of account |
documentUuid required | string <uuid> UUID of quote |
action required | string Name of action |
{- "id": 0,
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "type": "string"
}
accountUuid required | string <uuid> UUID of account |
sort | string |
direction | string |
page | integer |
per_page | integer Example: per_page=integer | all |
search | string |
extend_search | Array of objects Example: extend_search=<column>_<extend-param>=<value> |
{- "status": 0,
- "message": "string",
- "data": {
- "id": 0,
- "address_id": 0,
- "type": "string",
- "status_id": 0,
- "status_name": "string",
- "status_color": "string",
- "invoice_number": "string",
- "po_number": "string",
- "customer_number": "string",
- "receiver": "string",
- "invoice_date": "string",
- "amount": 0,
- "currency_code": "string",
- "raw_invoice_date": "2019-08-24",
- "archived": true,
- "cancelled": true,
- "deleted_at": "2019-08-24",
- "delivery_date": "2019-08-24",
- "subtype": "string",
- "subtype_name": "string"
}
}
accountUuid required | string <uuid> UUID of account where the contract note should be created |
schemaVersion required | any Schema Version Value: "2.0.0" |
required | Array of objects (singleContractNote) non-empty |
{- "schemaVersion": "2.0.0",
- "documents": [
- {
- "receiver": {
- "addressUuid": "19a97816-85e8-49a2-8be0-a045e10edfbb",
- "companyUuid": "82b7faf3-a893-4c00-b28d-9a52807926db",
- "contactPersonUuid": "7b606c4e-9a95-4cb2-b88a-bc565113703c",
- "additionalReceivers": [
- {
- "personUuid": "aaa61110-04cb-4b61-9463-b6f108d111cf"
}, - {
- "personUuid": "cbc205dd-9f13-4066-9e11-a786a14e1875"
}
]
}, - "currencyCode": "CHF",
- "title": "Custom Invoice Title",
- "reference": "our reference",
- "customField1": "custom 1",
- "customField2": "custom 2",
- "customField3": "custom 3",
- "customField4": "custom 4",
- "contractNoteDate": "2021-11-26",
- "dueDate": "2021-12-26",
- "paymentInstructions": {
- "iban": "CH2200784102000123454",
- "reference": "RF18000000000539007547034"
}, - "pricesIncludeVat": false,
- "documentTotal": 25,
- "documentDiscount": {
- "amount": 0
}, - "cashDiscounts": [
- {
- "days": 5,
- "percentage": 2
}, - {
- "days": 7,
- "percentage": 1.5
}, - {
- "days": 9,
- "percentage": 0.5
}
], - "terms": "here you can define terms and conditions in a free text form",
- "publicNotes": "here you can add notes to your invoice which are public available",
- "footerText": "My custom invoice footer",
- "positions": [
- {
- "kind": "subtitle",
- "positionNumber": 1,
- "title": "My Product Subtitle"
}, - {
- "kind": "product",
- "positionNumber": 2,
- "productNumber": "T0001",
- "productDescription": "A Test product description for a test json",
- "quantity": 2.5,
- "singlePrice": 10,
- "positionTotal": 25,
- "discount": {
- "amount": 0
}, - "vat": {
- "percentage": 0,
- "amount": 0
}
}, - {
- "kind": "product",
- "positionNumber": 3,
- "productNumber": "T0002",
- "productDescription": "Another Test product description for a test json",
- "quantity": 2.5,
- "singlePrice": 10,
- "positionTotal": 25,
- "discount": {
- "amount": 0
}, - "vat": {
- "percentage": 0,
- "amount": 0
}
}, - {
- "kind": "section_total",
- "positionNumber": 4
}, - {
- "kind": "divider",
- "positionNumber": 5
}, - {
- "kind": "product",
- "positionNumber": 6,
- "productDescription": "Free Product",
- "quantity": 1,
- "singlePrice": 0,
- "positionTotal": 0,
- "discount": {
- "amount": 0
}, - "vat": {
- "percentage": 0,
- "amount": 0
}
}
]
}
]
}
{- "status": 0,
- "message": "string",
- "data": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "currencyCode": "CHF",
- "title": "string",
- "reference": "string",
- "customField1": "string",
- "customField2": "string",
- "customField3": "string",
- "customField4": "string",
- "terms": "string",
- "publicNotes": "string",
- "footerText": "string",
- "receiver": { },
- "positions": [
- {
- "positionNumber": 0,
- "kind": "string",
- "productNumber": "string",
- "productDescription": "string",
- "quantity": 0,
- "unitCode": "string",
- "singlePrice": 0,
- "positionTotal": 0,
- "discounts": {
- "percentage": 0
}, - "vat": {
- "percentage": 0,
- "amount": "string"
}
}
], - "quoteDate": "string",
- "validUntilDate": "string",
- "pricesIncludeVat": true,
- "documentTotal": "string"
}
}
accountUuid required | string <uuid> UUID of account |
documentUuid required | string <uuid> UUID of contract-note |
{- "status": 0,
- "message": "string",
- "data": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "currencyCode": "CHF",
- "title": "string",
- "reference": "string",
- "customField1": "string",
- "customField2": "string",
- "customField3": "string",
- "customField4": "string",
- "terms": "string",
- "publicNotes": "string",
- "footerText": "string",
- "receiver": { },
- "positions": [
- {
- "positionNumber": 0,
- "kind": "string",
- "productNumber": "string",
- "productDescription": "string",
- "quantity": 0,
- "unitCode": "string",
- "singlePrice": 0,
- "positionTotal": 0,
- "discounts": {
- "percentage": 0
}, - "vat": {
- "percentage": 0,
- "amount": "string"
}
}
], - "contractNoteDate": "string",
- "dueDate": "string",
- "pricesIncludeVat": true,
- "documentTotal": "string"
}
}
accountUuid required | string <uuid> UUID of account where the contract note should be created |
documentUuid required | string <uuid> UUID of contract-note |
schemaVersion required | any Schema Version Value: "2.0.0" |
required | Array of objects (singleContractNote) non-empty |
{- "jsonObject": {
}
}
{- "status": 0,
- "message": "string",
- "data": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "currencyCode": "CHF",
- "title": "string",
- "reference": "string",
- "customField1": "string",
- "customField2": "string",
- "customField3": "string",
- "customField4": "string",
- "terms": "string",
- "publicNotes": "string",
- "footerText": "string",
- "receiver": { },
- "positions": [
- {
- "positionNumber": 0,
- "kind": "string",
- "productNumber": "string",
- "productDescription": "string",
- "quantity": 0,
- "unitCode": "string",
- "singlePrice": 0,
- "positionTotal": 0,
- "discounts": {
- "percentage": 0
}, - "vat": {
- "percentage": 0,
- "amount": "string"
}
}
], - "contractNoteDate": "string",
- "dueDate": "string",
- "pricesIncludeVat": true,
- "documentTotal": "string"
}
}
accountUuid required | string <uuid> UUID of account |
documentUuid required | string <uuid> UUID of contract note |
{- "status": 0,
- "message": "string",
- "data": {
- "archive": "Archive document",
- "restore": "Restore document",
- "clone": "Clone document",
- "delete": "Delete document",
- "cancel": "Cancel document",
- "convert": "Convert quote to invoice",
- "convertCN": "Convert quote to contract note",
- "convertCNDN": "Convert contract note to delivery note",
- "convertCNI": "Convert contract note to invoice",
- "convertDNI": "Convert delivery note to invoice",
- "convertIC": "Convert invoice to credit note",
- "convertDN": "Convert invoice to delivery note",
- "convertT": "Convert invoice to template",
- "convertTI": "Convert invoice template to invoice",
- "convertToTemplate": "Convert document to template",
- "convertTemplateToQuote": "Convert quote template to quote",
- "convertTemplateToDeliveryNote": "Convert delivery note template to delivery note",
- "convertTemplateToCreditNote": "Convert credit note template to credit note",
- "convertTemplateToContractNote": "Convert contract note template to contract note",
- "print": "Print PDF",
- "email": "Send email",
- "markApproved": "Mark quote as approved",
- "markDeclined": "Mark quote as declined",
- "markSent": "Mark as sent",
- "dunningPrint": "Print reminder",
- "dunningSent": "Send reminder"
}
}
accountUuid required | string <uuid> UUID of account |
documentUuid required | string <uuid> UUID of contract note |
action required | string Name of action |
{- "id": 0,
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "type": "string"
}
accountUuid required | string <uuid> UUID of account |
sort | string |
direction | string |
page | integer |
per_page | integer Example: per_page=integer | all |
search | string |
extend_search | Array of objects Example: extend_search=<column>_<extend-param>=<value> |
{- "status": 0,
- "message": "string",
- "data": {
- "id": 0,
- "address_id": 0,
- "type": "string",
- "status_id": 0,
- "status_name": "string",
- "status_color": "string",
- "invoice_number": "string",
- "po_number": "string",
- "customer_number": "string",
- "receiver": "string",
- "invoice_date": "string",
- "amount": 0,
- "currency_code": "string",
- "raw_invoice_date": "2019-08-24",
- "is_collective_bill": true,
- "collective_bill_id": 0,
- "archived": true,
- "cancelled": true
}
}
accountUuid required | string <uuid> UUID of account where the delivery note should be created |
schemaVersion required | any Schema Version Value: "2.0.0" |
required | Array of objects (singleDeliveryNote) non-empty |
{- "schemaVersion": "2.0.0",
- "documents": [
- {
- "receiver": {
- "addressUuid": "19a97816-85e8-49a2-8be0-a045e10edfbb",
- "companyUuid": "82b7faf3-a893-4c00-b28d-9a52807926db",
- "contactPersonUuid": "7b606c4e-9a95-4cb2-b88a-bc565113703c",
- "additionalReceivers": [
- {
- "personUuid": "aaa61110-04cb-4b61-9463-b6f108d111cf"
}, - {
- "personUuid": "cbc205dd-9f13-4066-9e11-a786a14e1875"
}
]
}, - "currencyCode": "CHF",
- "title": "Custom Invoice Title",
- "reference": "our reference",
- "customField1": "custom 1",
- "customField2": "custom 2",
- "customField3": "custom 3",
- "customField4": "custom 4",
- "deliveryNoteDate": "2021-11-26",
- "deliveryDate": "2021-12-26",
- "terms": "here you can define terms and conditions in a free text form",
- "publicNotes": "here you can add notes to your invoice which are public available",
- "footerText": "My custom invoice footer",
- "positions": [
- {
- "kind": "subtitle",
- "positionNumber": 1,
- "title": "My Product Subtitle"
}, - {
- "kind": "product",
- "positionNumber": 2,
- "productNumber": "T0001",
- "productDescription": "A Test product description for a test json",
- "quantity": 2.5
}, - {
- "kind": "product",
- "positionNumber": 3,
- "productNumber": "T0002",
- "productDescription": "Another Test product description for a test json",
- "quantity": 2.5
}, - {
- "kind": "product",
- "positionNumber": 4,
- "productDescription": "Free Product",
- "quantity": 1
}
]
}
]
}
{- "status": 0,
- "message": "string",
- "data": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "currencyCode": "CHF",
- "title": "string",
- "reference": "string",
- "customField1": "string",
- "customField2": "string",
- "customField3": "string",
- "customField4": "string",
- "terms": "string",
- "publicNotes": "string",
- "footerText": "string",
- "receiver": { },
- "positions": [
- {
- "positionNumber": 0,
- "kind": "string",
- "productNumber": "string",
- "productDescription": "string",
- "quantity": 0,
- "unitCode": "string",
- "singlePrice": 0,
- "positionTotal": 0,
- "discounts": {
- "percentage": 0
}, - "vat": {
- "percentage": 0,
- "amount": "string"
}
}
], - "quoteDate": "string",
- "validUntilDate": "string",
- "pricesIncludeVat": true,
- "documentTotal": "string"
}
}
accountUuid required | string <uuid> UUID of account |
documentUuid required | string <uuid> UUID of contract-note |
{- "status": 0,
- "message": "string",
- "data": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "currencyCode": "CHF",
- "title": "string",
- "reference": "string",
- "customField1": "string",
- "customField2": "string",
- "customField3": "string",
- "customField4": "string",
- "terms": "string",
- "publicNotes": "string",
- "footerText": "string",
- "receiver": { },
- "deliveryNoteDate": "string",
- "deliveryDate": "string",
- "positions": [
- {
- "positionNumber": 0,
- "kind": "string",
- "productNumber": "string",
- "productDescription": "string",
- "quantity": 0
}
]
}
}
accountUuid required | string <uuid> UUID of account where the delivery note should be created |
documentUuid required | string <uuid> UUID of contract-note |
schemaVersion required | any Schema Version Value: "2.0.0" |
required | Array of objects (singleDeliveryNote) non-empty |
{- "schemaVersion": "2.0.0",
- "documents": [
- {
- "receiver": {
- "addressUuid": "19a97816-85e8-49a2-8be0-a045e10edfbb",
- "companyUuid": "82b7faf3-a893-4c00-b28d-9a52807926db",
- "contactPersonUuid": "7b606c4e-9a95-4cb2-b88a-bc565113703c",
- "additionalReceivers": [
- {
- "personUuid": "aaa61110-04cb-4b61-9463-b6f108d111cf"
}, - {
- "personUuid": "cbc205dd-9f13-4066-9e11-a786a14e1875"
}
]
}, - "currencyCode": "CHF",
- "title": "Custom Invoice Title",
- "reference": "our reference",
- "customField1": "custom 1",
- "customField2": "custom 2",
- "customField3": "custom 3",
- "customField4": "custom 4",
- "deliveryNoteDate": "2021-11-26",
- "deliveryDate": "2021-12-26",
- "terms": "here you can define terms and conditions in a free text form",
- "publicNotes": "here you can add notes to your invoice which are public available",
- "footerText": "My custom invoice footer",
- "positions": [
- {
- "kind": "subtitle",
- "positionNumber": 1,
- "title": "My Product Subtitle"
}, - {
- "kind": "product",
- "positionNumber": 2,
- "productNumber": "T0001",
- "productDescription": "A Test product description for a test json",
- "quantity": 2.5
}, - {
- "kind": "product",
- "positionNumber": 3,
- "productNumber": "T0002",
- "productDescription": "Another Test product description for a test json",
- "quantity": 2.5
}, - {
- "kind": "product",
- "positionNumber": 4,
- "productDescription": "Free Product",
- "quantity": 1
}
]
}
]
}
{- "status": 0,
- "message": "string",
- "data": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "currencyCode": "CHF",
- "title": "string",
- "reference": "string",
- "customField1": "string",
- "customField2": "string",
- "customField3": "string",
- "customField4": "string",
- "terms": "string",
- "publicNotes": "string",
- "footerText": "string",
- "receiver": { },
- "deliveryNoteDate": "string",
- "deliveryDate": "string",
- "positions": [
- {
- "positionNumber": 0,
- "kind": "string",
- "productNumber": "string",
- "productDescription": "string",
- "quantity": 0
}
]
}
}
accountUuid required | string <uuid> UUID of account |
documentUuid required | string <uuid> UUID of delivery note |
{- "status": 0,
- "message": "string",
- "data": {
- "archive": "Archive document",
- "restore": "Restore document",
- "clone": "Clone document",
- "delete": "Delete document",
- "cancel": "Cancel document",
- "convert": "Convert quote to invoice",
- "convertCN": "Convert quote to contract note",
- "convertCNDN": "Convert contract note to delivery note",
- "convertCNI": "Convert contract note to invoice",
- "convertDNI": "Convert delivery note to invoice",
- "convertIC": "Convert invoice to credit note",
- "convertDN": "Convert invoice to delivery note",
- "convertT": "Convert invoice to template",
- "convertTI": "Convert invoice template to invoice",
- "convertToTemplate": "Convert document to template",
- "convertTemplateToQuote": "Convert quote template to quote",
- "convertTemplateToDeliveryNote": "Convert delivery note template to delivery note",
- "convertTemplateToCreditNote": "Convert credit note template to credit note",
- "convertTemplateToContractNote": "Convert contract note template to contract note",
- "print": "Print PDF",
- "email": "Send email",
- "markApproved": "Mark quote as approved",
- "markDeclined": "Mark quote as declined",
- "markSent": "Mark as sent",
- "dunningPrint": "Print reminder",
- "dunningSent": "Send reminder"
}
}
accountUuid required | string <uuid> UUID of account |
documentUuid required | string <uuid> UUID of delivery note |
action required | string Name of action |
{- "id": 0,
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "type": "string"
}
accountUuid required | string <uuid> UUID of account |
sort | string |
direction | string |
page | integer |
per_page | integer Example: per_page=integer | all |
search | string |
extend_search | Array of objects Example: extend_search=<column>_<extend-param>=<value> |
{- "status": 0,
- "message": "string",
- "data": {
- "id": 0,
- "address_id": 0,
- "type": "string",
- "status_id": 0,
- "status_name": "string",
- "status_color": "string",
- "invoice_number": "string",
- "po_number": "string",
- "customer_number": "string",
- "receiver": "string",
- "invoice_date": "string",
- "amount": 0,
- "currency_code": "string",
- "raw_invoice_date": "2019-08-24",
- "is_collective_bill": true,
- "collective_bill_id": 0,
- "archived": true,
- "cancelled": true,
- "due_days": 0,
- "balance": 0,
- "source_name": "string",
- "is_imported": true,
- "dunning_level": 0
}
}
accountUuid required | string <uuid> UUID of account where the invoice should be created |
schemaVersion required | any Schema Version Value: "2.0.0" |
required | Array of objects (singleInvoice) non-empty |
{- "schemaVersion": "2.0.0",
- "documents": [
- {
- "receiver": {
- "addressUuid": "19a97816-85e8-49a2-8be0-a045e10edfbb",
- "companyUuid": "82b7faf3-a893-4c00-b28d-9a52807926db",
- "contactPersonUuid": "7b606c4e-9a95-4cb2-b88a-bc565113703c",
- "additionalReceivers": [
- {
- "personUuid": "aaa61110-04cb-4b61-9463-b6f108d111cf"
}, - {
- "personUuid": "cbc205dd-9f13-4066-9e11-a786a14e1875"
}
]
}, - "currencyCode": "CHF",
- "title": "Custom Invoice Title",
- "reference": "our reference",
- "customField1": "custom 1",
- "customField2": "custom 2",
- "customField3": "custom 3",
- "customField4": "custom 4",
- "invoiceDate": "2021-11-26",
- "dueDate": "2021-12-26",
- "deliveryDate": "2021-12-27",
- "paymentInstructions": {
- "iban": "CH2200784102000123454",
- "reference": "RF18000000000539007547034"
}, - "pricesIncludeVat": false,
- "documentTotal": 50,
- "documentDiscount": {
- "amount": 0
}, - "cashDiscounts": [
- {
- "days": 5,
- "percentage": 2
}, - {
- "days": 7,
- "percentage": 1.5
}, - {
- "days": 9,
- "percentage": 0.5
}
], - "terms": "here you can define terms and conditions in a free text form",
- "publicNotes": "here you can add notes to your invoice which are public available",
- "footerText": "My custom invoice footer",
- "positions": [
- {
- "kind": "subtitle",
- "positionNumber": 1,
- "title": "My Product Subtitle"
}, - {
- "kind": "product",
- "positionNumber": 2,
- "productNumber": "T0001",
- "productDescription": "A Test product description for a test json",
- "quantity": 2.5,
- "singlePrice": 10,
- "positionTotal": 25,
- "discount": {
- "amount": 0
}, - "vat": {
- "percentage": 0,
- "amount": 0
}
}, - {
- "kind": "product",
- "positionNumber": 3,
- "productNumber": "T0002",
- "productDescription": "Another Test product description for a test json",
- "quantity": 2.5,
- "singlePrice": 10,
- "positionTotal": 25,
- "discount": {
- "amount": 0
}, - "vat": {
- "percentage": 0,
- "amount": 0
}
}, - {
- "kind": "section_total",
- "positionNumber": 4
}, - {
- "kind": "divider",
- "positionNumber": 5
}, - {
- "kind": "product",
- "positionNumber": 6,
- "productDescription": "Free Product",
- "quantity": 1,
- "singlePrice": 0,
- "positionTotal": 0,
- "discount": {
- "amount": 0
}, - "vat": {
- "percentage": 0,
- "amount": 0
}
}
]
}
]
}
{- "status": 0,
- "message": "string",
- "data": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "currencyCode": "CHF",
- "title": "string",
- "reference": "string",
- "customField1": "string",
- "customField2": "string",
- "customField3": "string",
- "customField4": "string",
- "terms": "string",
- "publicNotes": "string",
- "footerText": "string",
- "receiver": { },
- "positions": [
- {
- "positionNumber": 0,
- "kind": "string",
- "productNumber": "string",
- "productDescription": "string",
- "quantity": 0,
- "unitCode": "string",
- "singlePrice": 0,
- "positionTotal": 0,
- "discounts": {
- "percentage": 0
}, - "vat": {
- "percentage": 0,
- "amount": "string"
}
}
], - "quoteDate": "string",
- "validUntilDate": "string",
- "pricesIncludeVat": true,
- "documentTotal": "string"
}
}
accountUuid required | string <uuid> UUID of account |
documentUuid required | string <uuid> UUID of contract-note |
{- "status": 0,
- "message": "string",
- "data": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "currencyCode": "CHF",
- "title": "string",
- "reference": "string",
- "customField1": "string",
- "customField2": "string",
- "customField3": "string",
- "customField4": "string",
- "terms": "string",
- "publicNotes": "string",
- "footerText": "string",
- "receiver": { },
- "paymentInstrucations": {
- "iban": "string",
- "reference": "string",
- "bic": "string"
}, - "positions": [
- {
- "positionNumber": 0,
- "kind": "string",
- "productNumber": "string",
- "productDescription": "string",
- "quantity": 0,
- "unitCode": "string",
- "singlePrice": 0,
- "positionTotal": 0,
- "discounts": {
- "percentage": 0
}, - "vat": {
- "percentage": 0,
- "amount": "string"
}
}
], - "cashDiscounts": [
- {
- "days": 0,
- "percentage": "string"
}
], - "invoiceDate": "string",
- "dueDate": "string",
- "deliverDate": "string",
- "pricesIncludeVat": true,
- "documentTotal": "string"
}
}
accountUuid required | string <uuid> UUID of account where the invoice should be created |
documentUuid required | string <uuid> UUID of contract-note |
schemaVersion required | any Schema Version Value: "2.0.0" |
required | Array of objects (singleInvoice) non-empty |
{- "schemaVersion": "2.0.0",
- "documents": [
- {
- "receiver": {
- "addressUuid": "19a97816-85e8-49a2-8be0-a045e10edfbb",
- "companyUuid": "82b7faf3-a893-4c00-b28d-9a52807926db",
- "contactPersonUuid": "7b606c4e-9a95-4cb2-b88a-bc565113703c",
- "additionalReceivers": [
- {
- "personUuid": "aaa61110-04cb-4b61-9463-b6f108d111cf"
}, - {
- "personUuid": "cbc205dd-9f13-4066-9e11-a786a14e1875"
}
]
}, - "currencyCode": "CHF",
- "title": "Custom Invoice Title",
- "reference": "our reference",
- "customField1": "custom 1",
- "customField2": "custom 2",
- "customField3": "custom 3",
- "customField4": "custom 4",
- "invoiceDate": "2021-11-26",
- "dueDate": "2021-12-26",
- "deliveryDate": "2021-12-27",
- "paymentInstructions": {
- "iban": "CH2200784102000123454",
- "reference": "RF18000000000539007547034"
}, - "pricesIncludeVat": false,
- "documentTotal": 50,
- "documentDiscount": {
- "amount": 0
}, - "cashDiscounts": [
- {
- "days": 5,
- "percentage": 2
}, - {
- "days": 7,
- "percentage": 1.5
}, - {
- "days": 9,
- "percentage": 0.5
}
], - "terms": "here you can define terms and conditions in a free text form",
- "publicNotes": "here you can add notes to your invoice which are public available",
- "footerText": "My custom invoice footer",
- "positions": [
- {
- "kind": "subtitle",
- "positionNumber": 1,
- "title": "My Product Subtitle"
}, - {
- "kind": "product",
- "positionNumber": 2,
- "productNumber": "T0001",
- "productDescription": "A Test product description for a test json",
- "quantity": 2.5,
- "singlePrice": 10,
- "positionTotal": 25,
- "discount": {
- "amount": 0
}, - "vat": {
- "percentage": 0,
- "amount": 0
}
}, - {
- "kind": "product",
- "positionNumber": 3,
- "productNumber": "T0002",
- "productDescription": "Another Test product description for a test json",
- "quantity": 2.5,
- "singlePrice": 10,
- "positionTotal": 25,
- "discount": {
- "amount": 0
}, - "vat": {
- "percentage": 0,
- "amount": 0
}
}, - {
- "kind": "section_total",
- "positionNumber": 4
}, - {
- "kind": "divider",
- "positionNumber": 5
}, - {
- "kind": "product",
- "positionNumber": 6,
- "productDescription": "Free Product",
- "quantity": 1,
- "singlePrice": 0,
- "positionTotal": 0,
- "discount": {
- "amount": 0
}, - "vat": {
- "percentage": 0,
- "amount": 0
}
}
]
}
]
}
{- "status": 0,
- "message": "string",
- "data": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "currencyCode": "CHF",
- "title": "string",
- "reference": "string",
- "customField1": "string",
- "customField2": "string",
- "customField3": "string",
- "customField4": "string",
- "terms": "string",
- "publicNotes": "string",
- "footerText": "string",
- "receiver": { },
- "paymentInstrucations": {
- "iban": "string",
- "reference": "string",
- "bic": "string"
}, - "positions": [
- {
- "positionNumber": 0,
- "kind": "string",
- "productNumber": "string",
- "productDescription": "string",
- "quantity": 0,
- "unitCode": "string",
- "singlePrice": 0,
- "positionTotal": 0,
- "discounts": {
- "percentage": 0
}, - "vat": {
- "percentage": 0,
- "amount": "string"
}
}
], - "cashDiscounts": [
- {
- "days": 0,
- "percentage": "string"
}
], - "invoiceDate": "string",
- "dueDate": "string",
- "deliverDate": "string",
- "pricesIncludeVat": true,
- "documentTotal": "string"
}
}
accountUuid required | string <uuid> UUID of account |
documentUuid required | string <uuid> UUID of invoice |
{- "status": 0,
- "message": "string",
- "data": {
- "archive": "Archive document",
- "restore": "Restore document",
- "clone": "Clone document",
- "delete": "Delete document",
- "cancel": "Cancel document",
- "convert": "Convert quote to invoice",
- "convertCN": "Convert quote to contract note",
- "convertCNDN": "Convert contract note to delivery note",
- "convertCNI": "Convert contract note to invoice",
- "convertDNI": "Convert delivery note to invoice",
- "convertIC": "Convert invoice to credit note",
- "convertDN": "Convert invoice to delivery note",
- "convertT": "Convert invoice to template",
- "convertTI": "Convert invoice template to invoice",
- "convertToTemplate": "Convert document to template",
- "convertTemplateToQuote": "Convert quote template to quote",
- "convertTemplateToDeliveryNote": "Convert delivery note template to delivery note",
- "convertTemplateToCreditNote": "Convert credit note template to credit note",
- "convertTemplateToContractNote": "Convert contract note template to contract note",
- "print": "Print PDF",
- "email": "Send email",
- "markApproved": "Mark quote as approved",
- "markDeclined": "Mark quote as declined",
- "markSent": "Mark as sent",
- "dunningPrint": "Print reminder",
- "dunningSent": "Send reminder"
}
}
accountUuid required | string <uuid> UUID of account |
documentUuid required | string <uuid> UUID of invoice |
action required | string Name of action |
{- "id": 0,
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "type": "string"
}
accountUuid required | string <uuid> UUID of account where the invoice should be imported to |
schemaVersion required | any Schema Version Value: "2.0.0" |
required | Array of objects (singleDocument) non-empty |
{- "schemaVersion": "2.0.0",
- "documents": [
- {
- "documentData": {
- "currencyCode": "CHF",
- "receiver": {
- "addressUuid": "d48fa622-3ea1-4d2e-a588-d44604ab6b56",
- "companyUuid": "eb8908b5-a4e2-4538-bbc8-1c11cdb6ee0a",
- "contactPersonUuid": "736227b7-0093-446b-92d8-c984335b7ca9",
- "additionalReceivers": [
- {
- "personUuid": "7d2a767e-d0ef-4ac1-8fcf-010dd5c2af04"
}
]
}, - "invoiceDate": "2022-08-10",
- "dueDate": "2022-09-01",
- "deliveryDate": "2022-08-12",
- "paymentInstructions": {
- "iban": "CH2200784102000123454",
- "reference": "RF18000000000539007547034"
}, - "documentTotal": 107.7,
- "taxPositions": [
- {
- "accountNumber": 1000,
- "isTaxIncluded": false,
- "amount": 100,
- "taxRate": 7.7
}
]
}
}
]
}
{- "status": 0,
- "message": "string",
- "data": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "currencyCode": "CHF",
- "title": "string",
- "reference": "string",
- "customField1": "string",
- "customField2": "string",
- "customField3": "string",
- "customField4": "string",
- "terms": "string",
- "publicNotes": "string",
- "footerText": "string",
- "receiver": { },
- "positions": [
- {
- "positionNumber": 0,
- "kind": "string",
- "productNumber": "string",
- "productDescription": "string",
- "quantity": 0,
- "unitCode": "string",
- "singlePrice": 0,
- "positionTotal": 0,
- "discounts": {
- "percentage": 0
}, - "vat": {
- "percentage": 0,
- "amount": "string"
}
}
], - "quoteDate": "string",
- "validUntilDate": "string",
- "pricesIncludeVat": true,
- "documentTotal": "string"
}
}
accountUuid required | string <uuid> UUID of account |
sort | string |
direction | string |
page | integer |
per_page | integer Example: per_page=integer | all |
search | string |
extend_search | Array of objects Example: extend_search=<column>_<extend-param>=<value> |
{- "status": 0,
- "message": "string",
- "data": {
- "id": 0,
- "address_id": 0,
- "type": "string",
- "status_id": 0,
- "status_name": "string",
- "status_color": "string",
- "invoice_number": "string",
- "po_number": "string",
- "customer_number": "string",
- "receiver": "string",
- "invoice_date": "string",
- "amount": 0,
- "balance": 0,
- "currency_code": "string",
- "raw_invoice_date": "2019-08-24",
- "is_collective_bill": true,
- "collective_bill_id": 0,
- "archived": true,
- "cancelled": true,
- "due_date": "string"
}
}
accountUuid required | string <uuid> UUID of account where the credit note should be created |
schemaVersion required | any Schema Version Value: "2.0.0" |
required | Array of objects (singleCreditNote) non-empty |
{- "schemaVersion": "2.0.0",
- "documents": [
- {
- "receiver": {
- "addressUuid": "19a97816-85e8-49a2-8be0-a045e10edfbb",
- "companyUuid": "82b7faf3-a893-4c00-b28d-9a52807926db",
- "contactPersonUuid": "7b606c4e-9a95-4cb2-b88a-bc565113703c",
- "additionalReceivers": [
- {
- "personUuid": "aaa61110-04cb-4b61-9463-b6f108d111cf"
}, - {
- "personUuid": "cbc205dd-9f13-4066-9e11-a786a14e1875"
}
]
}, - "currencyCode": "CHF",
- "title": "Custom Invoice Title",
- "reference": "our reference",
- "customField1": "custom 1",
- "customField2": "custom 2",
- "customField3": "custom 3",
- "customField4": "custom 4",
- "creditNoteDate": "2021-11-26",
- "dueDate": "2021-12-26",
- "pricesIncludeVat": false,
- "documentTotal": 50,
- "documentDiscount": {
- "amount": 0
}, - "cashDiscounts": [
- {
- "days": 5,
- "percentage": 2
}, - {
- "days": 7,
- "percentage": 1.5
}, - {
- "days": 9,
- "percentage": 0.5
}
], - "terms": "here you can define terms and conditions in a free text form",
- "publicNotes": "here you can add notes to your invoice which are public available",
- "footerText": "My custom invoice footer",
- "positions": [
- {
- "kind": "subtitle",
- "positionNumber": 1,
- "title": "My Product Subtitle"
}, - {
- "kind": "product",
- "positionNumber": 2,
- "productNumber": "T0001",
- "productDescription": "A Test product description for a test json",
- "quantity": 2.5,
- "singlePrice": 10,
- "positionTotal": 25,
- "discount": {
- "amount": 0
}, - "vat": {
- "percentage": 0,
- "amount": 0
}
}, - {
- "kind": "product",
- "positionNumber": 3,
- "productNumber": "T0002",
- "productDescription": "Another Test product description for a test json",
- "quantity": 2.5,
- "singlePrice": 10,
- "positionTotal": 25,
- "discount": {
- "amount": 0
}, - "vat": {
- "percentage": 0,
- "amount": 0
}
}, - {
- "kind": "section_total",
- "positionNumber": 4
}, - {
- "kind": "divider",
- "positionNumber": 5
}, - {
- "kind": "product",
- "positionNumber": 6,
- "productDescription": "Free Product",
- "quantity": 1,
- "singlePrice": 0,
- "positionTotal": 0,
- "discount": {
- "amount": 0
}, - "vat": {
- "percentage": 0,
- "amount": 0
}
}
]
}
]
}
{- "status": 0,
- "message": "string",
- "data": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "currencyCode": "CHF",
- "title": "string",
- "reference": "string",
- "customField1": "string",
- "customField2": "string",
- "customField3": "string",
- "customField4": "string",
- "terms": "string",
- "publicNotes": "string",
- "footerText": "string",
- "receiver": { },
- "positions": [
- {
- "positionNumber": 0,
- "kind": "string",
- "productNumber": "string",
- "productDescription": "string",
- "quantity": 0,
- "unitCode": "string",
- "singlePrice": 0,
- "positionTotal": 0,
- "discounts": {
- "percentage": 0
}, - "vat": {
- "percentage": 0,
- "amount": "string"
}
}
], - "quoteDate": "string",
- "validUntilDate": "string",
- "pricesIncludeVat": true,
- "documentTotal": "string"
}
}
accountUuid required | string <uuid> UUID of account |
documentUuid required | string <uuid> UUID of contract-note |
{- "status": 0,
- "message": "string",
- "data": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "currencyCode": "CHF",
- "title": "string",
- "reference": "string",
- "customField1": "string",
- "customField2": "string",
- "customField3": "string",
- "customField4": "string",
- "terms": "string",
- "publicNotes": "string",
- "footerText": "string",
- "receiver": { },
- "positions": [
- {
- "positionNumber": 0,
- "kind": "string",
- "productNumber": "string",
- "productDescription": "string",
- "quantity": 0,
- "unitCode": "string",
- "singlePrice": 0,
- "positionTotal": 0,
- "discounts": {
- "percentage": 0
}, - "vat": {
- "percentage": 0,
- "amount": "string"
}
}
], - "creditNoteDate": "string",
- "dueDate": "string",
- "pricesIncludeVat": true,
- "documentTotal": "string"
}
}
accountUuid required | string <uuid> UUID of account where the credit note should be created |
documentUuid required | string <uuid> UUID of contract-note |
schemaVersion required | any Schema Version Value: "2.0.0" |
required | Array of objects (singleCreditNote) non-empty |
{- "schemaVersion": "2.0.0",
- "documents": [
- {
- "receiver": {
- "addressUuid": "19a97816-85e8-49a2-8be0-a045e10edfbb",
- "companyUuid": "82b7faf3-a893-4c00-b28d-9a52807926db",
- "contactPersonUuid": "7b606c4e-9a95-4cb2-b88a-bc565113703c",
- "additionalReceivers": [
- {
- "personUuid": "aaa61110-04cb-4b61-9463-b6f108d111cf"
}, - {
- "personUuid": "cbc205dd-9f13-4066-9e11-a786a14e1875"
}
]
}, - "currencyCode": "CHF",
- "title": "Custom Invoice Title",
- "reference": "our reference",
- "customField1": "custom 1",
- "customField2": "custom 2",
- "customField3": "custom 3",
- "customField4": "custom 4",
- "creditNoteDate": "2021-11-26",
- "dueDate": "2021-12-26",
- "pricesIncludeVat": false,
- "documentTotal": 50,
- "documentDiscount": {
- "amount": 0
}, - "cashDiscounts": [
- {
- "days": 5,
- "percentage": 2
}, - {
- "days": 7,
- "percentage": 1.5
}, - {
- "days": 9,
- "percentage": 0.5
}
], - "terms": "here you can define terms and conditions in a free text form",
- "publicNotes": "here you can add notes to your invoice which are public available",
- "footerText": "My custom invoice footer",
- "positions": [
- {
- "kind": "subtitle",
- "positionNumber": 1,
- "title": "My Product Subtitle"
}, - {
- "kind": "product",
- "positionNumber": 2,
- "productNumber": "T0001",
- "productDescription": "A Test product description for a test json",
- "quantity": 2.5,
- "singlePrice": 10,
- "positionTotal": 25,
- "discount": {
- "amount": 0
}, - "vat": {
- "percentage": 0,
- "amount": 0
}
}, - {
- "kind": "product",
- "positionNumber": 3,
- "productNumber": "T0002",
- "productDescription": "Another Test product description for a test json",
- "quantity": 2.5,
- "singlePrice": 10,
- "positionTotal": 25,
- "discount": {
- "amount": 0
}, - "vat": {
- "percentage": 0,
- "amount": 0
}
}, - {
- "kind": "section_total",
- "positionNumber": 4
}, - {
- "kind": "divider",
- "positionNumber": 5
}, - {
- "kind": "product",
- "positionNumber": 6,
- "productDescription": "Free Product",
- "quantity": 1,
- "singlePrice": 0,
- "positionTotal": 0,
- "discount": {
- "amount": 0
}, - "vat": {
- "percentage": 0,
- "amount": 0
}
}
]
}
]
}
{- "status": 0,
- "message": "string",
- "data": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "currencyCode": "CHF",
- "title": "string",
- "reference": "string",
- "customField1": "string",
- "customField2": "string",
- "customField3": "string",
- "customField4": "string",
- "terms": "string",
- "publicNotes": "string",
- "footerText": "string",
- "receiver": { },
- "positions": [
- {
- "positionNumber": 0,
- "kind": "string",
- "productNumber": "string",
- "productDescription": "string",
- "quantity": 0,
- "unitCode": "string",
- "singlePrice": 0,
- "positionTotal": 0,
- "discounts": {
- "percentage": 0
}, - "vat": {
- "percentage": 0,
- "amount": "string"
}
}
], - "creditNoteDate": "string",
- "dueDate": "string",
- "pricesIncludeVat": true,
- "documentTotal": "string"
}
}
accountUuid required | string <uuid> UUID of account |
documentUuid required | string <uuid> UUID of credit note |
{- "status": 0,
- "message": "string",
- "data": {
- "archive": "Archive document",
- "restore": "Restore document",
- "clone": "Clone document",
- "delete": "Delete document",
- "cancel": "Cancel document",
- "convert": "Convert quote to invoice",
- "convertCN": "Convert quote to contract note",
- "convertCNDN": "Convert contract note to delivery note",
- "convertCNI": "Convert contract note to invoice",
- "convertDNI": "Convert delivery note to invoice",
- "convertIC": "Convert invoice to credit note",
- "convertDN": "Convert invoice to delivery note",
- "convertT": "Convert invoice to template",
- "convertTI": "Convert invoice template to invoice",
- "convertToTemplate": "Convert document to template",
- "convertTemplateToQuote": "Convert quote template to quote",
- "convertTemplateToDeliveryNote": "Convert delivery note template to delivery note",
- "convertTemplateToCreditNote": "Convert credit note template to credit note",
- "convertTemplateToContractNote": "Convert contract note template to contract note",
- "print": "Print PDF",
- "email": "Send email",
- "markApproved": "Mark quote as approved",
- "markDeclined": "Mark quote as declined",
- "markSent": "Mark as sent",
- "dunningPrint": "Print reminder",
- "dunningSent": "Send reminder"
}
}
accountUuid required | string <uuid> UUID of account |
documentUuid required | string <uuid> UUID of credit note |
action required | string Name of action |
{- "id": 0,
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "type": "string"
}
accountUuid required | string <uuid> UUID of account |
sort | string |
direction | string |
page | integer |
per_page | integer Example: per_page=integer | all |
search | string |
extend_search | Array of objects Example: extend_search=<column>_<extend-param>=<value> |
{- "status": 0,
- "message": "string",
- "data": {
- "id": 0,
- "type": "string",
- "status_id": 0,
- "status_name": "string",
- "status_color": "string",
- "frequency_name": "string",
- "customer_number": "string",
- "receiver": "string",
- "start_date": "string",
- "last_sent_date": "string",
- "next_send_date": "string",
- "end_date": "string",
- "amount": 0,
- "currency_code": "string",
- "raw_invoice_date": "2019-08-24",
- "archived": true,
- "cancelled": true,
- "invoice_date": "string",
- "invoice_number": "string",
- "is_recurring_active": true,
- "is_recurring_active_name": "string"
}
}
accountUuid required | string <uuid> UUID of account where the recurring invoice should be created |
schemaVersion required | any Schema Version Value: "2.0.0" |
required | Array of objects (singleRecurringInvoice) non-empty |
{- "schemaVersion": "2.0.0",
- "documents": [
- {
- "receiver": {
- "addressUuid": "19a97816-85e8-49a2-8be0-a045e10edfbb",
- "companyUuid": "82b7faf3-a893-4c00-b28d-9a52807926db",
- "contactPersonUuid": "7b606c4e-9a95-4cb2-b88a-bc565113703c",
- "additionalReceivers": [
- {
- "personUuid": "aaa61110-04cb-4b61-9463-b6f108d111cf"
}, - {
- "personUuid": "cbc205dd-9f13-4066-9e11-a786a14e1875"
}
]
}, - "currencyCode": "CHF",
- "title": "Custom Invoice Title",
- "reference": "our reference",
- "customField1": "custom 1",
- "customField2": "custom 2",
- "customField3": "custom 3",
- "customField4": "custom 4",
- "startDate": "2021-11-29",
- "endDate": "2023-12-26",
- "frequency": "monthly",
- "isRecurringActive": true,
- "isLastOfMonth": false,
- "paymentInstructions": {
- "iban": "CH2200784102000123454",
- "reference": "RF18000000000539007547034"
}, - "pricesIncludeVat": false,
- "documentTotal": 50,
- "documentDiscount": {
- "amount": 0
}, - "cashDiscounts": [
- {
- "days": 5,
- "percentage": 2
}, - {
- "days": 7,
- "percentage": 1.5
}, - {
- "days": 9,
- "percentage": 0.5
}
], - "terms": "here you can define terms and conditions in a free text form",
- "publicNotes": "here you can add notes to your invoice which are public available",
- "footerText": "My custom invoice footer",
- "positions": [
- {
- "kind": "subtitle",
- "positionNumber": 1,
- "title": "My Product Subtitle"
}, - {
- "kind": "product",
- "positionNumber": 2,
- "productNumber": "T0001",
- "productDescription": "A Test product description for a test json",
- "quantity": 2.5,
- "singlePrice": 10,
- "positionTotal": 25,
- "discount": {
- "amount": 0
}, - "vat": {
- "percentage": 0,
- "amount": 0
}
}, - {
- "kind": "product",
- "positionNumber": 3,
- "productNumber": "T0002",
- "productDescription": "Another Test product description for a test json",
- "quantity": 2.5,
- "singlePrice": 10,
- "positionTotal": 25,
- "discount": {
- "amount": 0
}, - "vat": {
- "percentage": 0,
- "amount": 0
}
}, - {
- "kind": "section_total",
- "positionNumber": 4
}, - {
- "kind": "divider",
- "positionNumber": 5
}, - {
- "kind": "product",
- "positionNumber": 6,
- "productDescription": "Free Product",
- "quantity": 1,
- "singlePrice": 0,
- "positionTotal": 0,
- "discount": {
- "amount": 0
}, - "vat": {
- "percentage": 0,
- "amount": 0
}
}
]
}
]
}
{- "status": 0,
- "message": "string",
- "data": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "currencyCode": "CHF",
- "title": "string",
- "reference": "string",
- "customField1": "string",
- "customField2": "string",
- "customField3": "string",
- "customField4": "string",
- "terms": "string",
- "publicNotes": "string",
- "footerText": "string",
- "receiver": { },
- "positions": [
- {
- "positionNumber": 0,
- "kind": "string",
- "productNumber": "string",
- "productDescription": "string",
- "quantity": 0,
- "unitCode": "string",
- "singlePrice": 0,
- "positionTotal": 0,
- "discounts": {
- "percentage": 0
}, - "vat": {
- "percentage": 0,
- "amount": "string"
}
}
], - "quoteDate": "string",
- "validUntilDate": "string",
- "pricesIncludeVat": true,
- "documentTotal": "string"
}
}
accountUuid required | string <uuid> UUID of account |
documentUuid required | string <uuid> UUID of contract-note |
{- "status": 0,
- "message": "string",
- "data": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "currencyCode": "CHF",
- "title": "string",
- "reference": "string",
- "customField1": "string",
- "customField2": "string",
- "customField3": "string",
- "customField4": "string",
- "terms": "string",
- "publicNotes": "string",
- "footerText": "string",
- "receiver": { },
- "paymentInstrucations": {
- "iban": "string",
- "reference": "string",
- "bic": "string"
}, - "positions": [
- {
- "positionNumber": 0,
- "kind": "string",
- "productNumber": "string",
- "productDescription": "string",
- "quantity": 0,
- "unitCode": "string",
- "singlePrice": 0,
- "positionTotal": 0,
- "discounts": {
- "percentage": 0
}, - "vat": {
- "percentage": 0,
- "amount": "string"
}
}
], - "cashDiscounts": [
- {
- "days": 0,
- "percentage": "string"
}
], - "startDate": "string",
- "frequency": "string",
- "isRecurringActive": true,
- "isLastOfMonth": true,
- "pricesIncludeVat": true,
- "documentTotal": "string"
}
}
accountUuid required | string <uuid> UUID of account where the recurring invoice should be created |
documentUuid required | string <uuid> UUID of contract-note |
schemaVersion required | any Schema Version Value: "2.0.0" |
required | Array of objects (singleRecurringInvoice) non-empty |
{- "schemaVersion": "2.0.0",
- "documents": [
- {
- "receiver": {
- "addressUuid": "19a97816-85e8-49a2-8be0-a045e10edfbb",
- "companyUuid": "82b7faf3-a893-4c00-b28d-9a52807926db",
- "contactPersonUuid": "7b606c4e-9a95-4cb2-b88a-bc565113703c",
- "additionalReceivers": [
- {
- "personUuid": "aaa61110-04cb-4b61-9463-b6f108d111cf"
}, - {
- "personUuid": "cbc205dd-9f13-4066-9e11-a786a14e1875"
}
]
}, - "currencyCode": "CHF",
- "title": "Custom Invoice Title",
- "reference": "our reference",
- "customField1": "custom 1",
- "customField2": "custom 2",
- "customField3": "custom 3",
- "customField4": "custom 4",
- "startDate": "2021-11-29",
- "endDate": "2023-12-26",
- "frequency": "monthly",
- "isRecurringActive": true,
- "isLastOfMonth": false,
- "paymentInstructions": {
- "iban": "CH2200784102000123454",
- "reference": "RF18000000000539007547034"
}, - "pricesIncludeVat": false,
- "documentTotal": 50,
- "documentDiscount": {
- "amount": 0
}, - "cashDiscounts": [
- {
- "days": 5,
- "percentage": 2
}, - {
- "days": 7,
- "percentage": 1.5
}, - {
- "days": 9,
- "percentage": 0.5
}
], - "terms": "here you can define terms and conditions in a free text form",
- "publicNotes": "here you can add notes to your invoice which are public available",
- "footerText": "My custom invoice footer",
- "positions": [
- {
- "kind": "subtitle",
- "positionNumber": 1,
- "title": "My Product Subtitle"
}, - {
- "kind": "product",
- "positionNumber": 2,
- "productNumber": "T0001",
- "productDescription": "A Test product description for a test json",
- "quantity": 2.5,
- "singlePrice": 10,
- "positionTotal": 25,
- "discount": {
- "amount": 0
}, - "vat": {
- "percentage": 0,
- "amount": 0
}
}, - {
- "kind": "product",
- "positionNumber": 3,
- "productNumber": "T0002",
- "productDescription": "Another Test product description for a test json",
- "quantity": 2.5,
- "singlePrice": 10,
- "positionTotal": 25,
- "discount": {
- "amount": 0
}, - "vat": {
- "percentage": 0,
- "amount": 0
}
}, - {
- "kind": "section_total",
- "positionNumber": 4
}, - {
- "kind": "divider",
- "positionNumber": 5
}, - {
- "kind": "product",
- "positionNumber": 6,
- "productDescription": "Free Product",
- "quantity": 1,
- "singlePrice": 0,
- "positionTotal": 0,
- "discount": {
- "amount": 0
}, - "vat": {
- "percentage": 0,
- "amount": 0
}
}
]
}
]
}
{- "status": 0,
- "message": "string",
- "data": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "currencyCode": "CHF",
- "title": "string",
- "reference": "string",
- "customField1": "string",
- "customField2": "string",
- "customField3": "string",
- "customField4": "string",
- "terms": "string",
- "publicNotes": "string",
- "footerText": "string",
- "receiver": { },
- "paymentInstrucations": {
- "iban": "string",
- "reference": "string",
- "bic": "string"
}, - "positions": [
- {
- "positionNumber": 0,
- "kind": "string",
- "productNumber": "string",
- "productDescription": "string",
- "quantity": 0,
- "unitCode": "string",
- "singlePrice": 0,
- "positionTotal": 0,
- "discounts": {
- "percentage": 0
}, - "vat": {
- "percentage": 0,
- "amount": "string"
}
}
], - "cashDiscounts": [
- {
- "days": 0,
- "percentage": "string"
}
], - "startDate": "string",
- "frequency": "string",
- "isRecurringActive": true,
- "isLastOfMonth": true,
- "pricesIncludeVat": true,
- "documentTotal": "string"
}
}
accountUuid required | string <uuid> UUID of account |
documentUuid required | string <uuid> UUID of recurring invoice |
{- "status": 0,
- "message": "string",
- "data": {
- "archive": "Archive document",
- "restore": "Restore document",
- "clone": "Clone document",
- "delete": "Delete document",
- "cancel": "Cancel document",
- "convert": "Convert quote to invoice",
- "convertCN": "Convert quote to contract note",
- "convertCNDN": "Convert contract note to delivery note",
- "convertCNI": "Convert contract note to invoice",
- "convertDNI": "Convert delivery note to invoice",
- "convertIC": "Convert invoice to credit note",
- "convertDN": "Convert invoice to delivery note",
- "convertT": "Convert invoice to template",
- "convertTI": "Convert invoice template to invoice",
- "convertToTemplate": "Convert document to template",
- "convertTemplateToQuote": "Convert quote template to quote",
- "convertTemplateToDeliveryNote": "Convert delivery note template to delivery note",
- "convertTemplateToCreditNote": "Convert credit note template to credit note",
- "convertTemplateToContractNote": "Convert contract note template to contract note",
- "print": "Print PDF",
- "email": "Send email",
- "markApproved": "Mark quote as approved",
- "markDeclined": "Mark quote as declined",
- "markSent": "Mark as sent",
- "dunningPrint": "Print reminder",
- "dunningSent": "Send reminder"
}
}
accountUuid required | string <uuid> UUID of account |
documentUuid required | string <uuid> UUID of recurring invoice |
action required | string Name of action |
{- "id": 0,
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "type": "string"
}
accountUuid required | string <uuid> UUID of account |
sort | string |
direction | string |
page | integer |
per_page | integer Example: per_page=integer | all |
search | string |
extend_search | Array of objects Example: extend_search=<column>_<extend-param>=<value> |
{- "status": 0,
- "message": "string",
- "data": {
- "id": 0,
- "type": "string",
- "status_id": 0,
- "status_name": "string",
- "status_color": "string",
- "invoice_number": "string",
- "po_number": "string",
- "customer_number": "string",
- "receiver": "string",
- "invoice_date": "string",
- "amount": 0,
- "balance": 0,
- "currency_code": "string",
- "raw_invoice_date": "2019-08-24",
- "archived": true,
- "cancelled": true,
- "due_date": "string"
}
}
accountUuid required | string <uuid> UUID of account where the template should be created |
schemaVersion required | any Schema Version Value: "2.0.0" |
required | Array of objects (singleTemplate) non-empty |
{- "schemaVersion": "2.0.0",
- "documents": [
- {
- "receiver": {
- "addressUuid": "19a97816-85e8-49a2-8be0-a045e10edfbb",
- "companyUuid": "82b7faf3-a893-4c00-b28d-9a52807926db",
- "contactPersonUuid": "7b606c4e-9a95-4cb2-b88a-bc565113703c",
- "additionalReceivers": [
- {
- "personUuid": "aaa61110-04cb-4b61-9463-b6f108d111cf"
}, - {
- "personUuid": "cbc205dd-9f13-4066-9e11-a786a14e1875"
}
]
}, - "currencyCode": "CHF",
- "title": "Custom Invoice Title",
- "reference": "our reference",
- "customField1": "custom 1",
- "customField2": "custom 2",
- "customField3": "custom 3",
- "customField4": "custom 4",
- "invoiceDate": "2021-11-26",
- "dueDate": "2021-12-26",
- "deliveryDate": "2021-12-27",
- "paymentInstructions": {
- "iban": "CH2200784102000123454",
- "reference": "RF18000000000539007547034"
}, - "pricesIncludeVat": false,
- "documentTotal": 50,
- "documentDiscount": {
- "amount": 0
}, - "cashDiscounts": [
- {
- "days": 5,
- "percentage": 2
}, - {
- "days": 7,
- "percentage": 1.5
}, - {
- "days": 9,
- "percentage": 0.5
}
], - "terms": "here you can define terms and conditions in a free text form",
- "publicNotes": "here you can add notes to your invoice which are public available",
- "footerText": "My custom invoice footer",
- "positions": [
- {
- "kind": "subtitle",
- "positionNumber": 1,
- "title": "My Product Subtitle"
}, - {
- "kind": "product",
- "positionNumber": 2,
- "productNumber": "T0001",
- "productDescription": "A Test product description for a test json",
- "quantity": 2.5,
- "singlePrice": 10,
- "positionTotal": 25,
- "discount": {
- "amount": 0
}, - "vat": {
- "percentage": 0,
- "amount": 0
}
}, - {
- "kind": "product",
- "positionNumber": 3,
- "productNumber": "T0002",
- "productDescription": "Another Test product description for a test json",
- "quantity": 2.5,
- "singlePrice": 10,
- "positionTotal": 25,
- "discount": {
- "amount": 0
}, - "vat": {
- "percentage": 0,
- "amount": 0
}
}, - {
- "kind": "section_total",
- "positionNumber": 4
}, - {
- "kind": "divider",
- "positionNumber": 5
}, - {
- "kind": "product",
- "positionNumber": 6,
- "productDescription": "Free Product",
- "quantity": 1,
- "singlePrice": 0,
- "positionTotal": 0,
- "discount": {
- "amount": 0
}, - "vat": {
- "percentage": 0,
- "amount": 0
}
}
]
}
]
}
{- "status": 0,
- "message": "string",
- "data": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "currencyCode": "CHF",
- "title": "string",
- "reference": "string",
- "customField1": "string",
- "customField2": "string",
- "customField3": "string",
- "customField4": "string",
- "terms": "string",
- "publicNotes": "string",
- "footerText": "string",
- "receiver": { },
- "positions": [
- {
- "positionNumber": 0,
- "kind": "string",
- "productNumber": "string",
- "productDescription": "string",
- "quantity": 0,
- "unitCode": "string",
- "singlePrice": 0,
- "positionTotal": 0,
- "discounts": {
- "percentage": 0
}, - "vat": {
- "percentage": 0,
- "amount": "string"
}
}
], - "quoteDate": "string",
- "validUntilDate": "string",
- "pricesIncludeVat": true,
- "documentTotal": "string"
}
}
accountUuid required | string <uuid> UUID of account |
documentUuid required | string <uuid> UUID of contract-note |
{- "status": 0,
- "message": "string",
- "data": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "currencyCode": "CHF",
- "title": "string",
- "reference": "string",
- "customField1": "string",
- "customField2": "string",
- "customField3": "string",
- "customField4": "string",
- "terms": "string",
- "publicNotes": "string",
- "footerText": "string",
- "receiver": { },
- "paymentInstrucations": {
- "iban": "string",
- "reference": "string",
- "bic": "string"
}, - "positions": [
- {
- "positionNumber": 0,
- "kind": "string",
- "productNumber": "string",
- "productDescription": "string",
- "quantity": 0,
- "unitCode": "string",
- "singlePrice": 0,
- "positionTotal": 0,
- "discounts": {
- "percentage": 0
}, - "vat": {
- "percentage": 0,
- "amount": "string"
}
}
], - "cashDiscounts": [
- {
- "days": 0,
- "percentage": "string"
}
], - "invoiceDate": "string",
- "dueDate": "string",
- "deliverDate": "string",
- "pricesIncludeVat": true,
- "documentTotal": "string"
}
}
accountUuid required | string <uuid> UUID of account where the template should be created |
documentUuid required | string <uuid> UUID of contract-note |
schemaVersion required | any Schema Version Value: "2.0.0" |
required | Array of objects (singleTemplate) non-empty |
{- "schemaVersion": "2.0.0",
- "documents": [
- {
- "receiver": {
- "addressUuid": "19a97816-85e8-49a2-8be0-a045e10edfbb",
- "companyUuid": "82b7faf3-a893-4c00-b28d-9a52807926db",
- "contactPersonUuid": "7b606c4e-9a95-4cb2-b88a-bc565113703c",
- "additionalReceivers": [
- {
- "personUuid": "aaa61110-04cb-4b61-9463-b6f108d111cf"
}, - {
- "personUuid": "cbc205dd-9f13-4066-9e11-a786a14e1875"
}
]
}, - "currencyCode": "CHF",
- "title": "Custom Invoice Title",
- "reference": "our reference",
- "customField1": "custom 1",
- "customField2": "custom 2",
- "customField3": "custom 3",
- "customField4": "custom 4",
- "invoiceDate": "2021-11-26",
- "dueDate": "2021-12-26",
- "deliveryDate": "2021-12-27",
- "paymentInstructions": {
- "iban": "CH2200784102000123454",
- "reference": "RF18000000000539007547034"
}, - "pricesIncludeVat": false,
- "documentTotal": 50,
- "documentDiscount": {
- "amount": 0
}, - "cashDiscounts": [
- {
- "days": 5,
- "percentage": 2
}, - {
- "days": 7,
- "percentage": 1.5
}, - {
- "days": 9,
- "percentage": 0.5
}
], - "terms": "here you can define terms and conditions in a free text form",
- "publicNotes": "here you can add notes to your invoice which are public available",
- "footerText": "My custom invoice footer",
- "positions": [
- {
- "kind": "subtitle",
- "positionNumber": 1,
- "title": "My Product Subtitle"
}, - {
- "kind": "product",
- "positionNumber": 2,
- "productNumber": "T0001",
- "productDescription": "A Test product description for a test json",
- "quantity": 2.5,
- "singlePrice": 10,
- "positionTotal": 25,
- "discount": {
- "amount": 0
}, - "vat": {
- "percentage": 0,
- "amount": 0
}
}, - {
- "kind": "product",
- "positionNumber": 3,
- "productNumber": "T0002",
- "productDescription": "Another Test product description for a test json",
- "quantity": 2.5,
- "singlePrice": 10,
- "positionTotal": 25,
- "discount": {
- "amount": 0
}, - "vat": {
- "percentage": 0,
- "amount": 0
}
}, - {
- "kind": "section_total",
- "positionNumber": 4
}, - {
- "kind": "divider",
- "positionNumber": 5
}, - {
- "kind": "product",
- "positionNumber": 6,
- "productDescription": "Free Product",
- "quantity": 1,
- "singlePrice": 0,
- "positionTotal": 0,
- "discount": {
- "amount": 0
}, - "vat": {
- "percentage": 0,
- "amount": 0
}
}
]
}
]
}
{- "status": 0,
- "message": "string",
- "data": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "currencyCode": "CHF",
- "title": "string",
- "reference": "string",
- "customField1": "string",
- "customField2": "string",
- "customField3": "string",
- "customField4": "string",
- "terms": "string",
- "publicNotes": "string",
- "footerText": "string",
- "receiver": { },
- "paymentInstrucations": {
- "iban": "string",
- "reference": "string",
- "bic": "string"
}, - "positions": [
- {
- "positionNumber": 0,
- "kind": "string",
- "productNumber": "string",
- "productDescription": "string",
- "quantity": 0,
- "unitCode": "string",
- "singlePrice": 0,
- "positionTotal": 0,
- "discounts": {
- "percentage": 0
}, - "vat": {
- "percentage": 0,
- "amount": "string"
}
}
], - "cashDiscounts": [
- {
- "days": 0,
- "percentage": "string"
}
], - "invoiceDate": "string",
- "dueDate": "string",
- "deliverDate": "string",
- "pricesIncludeVat": true,
- "documentTotal": "string"
}
}
accountUuid required | string <uuid> UUID of account |
documentUuid required | string <uuid> UUID of template |
{- "status": 0,
- "message": "string",
- "data": {
- "archive": "Archive document",
- "restore": "Restore document",
- "clone": "Clone document",
- "delete": "Delete document",
- "cancel": "Cancel document",
- "convert": "Convert quote to invoice",
- "convertCN": "Convert quote to contract note",
- "convertCNDN": "Convert contract note to delivery note",
- "convertCNI": "Convert contract note to invoice",
- "convertDNI": "Convert delivery note to invoice",
- "convertIC": "Convert invoice to credit note",
- "convertDN": "Convert invoice to delivery note",
- "convertT": "Convert invoice to template",
- "convertTI": "Convert invoice template to invoice",
- "convertToTemplate": "Convert document to template",
- "convertTemplateToQuote": "Convert quote template to quote",
- "convertTemplateToDeliveryNote": "Convert delivery note template to delivery note",
- "convertTemplateToCreditNote": "Convert credit note template to credit note",
- "convertTemplateToContractNote": "Convert contract note template to contract note",
- "print": "Print PDF",
- "email": "Send email",
- "markApproved": "Mark quote as approved",
- "markDeclined": "Mark quote as declined",
- "markSent": "Mark as sent",
- "dunningPrint": "Print reminder",
- "dunningSent": "Send reminder"
}
}