Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Ascora Accounts API is available at {+}https://www.ascora.com.au/acct/api+Image Removed

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.



Note: Invoices must be marked as successfully pushed once retrieve or they will be retrieved again in future requests.

...


/// <summary>
/// Total Tax for all items on this invoice Line
/// </summary>
public decimal Tax { get; set; }
}

Payment Functions

[Route("/payments")]

public class Payments

{

public List<Payment> Results { get; set; }

}

Retrieves all Payments that have not yet been sent to the Accounting Package but are linked to Invoices that are already marked as sent.

 

[Route("/MarkPayment", "POST")]

public class MarkPayment

{

public List<Guid> PaymentIds { get; set; }

}

Marks the specified Payments as having been successfully pushed  to the Accounting System.


Note: Payments must be marked as successfully pushed once retrieve or they will be retrieved again in future requests.

...