...
Connection to the Ascora is achieved utilising Basic Authentication with an Ascora Account. This must be added to the headers in the HTTP Get/Post operations.
API Endpoint
...
Invoice Functions
[Route("/invoicedetails")] [Route("/invoicedetails/{CompanyId}")] public class InvoiceDetails : InvoiceDetailResponse { public DateTime InvoicesPriorToDate { get; set; } } | Retrieves all Invoices prior to the specified Date which have not yet been marked as sent to the Accounting System. |
[Route("/MarkInvoice", "POST")] public class MarkInvoice { public List<Guid> InvoiceIds { get; set; } } | Marks the specified Invoices as having been successfully pushed to the Accounting System. |
...