MarminDeveloper Docs

Edit and resubmit a sales invoice


Updates and resubmits a specific sales invoice after fixing validation issues.

Path parameters

ParameterTypeRequiredDescription
uuidstring
Required
The UUID of the sales invoice to resubmit.
business_profile_idstring
Required
The business profile ID of the supplier issuing the invoice. Must exist in your organization.
Request body

Use the same request payload structure as Create a sales invoice.

This endpoint is intended for documents with schematron or validation errors that appear under:

  • meta_info.peppol_status.validation_results

Resubmit condition

Resubmit is allowed only when:

  • meta_info.peppol_status.overall_status = VALIDATION_FAILED

Error responses

StatusDescription
400 Bad RequestResubmit is not allowed while the document is still pending.
401 UnauthorizedAuthentication required or invalid token.
404 Not FoundInvoice not found, or business profile not found.
500 Internal Server ErrorAn error occurred while processing the request.
{
  "errors": {
    "document_status": "document status is still pending state you cannot resubmit"
  }
}
{
  "errors": {
    "message": "Business profile not found with id: {business_profile_id}"
  }
}
Next