ISO 8601
.GET /v2/invoices/:id
method in response to a notification sent by ClubCollect about an update to an Invoice.invalid_import_id
: No import with this ID could be found.invalid_external_invoice_number
: formatting error: min. 1 character.invalid_customer_last_name
: Last name may not be empty.invalid_customer_email
: Email address may not be empty if no phone number is provided.invalid_customer_phone
: Phone number may not be empty if no email address is provided.invalid_customer_address
: Address may not be empty if neither an email address nor phone number is provided.invalid_amount_total_cents
: amount_total_cents
is not equal to the total of all invoice line amounts.duplicate_invoice_line_id
: The duplicate_invoice_line_id
provided was already used for another invoice line.invalid_content_type
: Content-Type: application/json
must be provided.customer.email.email_address
customer.phone.*
customer.address.*
/credit_and_retract
endpoint.invalid_invoice_id
: No invoice with this invoice_id
could be found.invalid_external_invoice_number
: formatting error: min. 1 character.invalid_customer_last_name
: Last name may not be empty.invalid_customer_email
: Email address may not be empty if no phone number is provided.invalid_customer_phone
: Phone number may not be empty if no email address is provided.invalid_content_type
: Content-Type: application/json
must be provided.invalid_invoice_id
: No invoice with this ID could be found.invalid_external_invoice_number
: min. 1 characterinvalid_description
: description
must be provided.already_retracted
: The invoice with this ID has already been retracted.invalid_content_type
: Content-Type: application/json
must be provided.payment_in_progress
: An invoice can't be credited or retracted if there's a payment in progress