Skip to content

Accounting (2.0.0)

The 'Accounting' application of the Core API

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

Articlecategory

Operations

Articleaccountoverride

Operations

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

Update 'Invoicecreditationconnection'

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
source_invoiceobject(Invoice)required
source_invoice.​idstring(uuid)
target_invoiceobject(Invoice)required
target_invoice.​idstring(uuid)
payment_referencestringrequired
payment_registration_datestring(date)required

Additional Validation Information:

This value must be set in an proper order, in relation to the following fields: payment_date

payment_datestring(date)required

Additional Validation Information:

This value must be set in an proper order, in relation to the following fields: payment_registration_date

custom_idstring or null<= 128 characters
payment_disable_system_bookkeepingboolean
payment_methodobject or null(Paymentmethod)
organizationobject or null(Organization)
curl -i -X PATCH \
  'https://dev.api.pigello.io/accounting/creditations/invoicecreditationconnection/{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 '{
    "source_invoice": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "target_invoice": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "payment_reference": "string",
    "custom_id": "string",
    "payment_disable_system_bookkeeping": true,
    "payment_registration_date": "2019-08-24",
    "payment_date": "2019-08-24",
    "payment_method": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "organization": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    }
  }'

Responses

Successful update

Bodyapplication/json
source_invoiceobject(Invoice)required
source_invoice.​idstring(uuid)
target_invoiceobject(Invoice)required
target_invoice.​idstring(uuid)
payment_referencestringrequired
payment_registration_datestring(date)required

Additional Validation Information:

This value must be set in an proper order, in relation to the following fields: payment_date

payment_datestring(date)required

Additional Validation Information:

This value must be set in an proper order, in relation to the following fields: payment_registration_date

idstring(uuid)read-onlyrequired

Additional Validation Information:

Must be unique

created_atstring(date-time)read-only
custom_idstring or null<= 128 characters
payment_disable_system_bookkeepingboolean
payment_methodobject or null(Paymentmethod)
organizationobject or null(Organization)
Response
application/json
{ "source_invoice": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "target_invoice": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "payment_reference": "string", "created_at": "2019-08-24T14:15:22Z", "custom_id": "string", "payment_disable_system_bookkeeping": true, "payment_registration_date": "2019-08-24", "payment_date": "2019-08-24", "payment_method": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } }

Create 'Invoicecreditationconnection'

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
source_invoiceobject(Invoice)required
source_invoice.​idstring(uuid)
target_invoiceobject(Invoice)required
target_invoice.​idstring(uuid)
payment_referencestringrequired
payment_registration_datestring(date)required

Additional Validation Information:

This value must be set in an proper order, in relation to the following fields: payment_date

payment_datestring(date)required

Additional Validation Information:

This value must be set in an proper order, in relation to the following fields: payment_registration_date

custom_idstring or null<= 128 characters
payment_disable_system_bookkeepingboolean
payment_methodobject or null(Paymentmethod)
organizationobject or null(Organization)
curl -i -X POST \
  https://dev.api.pigello.io/accounting/creditations/invoicecreditationconnection/ \
  -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 '{
    "source_invoice": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "target_invoice": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "payment_reference": "string",
    "custom_id": "string",
    "payment_disable_system_bookkeeping": true,
    "payment_registration_date": "2019-08-24",
    "payment_date": "2019-08-24",
    "payment_method": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "organization": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    }
  }'

Responses

Successful creation

Bodyapplication/json
source_invoiceobject(Invoice)required
source_invoice.​idstring(uuid)
target_invoiceobject(Invoice)required
target_invoice.​idstring(uuid)
payment_referencestringrequired
payment_registration_datestring(date)required

Additional Validation Information:

This value must be set in an proper order, in relation to the following fields: payment_date

payment_datestring(date)required

Additional Validation Information:

This value must be set in an proper order, in relation to the following fields: payment_registration_date

idstring(uuid)read-onlyrequired

Additional Validation Information:

Must be unique

created_atstring(date-time)read-only
custom_idstring or null<= 128 characters
payment_disable_system_bookkeepingboolean
payment_methodobject or null(Paymentmethod)
organizationobject or null(Organization)
Response
application/json
{ "source_invoice": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "target_invoice": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "payment_reference": "string", "created_at": "2019-08-24T14:15:22Z", "custom_id": "string", "payment_disable_system_bookkeeping": true, "payment_registration_date": "2019-08-24", "payment_date": "2019-08-24", "payment_method": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } }

Automaticcontractinvoicingsetting

Operations

Contractinvoicecontent

Operations

Paymenttermssetting

Operations