# Update 'Errandcost' Endpoint: PATCH /errands/costs/errandcost/{pk}/ Version: 2.0.0 Security: customer_id, application_id, service_id, service_version_id, client_ct, client_object_id, client_secret ## Path parameters: - `pk` (string, required) ## Request fields (application/json): - `awaits_data` (boolean, required) - `invoice_title` (string, required) - `target_sub_tenant` (object,null) Additional Validation Information: This value can't bet set, when any of the following fields are set: target_tenant, target_organization_user - `target_sub_tenant.id` (string) - `attachment` (object,null) - `attachment.name` (string) wanted filename of the file - `attachment.md5_hash` (string) base64 encoded md5hash of the file - `attachment.get` (string) - `attachment.post` (object) - `attachment.post.url` (string) - `attachment.post.fields` (object) - `organization` (object,null) - `article` (object,null) - `vat` (integer,null) Enum: 0, 25, 12, 6 - `general_errand` (object,null) Additional Validation Information: This value can't bet set, when any of the following fields are set: inspection_errand This field, or at least one of the following fields must be set: inspection_errand - `inspection_errand` (object,null) Additional Validation Information: This value can't bet set, when any of the following fields are set: general_errand This field, or at least one of the following fields must be set: general_errand - `unit_price` (number,null) - `should_be_invoiced` (boolean) - `inspection_errand_fault` (object,null) - `target_tenant` (object,null) Additional Validation Information: This value can't bet set, when any of the following fields are set: target_sub_tenant, target_organization_user - `unit_amount` (number,null) - `custom_id` (string,null) - `general_errand_action` (object,null) - `target_organization_user` (object,null) Additional Validation Information: This value can't bet set, when any of the following fields are set: target_tenant, target_sub_tenant ## Response 200 fields (application/json): - `awaits_data` (boolean, required) - `id` (string, required) Additional Validation Information: Must be unique - `invoice_title` (string, required) - `target_sub_tenant` (object,null) Additional Validation Information: This value can't bet set, when any of the following fields are set: target_tenant, target_organization_user - `target_sub_tenant.id` (string) - `attachment` (object,null) - `attachment.name` (string) wanted filename of the file - `attachment.md5_hash` (string) base64 encoded md5hash of the file - `attachment.get` (string) - `attachment.post` (object) - `attachment.post.url` (string) - `attachment.post.fields` (object) - `organization` (object,null) - `article` (object,null) - `vat` (integer,null) Enum: 0, 25, 12, 6 - `general_errand` (object,null) Additional Validation Information: This value can't bet set, when any of the following fields are set: inspection_errand This field, or at least one of the following fields must be set: inspection_errand - `inspection_errand` (object,null) Additional Validation Information: This value can't bet set, when any of the following fields are set: general_errand This field, or at least one of the following fields must be set: general_errand - `created_at` (string) - `unit_price` (number,null) - `should_be_invoiced` (boolean) - `inspection_errand_fault` (object,null) - `target_tenant` (object,null) Additional Validation Information: This value can't bet set, when any of the following fields are set: target_sub_tenant, target_organization_user - `unit_amount` (number,null) - `custom_id` (string,null) - `general_errand_action` (object,null) - `target_organization_user` (object,null) Additional Validation Information: This value can't bet set, when any of the following fields are set: target_tenant, target_sub_tenant ## Response 401 fields ## Response 403 fields ## Response 429 fields