Skip to content

Accounting (2.0.0)

The 'Accounting' application of the Core API

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

Articlecategory

Operations

Articleaccountoverride

Operations

Get '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
curl -i -X GET \
  'https://dev.api.pigello.io/accounting/articles/articleaccountoverride/{pk}/' \
  -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 selection

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" } }

Delete '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
curl -i -X DELETE \
  'https://dev.api.pigello.io/accounting/articles/articleaccountoverride/{pk}/' \
  -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 deletion

Response
No content

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" } }

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