SITE_ORDER_INVOICE_MANAGE | SITE Endpoint | |
/rpc/site/?method=SITE_ORDER_INVOICE_MANAGE | ||
Note: This currently is not a full manage method. It can only be used to create an Invoice, not modify or delete. To do any of these, see FINANCIAL_INVOICE_MANAGE. |
PARAMETERS | TYPE | ||
CreateReceipt | Text (1) | Y/N. If set to 'Y' will create a matching receipt | |
InvoiceDescription | Text (2000) | ||
InvoiceSentDate | Date | Defaults to today | |
Order | Numeric | Mandatory | |
ReceiptPaymentMethod | Numeric | You can define your own, or use the defaults: 1=Cheque,2=Visa or Mastercard,3=Direct Debit,4=BPay,5=American Express,6=Cash,7=[Unknown],8=Direct Credit,101=Paypal,102=EFTPOS,103=Trade Account | |
ReceiptPaymentReference | Text (25) |
RETURN | ||
invoice | Id of created Invoice | |
receipt | Id of created Receipt |
EXAMPLE |