Endpoint Change status invoices

https://devapiacp3.axosnet.io/api​/v1​/InvoicesProcessed/InvoiceStatus Method POST
JSON (Body)
				
					[
  {
    "uuid": "54124A1D-65E9-46F2-A504-0D6E7059903A",
//UUID 
    "documentNumber":"123"
//númber document
    "externalSystem": "SAP",
//ERP Identifier
    "externalWorkFlow": "PAG",
//Status Options: PREL, CONT, BOR, ANUL, PAG, NING 
    "status": true,
//true or false - Process Status
    "message": "Invoice upload succesful",
//Logs
    "logError": [
         {
             "message" : "Hubo error en el RFC"
         },
         {
             "message" : "Hubo error en el Total"
         }
      ]
//If when processing the invoices they send the Status to "False" and the ExternalWorkFlow with a value of "NING", we must read and save the messages they send us in the logError that corresponds to the errors they found in the ERP






  }
]
				
			

Without UUID (Foreign Invoices):

Example Body

				
					[
  {
    "documentId": 332,
//documentid in acp 3.0
    "documentNumber":"123"
//númber document
    "externalSystem": "SAP",
//ERP Identifier
    "externalWorkFlow": "PAG",
//Status Options in ERP: PREL, CONT, BOR, ANUL, PAG, NING     
"status": true,
//true or false
    "message": "Invoice upload sucessful",
//Logs
     "logError": [
         {
             "message" : "Error in the TAX ID"
         },
         {
             "message" : "Error in Amount"
         }
      ]
//If when processing the invoices they send the Status to "False" and the ExternalWorkFlow with a value of "NING", we must read and save the messages they send us in the logError that corresponds to the errors they found in the ERP
  }
]
				
			

Results:

Status Code

Message

200

Ok

200

No invoices pending processing were found.

400

Data Error

400

The Application is not subscribed

401

unauthorized

500

Exception Message