Name | Description | Type | Additional information |
---|---|---|---|
CreditDetailId |
Sedona internal autonumber for the Customer Credit Detail record |
integer |
None. |
CreditId |
Foreign key from AR_Credit table; set automatically on POST |
integer |
None. |
Date |
Date the invoice gets credited off; defaults to today if not supplied |
string |
None. |
TypeIM |
Type of Credit (set automatically on post): I = Invoice; M = Misc. Inc. Account |
string |
None. |
InvoiceNumber |
value from AR_Invoice table; this is the Invoice_Number field, not the autonumber Invoice_Id; either InvoiceNumber or MiscIncAccountCode must be supplied, but not both |
integer |
None. |
MiscIncAccountCode |
Income Account (from GL_Account) to apply credit to, used only if an invoice is not supplied; either InvoiceNumber or MiscIncAccountCode must be supplied, but not both |
string |
None. |
Amount |
Amount applied to Invoice, INCLUDING tax amount |
decimal number |
Required |
CategoryCode |
Category from AR_Category table |
string |
Required |
UserCode |
the user making this change; defaults to UserCode value from config file if not set explicitly |
string |
String length: inclusive between 0 and 30 |