Skip to content

Accounting (2.0.0)

The 'Accounting' application of the Core API

Languages
Servers
https://{environment}.pigello.io

Articlecategory

Operations

Articleaccountoverride

Operations

Update 'Articleaccountoverride'

Request

Security
customer_id and application_id and service_id and service_version_id and client_ct and client_object_id and client_secret
Path
pkstringwrite-onlyrequired
Bodyapplication/json
companyobject(Company)required
company.​idstring(uuid)
articleobject(Article)required
article.​idstring(uuid)
revenue_vat_0_accountinteger or null(int32)[ 1000 .. 9999 ]

Additional Validation Information:

This field, or at least one of the following fields must be set: revenue_vat_6_account, revenue_vat_12_account, revenue_vat_25_account, revenue_loss_account

revenue_vat_6_accountinteger or null(int32)[ 1000 .. 9999 ]

Additional Validation Information:

This field, or at least one of the following fields must be set: revenue_vat_0_account, revenue_vat_12_account, revenue_vat_25_account, revenue_loss_account

custom_idstring or null<= 128 characters
revenue_vat_12_accountinteger or null(int32)[ 1000 .. 9999 ]

Additional Validation Information:

This field, or at least one of the following fields must be set: revenue_vat_0_account, revenue_vat_6_account, revenue_vat_25_account, revenue_loss_account

revenue_vat_25_accountinteger or null(int32)[ 1000 .. 9999 ]

Additional Validation Information:

This field, or at least one of the following fields must be set: revenue_vat_0_account, revenue_vat_6_account, revenue_vat_12_account, revenue_loss_account

revenue_loss_accountinteger or null(int32)[ 1000 .. 9999 ]

Additional Validation Information:

This field, or at least one of the following fields must be set: revenue_vat_0_account, revenue_vat_6_account, revenue_vat_12_account, revenue_vat_25_account

organizationobject or null(Organization)
curl -i -X PATCH \
  'https://dev.api.pigello.io/accounting/articles/articleaccountoverride/{pk}/' \
  -H 'Content-Type: application/json' \
  -H 'X-PIGELLO-APPLICATION-ID: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CLIENT-CT: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CLIENT-ENTITY: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CLIENT-SECRET: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CUSTOMER-ID: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-SERVICE-ID: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-SERVICE-VERSION-ID: YOUR_API_KEY_HERE' \
  -d '{
    "company": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "revenue_vat_0_account": 1000,
    "revenue_vat_6_account": 1000,
    "custom_id": "string",
    "revenue_vat_12_account": 1000,
    "revenue_vat_25_account": 1000,
    "revenue_loss_account": 1000,
    "organization": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "article": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    }
  }'

Responses

Successful update

Bodyapplication/json
idstring(uuid)read-onlyrequired

Additional Validation Information:

Must be unique

companyobject(Company)required
company.​idstring(uuid)
articleobject(Article)required
article.​idstring(uuid)
created_atstring(date-time)read-only
revenue_vat_0_accountinteger or null(int32)[ 1000 .. 9999 ]

Additional Validation Information:

This field, or at least one of the following fields must be set: revenue_vat_6_account, revenue_vat_12_account, revenue_vat_25_account, revenue_loss_account

revenue_vat_6_accountinteger or null(int32)[ 1000 .. 9999 ]

Additional Validation Information:

This field, or at least one of the following fields must be set: revenue_vat_0_account, revenue_vat_12_account, revenue_vat_25_account, revenue_loss_account

custom_idstring or null<= 128 characters
revenue_vat_12_accountinteger or null(int32)[ 1000 .. 9999 ]

Additional Validation Information:

This field, or at least one of the following fields must be set: revenue_vat_0_account, revenue_vat_6_account, revenue_vat_25_account, revenue_loss_account

revenue_vat_25_accountinteger or null(int32)[ 1000 .. 9999 ]

Additional Validation Information:

This field, or at least one of the following fields must be set: revenue_vat_0_account, revenue_vat_6_account, revenue_vat_12_account, revenue_loss_account

revenue_loss_accountinteger or null(int32)[ 1000 .. 9999 ]

Additional Validation Information:

This field, or at least one of the following fields must be set: revenue_vat_0_account, revenue_vat_6_account, revenue_vat_12_account, revenue_vat_25_account

organizationobject or null(Organization)
Response
application/json
{ "created_at": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "company": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "revenue_vat_0_account": 1000, "revenue_vat_6_account": 1000, "custom_id": "string", "revenue_vat_12_account": 1000, "revenue_vat_25_account": 1000, "revenue_loss_account": 1000, "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "article": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } }

Create 'Articleaccountoverride'

Request

Security
customer_id and application_id and service_id and service_version_id and client_ct and client_object_id and client_secret
Bodyapplication/json
companyobject(Company)required
company.​idstring(uuid)
articleobject(Article)required
article.​idstring(uuid)
revenue_vat_0_accountinteger or null(int32)[ 1000 .. 9999 ]

Additional Validation Information:

This field, or at least one of the following fields must be set: revenue_vat_6_account, revenue_vat_12_account, revenue_vat_25_account, revenue_loss_account

revenue_vat_6_accountinteger or null(int32)[ 1000 .. 9999 ]

Additional Validation Information:

This field, or at least one of the following fields must be set: revenue_vat_0_account, revenue_vat_12_account, revenue_vat_25_account, revenue_loss_account

custom_idstring or null<= 128 characters
revenue_vat_12_accountinteger or null(int32)[ 1000 .. 9999 ]

Additional Validation Information:

This field, or at least one of the following fields must be set: revenue_vat_0_account, revenue_vat_6_account, revenue_vat_25_account, revenue_loss_account

revenue_vat_25_accountinteger or null(int32)[ 1000 .. 9999 ]

Additional Validation Information:

This field, or at least one of the following fields must be set: revenue_vat_0_account, revenue_vat_6_account, revenue_vat_12_account, revenue_loss_account

revenue_loss_accountinteger or null(int32)[ 1000 .. 9999 ]

Additional Validation Information:

This field, or at least one of the following fields must be set: revenue_vat_0_account, revenue_vat_6_account, revenue_vat_12_account, revenue_vat_25_account

organizationobject or null(Organization)
curl -i -X POST \
  https://dev.api.pigello.io/accounting/articles/articleaccountoverride/ \
  -H 'Content-Type: application/json' \
  -H 'X-PIGELLO-APPLICATION-ID: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CLIENT-CT: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CLIENT-ENTITY: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CLIENT-SECRET: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CUSTOMER-ID: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-SERVICE-ID: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-SERVICE-VERSION-ID: YOUR_API_KEY_HERE' \
  -d '{
    "company": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "revenue_vat_0_account": 1000,
    "revenue_vat_6_account": 1000,
    "custom_id": "string",
    "revenue_vat_12_account": 1000,
    "revenue_vat_25_account": 1000,
    "revenue_loss_account": 1000,
    "organization": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "article": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    }
  }'

Responses

Successful creation

Bodyapplication/json
idstring(uuid)read-onlyrequired

Additional Validation Information:

Must be unique

companyobject(Company)required
company.​idstring(uuid)
articleobject(Article)required
article.​idstring(uuid)
created_atstring(date-time)read-only
revenue_vat_0_accountinteger or null(int32)[ 1000 .. 9999 ]

Additional Validation Information:

This field, or at least one of the following fields must be set: revenue_vat_6_account, revenue_vat_12_account, revenue_vat_25_account, revenue_loss_account

revenue_vat_6_accountinteger or null(int32)[ 1000 .. 9999 ]

Additional Validation Information:

This field, or at least one of the following fields must be set: revenue_vat_0_account, revenue_vat_12_account, revenue_vat_25_account, revenue_loss_account

custom_idstring or null<= 128 characters
revenue_vat_12_accountinteger or null(int32)[ 1000 .. 9999 ]

Additional Validation Information:

This field, or at least one of the following fields must be set: revenue_vat_0_account, revenue_vat_6_account, revenue_vat_25_account, revenue_loss_account

revenue_vat_25_accountinteger or null(int32)[ 1000 .. 9999 ]

Additional Validation Information:

This field, or at least one of the following fields must be set: revenue_vat_0_account, revenue_vat_6_account, revenue_vat_12_account, revenue_loss_account

revenue_loss_accountinteger or null(int32)[ 1000 .. 9999 ]

Additional Validation Information:

This field, or at least one of the following fields must be set: revenue_vat_0_account, revenue_vat_6_account, revenue_vat_12_account, revenue_vat_25_account

organizationobject or null(Organization)
Response
application/json
{ "created_at": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "company": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "revenue_vat_0_account": 1000, "revenue_vat_6_account": 1000, "custom_id": "string", "revenue_vat_12_account": 1000, "revenue_vat_25_account": 1000, "revenue_loss_account": 1000, "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "article": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } }

List 'Articleaccountoverride'

Request

Security
customer_id and application_id and service_id and service_version_id and client_ct and client_object_id and client_secret
Query
_jsonlboolean
_order_byArray of strings
Example: _order_by=field_a,-field_b
_pageinteger(int32)>= 1

Additional Validation Information:

This value must be set together with the following fields: _page_size

_page_sizeinteger(int32)

Additional Validation Information:

This value must be set together with the following fields: _page

_searchstring
_slimboolean
_statisticsboolean
global_realestatesArray of objects
global_segmentsArray of objects
articleany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

companyany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

created_atany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: gt, Supports negation (via !): True

Operator: gte, Supports negation (via !): True

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

Operator: lt, Supports negation (via !): True

Operator: lte, Supports negation (via !): True

custom_idany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: contains, Supports negation (via !): True

Operator: endswith, Supports negation (via !): True

Operator: icontains, Supports negation (via !): True

Operator: iendswith, Supports negation (via !): True

Operator: iexact, Supports negation (via !): True

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

Operator: istartswith, Supports negation (via !): True

Operator: startswith, Supports negation (via !): True

idany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

organizationany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

revenue_loss_accountany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: gt, Supports negation (via !): True

Operator: gte, Supports negation (via !): True

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

Operator: lt, Supports negation (via !): True

Operator: lte, Supports negation (via !): True

revenue_vat_0_accountany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: gt, Supports negation (via !): True

Operator: gte, Supports negation (via !): True

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

Operator: lt, Supports negation (via !): True

Operator: lte, Supports negation (via !): True

revenue_vat_12_accountany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: gt, Supports negation (via !): True

Operator: gte, Supports negation (via !): True

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

Operator: lt, Supports negation (via !): True

Operator: lte, Supports negation (via !): True

revenue_vat_25_accountany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: gt, Supports negation (via !): True

Operator: gte, Supports negation (via !): True

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

Operator: lt, Supports negation (via !): True

Operator: lte, Supports negation (via !): True

revenue_vat_6_accountany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: gt, Supports negation (via !): True

Operator: gte, Supports negation (via !): True

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

Operator: lt, Supports negation (via !): True

Operator: lte, Supports negation (via !): True

curl -i -X GET \
  'https://dev.api.pigello.io/accounting/articles/articleaccountoverride/list/?_jsonl=true&_order_by=field_a%2C-field_b&_page=1&_page_size=0&_search=string&_slim=true&_statistics=true' \
  -H 'X-PIGELLO-APPLICATION-ID: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CLIENT-CT: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CLIENT-ENTITY: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CLIENT-SECRET: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CUSTOMER-ID: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-SERVICE-ID: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-SERVICE-VERSION-ID: YOUR_API_KEY_HERE'

Responses

Successful query

Bodyapplication/jsonArray [
idstring(uuid)read-onlyrequired

Additional Validation Information:

Must be unique

companyobject(Company)required
company.​idstring(uuid)
articleobject(Article)required
article.​idstring(uuid)
created_atstring(date-time)read-only
revenue_vat_0_accountinteger or null(int32)[ 1000 .. 9999 ]

Additional Validation Information:

This field, or at least one of the following fields must be set: revenue_vat_6_account, revenue_vat_12_account, revenue_vat_25_account, revenue_loss_account

revenue_vat_6_accountinteger or null(int32)[ 1000 .. 9999 ]

Additional Validation Information:

This field, or at least one of the following fields must be set: revenue_vat_0_account, revenue_vat_12_account, revenue_vat_25_account, revenue_loss_account

custom_idstring or null<= 128 characters
revenue_vat_12_accountinteger or null(int32)[ 1000 .. 9999 ]

Additional Validation Information:

This field, or at least one of the following fields must be set: revenue_vat_0_account, revenue_vat_6_account, revenue_vat_25_account, revenue_loss_account

revenue_vat_25_accountinteger or null(int32)[ 1000 .. 9999 ]

Additional Validation Information:

This field, or at least one of the following fields must be set: revenue_vat_0_account, revenue_vat_6_account, revenue_vat_12_account, revenue_loss_account

revenue_loss_accountinteger or null(int32)[ 1000 .. 9999 ]

Additional Validation Information:

This field, or at least one of the following fields must be set: revenue_vat_0_account, revenue_vat_6_account, revenue_vat_12_account, revenue_vat_25_account

organizationobject or null(Organization)
]
Response
application/json
[ { "created_at": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "company": {}, "revenue_vat_0_account": 1000, "revenue_vat_6_account": 1000, "custom_id": "string", "revenue_vat_12_account": 1000, "revenue_vat_25_account": 1000, "revenue_loss_account": 1000, "organization": {}, "article": {} } ]

Spacecategorydimensionvalue

Operations

Dimensionconfiguration

Operations

Verification

Operations

Bookkeepingexportfile

Operations

Verificationgroup

Operations

Transaction

Operations

Automaticvacancyinvoicingsetting

Operations

Vacancyinvoice

Operations

Vacancyinvoicerow

Operations

Bookkeepingaccountsconfig

Operations

Paymentmethod

Operations

Autogiropayerconnection

Operations

Autogirostatus

Operations

Coinvoicenotation

Operations

Invoicerow

Operations

Invoicerecipient

Operations

Invoicepayment

Operations

Debtinvoiceevent

Operations

Debtinvoice

Operations

Invoicerelatedpdfconfiguration

Operations

Invoicerelatedpdffile

Operations

Invoicecreditationconnection

Operations

Automaticcontractinvoicingsetting

Operations

Contractinvoicecontent

Operations

Paymenttermssetting

Operations