Additional Validation Information:
This value can't bet set, when any of the following fields are set: tenant, sub_tenant
Additional Validation Information:
This value can't bet set, when any of the following fields are set: sub_tenant, organization_user
Additional Validation Information:
This value can't bet set, when any of the following fields are set: tenant, organization_user
Additional Validation Information:
This value can't bet set, when any of the following fields are set: custom_postal_address
Additional Validation Information:
This value can't bet set, when any of the following fields are set: postal_address
curl -i -X POST \
https://dev.api.pigello.io/accounting/invoices/invoicerecipient/ \
-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 '{
"priority": -2147483648,
"name": "string",
"organization_user": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
},
"organization": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
},
"tenant": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
},
"invoice_distribution_instruction": [
null
],
"sub_tenant": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
},
"stakeholder_type": "string",
"postal_address": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
},
"custom_id": "string",
"org_no": "stringstri",
"view_only": true,
"custom_postal_address": "string",
"reminder_distribution_instruction": [
null
],
"email": "user@example.com",
"ssn": "stringstring",
"invoice": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
},
"debt_distribution_instruction": [
null
],
"phone_number": "string"
}'Successful creation
Additional Validation Information:
This value can't bet set, when any of the following fields are set: tenant, sub_tenant
Additional Validation Information:
This value can't bet set, when any of the following fields are set: sub_tenant, organization_user
Additional Validation Information:
This value can't bet set, when any of the following fields are set: tenant, organization_user
Additional Validation Information:
This value can't bet set, when any of the following fields are set: custom_postal_address
Additional Validation Information:
This value can't bet set, when any of the following fields are set: postal_address
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "priority": -2147483648, "name": "string", "organization_user": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "anonymized_at": "2019-08-24T14:15:22Z", "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "tenant": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "created_at": "2019-08-24T14:15:22Z", "invoice_distribution_instruction": [ null ], "sub_tenant": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "stakeholder_type": "string", "postal_address": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "custom_id": "string", "org_no": "stringstri", "view_only": true, "custom_postal_address": "string", "reminder_distribution_instruction": [ null ], "email": "user@example.com", "ssn": "stringstring", "invoice": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "debt_distribution_instruction": [ null ], "phone_number": "string", "bookkeeping_scrubbed_at": "2019-08-24T14:15:22Z" }