The 'Accounting' application of the Core API
- Create 'Invoicecreditationconnection'
Accounting (2.0.0)
Additional Validation Information:
This value must be set in an proper order, in relation to the following fields: payment_date
Additional Validation Information:
This value must be set in an proper order, in relation to the following fields: payment_registration_date
- https://dev.api.pigello.io/accounting/creditations/invoicecreditationconnection/{pk}/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
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"
}
}'Successful update
Additional Validation Information:
This value must be set in an proper order, in relation to the following fields: payment_date
Additional Validation Information:
This value must be set in an proper order, in relation to the following fields: payment_registration_date
{ "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" } }
Additional Validation Information:
This value must be set in an proper order, in relation to the following fields: payment_date
Additional Validation Information:
This value must be set in an proper order, in relation to the following fields: payment_registration_date
- https://dev.api.pigello.io/accounting/creditations/invoicecreditationconnection/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
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"
}
}'Successful creation
Additional Validation Information:
This value must be set in an proper order, in relation to the following fields: payment_date
Additional Validation Information:
This value must be set in an proper order, in relation to the following fields: payment_registration_date
{ "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" } }